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

Name:smack_task_to_inode - copy task smack into the inode blob*@p: task to copy from*@inode: inode to copy to* Sets the smack pointer in the inode security blob

Proto:static void smack_task_to_inode(struct task_struct *p, struct inode *inode)

Type:void

Parameter:

TypeParameterName
struct task_struct *p
struct inode *inode
2223  isp = smack_inode(inode)
2224  skp = smk_of_task_struct(p)
2226  label of the fso = skp
2227  smack inode flags |= de is instantiated