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_clone_security - clone the sk_security field

Proto:static void apparmor_sk_clone_security(const struct sock *sk, struct sock *newsk)

Type:void

Parameter:

TypeParameterName
const struct sock *sk
struct sock *newsk
804  ctx = SK_CTX(sk)
805  new = SK_CTX(newsk)
807  label = aa_get_label(label)
808  peer = aa_get_label(peer)