Home
last modified time | relevance | path

Searched refs:aa_put_label (Results 1 - 25 of 28) sorted by relevance

12

/kernel/linux/linux-5.10/security/apparmor/include/
H A Dtask.h45 aa_put_label(ctx->nnp); in aa_free_task_ctx()
46 aa_put_label(ctx->previous); in aa_free_task_ctx()
47 aa_put_label(ctx->onexec); in aa_free_task_ctx()
73 aa_put_label(ctx->previous); in aa_clear_task_ctx_trans()
74 aa_put_label(ctx->onexec); in aa_clear_task_ctx_trans()
H A Dcred.h99 * The returned reference must be put with aa_put_label()
123 aa_put_label(label); in end_current_label_crit_section()
170 aa_put_label(label); in begin_current_label_crit_section()
H A Dfile.h74 aa_put_label(rcu_access_pointer(ctx->label)); in aa_free_file_ctx()
H A Dlabel.h442 static inline void aa_put_label(struct aa_label *l) in aa_put_label() function
/kernel/linux/linux-6.6/security/apparmor/include/
H A Dtask.h45 aa_put_label(ctx->nnp); in aa_free_task_ctx()
46 aa_put_label(ctx->previous); in aa_free_task_ctx()
47 aa_put_label(ctx->onexec); in aa_free_task_ctx()
73 aa_put_label(ctx->previous); in aa_clear_task_ctx_trans()
74 aa_put_label(ctx->onexec); in aa_clear_task_ctx_trans()
H A Dcred.h86 * The returned reference must be put with aa_put_label()
110 aa_put_label(label); in end_current_label_crit_section()
157 aa_put_label(label); in begin_current_label_crit_section()
H A Dfile.h75 aa_put_label(rcu_access_pointer(ctx->label)); in aa_free_file_ctx()
/kernel/linux/linux-5.10/security/apparmor/
H A Dtask.c63 aa_put_label(tmp); in aa_replace_current_label()
79 aa_put_label(cred_label(new)); in aa_replace_current_label()
98 aa_put_label(ctx->onexec); in aa_set_current_onexec()
130 aa_put_label(cred_label(new)); in aa_set_current_hat()
139 aa_put_label(ctx->onexec); in aa_set_current_hat()
170 aa_put_label(cred_label(new)); in aa_restore_previous_label()
H A Ddomain.c80 aa_put_label(tracerl); in may_change_ptraced_domain()
615 aa_put_label(base); in x_to_label()
713 aa_put_label(new); in profile_transition()
956 aa_put_label(cred_label(bprm->cred)); in apparmor_bprm_creds_for_exec()
961 aa_put_label(label); in apparmor_bprm_creds_for_exec()
972 aa_put_label(new); in apparmor_bprm_creds_for_exec()
1237 aa_put_label(new); in aa_change_hat()
1238 aa_put_label(previous); in aa_change_hat()
1239 aa_put_label(label); in aa_change_hat()
1317 aa_put_label(labe in aa_change_profile()
[all...]
H A Dlsm.c68 aa_put_label(cred_label(cred)); in apparmor_cred_free()
126 aa_put_label(tracee); in apparmor_ptrace_access_check()
140 aa_put_label(tracer); in apparmor_ptrace_traceme()
175 aa_put_label(label); in apparmor_capget()
189 aa_put_label(label); in apparmor_capable()
431 aa_put_label(label); in apparmor_file_open()
452 aa_put_label(rcu_access_pointer(ctx->label)); in apparmor_file_free_security()
583 aa_put_label(label); in apparmor_sb_pivotroot()
609 aa_put_label(label); in apparmor_getprocattr()
726 aa_put_label(labe in apparmor_task_getsecid()
[all...]
H A Dfile.c497 aa_put_label(old); in update_file_ctx()
499 aa_put_label(l); in update_file_ctx()
638 aa_put_label(flabel); in aa_file_perm()
708 aa_put_label(label); in aa_inherit_files()
H A Dlabel.c46 aa_put_label(rcu_dereference_protected(proxy->label, true)); in free_proxy()
85 aa_put_label(tmp); in __aa_proxy_redirect()
393 aa_put_label(new); in label_free_or_put_new()
820 aa_put_label(l); in aa_label_replace()
1198 aa_put_label(ar); in aa_label_find_merge()
1199 aa_put_label(br); in aa_label_find_merge()
1251 aa_put_label(a); in aa_label_merge()
1252 aa_put_label(b); in aa_label_merge()
2134 aa_put_label(l); in __labelset_update()
2135 aa_put_label(labe in __labelset_update()
[all...]
H A Dapparmorfs.c710 aa_put_label(label); in query_data()
721 aa_put_label(label); in query_data()
794 aa_put_label(label); in query_label()
1072 aa_put_label(label); in seq_profile_name_show()
1083 aa_put_label(label); in seq_profile_mode_show()
1099 aa_put_label(label); in seq_profile_attach_show()
1116 aa_put_label(label); in seq_profile_hash_show()
1623 aa_put_label(label); in rawdata_get_link_base()
H A Dresource.c131 aa_put_label(peer); in aa_task_setrlimit()
H A Daudit.c171 aa_put_label(rule->label); in aa_audit_rule_free()
H A Dmount.c719 aa_put_label(target); in aa_pivotroot()
722 aa_put_label(target); in aa_pivotroot()
/kernel/linux/linux-6.6/security/apparmor/
H A Dtask.c68 aa_put_label(tmp); in aa_replace_current_label()
84 aa_put_label(cred_label(new)); in aa_replace_current_label()
103 aa_put_label(ctx->onexec); in aa_set_current_onexec()
135 aa_put_label(cred_label(new)); in aa_set_current_hat()
144 aa_put_label(ctx->onexec); in aa_set_current_hat()
175 aa_put_label(cred_label(new)); in aa_restore_previous_label()
H A Ddomain.c69 aa_put_label(tracerl); in may_change_ptraced_domain()
622 aa_put_label(base); in x_to_label()
724 aa_put_label(new); in profile_transition()
980 aa_put_label(cred_label(bprm->cred)); in apparmor_bprm_creds_for_exec()
985 aa_put_label(label); in apparmor_bprm_creds_for_exec()
996 aa_put_label(new); in apparmor_bprm_creds_for_exec()
1267 aa_put_label(new); in aa_change_hat()
1268 aa_put_label(previous); in aa_change_hat()
1269 aa_put_label(label); in aa_change_hat()
1352 aa_put_label(labe in aa_change_profile()
[all...]
H A Dlsm.c68 aa_put_label(cred_label(cred)); in apparmor_cred_free()
183 aa_put_label(label); in apparmor_capget()
197 aa_put_label(label); in apparmor_capable()
487 aa_put_label(label); in apparmor_file_open()
508 aa_put_label(rcu_access_pointer(ctx->label)); in apparmor_file_free_security()
658 aa_put_label(label); in apparmor_sb_pivotroot()
684 aa_put_label(label); in apparmor_getprocattr()
802 aa_put_label(label); in apparmor_current_getsecid_subj()
809 aa_put_label(label); in apparmor_task_getsecid_obj()
841 aa_put_label(c in apparmor_task_kill()
[all...]
H A Dfile.c476 aa_put_label(old); in update_file_ctx()
478 aa_put_label(l); in update_file_ctx()
627 aa_put_label(flabel); in aa_file_perm()
706 aa_put_label(label); in aa_inherit_files()
H A Dlabel.c46 aa_put_label(rcu_dereference_protected(proxy->label, true)); in free_proxy()
85 aa_put_label(tmp); in __aa_proxy_redirect()
396 aa_put_label(new); in label_free_or_put_new()
822 aa_put_label(l); in aa_label_replace()
1199 aa_put_label(ar); in aa_label_find_merge()
1200 aa_put_label(br); in aa_label_find_merge()
1252 aa_put_label(a); in aa_label_merge()
1253 aa_put_label(b); in aa_label_merge()
2134 aa_put_label(l); in __labelset_update()
2135 aa_put_label(labe in __labelset_update()
[all...]
H A Dapparmorfs.c715 aa_put_label(label); in query_data()
726 aa_put_label(label); in query_data()
799 aa_put_label(label); in query_label()
1076 aa_put_label(label); in seq_profile_name_show()
1087 aa_put_label(label); in seq_profile_mode_show()
1103 aa_put_label(label); in seq_profile_attach_show()
1120 aa_put_label(label); in seq_profile_hash_show()
1642 aa_put_label(label); in rawdata_get_link_base()
H A Daudit.c215 aa_put_label(rule->label); in aa_audit_rule_free()
H A Dresource.c144 aa_put_label(peer); in aa_task_setrlimit()
H A Dmount.c748 aa_put_label(target); in aa_pivotroot()
751 aa_put_label(target); in aa_pivotroot()

Completed in 29 milliseconds

12