Function report |
Source Code:security\selinux\hooks.c |
Create Date:2022-07-28 18:55:50 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:(This comment used to live with the selinux_task_setuid hook,* which was removed).* Since setuid only affects the current process, and since the SELinux* controls are not based on the Linux identity attributes, SELinux does not
Proto:static int selinux_capable(const struct cred *cred, struct user_namespace *ns, int cap, unsigned int opts)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| const struct cred * | cred | |
| struct user_namespace * | ns | |
| int | cap | |
| unsigned int | opts |
| 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 |