Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:apparmor_sk_free_security - free the sk_security field

Proto:static void apparmor_sk_free_security(struct sock *sk)

Type:void

Parameter:

TypeParameterName
struct sock *sk
790  ctx = SK_CTX(sk)
792  SK_CTX(sk) = NULL
793  aa_put_label(label)
794  aa_put_label(peer)
795  kfree(ctx)