| /src/sys/compat/sys/ |
| msg.h | 30 struct ipc_perm14 msg_perm; /* msg queue permission bits */ member in struct:msqid_ds14 48 struct ipc_perm msg_perm; /* operation permission structure */ member in struct:msqid_ds13 68 struct ipc_perm_sysctl msg_perm; member in struct:msgid_ds_sysctl50 95 msqbuf->msg_perm = omsqbuf->msg_perm; 113 omsqbuf->msg_perm = msqbuf->msg_perm; 138 __ipc_perm14_to_native(&omsqbuf->msg_perm, &msqbuf->msg_perm); 156 __native_to_ipc_perm14(&msqbuf->msg_perm, &omsqbuf->msg_perm) [all...] |
| /src/sys/sys/ |
| msg.h | 79 struct ipc_perm msg_perm; /* operation permission structure */ 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); \
|
| /src/sys/kern/ |
| sysv_msg.c | 161 msqs[i].msq_u.msg_perm._seq = 0; 260 if (mptr->msg_qbytes || (mptr->msg_perm.mode & MSG_LOCKED)) 294 new_msqs[i].msq_u.msg_perm._seq = 0; 311 (mptr->msg_perm.mode & MSG_LOCKED) == 0) 502 if (msqptr->msg_perm._seq != IPCID_TO_SEQ(msqid)) { 512 if ((error = ipcperm(cred, &msqptr->msg_perm, IPC_M)) != 0) 536 if ((error = ipcperm(cred, &msqptr->msg_perm, IPC_M))) 557 msqptr->msg_perm.uid = msqbuf->msg_perm.uid; 558 msqptr->msg_perm.gid = msqbuf->msg_perm.gid [all...] |
| /src/tests/lib/libc/sys/ |
| t_msgget.c | 175 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]);
|
| t_msgctl.c | 139 msgds.msg_perm.uid = getuid(); 140 msgds.msg_perm.gid = getgid(); 271 msgds.msg_perm.uid = pw->pw_uid; 276 msgds.msg_perm.uid = getuid(); 277 msgds.msg_perm.gid = pw->pw_gid; 286 msgds.msg_perm.gid = getgid();
|
| /src/tests/kernel/ |
| t_sysv.c | 220 m_ds.msg_perm.mode = (m_ds.msg_perm.mode & ~0777) | 0600; 230 ATF_REQUIRE_MSG((m_ds.msg_perm.mode & 0777) == 0600, 316 mp->msg_perm.uid, mp->msg_perm.gid, 317 mp->msg_perm.cuid, mp->msg_perm.cgid, 318 mp->msg_perm.mode & 0777); 332 ATF_REQUIRE_MSG(mp->msg_perm.uid == uid && mp->msg_perm.cuid == uid [all...] |
| /src/sys/compat/netbsd32/ |
| netbsd32_compat_14_sysv.c | 99 netbsd32_ipc_perm14_to_native(&omsqbuf->msg_perm, &msqbuf->msg_perm); 117 native_to_netbsd32_ipc_perm14(&msqbuf->msg_perm, &omsqbuf->msg_perm);
|
| netbsd32_conv.h | 619 netbsd32_to_ipc_perm(&ds32p->msg_perm, &dsp->msg_perm); 636 netbsd32_to_ipc_perm(&ds32p->msg_perm, &dsp->msg_perm); 653 netbsd32_from_ipc_perm(&dsp->msg_perm, &ds32p->msg_perm); 670 netbsd32_from_ipc_perm(&dsp->msg_perm, &ds32p->msg_perm);
|
| netbsd32.h | 523 struct netbsd32_ipc_perm msg_perm; /* operation permission structure */ member in struct:netbsd32_msqid_ds 542 struct netbsd32_ipc_perm msg_perm; /* operation permission structure */ member in struct:netbsd32_msqid_ds50 562 struct netbsd32_ipc_perm14 msg_perm; /* msg queue permission bits */ member in struct:netbsd32_msqid_ds14
|
| /src/usr.bin/ipcs/ |
| ipcs.c | 505 IXSEQ_TO_IPCID(i, msqptr->msg_perm), 506 msqptr->msg_perm._key, 507 msqptr->msg_perm.mode, 508 msqptr->msg_perm.uid, 509 msqptr->msg_perm.gid, 510 msqptr->msg_perm.cuid, 511 msqptr->msg_perm.cgid,
|
| /src/sys/miscfs/procfs/ |
| procfs_linux.c | 796 (int) msqs[id].msq_u.msg_perm._key, 797 IXSEQ_TO_IPCID(id, msqs[id].msq_u.msg_perm), 798 msqs[id].msq_u.msg_perm.mode, 803 msqs[id].msq_u.msg_perm.uid, 804 msqs[id].msq_u.msg_perm.gid, 805 msqs[id].msq_u.msg_perm.cuid, 806 msqs[id].msq_u.msg_perm.cgid,
|
| /src/sys/compat/linux/common/ |
| linux_ipc.c | 349 linux_to_bsd_ipc_perm(&lmp->l_msg_perm, &bmp->msg_perm); 365 linux_to_bsd_ipc64_perm(&lmp->l_msg_perm, &bmp->msg_perm); 381 bsd_to_linux_ipc_perm(&bmp->msg_perm, &lmp->l_msg_perm); 397 bsd_to_linux_ipc64_perm(&bmp->msg_perm, &lmp->l_msg_perm);
|
| /src/sys/compat/linux32/common/ |
| linux32_ipccall.c | 437 linux32_to_bsd_ipc_perm(&lmp->l_msg_perm, &bmp->msg_perm); 452 linux32_to_bsd_ipc64_perm(&lmp->l_msg_perm, &bmp->msg_perm); 468 bsd_to_linux32_ipc_perm(&bmp->msg_perm, &lmp->l_msg_perm); 484 bsd_to_linux32_ipc64_perm(&bmp->msg_perm, &lmp->l_msg_perm);
|
| /src/usr.bin/ipcrm/ |
| ipcrm.c | 132 (int)IXSEQ_TO_IPCID(i, msgptr->msg_perm));
|