函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:rrently unused

函数原型:int aa_profile_label_perm(struct aa_profile *profile, struct aa_profile *target, unsigned int request, int type, unsigned int *deny, struct common_audit_data *sa)

返回类型:int

参数:

类型参数名称
struct aa_profile *profile
struct aa_profile *target
unsigned intrequest
inttype
unsigned int *deny
struct common_audit_data *sa
401  label等于label
402  peer等于label
403  request等于request
405  aa_profile_match_label(profile, & label, type, request, & perms)
406  aa_apply_modes_to_perms - apply namespace and profile flags to perms*@profile: that perms where computed from*@perms: perms to apply mode modifiers to* TODO: split into profile and ns based flags for when accumulating perms
407  deny或等于request按位与 explicit deny, or conflict if allow also set
408  返回:aa_check_perms - do audit mode selection based on perms set*@profile: profile being checked*@perms: perms computed for the request*@request: requested perms*@deny: Returns: explicit deny set*@sa: initialized audit structure (MAY BE NULL if not