Searched refs:needput (Results 1 – 9 of 9) sorted by relevance
| /linux/security/apparmor/include/ |
| H A D | cred.h | 51 bool *needput) in aa_get_newest_cred_label_condref() argument 56 *needput = true; in aa_get_newest_cred_label_condref() 60 *needput = false; in aa_get_newest_cred_label_condref() 64 static inline void aa_put_label_condref(struct aa_label *l, bool needput) in aa_put_label_condref() argument 66 if (unlikely(needput)) in aa_put_label_condref() 113 bool needput) in __end_cred_crit_section() argument 115 if (unlikely(needput)) in __end_cred_crit_section() 150 bool *needput) in __begin_cred_crit_section() argument 155 *needput = true; in __begin_cred_crit_section() 159 *needput = false; in __begin_cred_crit_section() [all …]
|
| H A D | label.h | 437 bool *needput) in aa_get_newest_label_condref() argument 451 *needput = true; in aa_get_newest_label_condref() 455 *needput = false; in aa_get_newest_label_condref()
|
| /linux/security/apparmor/ |
| H A D | lsm.c | 133 bool needput; in apparmor_ptrace_access_check() local 137 tracer = __begin_current_label_crit_section(&needput); in apparmor_ptrace_access_check() 141 __end_current_label_crit_section(tracer, needput); in apparmor_ptrace_access_check() 152 bool needput; in apparmor_ptrace_traceme() local 154 tracee = __begin_current_label_crit_section(&needput); in apparmor_ptrace_traceme() 160 __end_current_label_crit_section(tracee, needput); in apparmor_ptrace_traceme() 226 bool needput; in common_perm() local 228 label = __begin_current_label_crit_section(&needput); in common_perm() 232 __end_current_label_crit_section(label, needput); in common_perm() 371 bool needput; in apparmor_path_link() local [all …]
|
| H A D | af_unix.c | 466 bool needput; in aa_unix_sock_perm() local 469 label = begin_current_label_crit_section(&needput); in aa_unix_sock_perm() 473 end_current_label_crit_section(label, needput); in aa_unix_sock_perm() 494 bool needput; in aa_unix_bind_perm() local 501 label = begin_current_label_crit_section(&needput); in aa_unix_bind_perm() 512 end_current_label_crit_section(label, needput); in aa_unix_bind_perm() 534 bool needput; in aa_unix_listen_perm() local 537 label = begin_current_label_crit_section(&needput); in aa_unix_listen_perm() 545 end_current_label_crit_section(label, needput); in aa_unix_listen_perm() 556 bool needput; in aa_unix_accept_perm() local [all …]
|
| H A D | apparmorfs.c | 618 bool needput; in policy_update() local 620 label = begin_current_label_crit_section(&needput); in policy_update() 681 end_current_label_crit_section(label, needput); in policy_update() 730 bool needput; in profile_remove() local 732 label = begin_current_label_crit_section(&needput); in profile_remove() 754 end_current_label_crit_section(label, needput); in profile_remove() 930 bool needput; in query_data() local 944 curr = begin_current_label_crit_section(&needput); in query_data() 946 end_current_label_crit_section(curr, needput); in query_data() 1022 bool needput; in query_label() local [all …]
|
| H A D | net.c | 312 bool needput; in aa_sk_perm() local 319 label = begin_current_label_crit_section(&needput); in aa_sk_perm() 321 end_current_label_crit_section(label, needput); in aa_sk_perm()
|
| H A D | policy.c | 944 bool needput, res; in aa_current_policy_view_capable() local 946 label = __begin_current_label_crit_section(&needput); in aa_current_policy_view_capable() 948 __end_current_label_crit_section(label, needput); in aa_current_policy_view_capable() 956 bool needput, res; in aa_current_policy_admin_capable() local 958 label = __begin_current_label_crit_section(&needput); in aa_current_policy_admin_capable() 960 __end_current_label_crit_section(label, needput); in aa_current_policy_admin_capable()
|
| H A D | af_inet.c | 513 bool needput; in aa_inet_sock_perm() local 519 label = begin_current_label_crit_section(&needput); in aa_inet_sock_perm() 521 end_current_label_crit_section(label, needput); in aa_inet_sock_perm()
|
| H A D | domain.c | 1180 bool needput = false; in change_hat() local 1201 if (needput) in change_hat() 1205 needput = true; in change_hat() 1285 if (needput) in change_hat() 1297 if (needput) in change_hat()
|