Searched refs:msg_perm (Results 1 - 18 of 18) sorted by relevance

/netbsd-6-1-5-RELEASE/sys/compat/sys/
H A Dmsg.h30 struct ipc_perm14 msg_perm; /* msg queue permission bits */ member in struct:msqid_ds14
48 struct ipc_perm msg_perm; /* operation permission strucure */ member in struct:msqid_ds13
68 struct ipc_perm_sysctl msg_perm; member in struct:msgid_ds_sysctl50
94 msqbuf->msg_perm = omsqbuf->msg_perm;
111 omsqbuf->msg_perm = msqbuf->msg_perm;
135 __ipc_perm14_to_native(&omsqbuf->msg_perm, &msqbuf->msg_perm);
152 __native_to_ipc_perm14(&msqbuf->msg_perm,
[all...]
/netbsd-6-1-5-RELEASE/regress/sys/kern/sysvmsg/
H A Dmsgtest.c141 m_ds.msg_perm.mode = (m_ds.msg_perm.mode & ~0777) | 0600;
151 if ((m_ds.msg_perm.mode & 0777) != 0600)
273 mp->msg_perm.uid, mp->msg_perm.gid,
274 mp->msg_perm.cuid, mp->msg_perm.cgid,
275 mp->msg_perm.mode & 0777);
289 if (mp->msg_perm.uid != uid || mp->msg_perm
[all...]
/netbsd-6-1-5-RELEASE/sys/sys/
H A Dmsg.h79 struct ipc_perm msg_perm; /* operation permission strucure */ member in struct:msqid_ds
120 struct ipc_perm_sysctl msg_perm; member in struct:msgid_ds_sysctl
160 #define MSQID(ix,ds) ((ix) & 0xffff | (((ds).msg_perm._seq << 16) & 0xffff0000))
185 SYSCTL_FILL_PERM((src).msg_perm, (dst).msg_perm); \
/netbsd-6-1-5-RELEASE/sys/kern/
H A Dsysv_msg.c151 msqs[i].msq_u.msg_perm._seq = 0;
211 if (mptr->msg_qbytes || (mptr->msg_perm.mode & MSG_LOCKED))
245 new_msqs[i].msq_u.msg_perm._seq = 0;
262 (mptr->msg_perm.mode & MSG_LOCKED) == 0)
453 if (msqptr->msg_perm._seq != IPCID_TO_SEQ(msqid)) {
463 if ((error = ipcperm(cred, &msqptr->msg_perm, IPC_M)) != 0)
487 if ((error = ipcperm(cred, &msqptr->msg_perm, IPC_M)))
506 msqptr->msg_perm.uid = msqbuf->msg_perm.uid;
507 msqptr->msg_perm
[all...]
/netbsd-6-1-5-RELEASE/tests/lib/libc/sys/
H A Dt_msgctl.c137 msgds.msg_perm.uid = getuid();
138 msgds.msg_perm.gid = getgid();
269 msgds.msg_perm.uid = pw->pw_uid;
274 msgds.msg_perm.uid = getuid();
275 msgds.msg_perm.gid = pw->pw_gid;
284 msgds.msg_perm.gid = getgid();
H A Dt_msgget.c175 ATF_CHECK(msgds.msg_perm.uid == uid);
176 ATF_CHECK(msgds.msg_perm.gid == gid);
177 ATF_CHECK(msgds.msg_perm.cuid == uid);
178 ATF_CHECK(msgds.msg_perm.cgid == gid);
179 ATF_CHECK(msgds.msg_perm.mode == 0600);
271 ATF_REQUIRE(msgds.msg_perm.mode == mode[i]);
/netbsd-6-1-5-RELEASE/sys/compat/netbsd32/
H A Dnetbsd32_compat_14.c112 netbsd32_ipc_perm14_to_native(&omsqbuf->msg_perm, &msqbuf->msg_perm);
129 native_to_netbsd32_ipc_perm14(&msqbuf->msg_perm, &omsqbuf->msg_perm);
H A Dnetbsd32_conv.h511 netbsd32_to_ipc_perm(&ds32p->msg_perm, &dsp->msg_perm);
527 netbsd32_to_ipc_perm(&ds32p->msg_perm, &dsp->msg_perm);
543 netbsd32_from_ipc_perm(&dsp->msg_perm, &ds32p->msg_perm);
559 netbsd32_from_ipc_perm(&dsp->msg_perm, &ds32p->msg_perm);
H A Dnetbsd32.h423 struct netbsd32_ipc_perm msg_perm; /* operation permission strucure */ member in struct:netbsd32_msqid_ds
442 struct netbsd32_ipc_perm msg_perm; /* operation permission strucure */ member in struct:netbsd32_msqid_ds50
462 struct netbsd32_ipc_perm14 msg_perm; /* msg queue permission bits */ member in struct:netbsd32_msqid_ds14
/netbsd-6-1-5-RELEASE/usr.bin/ipcs/
H A Dipcs.c519 IXSEQ_TO_IPCID(i, msqptr->msg_perm),
520 msqptr->msg_perm._key,
521 msqptr->msg_perm.mode,
522 msqptr->msg_perm.uid,
523 msqptr->msg_perm.gid,
524 msqptr->msg_perm.cuid,
525 msqptr->msg_perm.cgid,
769 IXSEQ_TO_IPCID(i, msqptr->msg_perm),
770 (u_int64_t)msqptr->msg_perm._key,
771 msqptr->msg_perm
[all...]
/netbsd-6-1-5-RELEASE/sys/compat/svr4/
H A Dsvr4_ipc.h69 struct svr4_ipc_perm msg_perm; member in struct:svr4_msqid_ds
H A Dsvr4_ipc.c260 bsd_to_svr4_ipc_perm(&bds->msg_perm, &sds->msg_perm);
282 svr4_to_bsd_ipc_perm(&sds->msg_perm, &bds->msg_perm);
/netbsd-6-1-5-RELEASE/sys/compat/svr4_32/
H A Dsvr4_32_ipc.h62 struct svr4_32_ipc_perm msg_perm; member in struct:svr4_32_msqid_ds
H A Dsvr4_32_ipc.c293 bsd_to_svr4_32_ipc_perm(&bds->msg_perm, &sds->msg_perm);
315 svr4_32_to_bsd_ipc_perm(&sds->msg_perm, &bds->msg_perm);
/netbsd-6-1-5-RELEASE/sys/compat/ibcs2/
H A Dibcs2_ipc.c88 struct ibcs2_ipc_perm msg_perm; member in struct:ibcs2_msqid_ds
136 cvt_perm2iperm(&bp->msg_perm, &ibp->msg_perm);
152 cvt_iperm2perm(&ibp->msg_perm, &bp->msg_perm);
/netbsd-6-1-5-RELEASE/sys/compat/linux/common/
H A Dlinux_ipc.c310 linux_to_bsd_ipc_perm(&lmp->l_msg_perm, &bmp->msg_perm);
328 linux_to_bsd_ipc64_perm(&lmp->l_msg_perm, &bmp->msg_perm);
344 bsd_to_linux_ipc_perm(&bmp->msg_perm, &lmp->l_msg_perm);
362 bsd_to_linux_ipc64_perm(&bmp->msg_perm, &lmp->l_msg_perm);
/netbsd-6-1-5-RELEASE/sys/compat/linux32/common/
H A Dlinux32_ipccall.c430 linux32_to_bsd_ipc_perm(&lmp->l_msg_perm, &bmp->msg_perm);
448 linux32_to_bsd_ipc64_perm(&lmp->l_msg_perm, &bmp->msg_perm);
464 bsd_to_linux32_ipc_perm(&bmp->msg_perm, &lmp->l_msg_perm);
482 bsd_to_linux32_ipc64_perm(&bmp->msg_perm, &lmp->l_msg_perm);
/netbsd-6-1-5-RELEASE/usr.bin/ipcrm/
H A Dipcrm.c135 (int)IXSEQ_TO_IPCID(i, msgptr->msg_perm));

Completed in 148 milliseconds