Function report |
Source Code:security\apparmor\resource.c |
Create Date:2022-07-28 19:53: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_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)
Proto:int aa_task_setrlimit(struct aa_label *label, struct task_struct *task, unsigned int resource, struct rlimit *new_rlim)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct aa_label * | label | |
struct task_struct * | task | |
unsigned int | resource | |
struct rlimit * | new_rlim |
109 | error = 0 |
112 | peer = aa_get_newest_cred_label - obtain the newest label on a cred*@cred: cred to obtain label from (NOT NULL)* Returns: newest version of confining label |
128 | Else error = fn_for_each_confined(label, profile, profile_setrlimit(profile, resource, new_rlim)) |
131 | aa_put_label(peer) |
133 | Return error |
Name | Describe |
---|---|
apparmor_task_setrlimit |
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 |