diff options
author | 2016-11-01 07:47:40 +0100 | |
---|---|---|
committer | 2016-11-01 07:47:40 +0100 | |
commit | c29c716662d0cefc0cda4903aea5ed6794174679 (patch) | |
tree | 01d4dc47933e1bcbeca8d53b0cf5c1f70da04535 /security/selinux/hooks.c | |
parent | x86/fpu: Finish excising 'eagerfpu' (diff) | |
parent | fork: Add task stack refcounting sanity check and prevent premature task stack freeing (diff) | |
download | linux-rng-c29c716662d0cefc0cda4903aea5ed6794174679.tar.xz linux-rng-c29c716662d0cefc0cda4903aea5ed6794174679.zip |
Merge branch 'core/urgent' into x86/fpu, to merge fixes
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'security/selinux/hooks.c')
-rw-r--r-- | security/selinux/hooks.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c index 085057936287..09fd6108e421 100644 --- a/security/selinux/hooks.c +++ b/security/selinux/hooks.c @@ -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) { /* |