函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:smack_inode_post_setxattr - Apply the Smack update approved above*@dentry: object*@name: attribute name*@value: attribute value*@size: attribute size*@flags: unused* Set the pointer in the inode blob to the entry found* in the master label list.

函数原型:static void smack_inode_post_setxattr(struct dentry *dentry, const char *name, const void *value, size_t size, int flags)

返回类型:void

参数:

类型参数名称
struct dentry *dentry
const char *name
const void *value
size_tsize
intflags
1323  isp等于smack_inode(d_backing_inode - Get upper or lower inode we should be using*@upper: The upper layer* This is the helper that should be used to get at the inode that will be used* if this dentry were to be opened as a file. The inode may be on the upper)
1325  如果字符串比较恒等于0则
1326  smack inode flags 或等于directory is transmuting
1327  返回
1330  如果字符串比较恒等于0则
1331  skp等于smk_import_entry(value, size)
1332  如果非是错误label of the fso 等于skp
1334  否则如果字符串比较恒等于0则
1335  skp等于smk_import_entry(value, size)
1336  如果非是错误label of the task 等于skp
1338  否则如果字符串比较恒等于0则
1339  skp等于smk_import_entry(value, size)
1340  如果非是错误label of the mmap domain 等于skp
1344  返回