Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:__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

Proto:static inline struct aa_label *__begin_current_label_crit_section(void)

Type:struct aa_label

Parameter:Nothing

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  If label_is_stale(label) Then 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  Return label
Caller
NameDescribe
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