Function report |
Source Code:security\selinux\hooks.c |
Create Date:2022-07-28 18:57:20 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:has_cap_mac_admin
Proto:static bool has_cap_mac_admin(bool audit)
Type:bool
Parameter:
| Type | Parameter | Name |
|---|---|---|
| bool | audit |
| 3125 | cred = current_cred - Access the current task's subjective credentials* Access the subjective credentials of the current task. RCU-safe,* since nobody else can modify it.() |
| 3126 | opts = If audit Then Default (no) options for the capable function Else If capable should audit the security request |
| 3130 | If Check whether a task is allowed to use a capability. Then Return false |
| 3132 | Return true |
| Name | Describe |
|---|---|
| selinux_inode_setxattr | |
| selinux_inode_getsecurity | Copy the inode security context value to the user.* Permission check is handled by selinux_inode_getxattr hook. |
| selinux_setprocattr |
| 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 |