Searched refs:msq (Results 1 – 2 of 2) sorted by relevance
/security/ |
D | security.c | 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() [all …]
|
/security/selinux/ |
D | hooks.c | 5921 static int selinux_msg_queue_alloc_security(struct kern_ipc_perm *msq) in selinux_msg_queue_alloc_security() argument 5928 isec = selinux_ipc(msq); in selinux_msg_queue_alloc_security() 5932 ad.u.ipc_id = msq->key; in selinux_msg_queue_alloc_security() 5940 static int selinux_msg_queue_associate(struct kern_ipc_perm *msq, int msqflg) in selinux_msg_queue_associate() argument 5946 isec = selinux_ipc(msq); in selinux_msg_queue_associate() 5949 ad.u.ipc_id = msq->key; in selinux_msg_queue_associate() 5956 static int selinux_msg_queue_msgctl(struct kern_ipc_perm *msq, int cmd) in selinux_msg_queue_msgctl() argument 5983 err = ipc_has_perm(msq, perms); in selinux_msg_queue_msgctl() 5987 static int selinux_msg_queue_msgsnd(struct kern_ipc_perm *msq, struct msg_msg *msg, int msqflg) in selinux_msg_queue_msgsnd() argument 5995 isec = selinux_ipc(msq); in selinux_msg_queue_msgsnd() [all …]
|