Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 5499
b: refs/heads/master
c: a502a35
h: refs/heads/master
i:
  5497: 5dc8bcf
  5495: c569de1
v: v3
  • Loading branch information
Jeff Dike authored and Linus Torvalds committed Jul 29, 2005
1 parent 90734e8 commit 414b05f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e4c5c82024f5f292c0069cf40422b8f3bf5e684e
refs/heads/master: a502a3593c7aa2aff99a61ed71e7cb828ee4da8b
6 changes: 5 additions & 1 deletion trunk/arch/um/os-Linux/elf_aux.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@
*/
#include <elf.h>
#include <stddef.h>
#include <asm/elf.h>
#include "init.h"
#include "elf_user.h"
#include <asm/elf.h>
#include "mem_user.h"

#if ELF_CLASS == ELFCLASS32
typedef Elf32_auxv_t elf_auxv_t;
Expand Down Expand Up @@ -41,6 +42,9 @@ __init void scan_elf_aux( char **envp)
break;
case AT_SYSINFO_EHDR:
vsyscall_ehdr = auxv->a_un.a_val;
/* See if the page is under TASK_SIZE */
if (vsyscall_ehdr < (unsigned long) envp)
vsyscall_ehdr = 0;
break;
case AT_HWCAP:
elf_aux_hwcap = auxv->a_un.a_val;
Expand Down

0 comments on commit 414b05f

Please sign in to comment.