Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Slow-path helper function for avc_has_perm_noaudit,* when the avc_node lookup fails

Proto:static noinline struct avc_node *avc_compute_av(struct selinux_state *state, unsigned int ssid, unsigned int tsid, u16 tclass, struct av_decision *avd, struct avc_xperms_node *xp_node)

Type:struct avc_node

Parameter:

TypeParameterName
struct selinux_state *state
unsigned intssid
unsigned inttsid
u16tclass
struct av_decision *avd
struct avc_xperms_node *xp_node
1000  _read_unlock() - marks the end of an RCU read-side critical section.* In most situations, rcu_read_unlock() is immune from deadlock.* However, in kernels built with CONFIG_RCU_BOOST, rcu_read_unlock()
1001  Initialization list head
1002  security_compute_av(state, ssid, tsid, tclass, avd, & xp)
1003  _read_lock() - mark the beginning of an RCU read-side critical section* When synchronize_rcu() is invoked on one CPU while other CPUs* are within RCU read-side critical sections, then the* synchronize_rcu() is guaranteed to block until after all the other
1004  Return avc_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
Caller
NameDescribe
avc_has_extended_permsThe avc extended permissions logic adds an additional 256 bits of* permissions to an avc node when extended permissions for that node are* specified in the avtab
avc_has_perm_noauditavc_has_perm_noaudit - Check permissions but perform no auditing