Revert "arm64: determine stack entropy based on mmap entropy"
This reverts commit df64e52e41
.
This commit is contained in:
parent
9bd906b03d
commit
ece840ae37
1 changed files with 3 additions and 3 deletions
|
@ -193,10 +193,10 @@ extern int arch_setup_additional_pages(struct linux_binprm *bprm,
|
|||
/* 1GB of VA */
|
||||
#ifdef CONFIG_COMPAT
|
||||
#define STACK_RND_MASK (test_thread_flag(TIF_32BIT) ? \
|
||||
((1UL << mmap_rnd_compat_bits) - 1) >> (PAGE_SHIFT - 12) : \
|
||||
((1UL << mmap_rnd_bits) - 1) >> (PAGE_SHIFT - 12))
|
||||
0x7ff >> (PAGE_SHIFT - 12) : \
|
||||
0x3ffff >> (PAGE_SHIFT - 12))
|
||||
#else
|
||||
#define STACK_RND_MASK (((1UL << mmap_rnd_bits) - 1) >> (PAGE_SHIFT - 12))
|
||||
#define STACK_RND_MASK (0x3ffff >> (PAGE_SHIFT - 12))
|
||||
#endif
|
||||
|
||||
#ifdef __AARCH64EB__
|
||||
|
|
Loading…
Reference in a new issue