函数逻辑报告 |
Source Code:security\commoncap.c |
Create Date:2022-07-27 20:11:02 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Rationale: code calling task_setscheduler, task_setioprio, and* task_setnice, assumes that*
函数原型:static int cap_safe_nice(struct task_struct *p)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct task_struct * | p |
1085 | ret等于0 |
1094 | 返回:ret |
名称 | 描述 |
---|---|
cap_task_setscheduler | ap_task_setscheduler - Detemine if scheduler policy change is permitted*@p: The task to affect* Detemine if the requested scheduler policy change is permitted for the* specified task, returning 0 if permission is granted, -ve if denied. |
cap_task_setioprio | ap_task_ioprio - Detemine if I/O priority change is permitted*@p: The task to affect*@ioprio: The I/O priority to set* Detemine if the requested I/O priority change is permitted for the specified* task, returning 0 if permission is granted, -ve if denied. |
cap_task_setnice | ap_task_ioprio - Detemine if task priority change is permitted*@p: The task to affect*@nice: The nice value to set* Detemine if the requested task priority change is permitted for the* specified task, returning 0 if permission is granted, -ve if denied. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |