Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:avc_add_xperms_decision

Proto:static int avc_add_xperms_decision(struct avc_node *node, struct extended_perms_decision *src)

Type:int

Parameter:

TypeParameterName
struct avc_node *node
struct extended_perms_decision *src
331  length associated decision chain ++
332  dest_xpd = avc_xperms_decision_alloc(used)
333  If Not dest_xpd Then Return -ENOMEM
335  avc_copy_xperms_decision( & xpd, src)
336  list_add - add a new entry*@new: new entry to be added*@head: list head to add it after* Insert a new entry after the specified head.* This is good for implementing stacks.
337  Return 0
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