mirror of
https://github.com/torvalds/linux.git
synced 2024-12-28 22:02:28 +00:00
1713ce7c43
Define the layout of the data structure shared between kernel and userspace. Track the vdso address in the mm_context; needed for communicating AT_SYSINFO_EHDR to the ELF loader. Add declarations for arm_install_vdso; implementation is in a following patch. Define AT_SYSINFO_EHDR, and, if CONFIG_VDSO=y, report the vdso shared object address via the ELF auxiliary vector. Note - this adds the AT_SYSINFO_EHDR in a new user-visible header asm/auxvec.h; this is consistent with other architectures. Signed-off-by: Nathan Lynch <nathan_lynch@mentor.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
8 lines
102 B
C
8 lines
102 B
C
#ifndef __ASM_AUXVEC_H
|
|
#define __ASM_AUXVEC_H
|
|
|
|
/* VDSO location */
|
|
#define AT_SYSINFO_EHDR 33
|
|
|
|
#endif
|