Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:aa_label_sk_perm

Proto:static int aa_label_sk_perm(struct aa_label *label, const char *op, unsigned int request, struct sock *sk)

Type:int

Parameter:

TypeParameterName
struct aa_label *label
const char *op
unsigned intrequest
struct sock *sk
146  error = 0
148  AA_BUG(!label)
149  AA_BUG(!sk)
151  If Not unconfined(label) Then
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  Return error
Caller
NameDescribe
aa_sk_perm
aa_sock_file_perm