Home
last modified time | relevance | path

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

/linux/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()
465 AA_BUG(!b); in label_cmp()
[all …]
A Dmount.c246 AA_BUG(!dfa); in do_match_mnt()
247 AA_BUG(!perms); in do_match_mnt()
295 AA_BUG(!path); in path_flags()
406 AA_BUG(!label); in aa_remount()
407 AA_BUG(!path); in aa_remount()
431 AA_BUG(!path); in aa_bind_mount()
467 AA_BUG(!path); in aa_mount_change_type()
493 AA_BUG(!path); in aa_move_mount()
530 AA_BUG(!path); in aa_new_mount()
591 AA_BUG(!path); in profile_umount()
[all …]
A Dnet.c115 AA_BUG(family >= AF_MAX); in aa_profile_af_perm()
116 AA_BUG(type < 0 || type >= SOCK_MAX); in aa_profile_af_perm()
150 AA_BUG(!label); in aa_label_sk_perm()
151 AA_BUG(!sk); in aa_label_sk_perm()
169 AA_BUG(!sk); in aa_sk_perm()
170 AA_BUG(in_interrupt()); in aa_sk_perm()
184 AA_BUG(!label); in aa_sock_file_perm()
185 AA_BUG(!sock); in aa_sock_file_perm()
186 AA_BUG(!sock->sk); in aa_sock_file_perm()
A Ddomain.c396 AA_BUG(!name); in find_attach()
397 AA_BUG(!head); in find_attach()
518 AA_BUG(!name); in x_table_lookup()
637 AA_BUG(!bprm); in profile_transition()
734 AA_BUG(!bprm); in profile_onexec()
804 AA_BUG(!label); in handle_onexec()
806 AA_BUG(!bprm); in handle_onexec()
872 AA_BUG(!ctx); in apparmor_bprm_creds_for_exec()
903 AA_BUG(!new); in apparmor_bprm_creds_for_exec()
1047 AA_BUG(!hats); in change_hat()
[all …]
A Dlsm.c886 AA_BUG(!sock); in apparmor_socket_bind()
888 AA_BUG(!address); in apparmor_socket_bind()
902 AA_BUG(!sock); in apparmor_socket_connect()
904 AA_BUG(!address); in apparmor_socket_connect()
917 AA_BUG(!sock); in apparmor_socket_listen()
934 AA_BUG(!sock); in apparmor_socket_accept()
936 AA_BUG(!newsock); in apparmor_socket_accept()
947 AA_BUG(!sock); in aa_sock_msg_perm()
949 AA_BUG(!msg); in aa_sock_msg_perm()
978 AA_BUG(!sock); in aa_sock_perm()
[all …]
A Dapparmorfs.c218 AA_BUG(!dir); in __aafs_setup_d_inode()
219 AA_BUG(!dentry); in __aafs_setup_d_inode()
270 AA_BUG(!name); in aafs_create()
271 AA_BUG(!parent); in aafs_create()
1430 AA_BUG(!ns); in __aa_fs_create_rawdata()
1534 AA_BUG(!old); in __aafs_profile_migrate_dents()
1535 AA_BUG(!new); in __aafs_profile_migrate_dents()
1940 AA_BUG(!ns); in __aafs_ns_mkdir_entries()
1941 AA_BUG(!dir); in __aafs_ns_mkdir_entries()
2003 AA_BUG(!ns); in __aafs_ns_mkdir()
[all …]
A Dtask.c47 AA_BUG(!label); in aa_replace_current_label()
123 AA_BUG(!label); in aa_set_current_hat()
172 AA_BUG(!cred_label(new)); in aa_restore_previous_label()
A Dpolicy.c113 AA_BUG(!list); in __add_profile()
114 AA_BUG(!profile); in __add_profile()
115 AA_BUG(!profile->ns); in __add_profile()
116 AA_BUG(!mutex_is_locked(&profile->ns->lock)); in __add_profile()
122 AA_BUG(l != &profile->label); in __add_profile()
140 AA_BUG(!profile); in __list_remove_profile()
141 AA_BUG(!profile->ns); in __list_remove_profile()
142 AA_BUG(!mutex_is_locked(&profile->ns->lock)); in __list_remove_profile()
156 AA_BUG(!profile); in __remove_profile()
157 AA_BUG(!profile->ns); in __remove_profile()
[all …]
A Dpolicy_ns.c248 AA_BUG(!parent); in __aa_create_ns()
249 AA_BUG(!name); in __aa_create_ns()
250 AA_BUG(!mutex_is_locked(&parent->lock)); in __aa_create_ns()
287 AA_BUG(!mutex_is_locked(&parent->lock)); in __aa_find_or_create_ns()
A Dsecid.c76 AA_BUG(!seclen); in apparmor_secid_to_secctx()
140 AA_BUG(ret == AA_SECID_INVALID); in aa_alloc_secid()
A Dfile.c125 AA_BUG(!aad(&sa)->request); in aa_audit_file()
569 AA_BUG(!sock); in __file_sock_perm()
606 AA_BUG(!label); in aa_file_perm()
607 AA_BUG(!file); in aa_file_perm()
613 AA_BUG(!flabel); in aa_file_perm()
A Dmatch.c713 AA_BUG(!dfa); in leftmatch_fb()
714 AA_BUG(!str); in leftmatch_fb()
715 AA_BUG(!wb); in leftmatch_fb()
716 AA_BUG(!count); in leftmatch_fb()
A Dpolicy_unpack.c126 AA_BUG(!data); in __aa_loaddata_update()
127 AA_BUG(!data->ns); in __aa_loaddata_update()
128 AA_BUG(!data->dents[AAFS_LOADDATA_REVISION]); in __aa_loaddata_update()
129 AA_BUG(!mutex_is_locked(&data->ns->lock)); in __aa_loaddata_update()
130 AA_BUG(data->revision > revision); in __aa_loaddata_update()
1131 AA_BUG(data->compressed_size > 0); in compress_loaddata()
A Dprocattr.c45 AA_BUG(len < 0); in aa_getprocattr()
A Dlib.c520 AA_BUG(on_list_rcu(&policy->profiles)); in aa_policy_destroy()
521 AA_BUG(on_list_rcu(&policy->list)); in aa_policy_destroy()
A Daudit.c126 AA_BUG(!profile); in aa_audit()
A DKconfig58 Enable code assertions made with AA_BUG. These are primarily
/linux/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.h34 #define AA_BUG(X, args...) \ macro
240 AA_BUG(!__new_); \
A Dtask.h71 AA_BUG(!ctx); in aa_clear_task_ctx_trans()
A Dlabel.h424 AA_BUG(!l->proxy); in aa_get_newest_label()
425 AA_BUG(!l->proxy->label); in aa_get_newest_label()
431 AA_BUG(!tmp); in aa_get_newest_label()
A Dpolicy_unpack.h112 AA_BUG(data && !tmp); in aa_get_loaddata()

Completed in 48 milliseconds