函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\commoncap.c Create Date:2022-07-27 20:11:03
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称: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.

函数原型:int cap_task_setnice(struct task_struct *p, int nice)

返回类型:int

参数:

类型参数名称
struct task_struct *p
intnice
1132  返回:Rationale: code calling task_setscheduler, task_setioprio, and* task_setnice, assumes that*