Searched refs:msq (Results 1 – 3 of 3) sorted by relevance
/security/ |
D | security.c | 1176 int security_msg_queue_alloc(struct msg_queue *msq) in security_msg_queue_alloc() argument 1178 return call_int_hook(msg_queue_alloc_security, 0, msq); in security_msg_queue_alloc() 1181 void security_msg_queue_free(struct msg_queue *msq) in security_msg_queue_free() argument 1183 call_void_hook(msg_queue_free_security, msq); in security_msg_queue_free() 1186 int security_msg_queue_associate(struct msg_queue *msq, int msqflg) in security_msg_queue_associate() argument 1188 return call_int_hook(msg_queue_associate, 0, msq, msqflg); in security_msg_queue_associate() 1191 int security_msg_queue_msgctl(struct msg_queue *msq, int cmd) in security_msg_queue_msgctl() argument 1193 return call_int_hook(msg_queue_msgctl, 0, msq, cmd); in security_msg_queue_msgctl() 1196 int security_msg_queue_msgsnd(struct msg_queue *msq, in security_msg_queue_msgsnd() argument 1199 return call_int_hook(msg_queue_msgsnd, 0, msq, msg, msqflg); in security_msg_queue_msgsnd() [all …]
|
/security/smack/ |
D | smack_lsm.c | 3211 static int smack_msg_queue_alloc_security(struct msg_queue *msq) in smack_msg_queue_alloc_security() argument 3213 struct kern_ipc_perm *kisp = &msq->q_perm; in smack_msg_queue_alloc_security() 3226 static void smack_msg_queue_free_security(struct msg_queue *msq) in smack_msg_queue_free_security() argument 3228 struct kern_ipc_perm *kisp = &msq->q_perm; in smack_msg_queue_free_security() 3239 static struct smack_known *smack_of_msq(struct msg_queue *msq) in smack_of_msq() argument 3241 return (struct smack_known *)msq->q_perm.security; in smack_of_msq() 3251 static int smk_curacc_msq(struct msg_queue *msq, int access) in smk_curacc_msq() argument 3253 struct smack_known *msp = smack_of_msq(msq); in smk_curacc_msq() 3259 ad.a.u.ipc_id = msq->q_perm.id; in smk_curacc_msq() 3273 static int smack_msg_queue_associate(struct msg_queue *msq, int msqflg) in smack_msg_queue_associate() argument [all …]
|
/security/selinux/ |
D | hooks.c | 5573 static int selinux_msg_queue_alloc_security(struct msg_queue *msq) in selinux_msg_queue_alloc_security() argument 5580 rc = ipc_alloc_security(&msq->q_perm, SECCLASS_MSGQ); in selinux_msg_queue_alloc_security() 5584 isec = msq->q_perm.security; in selinux_msg_queue_alloc_security() 5587 ad.u.ipc_id = msq->q_perm.key; in selinux_msg_queue_alloc_security() 5592 ipc_free_security(&msq->q_perm); in selinux_msg_queue_alloc_security() 5598 static void selinux_msg_queue_free_security(struct msg_queue *msq) in selinux_msg_queue_free_security() argument 5600 ipc_free_security(&msq->q_perm); in selinux_msg_queue_free_security() 5603 static int selinux_msg_queue_associate(struct msg_queue *msq, int msqflg) in selinux_msg_queue_associate() argument 5609 isec = msq->q_perm.security; in selinux_msg_queue_associate() 5612 ad.u.ipc_id = msq->q_perm.key; in selinux_msg_queue_associate() [all …]
|