函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称: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

函数原型:static void smack_task_to_inode(struct task_struct *p, struct inode *inode)

返回类型:void

参数:

类型参数名称
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