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:51
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:smack_task_getsid - Smack access check for getsid*@p: the object task* Returns 0 if current can read the object task, error code otherwise

Proto:static int smack_task_getsid(struct task_struct *p)

Type:int

Parameter:

TypeParameterName
struct task_struct *p
2086  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