Function report |
Source Code:security\selinux\hooks.c |
Create Date:2022-07-28 19:01:44 |
| 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_msgsnd
Proto:static int selinux_msg_queue_msgsnd(struct kern_ipc_perm *msq, struct msg_msg *msg, int msqflg)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct kern_ipc_perm * | msq | |
| struct msg_msg * | msg | |
| int | msqflg |
| 6011 | isec = selinux_ipc(msq) |
| 6012 | msec = selinux_msg_msg(msg) |
| 6017 | If SID of message == SECINITSID_UNLABELED Then |
| 6022 | rc = security_transition_sid( & selinux_state, sid, SID of IPC resource , SECCLASS_MSG, NULL, & SID of message ) |
| 6028 | type = LSM_AUDIT_DATA_IPC |
| 6035 | If Not rc Then rc = avc_has_perm - Check permissions and perform any appropriate auditing |
| 6040 | If Not rc Then rc = avc_has_perm - Check permissions and perform any appropriate auditing |
| 6046 | 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 |