函数逻辑报告 |
Source Code:kernel\sys.c |
Create Date:2022-07-27 10:20:48 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称: lock must be held
函数原型:static int check_prlimit_permission(struct task_struct *task, unsigned int flags)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct task_struct * | task | |
unsigned int | flags |
1589 | 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.() |
1596 | id_match等于uid_eq(进程uid, 有效uid)且uid_eq(进程uid, 保留uid)且uid_eq(进程uid, 进程uid)且gid_eq(进程gid, 有效gid)且gid_eq(进程gid, 保留gid)且gid_eq(进程gid, 进程gid) |
1602 | 如果非id_match且非ns_capable( user_ns the caps and keyrings are relative to. , Override max number of keymaps )则返回:负EPERM |
1605 | 返回:security_task_prlimit(cred, tcred, flags) |
名称 | 描述 |
---|---|
SYSCALL_DEFINE4 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |