Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:avc_xperms_decision_alloc

Proto:static struct avc_xperms_decision_node *avc_xperms_decision_alloc(u8 which)

Type:struct avc_xperms_decision_node

Parameter:

TypeParameterName
u8which
297  xpd_node = Shortcuts
298  If Not xpd_node Then Return NULL
301  xpd = xpd
302  If which & XPERMS_ALLOWED Then
303  allowed = Shortcuts
305  If Not allowed Then Go to error
308  If which & XPERMS_AUDITALLOW Then
309  auditallow = Shortcuts
311  If Not auditallow Then Go to error
314  If which & XPERMS_DONTAUDIT Then
315  dontaudit = Shortcuts
317  If Not dontaudit Then Go to error
320  Return xpd_node
321  error :
322  avc_xperms_decision_free(xpd_node)
323  Return NULL
Caller
NameDescribe
avc_add_xperms_decision
avc_xperms_populate