/freebsd-11.0-release/tools/regression/sysvshm/ |
H A D | shmtest.c | 122 s_ds.shm_perm.mode = (s_ds.shm_perm.mode & ~0777) | 0600; 132 if ((s_ds.shm_perm.mode & 0777) != 0600) 230 sp->shm_perm.uid, sp->shm_perm.gid, 231 sp->shm_perm.cuid, sp->shm_perm.cgid, 232 sp->shm_perm.mode & 0777); 246 if (sp->shm_perm.uid != uid || sp->shm_perm [all...] |
/freebsd-11.0-release/contrib/sendmail/libsm/ |
H A D | shm.c | 135 shmid_ds.shm_perm.uid = uid; 136 shmid_ds.shm_perm.gid = gid; 137 shmid_ds.shm_perm.mode = mode;
|
/freebsd-11.0-release/sys/kern/ |
H A D | sysv_shm.c | 206 if ((shmsegs[i].u.shm_perm.mode & SHMSEG_ALLOCATED) && 209 shmsegs[i].u.shm_perm.key == key) 228 if ((shmseg->u.shm_perm.mode & SHMSEG_ALLOCATED) == 0 || 230 (shmseg->u.shm_perm.mode & SHMSEG_REMOVED) != 0) || 231 (is_shmid && shmseg->u.shm_perm.seq != IPCID_TO_SEQ(arg)) || 249 shmseg->u.shm_perm.mode = SHMSEG_FREE; 279 (shmseg->u.shm_perm.mode & SHMSEG_REMOVED)) { 290 shmseg->u.shm_perm.key = IPC_PRIVATE; 291 shmseg->u.shm_perm.mode |= SHMSEG_REMOVED; 400 error = ipcperm(td, &shmseg->u.shm_perm, 1216 struct ipc_perm_old shm_perm; /* operation perms */ member in struct:oshmid_ds [all...] |
/freebsd-11.0-release/sys/i386/ibcs2/ |
H A D | ibcs2_ipc.h | 74 struct ibcs2_ipc_perm shm_perm; member in struct:ibcs2_shmid_ds
|
H A D | ibcs2_ipc.c | 415 cvt_perm2iperm(&bp->shm_perm, &ibp->shm_perm); 435 cvt_iperm2perm(&ibp->shm_perm, &bp->shm_perm);
|
/freebsd-11.0-release/sys/sys/ |
H A D | shm.h | 83 struct ipc_perm_old shm_perm; /* operation permission structure */ member in struct:shmid_ds_old 96 struct ipc_perm shm_perm; /* operation permission structure */ member in struct:shmid_ds
|
/freebsd-11.0-release/contrib/netbsd-tests/kernel/ |
H A D | t_sysv.c | 716 s_ds.shm_perm.mode = (s_ds.shm_perm.mode & ~0777) | 0600; 726 ATF_REQUIRE_MSG((s_ds.shm_perm.mode & 0777) == 0600, 800 sp->shm_perm.uid, sp->shm_perm.gid, 801 sp->shm_perm.cuid, sp->shm_perm.cgid, 802 sp->shm_perm.mode & 0777); 816 ATF_REQUIRE_MSG(sp->shm_perm.uid == uid && sp->shm_perm [all...] |
/freebsd-11.0-release/usr.bin/ipcs/ |
H A D | ipcs.c | 252 if (kxshmids[shmidx].u.shm_perm.mode & 0x0800) { 254 uid != kxshmids[shmidx].u.shm_perm.uid) 440 IXSEQ_TO_IPCID(i, kshmptr->u.shm_perm), 441 (int)kshmptr->u.shm_perm.key, 442 fmt_perm(kshmptr->u.shm_perm.mode), 443 user_from_uid(kshmptr->u.shm_perm.uid, 0), 444 group_from_gid(kshmptr->u.shm_perm.gid, 0)); 448 user_from_uid(kshmptr->u.shm_perm.cuid, 0), 449 group_from_gid(kshmptr->u.shm_perm.cgid, 0));
|
/freebsd-11.0-release/sys/compat/freebsd32/ |
H A D | freebsd32_ipc.h | 71 struct ipc_perm32 shm_perm; member in struct:shmid_ds32 140 struct ipc_perm32_old shm_perm; member in struct:shmid_ds32_old
|
/freebsd-11.0-release/sys/i386/linux/ |
H A D | linux_ipc64.h | 118 struct l_ipc64_perm shm_perm; /* operation perms */ member in struct:l_shmid64_ds
|
/freebsd-11.0-release/sys/amd64/linux/ |
H A D | linux_ipc64.h | 118 struct l_ipc64_perm shm_perm; /* operation perms */ member in struct:l_shmid64_ds
|
/freebsd-11.0-release/sys/amd64/linux32/ |
H A D | linux32_ipc64.h | 118 struct l_ipc64_perm shm_perm; /* operation perms */ member in struct:l_shmid64_ds
|
/freebsd-11.0-release/sys/compat/linux/ |
H A D | linux_ipc.c | 183 struct l_ipc_perm shm_perm; member in struct:l_shmid_ds 222 linux_to_bsd_ipc_perm(&lsp->shm_perm, &bsp->shm_perm); 236 bsd_to_linux_ipc_perm(&bsp->shm_perm, &lsp->shm_perm); 414 linux_shmid->shm_perm.uid = linux_shmid64.shm_perm.uid; 415 linux_shmid->shm_perm.gid = linux_shmid64.shm_perm.gid; 416 linux_shmid->shm_perm [all...] |
/freebsd-11.0-release/sys/compat/svr4/ |
H A D | svr4_ipc.h | 117 struct svr4_ipc_perm shm_perm; member in struct:svr4_shmid_ds
|
H A D | svr4_ipc.c | 496 bsd_to_svr4_ipc_perm(&bds->shm_perm, &sds->shm_perm); 514 svr4_to_bsd_ipc_perm(&sds->shm_perm, &bds->shm_perm);
|
/freebsd-11.0-release/usr.bin/ipcrm/ |
H A D | ipcrm.c | 127 if (kxshmids[num].u.shm_perm.mode & 0x0800) { 129 kxshmids[num].u.shm_perm);
|
/freebsd-11.0-release/contrib/apr/shmem/unix/ |
H A D | shm.c | 249 shmbuf.shm_perm.uid = uid; 250 shmbuf.shm_perm.gid = gid; 397 shmbuf.shm_perm.uid = uid; 398 shmbuf.shm_perm.gid = gid;
|
/freebsd-11.0-release/contrib/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_platform_limits_posix.h | 219 __sanitizer_ipc_perm shm_perm; member in struct:__sanitizer::__sanitizer_shmid_ds 270 __sanitizer_ipc_perm shm_perm; member in struct:__sanitizer::__sanitizer_shmid_ds
|
H A D | sanitizer_platform_limits_posix.cc | 1139 CHECK_SIZE_AND_OFFSET(shmid_ds, shm_perm);
|