Searched refs:MSG_R (Results 1 – 3 of 3) sorted by relevance
53 #define MSG_R 0400 /* read permission */ macro
1609 ASSERT((mode & (MSG_R|MSG_W)) != 0); in secpolicy_ipc_access()1611 if ((mode & MSG_R) && in secpolicy_ipc_access()1630 ASSERT((mode & (MSG_R|MSG_W)) != 0); in secpolicy_rsm_access()1632 if ((mode & MSG_R) && in secpolicy_rsm_access()
493 if (error = ipcperm_access(&qp->msg_perm, MSG_R, cr)) { in msgctl()685 if (error = ipcperm_access(&qp->msg_perm, MSG_R, CRED())) { in msgrcv()990 if (error = ipcperm_access(&qp->msg_perm, MSG_R, CRED())) { in msgsnap()