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

Proto:static inline void end_current_label_crit_section(struct aa_label *label)

Type:void

Parameter:

TypeParameterName
struct aa_label *label
122  If 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 Then aa_put_label(label)
Caller
NameDescribe
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