Lines Matching refs:shm_perm
421 if (!addr && ptr->descriptor->shm_perm.key == key) { in shm_get()
646 shm->descriptor->shm_perm.key = key; in shmget()
650 shm->descriptor->shm_perm.mode = flags; in shmget()
652 shm->descriptor->shm_perm.cuid = shm->descriptor->shm_perm.cgid= 0; in shmget()
653 shm->descriptor->shm_perm.gid = shm->descriptor->shm_perm.uid = 0; in shmget()
656 shm->descriptor->shm_perm.mode = shm->descriptor->shm_perm.seq = 0; in shmget()
659 …if (NULL != shm->descriptor && (shm->descriptor->shm_perm.key != key || size > shm->descriptor->sh… in shmget()
726 shm->descriptor->shm_perm.uid = buf->shm_perm.uid; in shmctl()
727 shm->descriptor->shm_perm.gid = buf->shm_perm.gid; in shmctl()
728 shm->descriptor->shm_perm.mode = buf->shm_perm.mode; in shmctl()
733 shm->descriptor->shm_perm.key = -1; in shmctl()