函数逻辑报告

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

函数名称:d_label_crit_section - put a reference found with begin_current_label..*@label: label reference to put* Should only be used with a reference obtained with* begin_current_label_crit_section and never used in situations where the* task cred may be updated

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

返回类型:void

参数:

类型参数名称
struct aa_label *label
122  如果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 versionaa_put_label(label)
调用者
名称描述
policy_update
profile_remove.remove file hook fn to remove loaded policy
query_dataquery_data - queries a policy and writes its data to buf*@buf: the resulting data is stored here (NOT NULL)*@buf_len: size of buf*@query: query string used to retrieve data*@query_len: size of query including second NUL byte
query_labelquery_label - queries a label and writes permissions to buf*@buf: the resulting permissions string is stored here (NOT NULL)*@buf_len: size of buf*@query: binary query string to match against the dfa*@query_len: size of query*@view_only: only compute for
seq_ns_stacked_show
seq_ns_nsstacked_show
seq_ns_level_show
seq_ns_name_show
ns_mkdir_op
ns_rmdir_op
apparmor_path_link
apparmor_path_rename
apparmor_file_alloc_security
apparmor_setprocattr
apparmor_socket_createapparmor_socket_create - check perms before creating a new socket
apparmor_socket_getpeersec_streamapparmor_socket_getpeersec_stream - get security context of peer* Note: for tcp only valid if using ipsec or cipso on lan
aa_sk_perm