Lines Matching refs:q_perm
4801 rc = ipc_alloc_security(current, &msq->q_perm, SECCLASS_MSGQ); in selinux_msg_queue_alloc_security()
4805 isec = msq->q_perm.security; in selinux_msg_queue_alloc_security()
4808 ad.u.ipc_id = msq->q_perm.key; in selinux_msg_queue_alloc_security()
4813 ipc_free_security(&msq->q_perm); in selinux_msg_queue_alloc_security()
4821 ipc_free_security(&msq->q_perm); in selinux_msg_queue_free_security()
4830 isec = msq->q_perm.security; in selinux_msg_queue_associate()
4833 ad.u.ipc_id = msq->q_perm.key; in selinux_msg_queue_associate()
4863 err = ipc_has_perm(&msq->q_perm, perms); in selinux_msg_queue_msgctl()
4875 isec = msq->q_perm.security; in selinux_msg_queue_msgsnd()
4893 ad.u.ipc_id = msq->q_perm.key; in selinux_msg_queue_msgsnd()
4920 isec = msq->q_perm.security; in selinux_msg_queue_msgrcv()
4924 ad.u.ipc_id = msq->q_perm.key; in selinux_msg_queue_msgrcv()