Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\selinux\include\security.h Create Date:2022-07-28 18:42:08
Last Modify:2020-03-18 08:11:51 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:selinux_policycap_alwaysnetwork

Proto:static inline bool selinux_policycap_alwaysnetwork(void)

Type:bool

Parameter:Nothing

162  state = selinux_state
164  Return policycap[POLICYDB_CAPABILITY_ALWAYSNETWORK]
Caller
NameDescribe
selinux_secmark_enabledselinux_secmark_enabled - Check to see if SECMARK is currently enabled* Description:* This function checks the SECMARK reference counter to see if any SECMARK* targets are currently configured, if the reference counter is greater than
selinux_peerlbl_enabledselinux_peerlbl_enabled - Check to see if peer labeling is currently enabled* Description:* This function checks if NetLabel or labeled IPSEC is enabled