Separate mmap area from program loading (relocation) area
We need to separate the two because the heap of a PIE is created in the area to which it is mapped. Related commits:b1309a5d: PIE is mapped at map_end instead of at user_startc4219655: Interpreter is mapped to map_start to make a system call that dereferences a NULL pointer fail [dominique.martinet@cea.fr: Also add ULONG_MAX and friend macroes, used for data_min] [ken.sato.ty@hitachi-solutions.com: fix execve] Change-Id: I8ecaf22b7965090ab67bebece57c68283ba23664
This commit is contained in:
committed by
Dominique Martinet
parent
97e0219f50
commit
4d215de641
@ -41,8 +41,9 @@
|
||||
#define LARGE_PAGE_MASK (~((unsigned long)LARGE_PAGE_SIZE - 1))
|
||||
#define LARGE_PAGE_P2ALIGN (LARGE_PAGE_SHIFT - PAGE_SHIFT)
|
||||
|
||||
#define USER_END 0x0000800000000000UL
|
||||
#define TASK_UNMAPPED_BASE 0x00002AAAAAA00000UL
|
||||
#define USER_END 0x0000800000000000UL
|
||||
#define LD_TASK_UNMAPPED_BASE 0x0000155555500000UL
|
||||
#define TASK_UNMAPPED_BASE 0x00002AAAAAA00000UL
|
||||
|
||||
/*
|
||||
* Canonical negative addresses (i.e., the smallest kernel virtual address)
|
||||
|
||||
Reference in New Issue
Block a user