Home
last modified time | relevance | path

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

/security/apparmor/
A Dlabel.c77 AA_BUG(!orig); in __aa_proxy_redirect()
78 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()
170 AA_BUG(!a); in vec_cmp()
171 AA_BUG(!*a); in vec_cmp()
172 AA_BUG(!b); in vec_cmp()
173 AA_BUG(!*b); in vec_cmp()
[all …]
A Daf_unix.c36 AA_BUG(!label); in unix_fs_perm()
37 AA_BUG(!path); in unix_fs_perm()
143 AA_BUG(!p); in match_to_cmd()
160 AA_BUG(!p); in match_to_peer()
234 AA_BUG(!sk); in profile_sk_perm()
262 AA_BUG(!sk); in profile_bind_perm()
263 AA_BUG(!ad); in profile_bind_perm()
293 AA_BUG(!sk); in profile_listen_perm()
294 AA_BUG(!ad); in profile_listen_perm()
330 AA_BUG(!sk); in profile_accept_perm()
[all …]
A Dmount.c233 AA_BUG(!policy); in do_match_mnt()
236 AA_BUG(!perms); in do_match_mnt()
284 AA_BUG(!path); in path_flags()
403 AA_BUG(!label); in aa_remount()
404 AA_BUG(!path); in aa_remount()
429 AA_BUG(!label); in aa_bind_mount()
430 AA_BUG(!path); in aa_bind_mount()
467 AA_BUG(!path); in aa_mount_change_type()
547 AA_BUG(!path); in aa_new_mount()
612 AA_BUG(!path); in profile_umount()
[all …]
A Dnet.c171 AA_BUG(!profile); in aa_do_perms()
172 AA_BUG(!policy); in aa_do_perms()
258 AA_BUG(family >= AF_MAX); in aa_profile_af_perm()
260 AA_BUG(profile_unconfined(profile)); in aa_profile_af_perm()
291 AA_BUG(!label); in aa_label_sk_perm()
292 AA_BUG(!sk); in aa_label_sk_perm()
311 AA_BUG(!sk); in aa_sk_perm()
312 AA_BUG(in_interrupt()); in aa_sk_perm()
328 AA_BUG(!label); in aa_sock_file_perm()
329 AA_BUG(!sock); in aa_sock_file_perm()
[all …]
A Ddomain.c397 AA_BUG(!name); in find_attach()
398 AA_BUG(!head); in find_attach()
526 AA_BUG(!name); in x_table_lookup()
675 AA_BUG(!bprm); in profile_transition()
806 AA_BUG(!bprm); in profile_onexec()
878 AA_BUG(!label); in handle_onexec()
880 AA_BUG(!bprm); in handle_onexec()
937 AA_BUG(!ctx); in apparmor_bprm_creds_for_exec()
969 AA_BUG(!new); in apparmor_bprm_creds_for_exec()
1117 AA_BUG(!hats); in change_hat()
[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()
1452 AA_BUG(!ns); in __aa_fs_create_rawdata()
1558 AA_BUG(!old); in __aafs_profile_migrate_dents()
1559 AA_BUG(!new); in __aafs_profile_migrate_dents()
1973 AA_BUG(!ns); in __aafs_ns_mkdir_entries()
1974 AA_BUG(!dir); in __aafs_ns_mkdir_entries()
2036 AA_BUG(!ns); in __aafs_ns_mkdir()
[all …]
A Dlsm.c635 AA_BUG(!profile); in profile_uring()
1368 AA_BUG(!sock); in apparmor_socket_bind()
1370 AA_BUG(!address); in apparmor_socket_bind()
1381 AA_BUG(!sock); in apparmor_socket_connect()
1383 AA_BUG(!address); in apparmor_socket_connect()
1394 AA_BUG(!sock); in apparmor_socket_listen()
1409 AA_BUG(!sock); in apparmor_socket_accept()
1422 AA_BUG(!sock); in aa_sock_msg_perm()
1424 AA_BUG(!msg); in aa_sock_msg_perm()
1448 AA_BUG(!sock); in aa_sock_perm()
[all …]
A Dpolicy.c150 AA_BUG(!list); in __add_profile()
151 AA_BUG(!profile); in __add_profile()
152 AA_BUG(!profile->ns); in __add_profile()
159 AA_BUG(l != &profile->label); in __add_profile()
177 AA_BUG(!profile); in __list_remove_profile()
178 AA_BUG(!profile->ns); in __list_remove_profile()
193 AA_BUG(!profile); in __remove_profile()
194 AA_BUG(!profile->ns); in __remove_profile()
519 AA_BUG(!ns); in __create_missing_ancestors()
520 AA_BUG(!hname); in __create_missing_ancestors()
[all …]
A Dpolicy_ns.c222 AA_BUG(!parent); in __aa_create_ns()
223 AA_BUG(!name); in __aa_create_ns()
224 AA_BUG(!mutex_is_locked(&parent->lock)); in __aa_create_ns()
261 AA_BUG(!mutex_is_locked(&parent->lock)); in __aa_find_or_create_ns()
A Dpolicy_compat.c157 AA_BUG(!dfa); in compute_fperms()
181 AA_BUG(!xmatch); in compute_xmatch_perms()
256 AA_BUG(!dfa); in compute_perms()
287 AA_BUG(!dfa); in remap_dfa_accept()
A Dtask.c52 AA_BUG(!label); in aa_replace_current_label()
125 AA_BUG(!label); in aa_set_current_hat()
174 AA_BUG(!cred_label(new)); in aa_restore_previous_label()
A Dmatch.c723 AA_BUG(!dfa); in leftmatch_fb()
724 AA_BUG(!str); in leftmatch_fb()
725 AA_BUG(!wb); in leftmatch_fb()
726 AA_BUG(!count); in leftmatch_fb()
A Dprocattr.c45 AA_BUG(len < 0); in aa_getprocattr()
A Dfile.c129 AA_BUG(!ad.request); in aa_audit_file()
613 AA_BUG(!label); in aa_file_perm()
614 AA_BUG(!file); in aa_file_perm()
620 AA_BUG(!flabel); in aa_file_perm()
A Dlib.c509 AA_BUG(on_list_rcu(&policy->profiles)); in aa_policy_destroy()
510 AA_BUG(on_list_rcu(&policy->list)); in aa_policy_destroy()
A Dpolicy_unpack.c84 AA_BUG(!data); in __aa_loaddata_update()
85 AA_BUG(!data->ns); in __aa_loaddata_update()
86 AA_BUG(!mutex_is_locked(&data->ns->lock)); in __aa_loaddata_update()
87 AA_BUG(data->revision > revision); in __aa_loaddata_update()
676 AA_BUG(!perms); in unpack_perms_table()
1422 AA_BUG(data->compressed_size > 0); in compress_loaddata()
A Daudit.c170 AA_BUG(!profile); in aa_audit()
A DKconfig33 Enable code assertions made with AA_BUG. These are primarily
/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.h53 #define AA_BUG(X, args...) \ macro
272 AA_BUG(!__new_); \
A Dtask.h71 AA_BUG(!ctx); in aa_clear_task_ctx_trans()
A Dlabel.h411 AA_BUG(!l->proxy); in aa_get_newest_label()
412 AA_BUG(!l->proxy->label); in aa_get_newest_label()
418 AA_BUG(!tmp); in aa_get_newest_label()
A Dpolicy_unpack.h153 AA_BUG(data && !tmp); in aa_get_loaddata()

Completed in 60 milliseconds