diff options
| author | Linux Build Service Account <lnxbuild@localhost> | 2016-09-13 05:43:53 -0700 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2016-09-13 05:43:53 -0700 |
| commit | 9ed8bfe3f2b22fedbd9f7eaa7ccb060851a3334e (patch) | |
| tree | e8795abd658511ebd52279c168f20dbf797d8c18 /fs/binfmt_elf.c | |
| parent | d58d587e95f6d19f903a4e4c0cbd26cfcadb1f6c (diff) | |
| parent | c568eb7aca15625b4afdd922350b9b352ea78c2f (diff) | |
Merge "Merge branch 'tmp-bab1564' into msm-4.4"
Diffstat (limited to 'fs/binfmt_elf.c')
| -rw-r--r-- | fs/binfmt_elf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/binfmt_elf.c b/fs/binfmt_elf.c index 3a93755e880f..0c52941dd62c 100644 --- a/fs/binfmt_elf.c +++ b/fs/binfmt_elf.c @@ -651,7 +651,7 @@ static unsigned long randomize_stack_top(unsigned long stack_top) if ((current->flags & PF_RANDOMIZE) && !(current->personality & ADDR_NO_RANDOMIZE)) { - random_variable = (unsigned long) get_random_int(); + random_variable = get_random_long(); random_variable &= STACK_RND_MASK; random_variable <<= PAGE_SHIFT; } |
