函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\apparmor\lsm.c Create Date:2022-07-27 21:38:21
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:apparmor_clone_security - clone the sk_security field

函数原型:static void apparmor_sk_clone_security(const struct sock *sk, struct sock *newsk)

返回类型:void

参数:

类型参数名称
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)