函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:__aa_path_perm

函数原型:int __aa_path_perm(const char *op, struct aa_profile *profile, const char *name, unsigned int request, struct path_cond *cond, int flags, struct aa_perms *perms)

返回类型:int

参数:

类型参数名称
const char *op
struct aa_profile *profile
const char *name
unsigned intrequest
struct path_cond *cond
intflags
struct aa_perms *perms
281  e等于0
283  如果profile_unconfined(profile)则返回:0
285  aa_str_perms - find permission that match @name*@dfa: to match against (MAYBE NULL)*@state: state to start matching in*@name: string to match against dfa (NOT NULL)*@cond: conditions to consider for permission set computation (NOT NULL)*@perms: Returns -
286  如果request按位与allow的反则e等于负EACCES
288  返回:aa_audit_file - handle the auditing of file operations*@profile: the profile being enforced (NOT NULL)*@perms: the permissions computed for the request (NOT NULL)*@op: operation being mediated*@request: permissions requested*@name: name of object being
调用者
名称描述
profile_path_perm