|
@@ -132,11 +132,11 @@ static int apparmor_ptrace_traceme(struct task_struct *parent)
|
|
struct aa_label *tracer, *tracee;
|
|
struct aa_label *tracer, *tracee;
|
|
int error;
|
|
int error;
|
|
|
|
|
|
- tracee = begin_current_label_crit_section();
|
|
|
|
|
|
+ tracee = __begin_current_label_crit_section();
|
|
tracer = aa_get_task_label(parent);
|
|
tracer = aa_get_task_label(parent);
|
|
error = aa_may_ptrace(tracer, tracee, AA_PTRACE_TRACE);
|
|
error = aa_may_ptrace(tracer, tracee, AA_PTRACE_TRACE);
|
|
aa_put_label(tracer);
|
|
aa_put_label(tracer);
|
|
- end_current_label_crit_section(tracee);
|
|
|
|
|
|
+ __end_current_label_crit_section(tracee);
|
|
|
|
|
|
return error;
|
|
return error;
|
|
}
|
|
}
|