Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:selinux_sk_free_security

Proto:static void selinux_sk_free_security(struct sock *sk)

Type:void

Parameter:

TypeParameterName
struct sock *sk
5154  sksec = sk_security
5156  sk_security = NULL
5157  selinux_netlbl_sk_security_free - Free the NetLabel fields*@sksec: the sk_security_struct* Description:* Free all of the memory in the NetLabel fields of a sk_security_struct.
5158  kfree(sksec)