Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:selinux_peerlbl_enabled - Check to see if peer labeling is currently enabled* Description:* This function checks if NetLabel or labeled IPSEC is enabled

Proto:static int selinux_peerlbl_enabled(void)

Type:int

Parameter:Nothing

180  Return selinux_policycap_alwaysnetwork() || LSM protocol operations (NetLabel LSM/kernel API) || selinux_xfrm_enabled()
Caller
NameDescribe
selinux_socket_sock_rcv_skb
selinux_sctp_assoc_requestCalled whenever SCTP receives an INIT chunk. This happens when an incoming* connect(2), sctp_connectx(3) or sctp_sendmsg(3) (with no association* already present).