Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\commoncap.c Create Date:2022-07-28 18:37:12
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 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.

Proto:int cap_task_setnice(struct task_struct *p, int nice)

Type:int

Parameter:

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