Searched refs:shm_perm (Results 1 - 15 of 15) sorted by relevance

/freebsd-10.0-release/tools/regression/sysvshm/
H A Dshmtest.c127 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 Dsysv_shm.c195 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 Dshm.c135 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 Dibcs2_ipc.h74 struct ibcs2_ipc_perm shm_perm; member in struct:ibcs2_shmid_ds
H A Dibcs2_ipc.c415 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 Dshm.h81 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 Dipcs.c251 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 Dfreebsd32_ipc.h71 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 Dlinux32_ipc64.h118 struct l_ipc64_perm shm_perm; /* operation perms */ member in struct:l_shmid64_ds
/freebsd-10.0-release/sys/i386/linux/
H A Dlinux_ipc64.h118 struct l_ipc64_perm shm_perm; /* operation perms */ member in struct:l_shmid64_ds
/freebsd-10.0-release/sys/compat/linux/
H A Dlinux_ipc.c193 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 Dsvr4_ipc.h117 struct svr4_ipc_perm shm_perm; member in struct:svr4_shmid_ds
H A Dsvr4_ipc.c525 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 Dipcrm.c131 if (kxshmids[num].u.shm_perm.mode & 0x0800) {
133 kxshmids[num].u.shm_perm);
/freebsd-10.0-release/contrib/apr/shmem/unix/
H A Dshm.c193 shmbuf.shm_perm.uid = uid;
194 shmbuf.shm_perm.gid = gid;
334 shmbuf.shm_perm.uid = uid;
335 shmbuf.shm_perm.gid = gid;

Completed in 201 milliseconds