elf.h (55fa518867978e1f5fd8353098f80d125ac734d7) | elf.h (b020632e40c3ed5e8c0c066d022672907e8401cf) |
---|---|
1/* 2 * include/asm-s390/elf.h 3 * 4 * S390 version 5 * 6 * Derived from "include/asm-i386/elf.h" 7 */ 8 --- 106 unchanged lines hidden (view full) --- 115 116typedef s390_fp_regs compat_elf_fpregset_t; 117typedef s390_compat_regs compat_elf_gregset_t; 118 119#include <linux/sched.h> /* for task_struct */ 120#include <asm/system.h> /* for save_access_regs */ 121#include <asm/mmu_context.h> 122 | 1/* 2 * include/asm-s390/elf.h 3 * 4 * S390 version 5 * 6 * Derived from "include/asm-i386/elf.h" 7 */ 8 --- 106 unchanged lines hidden (view full) --- 115 116typedef s390_fp_regs compat_elf_fpregset_t; 117typedef s390_compat_regs compat_elf_gregset_t; 118 119#include <linux/sched.h> /* for task_struct */ 120#include <asm/system.h> /* for save_access_regs */ 121#include <asm/mmu_context.h> 122 |
123#include <asm/vdso.h> 124 125extern unsigned int vdso_enabled; 126 |
|
123/* 124 * This is used to ensure we don't load something for the wrong architecture. 125 */ 126#define elf_check_arch(x) \ 127 (((x)->e_machine == EM_S390 || (x)->e_machine == EM_S390_OLD) \ 128 && (x)->e_ident[EI_CLASS] == ELF_CLASS) 129#define compat_elf_check_arch(x) \ 130 (((x)->e_machine == EM_S390 || (x)->e_machine == EM_S390_OLD) \ --- 55 unchanged lines hidden (view full) --- 186#define elf_read_implies_exec(ex, executable_stack) \ 187({ \ 188 if (current->mm->context.noexec && \ 189 executable_stack != EXSTACK_DISABLE_X) \ 190 disable_noexec(current->mm, current); \ 191 current->mm->context.noexec == 0; \ 192}) 193 | 127/* 128 * This is used to ensure we don't load something for the wrong architecture. 129 */ 130#define elf_check_arch(x) \ 131 (((x)->e_machine == EM_S390 || (x)->e_machine == EM_S390_OLD) \ 132 && (x)->e_ident[EI_CLASS] == ELF_CLASS) 133#define compat_elf_check_arch(x) \ 134 (((x)->e_machine == EM_S390 || (x)->e_machine == EM_S390_OLD) \ --- 55 unchanged lines hidden (view full) --- 190#define elf_read_implies_exec(ex, executable_stack) \ 191({ \ 192 if (current->mm->context.noexec && \ 193 executable_stack != EXSTACK_DISABLE_X) \ 194 disable_noexec(current->mm, current); \ 195 current->mm->context.noexec == 0; \ 196}) 197 |
198#define ARCH_DLINFO \ 199do { \ 200 if (vdso_enabled) \ 201 NEW_AUX_ENT(AT_SYSINFO_EHDR, \ 202 (unsigned long)current->mm->context.vdso_base); \ 203} while (0) 204 205struct linux_binprm; 206 207#define ARCH_HAS_SETUP_ADDITIONAL_PAGES 1 208int arch_setup_additional_pages(struct linux_binprm *, int); 209 |
|
194#endif | 210#endif |