Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:profile_tracee_perm

Proto:static int profile_tracee_perm(struct aa_profile *tracee, struct aa_label *tracer, unsigned int request, struct common_audit_data *sa)

Type:int

Parameter:

TypeParameterName
struct aa_profile *tracee
struct aa_label *tracer
unsigned intrequest
struct common_audit_data *sa
82  If profile_unconfined(tracee) || unconfined(tracer) || Not PROFILE_MEDIATES(tracee, AA_CLASS_PTRACE) Then Return 0
86  Return TODO: conditionals
Caller
NameDescribe
aa_may_ptraceaa_may_ptrace - test if tracer task can trace the tracee*@tracer: label of the task doing the tracing (NOT NULL)*@tracee: task label to be traced*@request: permission request* Returns: %0 else error code if permission denied or error