函数逻辑报告 |
Source Code:kernel\sys.c |
Create Date:2022-07-27 10:20:51 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:SYSCALL_DEFINE4
函数原型:SYSCALL_DEFINE4(prlimit64, pid_t, pid, unsigned int, resource, const struct rlimit64 __user *, new_rlim, struct rlimit64 __user *, old_rlim)
返回类型:
参数:无
1615 | checkflags等于0 |
1621 | 如果new_rlim则 |
1622 | 如果copy_from_user( & new64, new_rlim, new64的长度)则返回:负EFAULT |
1624 | rlim64_to_rlim( & new64, & new) |
1625 | checkflags或等于LSM_PRLIMIT_WRITE |
1630 | 如果非tsk则 |
1632 | 返回:负ESRCH |
1634 | ret等于 lock must be held |
1635 | 如果ret则 |
1637 | 返回:ret |
1639 | get_task_struct(tsk) |
1646 | rlim_to_rlim64( & old, & old64) |
1651 | put_task_struct(tsk) |
1652 | 返回:ret |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |