mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-23 19:10:30 +00:00
Polyfill auxiliary values on XNU
This commit is contained in:
parent
a37960a3af
commit
d934f38c99
6 changed files with 27 additions and 32 deletions
|
@ -461,7 +461,7 @@ syscon auxv AT_UCACHEBSIZE 21 0 0 0 0
|
|||
syscon auxv AT_SECURE 23 0 0 0 0
|
||||
syscon auxv AT_BASE_PLATFORM 24 0 0 0 0
|
||||
syscon auxv AT_RANDOM 25 0 0 0 0 # address of sixteen bytes of random data
|
||||
syscon auxv AT_EXECFN 31 999 999 999 999 # address of string containing first argument passed to execve() used when running program [faked on non-linux]
|
||||
syscon auxv AT_EXECFN 31 31 999 999 999 # address of string containing first argument passed to execve() used when running program [faked on non-linux]
|
||||
syscon auxv AT_SYSINFO_EHDR 33 0 0 0 0
|
||||
syscon auxv AT_NO_AUTOMOUNT 0x0800 0 0 0 0
|
||||
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
.include "libc/sysv/consts/syscon.inc"
|
||||
.syscon auxv AT_EXECFN 31 999 999 999 999
|
||||
.syscon auxv AT_EXECFN 31 31 999 999 999
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue