Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:ma_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.

Proto:void ima_post_path_mknod(struct dentry *dentry)

Type:void

Parameter:

TypeParameterName
struct dentry *dentry
485  inode = Where the name belongs to - NULL is * negative
488  must_appraise = ma_must_appraise - set appraise flag* Return 1 to appraise or hash
489  If Not must_appraise Then Return
493  iint = grity_inode_get - find or allocate an iint associated with an inode*@inode: pointer to the inode*@return: allocated iint* Caller must lock i_mutex
494  If Not iint Then Return
498  flags |= IMA_NEW_FILE