Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\integrity\ima\ima_appraise.c Create Date:2022-07-28 19:59:23
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:ma_must_appraise - set appraise flag* Return 1 to appraise or hash

Proto:int ima_must_appraise(struct inode *inode, int mask, enum ima_hooks func)

Type:int

Parameter:

TypeParameterName
struct inode *inode
intmask
enum ima_hooksfunc
53  If Not ima_appraise Then Return 0
56  security_task_getsecid(current process, & secid)
57  Return ma_match_policy - decision based on LSM and other conditions*@inode: pointer to an inode for which the policy decision is being made*@cred: pointer to a credentials structure for which the policy decision is* being made*@secid: LSM secid of the task to be
Caller
NameDescribe
ima_post_path_mknodma_post_path_mknod - mark as a new inode*@dentry: newly created dentry* Mark files created via the mknodat syscall as new, so that the* file data can be written later.
ima_inode_post_setattrma_inode_post_setattr - reflect file metadata changes*@dentry: pointer to the affected dentry* Changes to a dentry's metadata might result in needing to appraise.* This function is called from notify_change(), which expects the caller
ima_post_create_tmpfilema_post_create_tmpfile - mark newly created tmpfile as new*@file : newly created tmpfile* No measuring, appraising or auditing of newly created tmpfiles is needed.* Skip calling process_measurement(), but indicate which newly, created