函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:__begin_current_label_crit_section - current's confining label* Returns: up to date confining label or the ns unconfined label (NOT NULL)* safe to call inside locks* The returned reference must be put with __end_current_label_crit_section()* This must NOT

函数原型:static inline struct aa_label *__begin_current_label_crit_section(void)

返回类型:struct aa_label

参数:

140  label等于aa_current_raw_label - find the current tasks confining label* Returns: up to date confining label or the ns unconfined label (NOT NULL)* This fn will not update the tasks cred to the most up to date version
142  如果label_is_stale(label)则label等于aa_get_newest_label - find the newest version of @l*@l: the label to check for newer versions of* Returns: refcounted newest version of @l taking into account* replacement, renames and removals* return @l.
145  返回:label
调用者
名称描述
apparmor_ptrace_access_check
apparmor_ptrace_traceme
common_permmmon_perm - basic common permission check wrapper fn for paths*@op: operation being checked*@path: path to check permission of (NOT NULL)*@mask: requested permissions mask*@cond: conditional info for the permission request (NOT NULL)* Returns: %0 else
common_file_perm
apparmor_sb_mount
apparmor_sb_umount
apparmor_task_setrlimit
apparmor_task_kill
aa_get_current_ns