函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:smack_task_setpgid - Smack check on setting pgid*@p: the task object*@pgid: unused* Return 0 if write access is permitted

函数原型:static int smack_task_setpgid(struct task_struct *p, pid_t pgid)

返回类型:int

参数:

类型参数名称
struct task_struct *p
pid_tpgid
2064  返回: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