mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-02-01 12:03:41 +00:00
b45d50b690
- Fix build flakes - Polyfill SIGWINCH on Windows - Fix an execve issue on Windows - Make strerror show more information - Improve cmd.exe setup/teardown on Windows - Support bracketed paste mode in Blinkenlights - Show keyboard shortcuts in Blinkenlights status bar - Fixed copy_file_range() and copyfile() w/ zip filesystem - Size optimize GetDosArgv() to keep life.com 12kb in size - Improve Blinkenlights ability to load weird ELF executables - Fix program_executable_name and add GetInterpreterExecutableName - Make Python in tiny mode fail better if docstrings are requested - Update Python test exclusions in tiny* modes such as tinylinux - Add bulletproof unbreakable kprintf() troubleshooting function - Remove "oldskool" keyword from ape.S for virus scanners - Fix issue that caused backtraces to not print sometimes - Improve Blinkenlights serial uart character i/o - Make clock_gettime() not clobber errno on xnu - Improve sha256 cpuid check for old computers - Integrate some bestline linenoise fixes - Show runit process names better in htop - Remove SIGPIPE from ShowCrashReports() - Make realpath() not clobber errno - Avoid attaching GDB on non-Linux - Improve img.com example
86 lines
3 KiB
C
86 lines
3 KiB
C
#ifndef COSMOPOLITAN_LIBC_CALLS_AUXV_H_
|
|
#define COSMOPOLITAN_LIBC_CALLS_AUXV_H_
|
|
#include "libc/runtime/symbolic.h"
|
|
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
|
COSMOPOLITAN_C_START_
|
|
|
|
extern const long AT_BASE;
|
|
extern const long AT_BASE_PLATFORM;
|
|
extern const long AT_CLKTCK;
|
|
extern const long AT_DCACHEBSIZE;
|
|
extern const long AT_EGID;
|
|
extern const long AT_ENTRY;
|
|
extern const long AT_EUID;
|
|
extern const long AT_EXECFD;
|
|
extern const long AT_EXECFN;
|
|
extern const long AT_FLAGS;
|
|
extern const long AT_GID;
|
|
extern const long AT_HWCAP2;
|
|
extern const long AT_HWCAP;
|
|
extern const long AT_ICACHEBSIZE;
|
|
extern const long AT_NOTELF;
|
|
extern const long AT_NO_AUTOMOUNT;
|
|
extern const long AT_OSRELDATE;
|
|
extern const long AT_PAGESZ;
|
|
extern const long AT_PHDR;
|
|
extern const long AT_PHENT;
|
|
extern const long AT_PHNUM;
|
|
extern const long AT_PLATFORM;
|
|
extern const long AT_RANDOM;
|
|
extern const long AT_SECURE;
|
|
extern const long AT_SYSINFO_EHDR;
|
|
extern const long AT_UCACHEBSIZE;
|
|
extern const long AT_UID;
|
|
extern const long AT_STACKBASE;
|
|
extern const long AT_EXECPATH;
|
|
extern const long AT_CANARY;
|
|
extern const long AT_CANARYLEN;
|
|
extern const long AT_NCPUS;
|
|
extern const long AT_PAGESIZES;
|
|
extern const long AT_PAGESIZESLEN;
|
|
extern const long AT_TIMEKEEP;
|
|
extern const long AT_STACKPROT;
|
|
extern const long AT_EHDRFLAGS;
|
|
|
|
COSMOPOLITAN_C_END_
|
|
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
|
|
|
#define AT_BASE SYMBOLIC(AT_BASE)
|
|
#define AT_BASE_PLATFORM SYMBOLIC(AT_BASE_PLATFORM)
|
|
#define AT_CLKTCK SYMBOLIC(AT_CLKTCK)
|
|
#define AT_DCACHEBSIZE SYMBOLIC(AT_DCACHEBSIZE)
|
|
#define AT_EGID SYMBOLIC(AT_EGID)
|
|
#define AT_ENTRY SYMBOLIC(AT_ENTRY)
|
|
#define AT_EUID SYMBOLIC(AT_EUID)
|
|
#define AT_EXECFD SYMBOLIC(AT_EXECFD)
|
|
#define AT_EXECFN SYMBOLIC(AT_EXECFN)
|
|
#define AT_FLAGS SYMBOLIC(AT_FLAGS)
|
|
#define AT_GID SYMBOLIC(AT_GID)
|
|
#define AT_HWCAP SYMBOLIC(AT_HWCAP)
|
|
#define AT_HWCAP2 SYMBOLIC(AT_HWCAP2)
|
|
#define AT_ICACHEBSIZE SYMBOLIC(AT_ICACHEBSIZE)
|
|
#define AT_NOTELF SYMBOLIC(AT_NOTELF)
|
|
#define AT_NO_AUTOMOUNT SYMBOLIC(AT_NO_AUTOMOUNT)
|
|
#define AT_OSRELDATE SYMBOLIC(AT_OSRELDATE)
|
|
#define AT_PAGESZ SYMBOLIC(AT_PAGESZ)
|
|
#define AT_PHDR SYMBOLIC(AT_PHDR)
|
|
#define AT_PHENT SYMBOLIC(AT_PHENT)
|
|
#define AT_PHNUM SYMBOLIC(AT_PHNUM)
|
|
#define AT_PLATFORM SYMBOLIC(AT_PLATFORM)
|
|
#define AT_RANDOM SYMBOLIC(AT_RANDOM)
|
|
#define AT_SECURE SYMBOLIC(AT_SECURE)
|
|
#define AT_SYSINFO_EHDR SYMBOLIC(AT_SYSINFO_EHDR)
|
|
#define AT_UCACHEBSIZE SYMBOLIC(AT_UCACHEBSIZE)
|
|
#define AT_UID SYMBOLIC(AT_UID)
|
|
#define AT_STACKBASE SYMBOLIC(AT_STACKBASE)
|
|
#define AT_EXECPATH SYMBOLIC(AT_EXECPATH)
|
|
#define AT_CANARY SYMBOLIC(AT_CANARY)
|
|
#define AT_CANARYLEN SYMBOLIC(AT_CANARYLEN)
|
|
#define AT_NCPUS SYMBOLIC(AT_NCPUS)
|
|
#define AT_PAGESIZES SYMBOLIC(AT_PAGESIZES)
|
|
#define AT_PAGESIZESLEN SYMBOLIC(AT_PAGESIZESLEN)
|
|
#define AT_TIMEKEEP SYMBOLIC(AT_TIMEKEEP)
|
|
#define AT_STACKPROT SYMBOLIC(AT_STACKPROT)
|
|
#define AT_EHDRFLAGS SYMBOLIC(AT_EHDRFLAGS)
|
|
|
|
#endif /* COSMOPOLITAN_LIBC_CALLS_AUXV_H_ */
|