Home
last modified time | relevance | path

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

/linux/security/apparmor/include/
H A Dcred.h67 bool *needput) in aa_get_newest_cred_label_condref() argument
72 *needput = true; in aa_get_newest_cred_label_condref()
76 *needput = false; in aa_get_newest_cred_label_condref()
80 static inline void aa_put_label_condref(struct aa_label *l, bool needput) in aa_put_label_condref() argument
82 if (unlikely(needput)) in aa_put_label_condref()
125 bool needput) in __end_current_label_crit_section() argument
127 if (unlikely(needput)) in __end_current_label_crit_section()
158 static inline struct aa_label *__begin_current_label_crit_section(bool *needput) in __begin_current_label_crit_section() argument
163 *needput = true; in __begin_current_label_crit_section()
167 *needput = false; in __begin_current_label_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.c883 bool needput, res; in aa_current_policy_view_capable() local
885 label = __begin_current_label_crit_section(&needput); in aa_current_policy_view_capable()
887 __end_current_label_crit_section(label, needput); in aa_current_policy_view_capable()
895 bool needput, res; in aa_current_policy_admin_capable() local
897 label = __begin_current_label_crit_section(&needput); in aa_current_policy_admin_capable()
899 __end_current_label_crit_section(label, needput); in aa_current_policy_admin_capable()