/freebsd-10.2-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-10.2-release/sys/kern/ |
H A D | sysv_shm.c | 197 if ((shmsegs[i].u.shm_perm.mode & SHMSEG_ALLOCATED) && 198 shmsegs[i].u.shm_perm.key == key) 217 if ((shmseg->u.shm_perm.mode & SHMSEG_ALLOCATED) == 0 || 219 (shmseg->u.shm_perm.mode & SHMSEG_REMOVED) != 0) || 220 (is_shmid && shmseg->u.shm_perm.seq != IPCID_TO_SEQ(arg))) 237 shmseg->u.shm_perm.mode = SHMSEG_FREE; 267 (shmseg->u.shm_perm.mode & SHMSEG_REMOVED)) { 351 error = ipcperm(td, &shmseg->u.shm_perm, 488 error = ipcperm(td, &shmseg->u.shm_perm, IPC_R); 496 shmseg->u.shm_perm); 947 struct ipc_perm_old shm_perm; /* operation perms */ member in struct:oshmid_ds [all...] |
/freebsd-10.2-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-10.2-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-10.2-release/sys/sys/ |
H A D | shm.h | 81 struct ipc_perm_old shm_perm; /* operation permission structure */ member in struct:shmid_ds_old 94 struct ipc_perm shm_perm; /* operation permission structure */ member in struct:shmid_ds
|
/freebsd-10.2-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-10.2-release/usr.bin/ipcs/ |
H A D | ipcs.c | 251 if (kxshmids[i].u.shm_perm.mode & 0x0800) { 253 uid != kxshmids[i].u.shm_perm.uid) 439 IXSEQ_TO_IPCID(i, kshmptr->u.shm_perm), 440 (int)kshmptr->u.shm_perm.key, 441 fmt_perm(kshmptr->u.shm_perm.mode), 442 user_from_uid(kshmptr->u.shm_perm.uid, 0), 443 group_from_gid(kshmptr->u.shm_perm.gid, 0)); 447 user_from_uid(kshmptr->u.shm_perm.cuid, 0), 448 group_from_gid(kshmptr->u.shm_perm.cgid, 0));
|
/freebsd-10.2-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-10.2-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-10.2-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-10.2-release/sys/compat/linux/ |
H A D | linux_ipc.c | 193 struct l_ipc_perm shm_perm; member in struct:l_shmid_ds 232 linux_to_bsd_ipc_perm(&lsp->shm_perm, &bsp->shm_perm); 246 bsd_to_linux_ipc_perm(&bsp->shm_perm, &lsp->shm_perm); 424 linux_shmid->shm_perm.uid = linux_shmid64.shm_perm.uid; 425 linux_shmid->shm_perm.gid = linux_shmid64.shm_perm.gid; 426 linux_shmid->shm_perm [all...] |
/freebsd-10.2-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 | 518 bsd_to_svr4_ipc_perm(&bds->shm_perm, &sds->shm_perm); 536 svr4_to_bsd_ipc_perm(&sds->shm_perm, &bds->shm_perm);
|
/freebsd-10.2-release/usr.bin/ipcrm/ |
H A D | ipcrm.c | 131 if (kxshmids[num].u.shm_perm.mode & 0x0800) { 133 kxshmids[num].u.shm_perm);
|
/freebsd-10.2-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;
|