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_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.

Proto:int cap_task_setscheduler(struct task_struct *p)

Type:int

Parameter:

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