函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:profile_tracee_perm

函数原型:static int profile_tracee_perm(struct aa_profile *tracee, struct aa_label *tracer, unsigned int request, struct common_audit_data *sa)

返回类型:int

参数:

类型参数名称
struct aa_profile *tracee
struct aa_label *tracer
unsigned intrequest
struct common_audit_data *sa
82  如果profile_unconfined(tracee)或unconfined(tracer)或非PROFILE_MEDIATES(tracee, AA_CLASS_PTRACE)则返回:0
86  返回:TODO: conditionals
调用者
名称描述
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