Searched refs:MSG_R (Results 1 – 3 of 3) sorted by relevance
53 #define MSG_R 0400 /* read permission */ macro
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()
1547 ASSERT((mode & (MSG_R|MSG_W)) != 0); in secpolicy_ipc_access()1549 if ((mode & MSG_R) && in secpolicy_ipc_access()1568 ASSERT((mode & (MSG_R|MSG_W)) != 0); in secpolicy_rsm_access()1570 if ((mode & MSG_R) && in secpolicy_rsm_access()