Lines Matching refs:shm_perm
410 if (!addr && ptr->descriptor->shm_perm.key == key) { in shm_get()
675 shm->descriptor->shm_perm.key = key; in shmget()
679 shm->descriptor->shm_perm.mode = flags; in shmget()
681 shm->descriptor->shm_perm.cuid = shm->descriptor->shm_perm.cgid= 0; in shmget()
682 shm->descriptor->shm_perm.gid = shm->descriptor->shm_perm.uid = 0; in shmget()
685 shm->descriptor->shm_perm.mode = shm->descriptor->shm_perm.seq = 0; in shmget()
688 …if (NULL != shm->descriptor && (shm->descriptor->shm_perm.key != key || size > shm->descriptor->sh… in shmget()
759 shm->descriptor->shm_perm.uid = buf->shm_perm.uid; in shmctl()
760 shm->descriptor->shm_perm.gid = buf->shm_perm.gid; in shmctl()
761 shm->descriptor->shm_perm.mode = buf->shm_perm.mode; in shmctl()
766 shm->descriptor->shm_perm.key = -1; in shmctl()