函数逻辑报告 |
Source Code:security\apparmor\resource.c |
Create Date:2022-07-27 21:40:38 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称: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)
函数原型:int aa_task_setrlimit(struct aa_label *label, struct task_struct *task, unsigned int resource, struct rlimit *new_rlim)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| 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 | 否则error等于fn_for_each_confined(label, profile, profile_setrlimit(profile, resource, new_rlim)) |
| 131 | aa_put_label(peer) |
| 133 | 返回:error |
| 名称 | 描述 |
|---|---|
| apparmor_task_setrlimit |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |