Home
last modified time | relevance | path

Searched refs:AA_BUG (Results 1 – 23 of 23) sorted by relevance

/linux-6.3-rc2/security/apparmor/
A Dlabel.c78 AA_BUG(!new); in __aa_proxy_redirect()
111 AA_BUG(!a); in ns_cmp()
112 AA_BUG(!b); in ns_cmp()
139 AA_BUG(!a); in profile_cmp()
140 AA_BUG(!b); in profile_cmp()
169 AA_BUG(!a); in vec_cmp()
170 AA_BUG(!*a); in vec_cmp()
171 AA_BUG(!b); in vec_cmp()
172 AA_BUG(!*b); in vec_cmp()
468 AA_BUG(!b); in label_cmp()
[all …]
A Dmount.c230 AA_BUG(!perms); in do_match_mnt()
278 AA_BUG(!path); in path_flags()
393 AA_BUG(!label); in aa_remount()
394 AA_BUG(!path); in aa_remount()
417 AA_BUG(!label); in aa_bind_mount()
418 AA_BUG(!path); in aa_bind_mount()
454 AA_BUG(!path); in aa_mount_change_type()
480 AA_BUG(!path); in aa_move_mount()
517 AA_BUG(!path); in aa_new_mount()
580 AA_BUG(!path); in profile_umount()
[all …]
A Dnet.c117 AA_BUG(family >= AF_MAX); in aa_profile_af_perm()
118 AA_BUG(type < 0 || type >= SOCK_MAX); in aa_profile_af_perm()
153 AA_BUG(!label); in aa_label_sk_perm()
154 AA_BUG(!sk); in aa_label_sk_perm()
172 AA_BUG(!sk); in aa_sk_perm()
173 AA_BUG(in_interrupt()); in aa_sk_perm()
187 AA_BUG(!label); in aa_sock_file_perm()
188 AA_BUG(!sock); in aa_sock_file_perm()
189 AA_BUG(!sock->sk); in aa_sock_file_perm()
A Ddomain.c385 AA_BUG(!name); in find_attach()
386 AA_BUG(!head); in find_attach()
514 AA_BUG(!name); in x_table_lookup()
637 AA_BUG(!bprm); in profile_transition()
736 AA_BUG(!bprm); in profile_onexec()
806 AA_BUG(!label); in handle_onexec()
808 AA_BUG(!bprm); in handle_onexec()
874 AA_BUG(!ctx); in apparmor_bprm_creds_for_exec()
905 AA_BUG(!new); in apparmor_bprm_creds_for_exec()
1049 AA_BUG(!hats); in change_hat()
[all …]
A Dlsm.c926 AA_BUG(!sock); in apparmor_socket_bind()
928 AA_BUG(!address); in apparmor_socket_bind()
942 AA_BUG(!sock); in apparmor_socket_connect()
944 AA_BUG(!address); in apparmor_socket_connect()
957 AA_BUG(!sock); in apparmor_socket_listen()
974 AA_BUG(!sock); in apparmor_socket_accept()
976 AA_BUG(!newsock); in apparmor_socket_accept()
987 AA_BUG(!sock); in aa_sock_msg_perm()
989 AA_BUG(!msg); in aa_sock_msg_perm()
1018 AA_BUG(!sock); in aa_sock_perm()
[all …]
A Dapparmorfs.c221 AA_BUG(!dir); in __aafs_setup_d_inode()
222 AA_BUG(!dentry); in __aafs_setup_d_inode()
273 AA_BUG(!name); in aafs_create()
274 AA_BUG(!parent); in aafs_create()
1445 AA_BUG(!ns); in __aa_fs_create_rawdata()
1551 AA_BUG(!old); in __aafs_profile_migrate_dents()
1552 AA_BUG(!new); in __aafs_profile_migrate_dents()
1961 AA_BUG(!ns); in __aafs_ns_mkdir_entries()
1962 AA_BUG(!dir); in __aafs_ns_mkdir_entries()
2024 AA_BUG(!ns); in __aafs_ns_mkdir()
[all …]
A Dpolicy.c114 AA_BUG(!list); in __add_profile()
115 AA_BUG(!profile); in __add_profile()
116 AA_BUG(!profile->ns); in __add_profile()
123 AA_BUG(l != &profile->label); in __add_profile()
141 AA_BUG(!profile); in __list_remove_profile()
142 AA_BUG(!profile->ns); in __list_remove_profile()
157 AA_BUG(!profile); in __remove_profile()
158 AA_BUG(!profile->ns); in __remove_profile()
448 AA_BUG(!ns); in __create_missing_ancestors()
449 AA_BUG(!hname); in __create_missing_ancestors()
[all …]
A Dpolicy_ns.c259 AA_BUG(!parent); in __aa_create_ns()
260 AA_BUG(!name); in __aa_create_ns()
261 AA_BUG(!mutex_is_locked(&parent->lock)); in __aa_create_ns()
298 AA_BUG(!mutex_is_locked(&parent->lock)); in __aa_find_or_create_ns()
A Dpolicy_compat.c155 AA_BUG(!dfa); in compute_fperms()
177 AA_BUG(!xmatch); in compute_xmatch_perms()
248 AA_BUG(!dfa); in compute_perms()
278 AA_BUG(!dfa); in remap_dfa_accept()
A Dtask.c52 AA_BUG(!label); in aa_replace_current_label()
128 AA_BUG(!label); in aa_set_current_hat()
177 AA_BUG(!cred_label(new)); in aa_restore_previous_label()
A Dfile.c125 AA_BUG(!aad(&sa)->request); in aa_audit_file()
520 AA_BUG(!sock); in __file_sock_perm()
557 AA_BUG(!label); in aa_file_perm()
558 AA_BUG(!file); in aa_file_perm()
564 AA_BUG(!flabel); in aa_file_perm()
A Dmatch.c711 AA_BUG(!dfa); in leftmatch_fb()
712 AA_BUG(!str); in leftmatch_fb()
713 AA_BUG(!wb); in leftmatch_fb()
714 AA_BUG(!count); in leftmatch_fb()
A Dprocattr.c44 AA_BUG(len < 0); in aa_getprocattr()
A Dsecid.c72 AA_BUG(!seclen); in apparmor_secid_to_secctx()
A Dlib.c478 AA_BUG(on_list_rcu(&policy->profiles)); in aa_policy_destroy()
479 AA_BUG(on_list_rcu(&policy->list)); in aa_policy_destroy()
A Dpolicy_unpack.c82 AA_BUG(!data); in __aa_loaddata_update()
83 AA_BUG(!data->ns); in __aa_loaddata_update()
84 AA_BUG(!mutex_is_locked(&data->ns->lock)); in __aa_loaddata_update()
85 AA_BUG(data->revision > revision); in __aa_loaddata_update()
669 AA_BUG(!perms); in unpack_perms_table()
1337 AA_BUG(data->compressed_size > 0); in compress_loaddata()
A Daudit.c169 AA_BUG(!profile); in aa_audit()
A DKconfig33 Enable code assertions made with AA_BUG. These are primarily
/linux-6.3-rc2/security/apparmor/include/
A Dcred.h26 AA_BUG(!blob); in cred_label()
35 AA_BUG(!blob); in set_cred_label()
51 AA_BUG(!label); in aa_cred_raw_label()
A Dlib.h39 #define AA_BUG(X, args...) \ macro
251 AA_BUG(!__new_); \
A Dtask.h71 AA_BUG(!ctx); in aa_clear_task_ctx_trans()
A Dlabel.h427 AA_BUG(!l->proxy); in aa_get_newest_label()
428 AA_BUG(!l->proxy->label); in aa_get_newest_label()
434 AA_BUG(!tmp); in aa_get_newest_label()
A Dpolicy_unpack.h153 AA_BUG(data && !tmp); in aa_get_loaddata()

Completed in 46 milliseconds