函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:aa_label_sk_perm

函数原型:static int aa_label_sk_perm(struct aa_label *label, const char *op, unsigned int request, struct sock *sk)

返回类型:int

参数:

类型参数名称
struct aa_label *label
const char *op
unsigned intrequest
struct sock *sk
146  error等于0
148  AA_BUG(!label)
149  AA_BUG(!sk)
151  如果非unconfined(label)则
153  DEFINE_AUDIT_SK(sa, op, sk)
155  error等于fn_for_each_confined(label, profile, aa_profile_af_sk_perm(profile, & sa, request, sk))
159  返回:error
调用者
名称描述
aa_sk_perm
aa_sock_file_perm