Function report |
Source Code:security\selinux\hooks.c |
Create Date:2022-07-28 19:02:09 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:selinux_ipc_permission
Proto:static int selinux_ipc_permission(struct kern_ipc_perm *ipcp, short flag)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct kern_ipc_perm * | ipcp | |
short | flag |
6256 | av = 0 |
6258 | av = 0 |
6259 | If flag & S_IRUGO Then av |= IPC__UNIX_READ |
6261 | If flag & S_IWUGO Then av |= IPC__UNIX_WRITE |
6264 | If av == 0 Then Return 0 |
6267 | Return ipc_has_perm(ipcp, av) |
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 |