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

/macosx-10.5.8/xnu-1228.15.4/bsd/kern/
H A Dsysv_msg.c156 out->msg_perm = in->msg_perm;
183 out->msg_perm = in->msg_perm;
276 msqids[i].u.msg_perm._seq = 0; /* reset to a known value */
277 msqids[i].u.msg_perm.mode = 0;
385 if (msqptr->u.msg_perm._seq != IPCID_TO_SEQ(uap->msqid)) {
406 if ((eval = ipcperm(cred, &msqptr->u.msg_perm, IPC_M)))
454 if ((eval = ipcperm(cred, &msqptr->u.msg_perm, IPC_M)))
493 msqptr->u.msg_perm
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/sys/
H A Dmsg.h126 * IPC_SET command, only the msg_perm.{uid|gid|perm} and msg_qbytes are
140 struct __ipc_perm_new msg_perm; /* [XSI] msg queue permissions */ member in struct:msqid_ds
163 struct __ipc_perm_old msg_perm; /* [XSI] msg queue permissions */ member in struct:__msqid_ds_old
190 struct ipc_perm msg_perm; /* [XSI] msg queue permissions */ member in struct:user_msqid_ds
294 #define MSQID(ix,ds) ((ix) & 0xffff | (((ds).msg_perm.seq << 16) & 0xffff0000))
/macosx-10.5.8/xnu-1228.15.4/tools/tests/xnu_quick_test/
H A Dtests.c5067 if ( my_msq_ds.msg_perm.cuid != geteuid( ) ) {
5071 if ( (my_msq_ds.msg_perm.mode & (IPC_R | IPC_W)) == 0 ) {

Completed in 25 milliseconds