Function report | 
Source Code:security\selinux\hooks.c | 
Create Date:2022-07-28 19:01:47 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:selinux_msg_queue_msgrcv
Proto:static int selinux_msg_queue_msgrcv(struct kern_ipc_perm *msq, struct msg_msg *msg, struct task_struct *target, long type, int mode)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct kern_ipc_perm * | msq | |
| struct msg_msg * | msg | |
| struct task_struct * | target | |
| long | type | |
| int | mode | 
| 6059 | isec = selinux_ipc(msq) | 
| 6060 | msec = selinux_msg_msg(msg) | 
| 6062 | type = LSM_AUDIT_DATA_IPC | 
| 6068 | If Not rc Then rc = avc_has_perm - Check permissions and perform any appropriate auditing | 
| 6072 | Return rc | 
| Source code conversion tool public plug-in interface  | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion  |