Home
last modified time | relevance | path

Searched refs:msq (Results 1 – 2 of 2) sorted by relevance

/security/
Dsecurity.c1866 int security_msg_queue_alloc(struct kern_ipc_perm *msq) in security_msg_queue_alloc() argument
1868 int rc = lsm_ipc_alloc(msq); in security_msg_queue_alloc()
1872 rc = call_int_hook(msg_queue_alloc_security, 0, msq); in security_msg_queue_alloc()
1874 security_msg_queue_free(msq); in security_msg_queue_alloc()
1878 void security_msg_queue_free(struct kern_ipc_perm *msq) in security_msg_queue_free() argument
1880 call_void_hook(msg_queue_free_security, msq); in security_msg_queue_free()
1881 kfree(msq->security); in security_msg_queue_free()
1882 msq->security = NULL; in security_msg_queue_free()
1885 int security_msg_queue_associate(struct kern_ipc_perm *msq, int msqflg) in security_msg_queue_associate() argument
1887 return call_int_hook(msg_queue_associate, 0, msq, msqflg); in security_msg_queue_associate()
[all …]
/security/selinux/
Dhooks.c6047 static int selinux_msg_queue_alloc_security(struct kern_ipc_perm *msq) in selinux_msg_queue_alloc_security() argument
6054 isec = selinux_ipc(msq); in selinux_msg_queue_alloc_security()
6058 ad.u.ipc_id = msq->key; in selinux_msg_queue_alloc_security()
6066 static int selinux_msg_queue_associate(struct kern_ipc_perm *msq, int msqflg) in selinux_msg_queue_associate() argument
6072 isec = selinux_ipc(msq); in selinux_msg_queue_associate()
6075 ad.u.ipc_id = msq->key; in selinux_msg_queue_associate()
6082 static int selinux_msg_queue_msgctl(struct kern_ipc_perm *msq, int cmd) in selinux_msg_queue_msgctl() argument
6109 err = ipc_has_perm(msq, perms); in selinux_msg_queue_msgctl()
6113 static int selinux_msg_queue_msgsnd(struct kern_ipc_perm *msq, struct msg_msg *msg, int msqflg) in selinux_msg_queue_msgsnd() argument
6121 isec = selinux_ipc(msq); in selinux_msg_queue_msgsnd()
[all …]