/freebsd-10.0-release/tools/regression/sysvshm/ |
H A D | shmtest.c | 127 s_ds.shm_perm.mode = (s_ds.shm_perm.mode & ~0777) | 0600; 137 if ((s_ds.shm_perm.mode & 0777) != 0600) 239 sp->shm_perm.uid, sp->shm_perm.gid, 240 sp->shm_perm.cuid, sp->shm_perm.cgid, 241 sp->shm_perm.mode & 0777); 255 if (sp->shm_perm.uid != uid || sp->shm_perm [all...] |
/freebsd-10.0-release/sys/kern/ |
H A D | sysv_shm.c | 195 if ((shmsegs[i].u.shm_perm.mode & SHMSEG_ALLOCATED) && 196 shmsegs[i].u.shm_perm.key == key) 211 if ((shmseg->u.shm_perm.mode & SHMSEG_ALLOCATED) == 0 || 213 (shmseg->u.shm_perm.mode & SHMSEG_REMOVED) != 0) || 214 shmseg->u.shm_perm.seq != IPCID_TO_SEQ(shmid)) 227 if ((shmseg->u.shm_perm.mode & SHMSEG_ALLOCATED) == 0 || 229 (shmseg->u.shm_perm.mode & SHMSEG_REMOVED) != 0)) 247 shmseg->u.shm_perm.mode = SHMSEG_FREE; 275 (shmseg->u.shm_perm.mode & SHMSEG_REMOVED)) { 370 error = ipcperm(td, &shmseg->u.shm_perm, 972 struct ipc_perm_old shm_perm; /* operation perms */ member in struct:oshmid_ds [all...] |
/freebsd-10.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-10.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-10.0-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.0-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.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-10.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-10.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-10.0-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.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 | 525 bsd_to_svr4_ipc_perm(&bds->shm_perm, &sds->shm_perm); 543 svr4_to_bsd_ipc_perm(&sds->shm_perm, &bds->shm_perm);
|
/freebsd-10.0-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.0-release/contrib/apr/shmem/unix/ |
H A D | shm.c | 193 shmbuf.shm_perm.uid = uid; 194 shmbuf.shm_perm.gid = gid; 334 shmbuf.shm_perm.uid = uid; 335 shmbuf.shm_perm.gid = gid;
|