Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\audit_watch.c Create Date:2022-07-28 11:28:57
Last Modify:2020-03-17 17:15:07 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Find and return the audit_parent on the given inode. If found a reference* is taken on this parent.

Proto:static inline struct audit_parent *audit_find_parent(struct inode *inode)

Type:struct audit_parent

Parameter:

TypeParameterName
struct inode *inode
90  struct audit_parent * parent = NULL
93  entry = Given a list of marks, find the mark associated with given group. If found* take a reference to that mark and return it, else return NULL.
94  If entry Then parent = container_of - cast a member of a structure out to the containing structure*@ptr: the pointer to the member.*@type: the type of the container struct this is embedded in.*@member: the name of the member within the struct.(entry, structaudit_parent, mark)
97  Return parent
Caller
NameDescribe
audit_add_watchFind a matching watch entry, or add this one.* Caller must hold audit_filter_mutex.