Home
last modified time | relevance | path

Searched refs:needput (Results 1 – 3 of 3) sorted by relevance

/linux/security/apparmor/include/
H A Dcred.h51 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 …]
/linux/security/apparmor/
H A Dlsm.c131 bool needput; in apparmor_ptrace_access_check() local
135 tracer = __begin_current_label_crit_section(&needput); in apparmor_ptrace_access_check()
139 __end_current_label_crit_section(tracer, needput); in apparmor_ptrace_access_check()
150 bool needput; in apparmor_ptrace_traceme() local
152 tracee = __begin_current_label_crit_section(&needput); in apparmor_ptrace_traceme()
158 __end_current_label_crit_section(tracee, needput); in apparmor_ptrace_traceme()
224 bool needput; in common_perm() local
226 label = __begin_current_label_crit_section(&needput); in common_perm()
230 __end_current_label_crit_section(label, needput); in common_perm()
465 bool needput; in apparmor_file_open() local
[all …]
H A Dpolicy.c900 bool needput, res; in aa_current_policy_view_capable() local
902 label = __begin_current_label_crit_section(&needput); in aa_current_policy_view_capable()
904 __end_current_label_crit_section(label, needput); in aa_current_policy_view_capable()
912 bool needput, res; in aa_current_policy_admin_capable() local
914 label = __begin_current_label_crit_section(&needput); in aa_current_policy_admin_capable()
916 __end_current_label_crit_section(label, needput); in aa_current_policy_admin_capable()