Lines Matching refs:shm_perm
407 if (!addr && ptr->descriptor->shm_perm.key == key) { in shm_get()
677 if (ptr->descriptor && ptr->descriptor->shm_perm.key == key) { in shmget()
694 shm->descriptor->shm_perm.key = key; in shmget()
698 shm->descriptor->shm_perm.mode = flags; in shmget()
700 shm->descriptor->shm_perm.cuid = shm->descriptor->shm_perm.cgid= 0; in shmget()
701 shm->descriptor->shm_perm.gid = shm->descriptor->shm_perm.uid = 0; in shmget()
704 shm->descriptor->shm_perm.mode = shm->descriptor->shm_perm.seq = 0; in shmget()
707 …if (NULL != shm->descriptor && (shm->descriptor->shm_perm.key != key || size > shm->descriptor->sh… in shmget()
772 shm->descriptor->shm_perm.uid = buf->shm_perm.uid; in shmctl()
773 shm->descriptor->shm_perm.gid = buf->shm_perm.gid; in shmctl()
774 shm->descriptor->shm_perm.mode = buf->shm_perm.mode; in shmctl()
779 shm->descriptor->shm_perm.key = -1; in shmctl()