函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

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

函数原型:int cap_task_setioprio(struct task_struct *p, int ioprio)

返回类型:int

参数:

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