Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\selinux\avc.c Create Date:2022-07-28 18:43:16
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:avc_xperms_audit_required

Proto:static inline unsigned int avc_xperms_audit_required(unsigned int requested, struct av_decision *avd, struct extended_perms_decision *xpd, u8 perm, int result, unsigned int *deniedp)

Type:unsigned int

Parameter:

TypeParameterName
unsigned intrequested
struct av_decision *avd
struct extended_perms_decision *xpd
u8perm
intresult
unsigned int *deniedp
392  denied = requested & ~allowed
393  If Value for the false possibility is greater at compile time(denied) Then
394  audited = denied & auditdeny
395  If audited && xpd Then
399  Else if result Then
400  audited = denied = requested
401  Else
402  audited = requested & auditallow
403  If audited && xpd Then
409  deniedp = denied
410  Return audited
Caller
NameDescribe
avc_xperms_audit