函数逻辑报告 |
Source Code:security\yama\yama_lsm.c |
Create Date:2022-07-27 21:49:14 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:yama_task_prctl - check for Yama-specific prctl operations*@option: operation*@arg2: argument*@arg3: argument*@arg4: argument*@arg5: argument* Return 0 on success, -ve on error. -ENOSYS is returned when Yama* does not handle the given option.
函数原型:static int yama_task_prctl(int option, unsigned long arg2, unsigned long arg3, unsigned long arg4, unsigned long arg5)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
int | option | |
unsigned long | arg2 | |
unsigned long | arg3 | |
unsigned long | arg4 | |
unsigned long | arg5 |
238 | get_task_struct(myself) |
241 | 如果arg2恒等于0则 |
243 | rc等于0 |
244 | 否则如果arg2恒等于PR_SET_PTRACER_ANY或arg2恒等于负1则 |
246 | 否则 |
258 | put_task_struct(myself) |
259 | 退出 |
262 | 返回:rc |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |