Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\commoncap.c Create Date:2022-07-28 18:37:11
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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.

Proto:int cap_task_setioprio(struct task_struct *p, int ioprio)

Type:int

Parameter:

TypeParameterName
struct task_struct *p
intioprio
1119  Return Rationale: code calling task_setscheduler, task_setioprio, and* task_setnice, assumes that*