函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\selinux\include\security.h Create Date:2022-07-27 20:15:44
Last Modify:2020-03-18 08:11:51 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:selinux_policycap_alwaysnetwork

函数原型:static inline bool selinux_policycap_alwaysnetwork(void)

返回类型:bool

参数:

162  state等于selinux_state
164  返回:policycap[POLICYDB_CAPABILITY_ALWAYSNETWORK]
调用者
名称描述
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