Revert "parisc: Fix stack start for ADDR_NO_RANDOMIZE personality"
This reverts commit 603d38c5da
.
This commit is contained in:
parent
1c9106694e
commit
7229d80fef
1 changed files with 1 additions and 2 deletions
|
@ -767,8 +767,7 @@ int setup_arg_pages(struct linux_binprm *bprm,
|
|||
stack_base = STACK_SIZE_MAX;
|
||||
|
||||
/* Add space for stack randomization. */
|
||||
if (current->flags & PF_RANDOMIZE)
|
||||
stack_base += (STACK_RND_MASK << PAGE_SHIFT);
|
||||
stack_base += (STACK_RND_MASK << PAGE_SHIFT);
|
||||
|
||||
/* Make sure we didn't let the argument array grow too large. */
|
||||
if (vma->vm_end - vma->vm_start > stack_base)
|
||||
|
|
Loading…
Reference in a new issue