|
@@ -3557,7 +3557,7 @@ static int selinux_file_mprotect(struct vm_area_struct *vma,
|
|
|
} else if (!vma->vm_file &&
|
|
|
((vma->vm_start <= vma->vm_mm->start_stack &&
|
|
|
vma->vm_end >= vma->vm_mm->start_stack) ||
|
|
|
- vma_is_stack_for_task(vma, current))) {
|
|
|
+ vma_is_stack_for_current(vma))) {
|
|
|
rc = current_has_perm(current, PROCESS__EXECSTACK);
|
|
|
} else if (vma->vm_file && vma->anon_vma) {
|
|
|
/*
|