函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:smk_ad_setfield_u_fs_inode

函数原型:static inline void smk_ad_setfield_u_fs_inode(struct smk_audit_info *a, struct inode *i)

返回类型:void

参数:

类型参数名称
struct smk_audit_info *a
struct inode *i
481  inode等于i
调用者
名称描述
smack_inode_unlinksmack_inode_unlink - Smack check on inode deletion*@dir: containing directory object*@dentry: file to unlink* Returns 0 if current can write the containing directory* and the object, error code otherwise
smack_inode_rmdirsmack_inode_rmdir - Smack check on directory deletion*@dir: containing directory object*@dentry: directory to unlink* Returns 0 if current can write the containing directory* and the directory, error code otherwise
smack_inode_permissionsmack_inode_permission - Smack version of permission()*@inode: the inode in question*@mask: the access requested* This is the important Smack hook.* Returns 0 if access is permitted, an error code otherwise