mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-27 06:48:31 +00:00
Simplify memory manager
This commit is contained in:
parent
5a9a08d1cf
commit
01587de761
40 changed files with 451 additions and 311 deletions
|
@ -303,7 +303,7 @@ static wontreturn dontinstrument void foreign_helper(void **p) {
|
|||
static dontinline void elf_exec(const char *file, char **envp) {
|
||||
|
||||
// get microprocessor page size
|
||||
long pagesz = getauxval(AT_PAGESZ);
|
||||
long pagesz = getpagesize();
|
||||
|
||||
// load helper executable into address space
|
||||
struct Loaded prog;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue