Lines Matching refs:msq
1761 int security_msg_queue_alloc(struct kern_ipc_perm *msq) in security_msg_queue_alloc() argument
1763 int rc = lsm_ipc_alloc(msq); in security_msg_queue_alloc()
1767 rc = call_int_hook(msg_queue_alloc_security, 0, msq); in security_msg_queue_alloc()
1769 security_msg_queue_free(msq); in security_msg_queue_alloc()
1773 void security_msg_queue_free(struct kern_ipc_perm *msq) in security_msg_queue_free() argument
1775 call_void_hook(msg_queue_free_security, msq); in security_msg_queue_free()
1776 kfree(msq->security); in security_msg_queue_free()
1777 msq->security = NULL; in security_msg_queue_free()
1780 int security_msg_queue_associate(struct kern_ipc_perm *msq, int msqflg) in security_msg_queue_associate() argument
1782 return call_int_hook(msg_queue_associate, 0, msq, msqflg); in security_msg_queue_associate()
1785 int security_msg_queue_msgctl(struct kern_ipc_perm *msq, int cmd) in security_msg_queue_msgctl() argument
1787 return call_int_hook(msg_queue_msgctl, 0, msq, cmd); in security_msg_queue_msgctl()
1790 int security_msg_queue_msgsnd(struct kern_ipc_perm *msq, in security_msg_queue_msgsnd() argument
1793 return call_int_hook(msg_queue_msgsnd, 0, msq, msg, msqflg); in security_msg_queue_msgsnd()
1796 int security_msg_queue_msgrcv(struct kern_ipc_perm *msq, struct msg_msg *msg, in security_msg_queue_msgrcv() argument
1799 return call_int_hook(msg_queue_msgrcv, 0, msq, msg, target, type, mode); in security_msg_queue_msgrcv()