Function report |
Source Code:security\apparmor\capability.c |
Create Date:2022-07-28 19:50:30 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:aa_capable - test permission to use capability*@label: label being tested for capability (NOT NULL)*@cap: capability to be tested*@opts: CAP_OPT_NOAUDIT bit determines whether audit record is generated* Look up capability in profile capability set.
Proto:int aa_capable(struct aa_label *label, int cap, unsigned int opts)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct aa_label * | label | |
| int | cap | |
| unsigned int | opts |
| 150 | error = 0 |
| 157 | Return error |
| Name | Describe |
|---|---|
| profile_tracer_perm | |
| apparmor_capable | |
| aa_task_setrlimit | aa_task_setrlimit - test permission to set an rlimit*@label - label confining the task (NOT NULL)*@task - task the resource is being set on*@resource - the resource being set*@new_rlim - the new resource limit (NOT NULL) |
| 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 |