Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:avc_alloc_node

Proto:static struct avc_node *avc_alloc_node(struct selinux_avc *avc)

Type:struct avc_node

Parameter:

TypeParameterName
struct selinux_avc *avc
500  node = Shortcuts
501  If Not node Then Go to out
504  INIT_HLIST_NODE( & anchored in avc_cache->slots[i] )
505  avc_cache_stats_incr(allocations)
507  If atomic_inc_return( & active_nodes) > avc_cache_threshold Then avc_reclaim_node(avc)
511  out :
512  Return node
Caller
NameDescribe
avc_insertavc_insert - Insert an AVC entry.*@ssid: source security identifier*@tsid: target security identifier*@tclass: target security class*@avd: resulting av decision*@xp_node: resulting extended permissions* Insert an AVC entry for the SID pair
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