Home
last modified time | relevance | path

Searched refs:shm_perm (Results 1 – 13 of 13) sorted by relevance

/openbsd/regress/sys/kern/sysvshm/
H A Dshmtest.c144 s_ds.shm_perm.mode = (s_ds.shm_perm.mode & ~0777) | 0600;
154 if ((s_ds.shm_perm.mode & 0777) != 0600)
260 sp->shm_perm.uid, sp->shm_perm.gid,
261 sp->shm_perm.cuid, sp->shm_perm.cgid,
262 sp->shm_perm.mode & 0777);
276 if (sp->shm_perm.uid != uid || sp->shm_perm.cuid != uid)
279 if (sp->shm_perm.gid != gid || sp->shm_perm.cgid != gid)
282 if ((sp->shm_perm.mode & 0777) != mode)
/openbsd/sys/kern/
H A Dsysv_shm.c241 error = ipcperm(cred, &shmseg->shm_perm, in sys_shmat()
332 shmseg->shm_perm.uid = inbuf.shm_perm.uid; in sys_shmctl()
333 shmseg->shm_perm.gid = inbuf.shm_perm.gid; in sys_shmctl()
334 shmseg->shm_perm.mode = in sys_shmctl()
335 (shmseg->shm_perm.mode & ~ACCESSPERMS) | in sys_shmctl()
336 (inbuf.shm_perm.mode & ACCESSPERMS); in sys_shmctl()
342 shmseg->shm_perm.key = IPC_PRIVATE; in sys_shmctl()
343 shmseg->shm_perm.mode |= SHMSEG_REMOVED; in sys_shmctl()
446 shmseg->shm_perm.cuid = shmseg->shm_perm.uid = cred->cr_uid; in shmget_allocate_segment()
447 shmseg->shm_perm.cgid = shmseg->shm_perm.gid = cred->cr_gid; in shmget_allocate_segment()
[all …]
/openbsd/usr.bin/ipcs/
H A Dipcs.c566 shmptr->shm_perm.key, in shm_sysctl()
567 shmptr->shm_perm.mode, in shm_sysctl()
568 shmptr->shm_perm.uid, in shm_sysctl()
569 shmptr->shm_perm.gid, in shm_sysctl()
570 shmptr->shm_perm.cuid, in shm_sysctl()
796 shmseg.shm_perm.key, in ipcs_kvm()
797 shmseg.shm_perm.mode, in ipcs_kvm()
798 shmseg.shm_perm.uid, in ipcs_kvm()
799 shmseg.shm_perm.gid, in ipcs_kvm()
800 shmseg.shm_perm.cuid, in ipcs_kvm()
[all …]
/openbsd/gnu/usr.bin/perl/cpan/IPC-SysV/
H A DSysV.xs253 AV_FETCH_IV(ds.shm_perm.uid , list, 0); in pack()
254 AV_FETCH_IV(ds.shm_perm.gid , list, 1); in pack()
255 AV_FETCH_IV(ds.shm_perm.cuid, list, 2); in pack()
256 AV_FETCH_IV(ds.shm_perm.cgid, list, 3); in pack()
257 AV_FETCH_IV(ds.shm_perm.mode, list, 4); in pack()
284 AV_STORE_IV(data->shm_perm.uid , list, 0); in unpack()
285 AV_STORE_IV(data->shm_perm.gid , list, 1); in unpack()
286 AV_STORE_IV(data->shm_perm.cuid, list, 2); in unpack()
287 AV_STORE_IV(data->shm_perm.cgid, list, 3); in unpack()
288 AV_STORE_IV(data->shm_perm.mode, list, 4); in unpack()
/openbsd/sys/sys/
H A Dshm.h95 struct ipc_perm shm_perm; /* operation permission structure */ member
/openbsd/gnu/llvm/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_platform_limits_solaris.h75 __sanitizer_ipc_perm shm_perm; member
H A Dsanitizer_platform_limits_solaris.cpp306 CHECK_SIZE_AND_OFFSET(shmid_ds, shm_perm);
H A Dsanitizer_platform_limits_freebsd.h137 __sanitizer_ipc_perm shm_perm; member
H A Dsanitizer_platform_limits_freebsd.cpp503 CHECK_SIZE_AND_OFFSET(shmid_ds, shm_perm);
H A Dsanitizer_platform_limits_posix.h254 __sanitizer_ipc_perm shm_perm; member
H A Dsanitizer_platform_limits_posix.cpp1211 CHECK_SIZE_AND_OFFSET(shmid_ds, shm_perm);
H A Dsanitizer_platform_limits_netbsd.h121 __sanitizer_ipc_perm shm_perm; member
H A Dsanitizer_platform_limits_netbsd.cpp2650 CHECK_SIZE_AND_OFFSET(shmid_ds, shm_perm);