Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:selinux_secmark_relabel_packet

Proto:static int selinux_secmark_relabel_packet(unsigned int sid)

Type:int

Parameter:

TypeParameterName
unsigned intsid
5424  __tsec = selinux_cred(current_cred - Access the current task's subjective credentials* Access the subjective credentials of the current task. RCU-safe,* since nobody else can modify it.())
5425  tsid = current SID
5427  Return avc_has_perm - Check permissions and perform any appropriate auditing