Lines Matching refs:shm_perm
407 if (!addr && ptr->descriptor->shm_perm.key == key) { in shm_get()
678 if (ptr->descriptor && ptr->descriptor->shm_perm.key == key) { in shmget()
695 shm->descriptor->shm_perm.key = key; in shmget()
699 shm->descriptor->shm_perm.mode = flags; in shmget()
701 shm->descriptor->shm_perm.cuid = shm->descriptor->shm_perm.cgid= 0; in shmget()
702 shm->descriptor->shm_perm.gid = shm->descriptor->shm_perm.uid = 0; in shmget()
705 shm->descriptor->shm_perm.mode = shm->descriptor->shm_perm.seq = 0; in shmget()
708 …if (NULL != shm->descriptor && (shm->descriptor->shm_perm.key != key || size > shm->descriptor->sh… in shmget()
773 shm->descriptor->shm_perm.uid = buf->shm_perm.uid; in shmctl()
774 shm->descriptor->shm_perm.gid = buf->shm_perm.gid; in shmctl()
775 shm->descriptor->shm_perm.mode = buf->shm_perm.mode; in shmctl()
780 shm->descriptor->shm_perm.key = -1; in shmctl()