Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:avc_xperms_allow_perm

Proto:static void avc_xperms_allow_perm(struct avc_xperms_node *xp_node, u8 driver, u8 perm)

Type:void

Parameter:

TypeParameterName
struct avc_xperms_node *xp_node
u8driver
u8perm
218  security_xperm_set(p, driver)
219  xpd = sing a linked list for extended_perms_decision lookup because the list is* always small. i.e. less than 5, typically 1
220  If xpd && allowed Then security_xperm_set(p, perm)
Caller
NameDescribe
avc_update_nodeavc_update_node Update an AVC entry*@event : Updating event*@perms : Permission mask bits*@ssid,@tsid,@tclass : identifier of an AVC entry*@seqno : sequence number when decision was made*@xpd: extended_perms_decision to be added to the node