Home
last modified time | relevance | path

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

/security/
Dsecurity.c1959 int security_msg_queue_alloc(struct kern_ipc_perm *msq) in security_msg_queue_alloc() argument
1961 int rc = lsm_ipc_alloc(msq); in security_msg_queue_alloc()
1965 rc = call_int_hook(msg_queue_alloc_security, 0, msq); in security_msg_queue_alloc()
1967 security_msg_queue_free(msq); in security_msg_queue_alloc()
1971 void security_msg_queue_free(struct kern_ipc_perm *msq) in security_msg_queue_free() argument
1973 call_void_hook(msg_queue_free_security, msq); in security_msg_queue_free()
1974 kfree(msq->security); in security_msg_queue_free()
1975 msq->security = NULL; in security_msg_queue_free()
1978 int security_msg_queue_associate(struct kern_ipc_perm *msq, int msqflg) in security_msg_queue_associate() argument
1980 return call_int_hook(msg_queue_associate, 0, msq, msqflg); in security_msg_queue_associate()
[all …]
/security/selinux/
Dhooks.c6143 static int selinux_msg_queue_alloc_security(struct kern_ipc_perm *msq) in selinux_msg_queue_alloc_security() argument
6150 isec = selinux_ipc(msq); in selinux_msg_queue_alloc_security()
6154 ad.u.ipc_id = msq->key; in selinux_msg_queue_alloc_security()
6162 static int selinux_msg_queue_associate(struct kern_ipc_perm *msq, int msqflg) in selinux_msg_queue_associate() argument
6168 isec = selinux_ipc(msq); in selinux_msg_queue_associate()
6171 ad.u.ipc_id = msq->key; in selinux_msg_queue_associate()
6178 static int selinux_msg_queue_msgctl(struct kern_ipc_perm *msq, int cmd) in selinux_msg_queue_msgctl() argument
6205 err = ipc_has_perm(msq, perms); in selinux_msg_queue_msgctl()
6209 static int selinux_msg_queue_msgsnd(struct kern_ipc_perm *msq, struct msg_msg *msg, int msqflg) in selinux_msg_queue_msgsnd() argument
6217 isec = selinux_ipc(msq); in selinux_msg_queue_msgsnd()
[all …]