Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:smack_task_setnice - Smack check on setting nice*@p: the task object*@nice: unused* Return 0 if write access is permitted

Proto:static int smack_task_setnice(struct task_struct *p, int nice)

Type:int

Parameter:

TypeParameterName
struct task_struct *p
intnice
2112  Return smk_curacc_on_task - helper to log task related access*@p: the task object*@access: the access requested*@caller: name of the calling function for audit* Return 0 if access is permitted