Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:avc_has_perm_flags

Proto:int avc_has_perm_flags(struct selinux_state *state, unsigned int ssid, unsigned int tsid, u16 tclass, unsigned int requested, struct common_audit_data *auditdata, int flags)

Type:int

Parameter:

TypeParameterName
struct selinux_state *state
unsigned intssid
unsigned inttsid
u16tclass
unsigned intrequested
struct common_audit_data *auditdata
intflags
1200  rc = avc_has_perm_noaudit - Check permissions but perform no auditing
1204  rc2 = avc_audit - Audit the granting or denial of permissions
1206  If rc2 Then Return rc2
1208  Return rc
Caller
NameDescribe
selinux_inode_follow_link