elf.h (e5451c8f8330e03ad3cfa16048b4daf961af434f) | elf.h (18d98a79382cbe5a7569788d5b7b18e7015506f2) |
---|---|
1#ifndef __ASMPARISC_ELF_H 2#define __ASMPARISC_ELF_H 3 4/* 5 * ELF register definitions.. 6 */ 7 8#include <asm/ptrace.h> --- 334 unchanged lines hidden (view full) --- 343#define ELF_ET_DYN_BASE (TASK_UNMAPPED_BASE + 0x01000000) 344 345/* This yields a mask that user programs can use to figure out what 346 instruction set this CPU supports. This could be done in user space, 347 but it's not easy, and we've already done it here. */ 348 349#define ELF_HWCAP 0 350 | 1#ifndef __ASMPARISC_ELF_H 2#define __ASMPARISC_ELF_H 3 4/* 5 * ELF register definitions.. 6 */ 7 8#include <asm/ptrace.h> --- 334 unchanged lines hidden (view full) --- 343#define ELF_ET_DYN_BASE (TASK_UNMAPPED_BASE + 0x01000000) 344 345/* This yields a mask that user programs can use to figure out what 346 instruction set this CPU supports. This could be done in user space, 347 but it's not easy, and we've already done it here. */ 348 349#define ELF_HWCAP 0 350 |
351#define STACK_RND_MASK (is_32bit_task() ? \ 352 0x7ff >> (PAGE_SHIFT - 12) : \ 353 0x3ffff >> (PAGE_SHIFT - 12)) | 351/* Masks for stack and mmap randomization */ 352#define BRK_RND_MASK (is_32bit_task() ? 0x07ffUL : 0x3ffffUL) 353#define MMAP_RND_MASK (is_32bit_task() ? 0x1fffUL : 0x3ffffUL) 354#define STACK_RND_MASK MMAP_RND_MASK |
354 355struct mm_struct; 356extern unsigned long arch_randomize_brk(struct mm_struct *); 357#define arch_randomize_brk arch_randomize_brk 358 359#endif | 355 356struct mm_struct; 357extern unsigned long arch_randomize_brk(struct mm_struct *); 358#define arch_randomize_brk arch_randomize_brk 359 360#endif |