Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\selinux\include\avc.h Create Date:2022-07-28 18:42:28
Last Modify:2020-03-18 08:09:09 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:avc_audit_required

Proto:static inline unsigned int avc_audit_required(unsigned int requested, struct av_decision *avd, int result, unsigned int auditdeny, unsigned int *deniedp)

Type:unsigned int

Parameter:

TypeParameterName
unsigned intrequested
struct av_decision *avd
intresult
unsigned intauditdeny
unsigned int *deniedp
71  denied = requested & ~allowed
72  If Value for the false possibility is greater at compile time(denied) Then
73  audited = denied & auditdeny
90  If auditdeny && Not (auditdeny & auditdeny) Then audited = 0
92  Else if result Then audited = denied = requested
94  Else audited = requested & auditallow
96  deniedp = denied
97  Return audited
Caller
NameDescribe
selinux_inode_permission