mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-03-02 23:18:44 +00:00
Use unsigned leb128 for magnums
This commit is contained in:
parent
edd9297eba
commit
cdc54ea1fd
931 changed files with 1989 additions and 1983 deletions
|
@ -54,7 +54,7 @@ int main(int argc, char *argv[], char **envp) {
|
|||
unsigned long val;
|
||||
char fmt[64], **env;
|
||||
printf("\nArguments:\n");
|
||||
for (i = 0; i < g_argc; ++i) {
|
||||
for (i = 0; i < __argc; ++i) {
|
||||
printf(" ☼ %s\n", argv[i]);
|
||||
}
|
||||
printf("\nEnvironment:\n");
|
||||
|
|
|
@ -32,22 +32,14 @@
|
|||
* @asyncsignalsafe
|
||||
*/
|
||||
unsigned long getauxval(unsigned long at) {
|
||||
unsigned long res = 0;
|
||||
if (at != -1) {
|
||||
if (!IsWindows()) {
|
||||
if (!g_auxv) return 0;
|
||||
for (const unsigned long *ap = g_auxv; *ap; ap += 2) {
|
||||
if (ap[0] == at) {
|
||||
res = ap[1];
|
||||
break;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
/* TODO(jart): GetProcessImageFileName */
|
||||
}
|
||||
if (res == 0 && at == AT_EXECFN) {
|
||||
res = (uintptr_t)program_invocation_name;
|
||||
unsigned long res, *ap;
|
||||
for (ap = __auxv; ap[0]; ap += 2) {
|
||||
if (at == ap[0]) {
|
||||
return ap[1];
|
||||
}
|
||||
}
|
||||
return res;
|
||||
if (at == AT_EXECFN) {
|
||||
return (intptr_t)__argv[0];
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
* @see libc/sysv/consts.sh
|
||||
*/
|
||||
int setrlimit(int resource, const struct rlimit *rlim) {
|
||||
if (resource == -1) return einval();
|
||||
if (resource == 127) return einval();
|
||||
if (!IsWindows()) {
|
||||
return sys_setrlimit(resource, rlim);
|
||||
} else {
|
||||
|
|
|
@ -318,7 +318,7 @@ int strerror_r(int err, char *buf, size_t size) {
|
|||
const char *s;
|
||||
char16_t buf16[100];
|
||||
int winstate, sysvstate;
|
||||
if (err == -1 || IsTiny()) {
|
||||
if (!err || IsTiny()) {
|
||||
s = "?";
|
||||
} else {
|
||||
s = firstnonnull(geterrname(err), "?");
|
||||
|
|
|
@ -72,11 +72,11 @@ relegated void __check_fail(const char *suffix, const char *opstr,
|
|||
}
|
||||
|
||||
(dprintf)(STDERR_FILENO, "\t%s\r\n\t%s%s%s%s\r\n", strerror(lasterr), SUBTLE,
|
||||
getauxval(AT_EXECFN), g_argc > 1 ? " \\" : "", RESET);
|
||||
getauxval(AT_EXECFN), __argc > 1 ? " \\" : "", RESET);
|
||||
|
||||
for (i = 1; i < g_argc; ++i) {
|
||||
(dprintf)(STDERR_FILENO, "\t\t%s%s\r\n", g_argv[i],
|
||||
i < g_argc - 1 ? " \\" : "");
|
||||
for (i = 1; i < __argc; ++i) {
|
||||
(dprintf)(STDERR_FILENO, "\t\t%s%s\r\n", __argv[i],
|
||||
i < __argc - 1 ? " \\" : "");
|
||||
}
|
||||
|
||||
if (!IsTiny() && lasterr == ENOMEM) {
|
||||
|
|
|
@ -180,8 +180,8 @@ relegated static void ShowCrashReport(int err, int fd, int sig,
|
|||
write(fd, "\r\n", 2);
|
||||
ShowMemoryMappings(fd);
|
||||
write(fd, "\r\n", 2);
|
||||
for (i = 0; i < g_argc; ++i) {
|
||||
write(fd, g_argv[i], strlen(g_argv[i]));
|
||||
for (i = 0; i < __argc; ++i) {
|
||||
write(fd, __argv[i], strlen(__argv[i]));
|
||||
write(fd, " ", 1);
|
||||
}
|
||||
write(fd, "\r\n", 2);
|
||||
|
|
|
@ -25,9 +25,24 @@
|
|||
|
||||
#define MAX_VARS 512
|
||||
|
||||
static bool once;
|
||||
|
||||
static void PutEnvInit(void) {
|
||||
char **pin, **pout;
|
||||
pin = environ;
|
||||
pout = malloc(sizeof(char *) * MAX_VARS);
|
||||
environ = pout;
|
||||
while (*pin) *pout++ = strdup(*pin++);
|
||||
*pout = NULL;
|
||||
}
|
||||
|
||||
int PutEnvImpl(char *s, bool overwrite) {
|
||||
char *p;
|
||||
unsigned i, namelen;
|
||||
if (!once) {
|
||||
PutEnvInit();
|
||||
once = true;
|
||||
}
|
||||
p = strchr(s, '=');
|
||||
if (!p) goto fail;
|
||||
namelen = p + 1 - s;
|
||||
|
@ -58,14 +73,3 @@ fail:
|
|||
int putenv(char *string) {
|
||||
return PutEnvImpl(strdup(string), true);
|
||||
}
|
||||
|
||||
textstartup static void putenv_init(void) {
|
||||
char **pin, **pout;
|
||||
pin = environ;
|
||||
pout = malloc(sizeof(char *) * MAX_VARS);
|
||||
environ = pout;
|
||||
while (*pin) *pout++ = strdup(*pin++);
|
||||
*pout = NULL;
|
||||
}
|
||||
|
||||
const void *const putenv_ctor[] initarray = {putenv_init};
|
||||
|
|
|
@ -19,13 +19,13 @@
|
|||
#include "libc/macros.h"
|
||||
#include "libc/notice.inc"
|
||||
|
||||
.initbss 300,_init_g_argv
|
||||
g_argv: .quad 0
|
||||
.endobj g_argv,globl,hidden
|
||||
.initbss 300,_init___argv
|
||||
/ Global variable holding _start(argv) parameter.
|
||||
__argv: .quad 0
|
||||
.endobj __argv,globl
|
||||
.previous
|
||||
|
||||
.init.start 300,_init_g_argv
|
||||
.init.start 300,_init___argv
|
||||
mov %r13,%rax
|
||||
stosq
|
||||
.init.end 300,_init_g_argv
|
||||
.source __FILE__
|
||||
.init.end 300,_init___argv
|
||||
|
|
|
@ -17,14 +17,15 @@
|
|||
│ PERFORMANCE OF THIS SOFTWARE. │
|
||||
╚─────────────────────────────────────────────────────────────────────────────*/
|
||||
#include "libc/macros.h"
|
||||
#include "libc/notice.inc"
|
||||
|
||||
.initbss 300,_init_g_auxv
|
||||
g_auxv: .quad 0
|
||||
.endobj g_auxv,globl,hidden
|
||||
.initbss 300,_init___auxv
|
||||
/ Global variable holding _start(auxv) parameter.
|
||||
__auxv: .quad 0
|
||||
.endobj __auxv,globl
|
||||
.previous
|
||||
|
||||
.init.start 300,_init_g_auxv
|
||||
.init.start 300,_init___auxv
|
||||
mov %r15,%rax
|
||||
stosq
|
||||
.init.end 300,_init_g_auxv
|
||||
.source __FILE__
|
||||
.init.end 300,_init___auxv
|
||||
|
|
|
@ -141,7 +141,7 @@ textwindows int sys_fork_nt(void) {
|
|||
startinfo.hStdOutput = g_fds.p[1].handle;
|
||||
startinfo.hStdError = g_fds.p[2].handle;
|
||||
GetModuleFileNameA(0, exe, ARRAYLEN(exe));
|
||||
if (ntspawn(exe, g_argv, environ, forkvar, &kNtIsInheritable, NULL, true,
|
||||
if (ntspawn(exe, __argv, environ, forkvar, &kNtIsInheritable, NULL, true,
|
||||
0, NULL, &startinfo, &procinfo) != -1) {
|
||||
CloseHandle(reader);
|
||||
CloseHandle(procinfo.hThread);
|
||||
|
|
|
@ -17,14 +17,15 @@
|
|||
│ PERFORMANCE OF THIS SOFTWARE. │
|
||||
╚─────────────────────────────────────────────────────────────────────────────*/
|
||||
#include "libc/macros.h"
|
||||
.source __FILE__
|
||||
#include "libc/notice.inc"
|
||||
|
||||
.initbss 300,_init_g_argc
|
||||
g_argc: .quad 0
|
||||
.endobj g_argc,globl,hidden
|
||||
.initbss 300,_init___argc
|
||||
/ Global variable holding _start(argc) parameter.
|
||||
__argc: .quad 0
|
||||
.endobj __argc,globl
|
||||
.previous
|
||||
|
||||
.init.start 300,_init_g_argc
|
||||
.init.start 300,_init___argc
|
||||
mov %r12,%rax
|
||||
stosq
|
||||
.init.end 300,_init_g_argc
|
||||
.init.end 300,_init___argc
|
||||
|
|
|
@ -8,10 +8,10 @@ COSMOPOLITAN_C_START_
|
|||
|
||||
typedef long jmp_buf[8] forcealign(CACHELINE);
|
||||
|
||||
extern int g_argc; /* CRT */
|
||||
extern char **g_argv; /* CRT */
|
||||
extern int __argc; /* CRT */
|
||||
extern char **__argv; /* CRT */
|
||||
extern char **environ; /* CRT */
|
||||
extern unsigned long *g_auxv; /* CRT */
|
||||
extern unsigned long *__auxv; /* CRT */
|
||||
extern char *program_invocation_name; /* RII */
|
||||
extern char *program_invocation_short_name; /* RII */
|
||||
extern uint64_t g_syscount; /* RII */
|
||||
|
|
|
@ -41,8 +41,12 @@
|
|||
#include "libc/runtime/memtrack.h"
|
||||
#include "libc/runtime/runtime.h"
|
||||
#include "libc/sock/internal.h"
|
||||
#include "libc/sysv/consts/map.h"
|
||||
#include "libc/sysv/consts/prot.h"
|
||||
|
||||
#define MAP_ANONYMOUS 32
|
||||
#define MAP_PRIVATE 2
|
||||
#define PROT_EXEC 4
|
||||
#define PROT_READ 1
|
||||
#define PROT_WRITE 2
|
||||
|
||||
/*
|
||||
* TODO: Why can't we allocate addresses above 4GB on Windows 7 x64?
|
||||
|
@ -51,7 +55,8 @@
|
|||
|
||||
struct WinArgs {
|
||||
char *argv[4096];
|
||||
char *envp[4096];
|
||||
char *envp[4092];
|
||||
intptr_t auxv[2][2];
|
||||
char argblock[ARG_MAX];
|
||||
char envblock[ARG_MAX];
|
||||
};
|
||||
|
@ -100,7 +105,6 @@ static noasan textwindows wontreturn void WinMainNew(void) {
|
|||
size_t size;
|
||||
int i, count;
|
||||
uint64_t addr;
|
||||
long auxv[1][2];
|
||||
struct WinArgs *wa;
|
||||
const char16_t *env16;
|
||||
extern char os asm("__hostos");
|
||||
|
@ -120,18 +124,23 @@ static noasan textwindows wontreturn void WinMainNew(void) {
|
|||
_mmi.p[0].flags = MAP_PRIVATE | MAP_ANONYMOUS;
|
||||
_mmi.i = pushpop(1L);
|
||||
wa = (struct WinArgs *)(addr + size - sizeof(struct WinArgs));
|
||||
count = GetDosArgv(GetCommandLine(), wa->argblock, ARG_MAX, wa->argv, 4096);
|
||||
count = GetDosArgv(GetCommandLine(), wa->argblock, ARRAYLEN(wa->argblock),
|
||||
wa->argv, ARRAYLEN(wa->argv));
|
||||
for (i = 0; wa->argv[0][i]; ++i) {
|
||||
if (wa->argv[0][i] == '\\') {
|
||||
wa->argv[0][i] = '/';
|
||||
}
|
||||
}
|
||||
env16 = GetEnvironmentStrings();
|
||||
GetDosEnviron(env16, wa->envblock, ARG_MAX, wa->envp, 4096);
|
||||
GetDosEnviron(env16, wa->envblock, ARRAYLEN(wa->envblock), wa->envp,
|
||||
ARRAYLEN(wa->envp));
|
||||
FreeEnvironmentStrings(env16);
|
||||
auxv[0][0] = pushpop(0L);
|
||||
auxv[0][1] = pushpop(0L);
|
||||
_jmpstack((char *)addr + STACKSIZE, cosmo, count, wa->argv, wa->envp, auxv);
|
||||
wa->auxv[1][0] = pushpop(0L);
|
||||
wa->auxv[1][1] = pushpop(0L);
|
||||
wa->auxv[0][0] = (intptr_t)wa->argv[0];
|
||||
wa->auxv[0][1] = pushpop(31L);
|
||||
_jmpstack((char *)addr + STACKSIZE, cosmo, count, wa->argv, wa->envp,
|
||||
wa->auxv);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
1828
libc/sysv/consts.sh
1828
libc/sysv/consts.sh
File diff suppressed because it is too large
Load diff
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon prsnlty,ADDR_COMPAT_LAYOUT,0x0200000,-1,-1,-1,-1,-1
|
||||
.syscon prsnlty,ADDR_COMPAT_LAYOUT,0x0200000,0,0,0,0,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon prsnlty,ADDR_LIMIT_32BIT,0x0800000,-1,-1,-1,-1,-1
|
||||
.syscon prsnlty,ADDR_LIMIT_32BIT,0x0800000,0,0,0,0,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon prsnlty,ADDR_LIMIT_3GB,0x8000000,-1,-1,-1,-1,-1
|
||||
.syscon prsnlty,ADDR_LIMIT_3GB,0x8000000,0,0,0,0,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon prsnlty,ADDR_NO_RANDOMIZE,0x0040000,-1,-1,-1,-1,-1
|
||||
.syscon prsnlty,ADDR_NO_RANDOMIZE,0x0040000,0,0,0,0,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon clock,CLOCK_BOOTTIME,7,-1,0,6,6,0
|
||||
.syscon clock,CLOCK_BOOTTIME,7,0,0,6,6,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon clock,CLOCK_BOOTTIME_ALARM,9,-1,0,0,0,0
|
||||
.syscon clock,CLOCK_BOOTTIME_ALARM,9,0,0,0,0,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon clock,CLOCK_MONOTONIC_COARSE,6,-1,0,0,0,0
|
||||
.syscon clock,CLOCK_MONOTONIC_COARSE,6,0,0,0,0,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon clock,CLOCK_PROCESS_CPUTIME_ID,2,-1,15,2,0x40000000,0
|
||||
.syscon clock,CLOCK_PROCESS_CPUTIME_ID,2,0,15,2,0x40000000,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon clock,CLOCK_REALTIME_ALARM,8,-1,0,0,0,0
|
||||
.syscon clock,CLOCK_REALTIME_ALARM,8,0,0,0,0,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon clock,CLOCK_REALTIME_COARSE,5,-1,0,0,0,0
|
||||
.syscon clock,CLOCK_REALTIME_COARSE,5,0,0,0,0,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon clock,CLOCK_TAI,11,-1,0,0,0,0
|
||||
.syscon clock,CLOCK_TAI,11,0,0,0,0,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon clock,CLOCK_THREAD_CPUTIME_ID,3,-1,14,4,0x20000000,0
|
||||
.syscon clock,CLOCK_THREAD_CPUTIME_ID,3,0,14,4,0x20000000,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon errno,EADV,68,-1,-1,-1,-1,-1
|
||||
.syscon errno,EADV,68,0,0,0,0,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon errno,EBADE,52,-1,-1,-1,-1,-1
|
||||
.syscon errno,EBADE,52,0,0,0,0,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon errno,EBADMSG,74,94,89,92,88,-1
|
||||
.syscon errno,EBADMSG,74,94,89,92,88,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon errno,EBADR,53,-1,-1,-1,-1,-1
|
||||
.syscon errno,EBADR,53,0,0,0,0,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon errno,EBADRQC,56,-1,-1,-1,-1,-1
|
||||
.syscon errno,EBADRQC,56,0,0,0,0,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon errno,EBADSLT,57,-1,-1,-1,-1,-1
|
||||
.syscon errno,EBADSLT,57,0,0,0,0,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon errno,EBFONT,59,-1,-1,-1,-1,-1
|
||||
.syscon errno,EBFONT,59,0,0,0,0,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon errno,ECANCELED,125,89,85,88,87,-1
|
||||
.syscon errno,ECANCELED,125,89,85,88,87,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon errno,ECHRNG,44,-1,-1,-1,-1,-1
|
||||
.syscon errno,ECHRNG,44,0,0,0,0,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon errno,ECOMM,70,-1,-1,-1,-1,-1
|
||||
.syscon errno,ECOMM,70,0,0,0,0,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon errno,EDOM,33,33,33,33,33,-1
|
||||
.syscon errno,EDOM,33,33,33,33,33,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon errno,EDOTDOT,73,-1,-1,-1,-1,-1
|
||||
.syscon errno,EDOTDOT,73,0,0,0,0,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon errno,EHWPOISON,133,-1,-1,-1,-1,-1
|
||||
.syscon errno,EHWPOISON,133,0,0,0,0,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon errno,EIDRM,43,90,82,89,82,-1
|
||||
.syscon errno,EIDRM,43,90,82,89,82,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon errno,EILSEQ,84,92,86,84,85,-1
|
||||
.syscon errno,EILSEQ,84,92,86,84,85,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon errno,EISNAM,120,-1,-1,-1,-1,-1
|
||||
.syscon errno,EISNAM,120,0,0,0,0,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon errno,EKEYEXPIRED,127,-1,-1,-1,-1,-1
|
||||
.syscon errno,EKEYEXPIRED,127,0,0,0,0,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon errno,EKEYREJECTED,129,-1,-1,-1,-1,-1
|
||||
.syscon errno,EKEYREJECTED,129,0,0,0,0,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon errno,EKEYREVOKED,128,-1,-1,-1,-1,-1
|
||||
.syscon errno,EKEYREVOKED,128,0,0,0,0,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon errno,EL2HLT,51,-1,-1,-1,-1,-1
|
||||
.syscon errno,EL2HLT,51,0,0,0,0,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon errno,EL2NSYNC,45,-1,-1,-1,-1,-1
|
||||
.syscon errno,EL2NSYNC,45,0,0,0,0,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon errno,EL3HLT,46,-1,-1,-1,-1,-1
|
||||
.syscon errno,EL3HLT,46,0,0,0,0,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon errno,EL3RST,47,-1,-1,-1,-1,-1
|
||||
.syscon errno,EL3RST,47,0,0,0,0,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon errno,ELIBACC,79,-1,-1,-1,-1,-1
|
||||
.syscon errno,ELIBACC,79,0,0,0,0,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon errno,ELIBBAD,80,-1,-1,-1,-1,-1
|
||||
.syscon errno,ELIBBAD,80,0,0,0,0,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon errno,ELIBEXEC,83,-1,-1,-1,-1,-1
|
||||
.syscon errno,ELIBEXEC,83,0,0,0,0,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon errno,ELIBMAX,82,-1,-1,-1,-1,-1
|
||||
.syscon errno,ELIBMAX,82,0,0,0,0,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon errno,ELIBSCN,81,-1,-1,-1,-1,-1
|
||||
.syscon errno,ELIBSCN,81,0,0,0,0,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon errno,ELNRNG,48,-1,-1,-1,-1,-1
|
||||
.syscon errno,ELNRNG,48,0,0,0,0,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon errno,EMEDIUMTYPE,124,-1,-1,86,86,-1
|
||||
.syscon errno,EMEDIUMTYPE,124,0,0,86,86,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon errno,EMULTIHOP,72,95,90,-1,94,-1
|
||||
.syscon errno,EMULTIHOP,72,95,90,0,94,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon errno,ENAVAIL,119,-1,-1,-1,-1,-1
|
||||
.syscon errno,ENAVAIL,119,0,0,0,0,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon termios,ENDRUNDISC,0,0,0,0x9,0x9,-1
|
||||
.syscon termios,ENDRUNDISC,0,0,0,0x9,0x9,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon errno,ENOANO,55,-1,-1,-1,-1,-1
|
||||
.syscon errno,ENOANO,55,0,0,0,0,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon errno,ENOCSI,50,-1,-1,-1,-1,-1
|
||||
.syscon errno,ENOCSI,50,0,0,0,0,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon errno,ENODATA,61,96,-1,-1,89,-1
|
||||
.syscon errno,ENODATA,61,96,0,0,89,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon errno,ENOKEY,126,-1,-1,-1,-1,-1
|
||||
.syscon errno,ENOKEY,126,0,0,0,0,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon errno,ENOLCK,37,77,77,77,77,-1
|
||||
.syscon errno,ENOLCK,37,77,77,77,77,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon errno,ENOLINK,67,97,91,-1,95,-1
|
||||
.syscon errno,ENOLINK,67,97,91,0,95,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon errno,ENOMEDIUM,123,-1,-1,85,85,-1
|
||||
.syscon errno,ENOMEDIUM,123,0,0,85,85,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon errno,ENOMSG,42,91,83,90,83,-1
|
||||
.syscon errno,ENOMSG,42,91,83,90,83,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon errno,ENONET,64,-1,-1,-1,-1,-1
|
||||
.syscon errno,ENONET,64,0,0,0,0,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon errno,ENOPKG,65,-1,-1,-1,-1,-1
|
||||
.syscon errno,ENOPKG,65,0,0,0,0,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon errno,ENOSR,63,98,-1,-1,90,-1
|
||||
.syscon errno,ENOSR,63,98,0,0,90,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon errno,ENOSTR,60,99,-1,-1,91,-1
|
||||
.syscon errno,ENOSTR,60,99,0,0,91,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon errno,ENOTNAM,118,-1,-1,-1,-1,-1
|
||||
.syscon errno,ENOTNAM,118,0,0,0,0,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon errno,ENOTRECOVERABLE,131,104,95,93,98,-1
|
||||
.syscon errno,ENOTRECOVERABLE,131,104,95,93,98,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon errno,ENOTUNIQ,76,-1,-1,-1,-1,-1
|
||||
.syscon errno,ENOTUNIQ,76,0,0,0,0,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon errno,EOVERFLOW,75,84,84,87,84,-1
|
||||
.syscon errno,EOVERFLOW,75,84,84,87,84,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon errno,EOWNERDEAD,130,105,96,94,97,-1
|
||||
.syscon errno,EOWNERDEAD,130,105,96,94,97,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon errno,EPROTO,71,100,92,95,96,-1
|
||||
.syscon errno,EPROTO,71,100,92,95,96,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon errno,ERANGE,34,34,34,34,34,-1
|
||||
.syscon errno,ERANGE,34,34,34,34,34,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon errno,EREMCHG,78,-1,-1,-1,-1,-1
|
||||
.syscon errno,EREMCHG,78,0,0,0,0,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon errno,EREMOTEIO,121,-1,-1,-1,-1,-1
|
||||
.syscon errno,EREMOTEIO,121,0,0,0,0,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon errno,ERESTART,85,-1,-1,-1,-3,-1
|
||||
.syscon errno,ERESTART,85,0,0,0,-3,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon errno,ERFKILL,132,-1,-1,-1,-1,-1
|
||||
.syscon errno,ERFKILL,132,0,0,0,0,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon errno,ESRMNT,69,-1,-1,-1,-1,-1
|
||||
.syscon errno,ESRMNT,69,0,0,0,0,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon errno,ESTRPIPE,86,-1,-1,-1,-1,-1
|
||||
.syscon errno,ESTRPIPE,86,0,0,0,0,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon errno,ETIME,62,101,-1,-1,92,-1
|
||||
.syscon errno,ETIME,62,101,0,0,92,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon errno,EUCLEAN,117,-1,-1,-1,-1,-1
|
||||
.syscon errno,EUCLEAN,117,0,0,0,0,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon errno,EUNATCH,49,-1,-1,-1,-1,-1
|
||||
.syscon errno,EUNATCH,49,0,0,0,0,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon errno,EXFULL,54,-1,-1,-1,-1,-1
|
||||
.syscon errno,EXFULL,54,0,0,0,0,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon prsnlty,FDPIC_FUNCPTRS,0x0080000,-1,-1,-1,-1,-1
|
||||
.syscon prsnlty,FDPIC_FUNCPTRS,0x0080000,0,0,0,0,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon termios,H4DISC,0,0,0x7,0,0,-1
|
||||
.syscon termios,H4DISC,0,0,0x7,0,0,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon prsnlty,MMAP_PAGE_ZERO,0x0100000,-1,-1,-1,-1,-1
|
||||
.syscon prsnlty,MMAP_PAGE_ZERO,0x0100000,0,0,0,0,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon termios,NETGRAPHDISC,0,0,0x6,0,0,-1
|
||||
.syscon termios,NETGRAPHDISC,0,0,0x6,0,0,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon termios,NMEADISC,0,0,0,0x7,0x7,-1
|
||||
.syscon termios,NMEADISC,0,0,0,0x7,0x7,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon termios,PPPDISC,0,0x5,0x5,0x5,0x5,-1
|
||||
.syscon termios,PPPDISC,0,0x5,0x5,0x5,0x5,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon prsnlty,READ_IMPLIES_EXEC,0x0400000,-1,-1,-1,-1,-1
|
||||
.syscon prsnlty,READ_IMPLIES_EXEC,0x0400000,0,0,0,0,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon rlim,RLIMIT_AS,9,5,10,-1,-1,-1
|
||||
.syscon rlim,RLIMIT_AS,9,5,10,127,127,127
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon rlim,RLIMIT_CORE,4,4,4,4,4,-1
|
||||
.syscon rlim,RLIMIT_CORE,4,4,4,4,4,127
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon rlim,RLIMIT_CPU,0,0,0,0,0,-1
|
||||
.syscon rlim,RLIMIT_CPU,0,0,0,0,0,127
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon rlim,RLIMIT_DATA,2,2,2,2,2,-1
|
||||
.syscon rlim,RLIMIT_DATA,2,2,2,2,2,127
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon rlim,RLIMIT_FSIZE,1,1,1,1,1,-1
|
||||
.syscon rlim,RLIMIT_FSIZE,1,1,1,1,1,127
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue