diff --git a/ape/BUILD.mk b/ape/BUILD.mk index 8ef39de53c4..8a71c8986df 100644 --- a/ape/BUILD.mk +++ b/ape/BUILD.mk @@ -78,7 +78,8 @@ APE_LOADER_FLAGS = \ $< o/$(MODE)/ape/ape.elf: o/$(MODE)/ape/ape.elf.dbg - $(COMPILE) -AOBJCOPY -T$@ $(OBJCOPY) -g $< $@ + @$(COMPILE) -AOBJCOPY -T$@ $(OBJCOPY) -g $< $@ + @$(COMPILE) -AFIXUPOBJ -wT$@ $(FIXUPOBJ) $@ o/$(MODE)/ape/ape.elf.dbg: \ o/$(MODE)/ape/start.o \ @@ -88,7 +89,7 @@ o/$(MODE)/ape/ape.elf.dbg: \ @$(COMPILE) -ALINK.elf $(LD) $(APE_LOADER_LDFLAGS) -o $@ $(patsubst %.lds,-T %.lds,$^) o/$(MODE)/ape/loader.o: ape/loader.c ape/ape.h - @$(COMPILE) -AOBJECTIFY.c $(CC) -DSUPPORT_VECTOR=1 -g $(APE_LOADER_FLAGS) + @$(COMPILE) -AOBJECTIFY.c $(CC) -DSUPPORT_VECTOR=33 -g $(APE_LOADER_FLAGS) o/$(MODE)/ape/start.o: ape/start.S @$(COMPILE) -AOBJECTIFY.S $(OBJECTIFY.S) $(OUTPUT_OPTION) -c $< o/$(MODE)/ape/launch.o: ape/launch.S diff --git a/ape/loader.c b/ape/loader.c index ece12622919..b11ff2982dd 100644 --- a/ape/loader.c +++ b/ape/loader.c @@ -87,7 +87,7 @@ #define MIN(X, Y) ((Y) > (X) ? (X) : (Y)) #define MAX(X, Y) ((Y) < (X) ? (X) : (Y)) -#define PATH_MAX 1024 /* XXX verify */ +#define PATH_MAX 1024 /* XXX verify */ #define SupportsLinux() (SUPPORT_VECTOR & LINUX) #define SupportsXnu() (SUPPORT_VECTOR & XNU) @@ -224,8 +224,8 @@ struct ApeLoader { }; EXTERN_C long SystemCall(long, long, long, long, long, long, long, int); -EXTERN_C void -Launch(void *, long, void *, void *, int) __attribute__((__noreturn__)); +EXTERN_C void Launch(void *, long, void *, void *, int) + __attribute__((__noreturn__)); extern char __executable_start[]; extern char _end[]; diff --git a/build/bootstrap/ape.aarch64 b/build/bootstrap/ape.aarch64 index 1361430eab6..6c8f9305b5a 100755 Binary files a/build/bootstrap/ape.aarch64 and b/build/bootstrap/ape.aarch64 differ diff --git a/build/bootstrap/ape.elf b/build/bootstrap/ape.elf index 69d9b269ea8..961bcf05906 100755 Binary files a/build/bootstrap/ape.elf and b/build/bootstrap/ape.elf differ diff --git a/build/bootstrap/ape.macho b/build/bootstrap/ape.macho index 434e36331f4..9ba658e6fb8 100755 Binary files a/build/bootstrap/ape.macho and b/build/bootstrap/ape.macho differ diff --git a/build/bootstrap/fixupobj.com b/build/bootstrap/fixupobj.com index b6c7c3536f7..0d969795bd4 100755 Binary files a/build/bootstrap/fixupobj.com and b/build/bootstrap/fixupobj.com differ diff --git a/build/definitions.mk b/build/definitions.mk index 15dc061e077..eb5011c1f1a 100644 --- a/build/definitions.mk +++ b/build/definitions.mk @@ -86,7 +86,7 @@ IGNORE := $(shell $(MKDIR) $(TMPDIR)) ifneq ($(findstring aarch64,$(MODE)),) ARCH = aarch64 -HOSTS ?= pi studio +HOSTS ?= pi studio freebsdarm else ARCH = x86_64 HOSTS ?= freebsd rhel7 xnu win10 openbsd netbsd diff --git a/examples/crashreport2.cc b/examples/crashreport2.cc new file mode 100644 index 00000000000..06bb9254844 --- /dev/null +++ b/examples/crashreport2.cc @@ -0,0 +1,23 @@ +#if 0 +/*─────────────────────────────────────────────────────────────────╗ +│ To the extent possible under law, Justine Tunney has waived │ +│ all copyright and related or neighboring rights to this file, │ +│ as it is written in the following disclaimers: │ +│ • http://unlicense.org/ │ +│ • http://creativecommons.org/publicdomain/zero/1.0/ │ +╚─────────────────────────────────────────────────────────────────*/ +#endif +#include "libc/math.h" +#include "libc/runtime/runtime.h" + +void crash(long x0, long x1, long x2, // + double v0, double v1, double v2) { + __builtin_trap(); +} + +void (*pCrash)(long, long, long, double, double, double) = crash; + +int main(int argc, char *argv[]) { + ShowCrashReports(); + pCrash(1, 2, 3, NAN, NAN, NAN); +} diff --git a/libc/calls/seccomp.c b/libc/calls/seccomp.c index 534ee099f1c..eaa1e4708a6 100644 --- a/libc/calls/seccomp.c +++ b/libc/calls/seccomp.c @@ -16,8 +16,8 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/calls/struct/seccomp.internal.h" #include "libc/calls/calls.h" +#include "libc/calls/struct/seccomp.internal.h" #include "libc/calls/syscall-sysv.internal.h" #include "libc/dce.h" #include "libc/errno.h" @@ -62,16 +62,20 @@ int seccomp(unsigned operation, unsigned flags, void *args) { rc = -1; } #elif defined(__aarch64__) - register long r0 asm("x0") = (long)operation; - register long r1 asm("x1") = (long)flags; - register long r2 asm("x2") = (long)args; - register long res_x0 asm("x0"); - asm volatile("mov\tx8,%1\n\t" - "svc\t0" - : "=r"(res_x0) - : "i"(211), "r"(r0), "r"(r1), "r"(r2) - : "x8", "memory"); - rc = _sysret(res_x0); + if (IsLinux()) { + register long r0 asm("x0") = (long)operation; + register long r1 asm("x1") = (long)flags; + register long r2 asm("x2") = (long)args; + register long res_x0 asm("x0"); + asm volatile("mov\tx8,%1\n\t" + "svc\t0" + : "=r"(res_x0) + : "i"(211), "r"(r0), "r"(r1), "r"(r2) + : "x8", "memory"); + rc = _sysret(res_x0); + } else { + rc = enosys(); + } #else #error "arch unsupported" #endif diff --git a/libc/calls/sigenter-freebsd.c b/libc/calls/sigenter-freebsd.c index 6d5119f0ec4..0f29ad54730 100644 --- a/libc/calls/sigenter-freebsd.c +++ b/libc/calls/sigenter-freebsd.c @@ -20,6 +20,7 @@ #include "libc/calls/calls.h" #include "libc/calls/internal.h" #include "libc/calls/state.internal.h" +#include "libc/calls/struct/aarch64.internal.h" #include "libc/calls/struct/sigaction.h" #include "libc/calls/struct/siginfo-freebsd.internal.h" #include "libc/calls/struct/siginfo-meta.internal.h" @@ -33,18 +34,18 @@ #include "libc/str/str.h" #include "libc/sysv/consts/sa.h" -#ifdef __x86_64__ - privileged void __sigenter_freebsd(int sig, struct siginfo_freebsd *freebsdinfo, struct ucontext_freebsd *ctx) { + #pragma GCC push_options #pragma GCC diagnostic ignored "-Wframe-larger-than=" - struct Goodies { + struct { ucontext_t uc; siginfo_t si; } g; CheckLargeStackAllocation(&g, sizeof(g)); #pragma GCC pop_options + int rva, flags; rva = __sighandrvas[sig]; if (rva >= kSigactionMinRva) { @@ -52,12 +53,20 @@ privileged void __sigenter_freebsd(int sig, struct siginfo_freebsd *freebsdinfo, if (~flags & SA_SIGINFO) { ((sigaction_f)(__executable_start + rva))(sig, 0, 0); } else { + + // + // TRANSLATE FREEBSD SIGNAL TO LINUX SIGNAL + // + __repstosb(&g, 0, sizeof(g)); - g.uc.uc_mcontext.fpregs = &g.uc.__fpustate; + __siginfo2cosmo(&g.si, (void *)freebsdinfo); g.uc.uc_stack.ss_sp = ctx->uc_stack.ss_sp; g.uc.uc_stack.ss_size = ctx->uc_stack.ss_size; g.uc.uc_stack.ss_flags = ctx->uc_stack.ss_flags; g.uc.uc_sigmask = ctx->uc_sigmask[0] | (uint64_t)ctx->uc_sigmask[0] << 32; + +#ifdef __x86_64__ + g.uc.uc_mcontext.fpregs = &g.uc.__fpustate; g.uc.uc_mcontext.r8 = ctx->uc_mcontext.mc_r8; g.uc.uc_mcontext.r9 = ctx->uc_mcontext.mc_r9; g.uc.uc_mcontext.r10 = ctx->uc_mcontext.mc_r10; @@ -81,14 +90,39 @@ privileged void __sigenter_freebsd(int sig, struct siginfo_freebsd *freebsdinfo, g.uc.uc_mcontext.err = ctx->uc_mcontext.mc_err; g.uc.uc_mcontext.trapno = ctx->uc_mcontext.mc_trapno; __repmovsb(&g.uc.__fpustate, &ctx->uc_mcontext.mc_fpstate, 512); - __siginfo2cosmo(&g.si, (void *)freebsdinfo); +#endif /* __x86_64__ */ + +#ifdef __aarch64__ + __memcpy(g.uc.uc_mcontext.regs, &ctx->uc_mcontext.mc_gpregs, 34 * 8); + if (ctx->uc_mcontext.mc_flags & _MC_FP_VALID) { + struct fpsimd_context *vc = + (struct fpsimd_context *)g.uc.uc_mcontext.__reserved; + vc->head.magic = FPSIMD_MAGIC; + vc->head.size = sizeof(*vc); + vc->fpsr = ctx->uc_mcontext.mc_fpregs.fp_sr; + vc->fpcr = ctx->uc_mcontext.mc_fpregs.fp_cr; + __memcpy(vc->vregs, ctx->uc_mcontext.mc_fpregs.fp_q, 32 * 16); + } +#endif /* __aarch64__ */ + + // + // INVOKE SIGNAL HANDLER + // + ((sigaction_f)(__executable_start + rva))(sig, &g.si, &g.uc); + + // + // TRANSLATE LINUX SIGNAL TO FREEBSD SIGNAL + // + ctx->uc_stack.ss_sp = g.uc.uc_stack.ss_sp; ctx->uc_stack.ss_size = g.uc.uc_stack.ss_size; ctx->uc_stack.ss_flags = g.uc.uc_stack.ss_flags; ctx->uc_flags = g.uc.uc_flags; ctx->uc_sigmask[0] = g.uc.uc_sigmask; ctx->uc_sigmask[1] = g.uc.uc_sigmask >> 32; + +#ifdef __x86_64__ ctx->uc_mcontext.mc_rdi = g.uc.uc_mcontext.rdi; ctx->uc_mcontext.mc_rsi = g.uc.uc_mcontext.rsi; ctx->uc_mcontext.mc_rdx = g.uc.uc_mcontext.rdx; @@ -112,13 +146,24 @@ privileged void __sigenter_freebsd(int sig, struct siginfo_freebsd *freebsdinfo, ctx->uc_mcontext.mc_rip = g.uc.uc_mcontext.rip; ctx->uc_mcontext.mc_rsp = g.uc.uc_mcontext.rsp; __repmovsb(&ctx->uc_mcontext.mc_fpstate, &g.uc.__fpustate, 512); +#endif /* __x86_64__ */ + +#ifdef __aarch64__ + __memcpy(&ctx->uc_mcontext.mc_gpregs, g.uc.uc_mcontext.regs, 34 * 8); + struct fpsimd_context *vc = + (struct fpsimd_context *)g.uc.uc_mcontext.__reserved; + if (vc->head.magic == FPSIMD_MAGIC) { + ctx->uc_mcontext.mc_flags |= _MC_FP_VALID; + ctx->uc_mcontext.mc_fpregs.fp_sr = vc->fpsr; + ctx->uc_mcontext.mc_fpregs.fp_cr = vc->fpcr; + __memcpy(ctx->uc_mcontext.mc_fpregs.fp_q, vc->vregs, 32 * 16); + } +#endif /* __aarch64__ */ + + // done } } - /* - * When the FreeBSD kernel invokes this signal handler it pushes a - * trampoline on the stack which does two things: 1) it calls this - * function, and 2) calls sys_sigreturn() once this returns. - */ + // When the FreeBSD kernel invokes this signal handler it pushes a + // trampoline on the stack which does two things: 1) it calls this + // function, and 2) calls sys_sigreturn() once this returns. } - -#endif /* __x86_64__ */ diff --git a/libc/calls/struct/ucontext-freebsd.internal.h b/libc/calls/struct/ucontext-freebsd.internal.h index facb16fa68a..28e469f4733 100644 --- a/libc/calls/struct/ucontext-freebsd.internal.h +++ b/libc/calls/struct/ucontext-freebsd.internal.h @@ -2,6 +2,22 @@ #define COSMOPOLITAN_LIBC_CALLS_STRUCT_UCONTEXT_FREEBSD_INTERNAL_H_ COSMOPOLITAN_C_START_ +struct gpregs_freebsd_aarch64 { + int64_t gp_x[30]; + int64_t gp_lr; + int64_t gp_sp; + int64_t gp_elr; /* pc */ + uint64_t gp_spsr; /* pstate or cpsr */ +}; + +struct fpregs_freebsd_aarch64 { + uint128_t fp_q[32]; + uint32_t fp_sr; + uint32_t fp_cr; + int fp_flags; + int fp_pad; +}; + struct stack_freebsd { void *ss_sp; uint64_t ss_size; @@ -9,6 +25,7 @@ struct stack_freebsd { }; struct mcontext_freebsd { +#ifdef __x86_64__ int64_t mc_onstack; int64_t mc_rdi; int64_t mc_rsi; @@ -47,6 +64,14 @@ struct mcontext_freebsd { int64_t mc_xfpustate; int64_t mc_xfpustate_len; int64_t mc_spare[4]; +#elif defined(__aarch64__) + struct gpregs_freebsd_aarch64 mc_gpregs; + struct fpregs_freebsd_aarch64 mc_fpregs; + int mc_flags; +#define _MC_FP_VALID 0x1 /* Set when mc_fpregs has valid data */ + int mc_pad; /* Padding */ + uint64_t mc_spare[8]; /* Space for expansion, set to zero */ +#endif }; struct ucontext_freebsd { diff --git a/libc/crt/crt.S b/libc/crt/crt.S index 07978f47b31..591bcd0ce70 100644 --- a/libc/crt/crt.S +++ b/libc/crt/crt.S @@ -125,6 +125,11 @@ _start: //////////////////////////////////////////////////////////////////////////////// #elif defined(__aarch64__) +#if SupportsFreebsd() +// save first arg + mov x3,x0 +#endif + // save original stack pointer // this is the first argument to cosmo() below mov x0,sp diff --git a/libc/dce.h b/libc/dce.h index b96bb6e2b15..faabcac325e 100644 --- a/libc/dce.h +++ b/libc/dce.h @@ -13,7 +13,7 @@ */ #define SUPPORT_VECTOR 255 #else -#define SUPPORT_VECTOR (_HOSTLINUX | _HOSTXNU) +#define SUPPORT_VECTOR (_HOSTLINUX | _HOSTXNU | _HOSTFREEBSD) #endif #endif @@ -62,8 +62,10 @@ #endif #ifdef __aarch64__ +#define IsAarch64() 1 #define IsXnuSilicon() IsXnu() #else +#define IsAarch64() 0 #define IsXnuSilicon() 0 #endif diff --git a/libc/intrin/exit.c b/libc/intrin/exit.c index 12604ed50d9..50f1a00d965 100644 --- a/libc/intrin/exit.c +++ b/libc/intrin/exit.c @@ -59,12 +59,12 @@ wontreturn void _Exit(int exitcode) { : "rcx", "r11", "memory"); #elif defined(__aarch64__) register long x0 asm("x0") = exitcode; - asm volatile("mov\tx8,%0\n\t" - "mov\tx16,%1\n\t" + register long x8 asm("x8") = IsLinux() ? 94 : 1; + asm volatile("mov\tx16,%1\n\t" "svc\t0" : /* no outputs */ - : "i"(94), "i"(1), "r"(x0) - : "x8", "x16", "memory"); + : "r"(x8), "i"(1), "r"(x0) + : "x16", "memory"); #else #error "unsupported architecture" #endif @@ -77,12 +77,12 @@ wontreturn void _Exit(int exitcode) { : "rcx", "r11", "memory"); #else register long r0 asm("x0") = exitcode; - asm volatile("mov\tx8,%0\n\t" - "mov\tx16,%1\n\t" + register long x8 asm("x8") = IsLinux() ? 93 : 431; + asm volatile("mov\tx16,%1\n\t" "svc\t0" : /* no outputs */ - : "i"(93), "i"(0x169), "r"(r0) - : "x8", "memory"); + : "r"(x8), "i"(0x169), "r"(r0) + : "memory"); #endif } else if (IsWindows()) { uint32_t waitstatus; diff --git a/libc/intrin/exit1.greg.c b/libc/intrin/exit1.greg.c index 3d92258fff9..92274d5ca32 100644 --- a/libc/intrin/exit1.greg.c +++ b/libc/intrin/exit1.greg.c @@ -74,13 +74,27 @@ wontreturn void _Exit1(int rc) { } notpossible; #elif defined(__aarch64__) - if (IsLinux()) { - register long r0 asm("x0") = rc; - asm volatile("mov\tx8,%0\n\t" - "svc\t0" - : /* no outputs */ - : "i"(93), "r"(r0) - : "x8", "memory"); + if (IsLinux() || IsFreebsd()) { + register int x0 asm("x0") = rc; + register int x8 asm("x8"); + if (IsLinux()) { + x8 = 93; // exit + } else if (IsFreebsd()) { + x8 = 431; // thr_exit + } else { + __builtin_unreachable(); + } + asm volatile("svc\t0" : "+r"(x0) : "r"(x8) : "memory"); + if (SupportsFreebsd()) { + // On FreeBSD, thr_exit() fails if the current thread is orphaned. + // In that case we're really better off just calling plain _exit() + x0 = rc; + asm volatile("mov\tx8,#1\n\t" + "svc\t0" + : /* no outputs */ + : "r"(x0) + : "memory"); + } } else if (IsXnu()) { __syslib->__pthread_exit(0); } diff --git a/libc/intrin/futex.S b/libc/intrin/futex.S index de85b12fe52..73971e95900 100644 --- a/libc/intrin/futex.S +++ b/libc/intrin/futex.S @@ -32,10 +32,19 @@ _futex: neg %eax 1: pop %rbp #elif defined(__aarch64__) - mov x8,#0x062 - svc #0 + ldr x7,=__hostos + ldr w7,[x7] + tst x7,1 // IsLinux() + mov x7,98 // futex (Linux) + mov x8,454 // _umtx_op (FreeBSD) + csel x8,x7,x8,ne // choose syscall magnum + mov x7,0 // clear carry (for Linux) + adds x7,x7,0 // clear carry + svc #0 // call kernel + bcc 1f // jump if not carry + neg x0,x0 // linux style errno #else #error "unsupported architecture" #endif /* __x86_64__ */ - ret +1: ret .endfn _futex,globl,hidden diff --git a/libc/intrin/g_fds.c b/libc/intrin/g_fds.c index 6c9b61909ad..3e12da55f57 100644 --- a/libc/intrin/g_fds.c +++ b/libc/intrin/g_fds.c @@ -79,7 +79,7 @@ static textwindows void SetupWinStd(struct Fds *fds, int i, uint32_t x) { textstartup void __init_fds(int argc, char **argv, char **envp) { struct Fds *fds; - fds = __veil("r", &g_fds); + fds = &g_fds; fds->n = 4; atomic_store_explicit(&fds->f, 3, memory_order_relaxed); if (_weaken(_extend)) { diff --git a/libc/intrin/sys_gettid.greg.c b/libc/intrin/sys_gettid.greg.c index 06c708d9a59..408025bc03a 100644 --- a/libc/intrin/sys_gettid.greg.c +++ b/libc/intrin/sys_gettid.greg.c @@ -18,6 +18,7 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/calls/syscall-sysv.internal.h" #include "libc/dce.h" +#include "libc/intrin/kprintf.h" #include "libc/nt/thread.h" #include "libc/nt/thunk/msabi.h" #include "libc/runtime/internal.h" @@ -25,9 +26,9 @@ __msabi extern typeof(GetCurrentThreadId) *const __imp_GetCurrentThreadId; int sys_gettid(void) { + int64_t wut; #ifdef __x86_64__ int tid; - int64_t wut; if (IsWindows()) { tid = __imp_GetCurrentThreadId(); } else if (IsLinux()) { @@ -65,11 +66,23 @@ int sys_gettid(void) { #elif defined(__aarch64__) // this can't be used on xnu register long res asm("x0"); - asm volatile("mov\tx8,%1\n\t" - "svc\t0" - : "=r"(res) - : "i"(178) - : "x8", "memory"); + if (IsLinux()) { + asm volatile("mov\tx8,%1\n\t" + "svc\t0" + : "=r"(res) + : "i"(178) + : "x8", "memory"); + } else if (IsFreebsd()) { + res = (long)&wut; + asm volatile("mov\tx8,%2\n\t" + "svc\t0" + : "+r"(res), "=m"(wut) + : "i"(432) // thr_self() + : "x8", "memory"); + res = wut; + } else { + res = __pid; + } return res; #else #error "arch unsupported" diff --git a/libc/intrin/sys_umtx_timedwait_uint.c b/libc/intrin/sys_umtx_timedwait_uint.c index c2acd0ac819..9bcc7c59533 100644 --- a/libc/intrin/sys_umtx_timedwait_uint.c +++ b/libc/intrin/sys_umtx_timedwait_uint.c @@ -19,7 +19,6 @@ #include "libc/atomic.h" #include "libc/sysv/consts/clock.h" #include "libc/thread/freebsd.internal.h" -#ifdef __x86_64__ int sys_umtx_timedwait_uint_cp(atomic_int *, int, int, size_t, struct _umtx_time *) asm("sys_futex_cp"); @@ -46,5 +45,3 @@ int sys_umtx_timedwait_uint(atomic_int *p, int expect, bool pshare, } return sys_umtx_timedwait_uint_cp(p, op, expect, size, tm_p); } - -#endif diff --git a/libc/log/libfatal.internal.h b/libc/log/libfatal.internal.h index aa5f7589aa8..d1036a58a77 100644 --- a/libc/log/libfatal.internal.h +++ b/libc/log/libfatal.internal.h @@ -164,6 +164,7 @@ __funline void *__memset(void *a, int c, unsigned long n) { char *d = a; unsigned long i; for (i = 0; i < n; ++i) { + __asm__ volatile("" ::: "memory"); d[i] = c; } return d; @@ -174,6 +175,7 @@ __funline void *__memcpy(void *a, const void *b, unsigned long n) { unsigned long i; const char *s = b; for (i = 0; i < n; ++i) { + __asm__ volatile("" ::: "memory"); d[i] = s[i]; } return d; @@ -185,10 +187,12 @@ __funline void *__memmove(void *a, const void *b, unsigned long n) { const char *s = b; if (d > s) { for (i = n; i--;) { + __asm__ volatile("" ::: "memory"); d[i] = s[i]; } } else { for (i = 0; i < n; ++i) { + __asm__ volatile("" ::: "memory"); d[i] = s[i]; } } diff --git a/libc/log/oncrash_arm64.c b/libc/log/oncrash_arm64.c index 173678360d0..eafc483fe6f 100644 --- a/libc/log/oncrash_arm64.c +++ b/libc/log/oncrash_arm64.c @@ -221,7 +221,7 @@ static relegated void __oncrash_impl(int sig, struct siginfo *si, Append(b, "%serror%s: Uncaught %G (%s) on %s pid %d tid %d\n", strong, reset, sig, kind, host, getpid(), gettid()); if (program_invocation_name) { - Append(b, " %s\n", program_invocation_name); + Append(b, " %s\n", __program_executable_name); } if (errno) { Append(b, " %s\n", strerror(errno)); diff --git a/libc/proc/fork-sysv.c b/libc/proc/fork-sysv.c index 000e13be7bf..cd97509e545 100644 --- a/libc/proc/fork-sysv.c +++ b/libc/proc/fork-sysv.c @@ -60,7 +60,11 @@ int sys_fork(void) { } else if (__syslib) { return _sysret(__syslib->__fork()); } else { - return enosys(); + int ax; + axdx_t ad; + ad = __sys_fork(); + ax = ad.ax; + return ax; } #else diff --git a/libc/proc/vfork.S b/libc/proc/vfork.S index b04c2f4a6e4..ff701c1c574 100644 --- a/libc/proc/vfork.S +++ b/libc/proc/vfork.S @@ -87,9 +87,9 @@ vfork: #elif defined(__aarch64__) - adrp x0,__hostos - ldr w0,[x0,#:lo12:__hostos] - tbz x0,3,1f // bit 3 is xnu + adrp x8,__hostos + ldr w8,[x8,#:lo12:__hostos] + tbz x8,3,1f // bit 3 is xnu b fork // which doesn't support vfork() 1: @@ -102,10 +102,19 @@ vfork: ldp x29,x30,[sp],16 #endif - mov x8,#220 // __NR_clone + tbnz w8,5,1f // bit 5 is freebsd + + mov x8,#220 // clone (linux) mov x0,#0x4111 // SIGCHLD | CLONE_VM | CLONE_VFORK mov x1,#0 svc 0 + b 2f + +1: mov x8,#66 // vfork (freebsd) + svc 0 // call kernel + bcc 2f // jump if not carry + neg x0,x0 // linux style errno +2: // if (!rc) { // __get_tls()->tib_flags |= TIB_FLAG_VFORKED; diff --git a/libc/runtime/clone.c b/libc/runtime/clone.c index 19c2eadfdd0..72c76a94f3a 100644 --- a/libc/runtime/clone.c +++ b/libc/runtime/clone.c @@ -231,60 +231,6 @@ static errno_t CloneXnu(int (*fn)(void *), char *stk, size_t stksz, int flags, return sys_clone_xnu(fn, arg, wt, 0, PTHREAD_START_CUSTOM_XNU); } -//////////////////////////////////////////////////////////////////////////////// -// FREE BESIYATA DISHMAYA - -static wontreturn void FreebsdThreadMain(void *p) { - struct CloneArgs *wt = p; - *wt->ctid = wt->tid; - wt->func(wt->arg, wt->tid); - // we no longer use the stack after this point - // void thr_exit(%rdi = long *state); - asm volatile("movl\t$0,%0\n\t" // *wt->ztid = 0 - "syscall\n\t" // _umtx_op(wt->ztid, WAKE, INT_MAX) - "movl\t$431,%%eax\n\t" // thr_exit(long *nonzeroes_and_wake) - "xor\t%%edi,%%edi\n\t" // sad we can't use this free futex op - "syscall\n\t" // exit1() fails if thread is orphaned - "movl\t$1,%%eax\n\t" // exit() - "syscall" // - : "=m"(*wt->ztid) - : "a"(454), "D"(wt->ztid), "S"(UMTX_OP_WAKE), "d"(INT_MAX) - : "rcx", "r8", "r9", "r10", "r11", "memory"); - __builtin_unreachable(); -} - -static errno_t CloneFreebsd(int (*func)(void *, int), char *stk, size_t stksz, - int flags, void *arg, void *tls, int *ptid, - int *ctid) { - int ax; - bool failed; - int64_t tid; - struct CloneArgs *wt; - wt = AllocateCloneArgs(stk, stksz); - wt->ctid = flags & CLONE_CHILD_SETTID ? ctid : &wt->tid; - wt->ztid = flags & CLONE_CHILD_CLEARTID ? ctid : &wt->tid; - wt->tls = tls; - wt->func = func; - wt->arg = arg; - struct thr_param params = { - .start_func = FreebsdThreadMain, - .arg = wt, - .stack_base = stk, - .stack_size = (uintptr_t)wt - (uintptr_t)stk, - .tls_base = flags & CLONE_SETTLS ? tls : 0, - .tls_size = 64, - .child_tid = &wt->tid64, - .parent_tid = &tid, - }; - asm volatile(CFLAG_ASM("syscall") - : CFLAG_CONSTRAINT(failed), "=a"(ax) - : "1"(__NR_thr_new), "D"(¶ms), "S"(sizeof(params)) - : "rcx", "rdx", "r8", "r9", "r10", "r11", "memory"); - if (failed) return ax; - if (flags & CLONE_PARENT_SETTID) *ptid = tid; - return 0; -} - //////////////////////////////////////////////////////////////////////////////// // OPEN BESIYATA DISHMAYA @@ -441,6 +387,95 @@ static int CloneNetbsd(int (*func)(void *, int), char *stk, size_t stksz, #endif /* __x86_64__ */ +//////////////////////////////////////////////////////////////////////////////// +// FREE BESIYATA DISHMAYA + +void bone(struct CloneArgs *wt) { + *wt->ztid = 0; +} + +static wontreturn void FreebsdThreadMain(void *p) { + struct CloneArgs *wt = p; +#ifdef __aarch64__ + asm volatile("mov\tx28,%0" : /* no outputs */ : "r"(wt->tls)); +#endif + *wt->ctid = wt->tid; + wt->func(wt->arg, wt->tid); + // we no longer use the stack after this point + // void thr_exit(%rdi = long *state); +#ifdef __x86_64__ + asm volatile("movl\t$0,%0\n\t" // *wt->ztid = 0 + "syscall\n\t" // _umtx_op(wt->ztid, WAKE, INT_MAX) + "movl\t$431,%%eax\n\t" // thr_exit(long *nonzeroes_and_wake) + "xor\t%%edi,%%edi\n\t" // sad we can't use this free futex op + "syscall\n\t" // thr_exit() fails if thread is orphaned + "movl\t$1,%%eax\n\t" // _exit() + "syscall" // + : "=m"(*wt->ztid) + : "a"(454), "D"(wt->ztid), "S"(UMTX_OP_WAKE), "d"(INT_MAX) + : "rcx", "r8", "r9", "r10", "r11", "memory"); +#elif defined(__aarch64__) + register long x0 asm("x0") = (long)wt->ztid; + register long x1 asm("x1") = UMTX_OP_WAKE; + register long x2 asm("x2") = INT_MAX; + register long x8 asm("x8") = 454; // _umtx_op + asm volatile("str\twzr,%0\n\t" // *wt->ztid = 0 + "svc\t0\n\t" // _umtx_op(wt->ztid, WAKE, INT_MAX) + "mov\tx0,#0\n\t" // arg0 = 0 + "mov\tx8,#431\n\t" // thr_exit + "svc\t0\n\t" // thr_exit(long *nonzeroes_and_wake = 0) + "mov\tx8,#1\n\t" // _exit + "svc\t0" // _exit(long *nonzeroes_and_wake = 0) + : "=m"(*wt->ztid) + : "r"(x0), "r"(x1), "r"(x2), "r"(x8)); +#else +#error "unsupported architecture" +#endif + __builtin_unreachable(); +} + +static errno_t CloneFreebsd(int (*func)(void *, int), char *stk, size_t stksz, + int flags, void *arg, void *tls, int *ptid, + int *ctid) { + int64_t tid; + struct CloneArgs *wt; + wt = AllocateCloneArgs(stk, stksz); + wt->ctid = flags & CLONE_CHILD_SETTID ? ctid : &wt->tid; + wt->ztid = flags & CLONE_CHILD_CLEARTID ? ctid : &wt->tid; + wt->tls = tls; + wt->func = func; + wt->arg = arg; + struct thr_param params = { + .start_func = FreebsdThreadMain, + .arg = wt, + .stack_base = stk, + .stack_size = (uintptr_t)wt - (uintptr_t)stk, + .tls_base = flags & CLONE_SETTLS ? tls : 0, + .tls_size = 64, + .child_tid = &wt->tid64, + .parent_tid = &tid, + }; +#ifdef __x86_64__ + int ax; + bool failed; + asm volatile(CFLAG_ASM("syscall") + : CFLAG_CONSTRAINT(failed), "=a"(ax) + : "1"(__NR_thr_new), "D"(¶ms), "S"(sizeof(params)) + : "rcx", "rdx", "r8", "r9", "r10", "r11", "memory"); + if (failed) return ax; +#elif defined(__aarch64__) + register long x0 asm("x0") = (long)¶ms; + register long x1 asm("x1") = sizeof(params); + register int x8 asm("x8") = 0x1c7; // thr_new + asm volatile("svc\t0" : "+r"(x0) : "r"(x1), "r"(x8) : "memory"); + if (x0) return x0; +#else +#error "unsupported architecture" +#endif + if (flags & CLONE_PARENT_SETTID) *ptid = tid; + return 0; +} + #ifdef __aarch64__ //////////////////////////////////////////////////////////////////////////////// @@ -675,9 +710,9 @@ errno_t clone(void *func, void *stk, size_t stksz, int flags, void *arg, #else #error "unsupported architecture" #endif -#ifdef __x86_64__ } else if (IsFreebsd()) { rc = CloneFreebsd(func, stk, stksz, flags, arg, tls, ptid, ctid); +#ifdef __x86_64__ } else if (IsNetbsd()) { rc = CloneNetbsd(func, stk, stksz, flags, arg, tls, ptid, ctid); } else if (IsOpenbsd()) { diff --git a/libc/runtime/cosmo2.c b/libc/runtime/cosmo2.c index 57067b5abd8..7326b22b68c 100644 --- a/libc/runtime/cosmo2.c +++ b/libc/runtime/cosmo2.c @@ -78,7 +78,8 @@ static const char *DecodeMagnum(const char *p, long *r) { return *r = x, p; } -wontreturn textstartup void cosmo(long *sp, struct Syslib *m1, char *exename) { +wontreturn textstartup void cosmo(long *sp, struct Syslib *m1, char *exename, + long *is_freebsd) { // get startup timestamp as early as possible // its used by --strace and also kprintf() %T @@ -95,6 +96,11 @@ wontreturn textstartup void cosmo(long *sp, struct Syslib *m1, char *exename) { }; __set_tls(&tib); + // check for freebsd + if (is_freebsd) { + sp = is_freebsd; + } + // extracts arguments from old sysv stack abi int argc = *sp; char **argv = (char **)(sp + 1); @@ -114,7 +120,10 @@ wontreturn textstartup void cosmo(long *sp, struct Syslib *m1, char *exename) { // detect apple m1 environment const char *magnums; - if (SupportsXnu() && (__syslib = m1)) { + if (SupportsFreebsd() && is_freebsd) { + hostos = _HOSTFREEBSD; + magnums = syscon_freebsd; + } else if (SupportsXnu() && (__syslib = m1)) { hostos = _HOSTXNU; magnums = syscon_xnu; } else if (SupportsLinux()) { diff --git a/libc/sock/BUILD.mk b/libc/sock/BUILD.mk index 78fcff23946..f9fb5dca9c7 100644 --- a/libc/sock/BUILD.mk +++ b/libc/sock/BUILD.mk @@ -58,6 +58,8 @@ $(LIBC_SOCK_A).pkg: \ # these assembly files are safe to build on aarch64 o/$(MODE)/libc/sock/sys_sendfile_xnu.o: libc/sock/sys_sendfile_xnu.S @$(COMPILE) -AOBJECTIFY.S $(OBJECTIFY.S) $(OUTPUT_OPTION) -c $< +o/$(MODE)/libc/sock/sys_sendfile_freebsd.o: libc/sock/sys_sendfile_freebsd.S + @$(COMPILE) -AOBJECTIFY.S $(OBJECTIFY.S) $(OUTPUT_OPTION) -c $< LIBC_SOCK_LIBS = $(foreach x,$(LIBC_SOCK_ARTIFACTS),$($(x))) LIBC_SOCK_SRCS = $(foreach x,$(LIBC_SOCK_ARTIFACTS),$($(x)_SRCS)) diff --git a/libc/sysv/BUILD.mk b/libc/sysv/BUILD.mk index 2cd0b1e8871..ec1b3b1fbde 100644 --- a/libc/sysv/BUILD.mk +++ b/libc/sysv/BUILD.mk @@ -96,6 +96,7 @@ o/$(MODE)/libc/sysv/sysv.o: private \ -ffixed-x4 \ -ffixed-x5 \ -ffixed-x8 \ + -ffixed-x9 \ -ffixed-x16 \ -fomit-frame-pointer \ -foptimize-sibling-calls \ diff --git a/libc/sysv/calls/__bsd_setegid.S b/libc/sysv/calls/__bsd_setegid.S index 951ceafd94a..90c5385ca10 100644 --- a/libc/sysv/calls/__bsd_setegid.S +++ b/libc/sysv/calls/__bsd_setegid.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall __bsd_setegid,0xfff0b60b620b6fff,4095,182,globl,hidden +.scall __bsd_setegid,0xfff0b60b620b6fff,4095,182,182,globl,hidden diff --git a/libc/sysv/calls/__bsd_seteuid.S b/libc/sysv/calls/__bsd_seteuid.S index 8d6230597b9..d161d8c0620 100644 --- a/libc/sysv/calls/__bsd_seteuid.S +++ b/libc/sysv/calls/__bsd_seteuid.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall __bsd_seteuid,0xfff0b70b720b7fff,4095,183,globl,hidden +.scall __bsd_seteuid,0xfff0b70b720b7fff,4095,183,183,globl,hidden diff --git a/libc/sysv/calls/__sys_accept.S b/libc/sysv/calls/__sys_accept.S index 3f93c55aa28..412f8d494f3 100644 --- a/libc/sysv/calls/__sys_accept.S +++ b/libc/sysv/calls/__sys_accept.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall __sys_accept,0x81e81ea1d281e82b,2250,2078,globl,hidden +.scall __sys_accept,0x81e81ea1d281e82b,2250,2078,2589,globl,hidden diff --git a/libc/sysv/calls/__sys_accept4.S b/libc/sysv/calls/__sys_accept4.S index 3abde7f9f78..6872c827fd4 100644 --- a/libc/sysv/calls/__sys_accept4.S +++ b/libc/sysv/calls/__sys_accept4.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall __sys_accept4,0xfff85da1dffff920,2290,4095,globl,hidden +.scall __sys_accept4,0xfff85da1dffff920,2290,4095,2589,globl,hidden diff --git a/libc/sysv/calls/__sys_bind.S b/libc/sysv/calls/__sys_bind.S index 610c6010faf..4cc8c104325 100644 --- a/libc/sysv/calls/__sys_bind.S +++ b/libc/sysv/calls/__sys_bind.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall __sys_bind,0x0680680682068031,200,104,globl,hidden +.scall __sys_bind,0x0680680682068031,200,104,104,globl,hidden diff --git a/libc/sysv/calls/__sys_clock_nanosleep.S b/libc/sysv/calls/__sys_clock_nanosleep.S index afd1b3a9fce..fdc3e4c035b 100644 --- a/libc/sysv/calls/__sys_clock_nanosleep.S +++ b/libc/sysv/calls/__sys_clock_nanosleep.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall __sys_clock_nanosleep,0x9ddfff8f4ffff8e6,2163,4095,globl,hidden +.scall __sys_clock_nanosleep,0x9ddfff8f4ffff8e6,2163,4095,2292,globl,hidden diff --git a/libc/sysv/calls/__sys_connect.S b/libc/sysv/calls/__sys_connect.S index dad48c2e209..d02074cea91 100644 --- a/libc/sysv/calls/__sys_connect.S +++ b/libc/sysv/calls/__sys_connect.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall __sys_connect,0x862862862286282a,2251,2146,globl,hidden +.scall __sys_connect,0x862862862286282a,2251,2146,2146,globl,hidden diff --git a/libc/sysv/calls/__sys_dup3.S b/libc/sysv/calls/__sys_dup3.S index 2460f0f18ea..c3d4137e92f 100644 --- a/libc/sysv/calls/__sys_dup3.S +++ b/libc/sysv/calls/__sys_dup3.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall __sys_dup3,0x1c6066fffffff124,24,4095,globl,hidden +.scall __sys_dup3,0x1c6066fffffff124,24,4095,4095,globl,hidden diff --git a/libc/sysv/calls/__sys_execve.S b/libc/sysv/calls/__sys_execve.S index f478c2ba652..b4533c7b7f9 100644 --- a/libc/sysv/calls/__sys_execve.S +++ b/libc/sysv/calls/__sys_execve.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall __sys_execve,0x03b03b03b203b03b,221,59,globl,hidden +.scall __sys_execve,0x03b03b03b203b03b,221,59,59,globl,hidden diff --git a/libc/sysv/calls/__sys_fcntl.S b/libc/sysv/calls/__sys_fcntl.S index beaeaf0ea5e..b8bc64e7af1 100644 --- a/libc/sysv/calls/__sys_fcntl.S +++ b/libc/sysv/calls/__sys_fcntl.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall __sys_fcntl,0x05c05c05c205c048,25,92,globl,hidden +.scall __sys_fcntl,0x05c05c05c205c048,25,92,92,globl,hidden diff --git a/libc/sysv/calls/__sys_fcntl_cp.S b/libc/sysv/calls/__sys_fcntl_cp.S index 9c87a8b27c5..150588adbba 100644 --- a/libc/sysv/calls/__sys_fcntl_cp.S +++ b/libc/sysv/calls/__sys_fcntl_cp.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall __sys_fcntl_cp,0x85c85c85c285c848,2073,2140,globl,hidden +.scall __sys_fcntl_cp,0x85c85c85c285c848,2073,2140,2140,globl,hidden diff --git a/libc/sysv/calls/__sys_fork.S b/libc/sysv/calls/__sys_fork.S index 90bb3c098e5..8ad3e172b3e 100644 --- a/libc/sysv/calls/__sys_fork.S +++ b/libc/sysv/calls/__sys_fork.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall __sys_fork,0x0020020022002039,4095,2,globl,hidden +.scall __sys_fork,0x0020020022002039,4095,2,2,globl,hidden diff --git a/libc/sysv/calls/__sys_fstat.S b/libc/sysv/calls/__sys_fstat.S index f36dfc3474f..2da67d1ebb6 100644 --- a/libc/sysv/calls/__sys_fstat.S +++ b/libc/sysv/calls/__sys_fstat.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall __sys_fstat,0x1b80352272153005,80,339,globl,hidden +.scall __sys_fstat,0x1b80352272153005,80,339,551,globl,hidden diff --git a/libc/sysv/calls/__sys_fstatat.S b/libc/sysv/calls/__sys_fstatat.S index 8aa20f12bc8..807c4f4932f 100644 --- a/libc/sysv/calls/__sys_fstatat.S +++ b/libc/sysv/calls/__sys_fstatat.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall __sys_fstatat,0x1d202a22821d6106,79,470,globl,hidden +.scall __sys_fstatat,0x1d202a22821d6106,79,470,552,globl,hidden diff --git a/libc/sysv/calls/__sys_getpeername.S b/libc/sysv/calls/__sys_getpeername.S index c3779badb4e..7cfb6e348f7 100644 --- a/libc/sysv/calls/__sys_getpeername.S +++ b/libc/sysv/calls/__sys_getpeername.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall __sys_getpeername,0x01f01f08d201f034,205,31,globl,hidden +.scall __sys_getpeername,0x01f01f08d201f034,205,31,141,globl,hidden diff --git a/libc/sysv/calls/__sys_getrusage.S b/libc/sysv/calls/__sys_getrusage.S index 1ad668b8b28..397dec11307 100644 --- a/libc/sysv/calls/__sys_getrusage.S +++ b/libc/sysv/calls/__sys_getrusage.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall __sys_getrusage,0x1bd0130752075062,165,117,globl,hidden +.scall __sys_getrusage,0x1bd0130752075062,165,117,117,globl,hidden diff --git a/libc/sysv/calls/__sys_getsockname.S b/libc/sysv/calls/__sys_getsockname.S index 00968f8539d..cfbc3220396 100644 --- a/libc/sysv/calls/__sys_getsockname.S +++ b/libc/sysv/calls/__sys_getsockname.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall __sys_getsockname,0x0200200202020033,204,32,globl,hidden +.scall __sys_getsockname,0x0200200202020033,204,32,32,globl,hidden diff --git a/libc/sysv/calls/__sys_gettid.S b/libc/sysv/calls/__sys_gettid.S index c37984e138a..40d3c8e0ec4 100644 --- a/libc/sysv/calls/__sys_gettid.S +++ b/libc/sysv/calls/__sys_gettid.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall __sys_gettid,0x13712b1b0101b0ba,178,27,globl,hidden +.scall __sys_gettid,0x13712b1b0101b0ba,178,27,432,globl,hidden diff --git a/libc/sysv/calls/__sys_lstat.S b/libc/sysv/calls/__sys_lstat.S index 9674166a8cd..b1315db3339 100644 --- a/libc/sysv/calls/__sys_lstat.S +++ b/libc/sysv/calls/__sys_lstat.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall __sys_lstat,0x1b90280282154006,4095,340,globl,hidden +.scall __sys_lstat,0x1b90280282154006,4095,340,40,globl,hidden diff --git a/libc/sysv/calls/__sys_mmap.S b/libc/sysv/calls/__sys_mmap.S index 13c9ea4cfa1..9b0ae623b75 100644 --- a/libc/sysv/calls/__sys_mmap.S +++ b/libc/sysv/calls/__sys_mmap.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall __sys_mmap,0x0c50311dd20c5009,222,197,globl,hidden +.scall __sys_mmap,0x0c50311dd20c5009,222,197,477,globl,hidden diff --git a/libc/sysv/calls/__sys_mprotect.S b/libc/sysv/calls/__sys_mprotect.S index e10bb7dbf5f..44a88c509fc 100644 --- a/libc/sysv/calls/__sys_mprotect.S +++ b/libc/sysv/calls/__sys_mprotect.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall __sys_mprotect,0x04a04a04a204a00a,226,74,globl,hidden +.scall __sys_mprotect,0x04a04a04a204a00a,226,74,74,globl,hidden diff --git a/libc/sysv/calls/__sys_mremap.S b/libc/sysv/calls/__sys_mremap.S index c6971f5d88f..97fc160d078 100644 --- a/libc/sysv/calls/__sys_mremap.S +++ b/libc/sysv/calls/__sys_mremap.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall __sys_mremap,0x19bffffffffff019,216,4095,globl,hidden +.scall __sys_mremap,0x19bffffffffff019,216,4095,4095,globl,hidden diff --git a/libc/sysv/calls/__sys_munmap.S b/libc/sysv/calls/__sys_munmap.S index 89b07e258fa..f3cfcde3bcd 100644 --- a/libc/sysv/calls/__sys_munmap.S +++ b/libc/sysv/calls/__sys_munmap.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall __sys_munmap,0x049049049204900b,215,73,globl,hidden +.scall __sys_munmap,0x049049049204900b,215,73,73,globl,hidden diff --git a/libc/sysv/calls/__sys_openat.S b/libc/sysv/calls/__sys_openat.S index d11acb115a0..9873e96836b 100644 --- a/libc/sysv/calls/__sys_openat.S +++ b/libc/sysv/calls/__sys_openat.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall __sys_openat,0x9d49419f329cf901,2104,2511,globl,hidden +.scall __sys_openat,0x9d49419f329cf901,2104,2511,2547,globl,hidden diff --git a/libc/sysv/calls/__sys_openat_nc.S b/libc/sysv/calls/__sys_openat_nc.S index db6d7c9f650..77d6bf7f3ce 100644 --- a/libc/sysv/calls/__sys_openat_nc.S +++ b/libc/sysv/calls/__sys_openat_nc.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall __sys_openat_nc,0x1d41411f321d0101,56,464,globl,hidden +.scall __sys_openat_nc,0x1d41411f321d0101,56,464,499,globl,hidden diff --git a/libc/sysv/calls/__sys_pipe.S b/libc/sysv/calls/__sys_pipe.S index 9dcaec55360..60f93586692 100644 --- a/libc/sysv/calls/__sys_pipe.S +++ b/libc/sysv/calls/__sys_pipe.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall __sys_pipe,0x02a10721e202a016,59,42,globl,hidden +.scall __sys_pipe,0x02a10721e202a016,59,42,542,globl,hidden diff --git a/libc/sysv/calls/__sys_pipe2.S b/libc/sysv/calls/__sys_pipe2.S index 5029c3914d7..cb68a353985 100644 --- a/libc/sysv/calls/__sys_pipe2.S +++ b/libc/sysv/calls/__sys_pipe2.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall __sys_pipe2,0x1c506521effff125,59,4095,globl,hidden +.scall __sys_pipe2,0x1c506521effff125,59,4095,542,globl,hidden diff --git a/libc/sysv/calls/__sys_poll.S b/libc/sysv/calls/__sys_poll.S index 017f7f86afa..8dae4b80a02 100644 --- a/libc/sysv/calls/__sys_poll.S +++ b/libc/sysv/calls/__sys_poll.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall __sys_poll,0x8d18fc8d128e6807,4095,2278,globl,hidden +.scall __sys_poll,0x8d18fc8d128e6807,4095,2278,2257,globl,hidden diff --git a/libc/sysv/calls/__sys_ptrace.S b/libc/sysv/calls/__sys_ptrace.S index 45adb74cdef..8a85e639924 100644 --- a/libc/sysv/calls/__sys_ptrace.S +++ b/libc/sysv/calls/__sys_ptrace.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall __sys_ptrace,0x01a01a01a201a065,117,26,globl,hidden +.scall __sys_ptrace,0x01a01a01a201a065,117,26,26,globl,hidden diff --git a/libc/sysv/calls/__sys_sigprocmask.S b/libc/sysv/calls/__sys_sigprocmask.S index 2ea7869ace0..61b09378faf 100644 --- a/libc/sysv/calls/__sys_sigprocmask.S +++ b/libc/sysv/calls/__sys_sigprocmask.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall __sys_sigprocmask,0x125030154214900e,135,329,globl,hidden +.scall __sys_sigprocmask,0x125030154214900e,135,329,340,globl,hidden diff --git a/libc/sysv/calls/__sys_socket.S b/libc/sysv/calls/__sys_socket.S index bd1ed5eb751..fad4149177e 100644 --- a/libc/sysv/calls/__sys_socket.S +++ b/libc/sysv/calls/__sys_socket.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall __sys_socket,0x18a0610612061029,198,97,globl,hidden +.scall __sys_socket,0x18a0610612061029,198,97,97,globl,hidden diff --git a/libc/sysv/calls/__sys_socketpair.S b/libc/sysv/calls/__sys_socketpair.S index 44838134502..4779bcd417c 100644 --- a/libc/sysv/calls/__sys_socketpair.S +++ b/libc/sysv/calls/__sys_socketpair.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall __sys_socketpair,0x0870870872087035,199,135,globl,hidden +.scall __sys_socketpair,0x0870870872087035,199,135,135,globl,hidden diff --git a/libc/sysv/calls/__sys_stat.S b/libc/sysv/calls/__sys_stat.S index 05f089935dd..178e5be8779 100644 --- a/libc/sysv/calls/__sys_stat.S +++ b/libc/sysv/calls/__sys_stat.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall __sys_stat,0x1b7026fff2152004,79,338,globl,hidden +.scall __sys_stat,0x1b7026fff2152004,79,338,4095,globl,hidden diff --git a/libc/sysv/calls/__sys_utimensat.S b/libc/sysv/calls/__sys_utimensat.S index 78a084571e8..f25bda5fb47 100644 --- a/libc/sysv/calls/__sys_utimensat.S +++ b/libc/sysv/calls/__sys_utimensat.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall __sys_utimensat,0x1d3054223ffff118,88,4095,globl,hidden +.scall __sys_utimensat,0x1d3054223ffff118,88,4095,547,globl,hidden diff --git a/libc/sysv/calls/__sys_wait4.S b/libc/sysv/calls/__sys_wait4.S index 33cade9b337..dd7c163667e 100644 --- a/libc/sysv/calls/__sys_wait4.S +++ b/libc/sysv/calls/__sys_wait4.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall __sys_wait4,0x9c180b807280783d,2308,2055,globl,hidden +.scall __sys_wait4,0x9c180b807280783d,2308,2055,2055,globl,hidden diff --git a/libc/sysv/calls/get_mempolicy.S b/libc/sysv/calls/get_mempolicy.S index 829845fd96b..b220e4997ca 100644 --- a/libc/sysv/calls/get_mempolicy.S +++ b/libc/sysv/calls/get_mempolicy.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall get_mempolicy,0xfffffffffffff0ef,236,4095,globl +.scall get_mempolicy,0xfffffffffffff0ef,236,4095,4095,globl diff --git a/libc/sysv/calls/getpagesize_freebsd.S b/libc/sysv/calls/getpagesize_freebsd.S index cdb1b78f796..23eb9eae1f8 100644 --- a/libc/sysv/calls/getpagesize_freebsd.S +++ b/libc/sysv/calls/getpagesize_freebsd.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall getpagesize_freebsd,0xffffff040fffffff,4095,4095,globl,hidden +.scall getpagesize_freebsd,0xffffff040fffffff,4095,4095,64,globl,hidden diff --git a/libc/sysv/calls/set_mempolicy.S b/libc/sysv/calls/set_mempolicy.S index dfa6970eadb..3a83ca58e39 100644 --- a/libc/sysv/calls/set_mempolicy.S +++ b/libc/sysv/calls/set_mempolicy.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall set_mempolicy,0xfffffffffffff0ee,237,4095,globl +.scall set_mempolicy,0xfffffffffffff0ee,237,4095,4095,globl diff --git a/libc/sysv/calls/sys_acct.S b/libc/sysv/calls/sys_acct.S index 63346d014e1..92f5068290e 100644 --- a/libc/sysv/calls/sys_acct.S +++ b/libc/sysv/calls/sys_acct.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_acct,0x03303303320330a3,89,51,globl +.scall sys_acct,0x03303303320330a3,89,51,51,globl diff --git a/libc/sysv/calls/sys_add_key.S b/libc/sysv/calls/sys_add_key.S index f779b41bc99..3b9fecfadc8 100644 --- a/libc/sysv/calls/sys_add_key.S +++ b/libc/sysv/calls/sys_add_key.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_add_key,0xfffffffffffff0f8,217,4095,globl +.scall sys_add_key,0xfffffffffffff0f8,217,4095,4095,globl diff --git a/libc/sysv/calls/sys_adjtime.S b/libc/sysv/calls/sys_adjtime.S index ceef1298ed3..15eb9712214 100644 --- a/libc/sysv/calls/sys_adjtime.S +++ b/libc/sysv/calls/sys_adjtime.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_adjtime,0x1a508c08c208cfff,4095,140,globl +.scall sys_adjtime,0x1a508c08c208cfff,4095,140,140,globl diff --git a/libc/sysv/calls/sys_adjtimex.S b/libc/sysv/calls/sys_adjtimex.S index 220ad854583..32413bae9b2 100644 --- a/libc/sysv/calls/sys_adjtimex.S +++ b/libc/sysv/calls/sys_adjtimex.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_adjtimex,0xfffffffffffff09f,171,4095,globl +.scall sys_adjtimex,0xfffffffffffff09f,171,4095,4095,globl diff --git a/libc/sysv/calls/sys_aio_cancel.S b/libc/sysv/calls/sys_aio_cancel.S index 4774b2fb0cd..0e837f24e5c 100644 --- a/libc/sysv/calls/sys_aio_cancel.S +++ b/libc/sysv/calls/sys_aio_cancel.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_aio_cancel,0x18ffff13c213cfff,4095,316,globl +.scall sys_aio_cancel,0x18ffff13c213cfff,4095,316,316,globl diff --git a/libc/sysv/calls/sys_aio_error.S b/libc/sysv/calls/sys_aio_error.S index b58e5e21334..d64e1636a03 100644 --- a/libc/sysv/calls/sys_aio_error.S +++ b/libc/sysv/calls/sys_aio_error.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_aio_error,0x190fff13d213dfff,4095,317,globl +.scall sys_aio_error,0x190fff13d213dfff,4095,317,317,globl diff --git a/libc/sysv/calls/sys_aio_fsync.S b/libc/sysv/calls/sys_aio_fsync.S index 6556d7162db..e6436910327 100644 --- a/libc/sysv/calls/sys_aio_fsync.S +++ b/libc/sysv/calls/sys_aio_fsync.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_aio_fsync,0x191fff1d12139fff,4095,313,globl +.scall sys_aio_fsync,0x191fff1d12139fff,4095,313,465,globl diff --git a/libc/sysv/calls/sys_aio_mlock.S b/libc/sysv/calls/sys_aio_mlock.S index 2d5484246fb..339c58a2503 100644 --- a/libc/sysv/calls/sys_aio_mlock.S +++ b/libc/sysv/calls/sys_aio_mlock.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_aio_mlock,0xffffff21ffffffff,4095,4095,globl +.scall sys_aio_mlock,0xffffff21ffffffff,4095,4095,543,globl diff --git a/libc/sysv/calls/sys_aio_read.S b/libc/sysv/calls/sys_aio_read.S index ccfec9233c0..518391fcf25 100644 --- a/libc/sysv/calls/sys_aio_read.S +++ b/libc/sysv/calls/sys_aio_read.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_aio_read,0x192fff13e213efff,4095,318,globl +.scall sys_aio_read,0x192fff13e213efff,4095,318,318,globl diff --git a/libc/sysv/calls/sys_aio_return.S b/libc/sysv/calls/sys_aio_return.S index 9a31dd7c880..a1b7462d68a 100644 --- a/libc/sysv/calls/sys_aio_return.S +++ b/libc/sysv/calls/sys_aio_return.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_aio_return,0x193fff13a213afff,4095,314,globl +.scall sys_aio_return,0x193fff13a213afff,4095,314,314,globl diff --git a/libc/sysv/calls/sys_aio_suspend.S b/libc/sysv/calls/sys_aio_suspend.S index ae2141bf864..2daa44250d4 100644 --- a/libc/sysv/calls/sys_aio_suspend.S +++ b/libc/sysv/calls/sys_aio_suspend.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_aio_suspend,0x1b6fff13b213bfff,4095,315,globl +.scall sys_aio_suspend,0x1b6fff13b213bfff,4095,315,315,globl diff --git a/libc/sysv/calls/sys_aio_suspend_nocancel.S b/libc/sysv/calls/sys_aio_suspend_nocancel.S index 0808ba6dd73..69dbdbb0140 100644 --- a/libc/sysv/calls/sys_aio_suspend_nocancel.S +++ b/libc/sysv/calls/sys_aio_suspend_nocancel.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_aio_suspend_nocancel,0xfffffffff21a5fff,4095,421,globl +.scall sys_aio_suspend_nocancel,0xfffffffff21a5fff,4095,421,4095,globl diff --git a/libc/sysv/calls/sys_aio_waitcomplete.S b/libc/sysv/calls/sys_aio_waitcomplete.S index 1b17a748817..8372d4be947 100644 --- a/libc/sysv/calls/sys_aio_waitcomplete.S +++ b/libc/sysv/calls/sys_aio_waitcomplete.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_aio_waitcomplete,0xffffff167fffffff,4095,4095,globl +.scall sys_aio_waitcomplete,0xffffff167fffffff,4095,4095,359,globl diff --git a/libc/sysv/calls/sys_aio_write.S b/libc/sysv/calls/sys_aio_write.S index 97de8c11c72..5e102e4949d 100644 --- a/libc/sysv/calls/sys_aio_write.S +++ b/libc/sysv/calls/sys_aio_write.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_aio_write,0x195fff13f213ffff,4095,319,globl +.scall sys_aio_write,0x195fff13f213ffff,4095,319,319,globl diff --git a/libc/sysv/calls/sys_alarm.S b/libc/sysv/calls/sys_alarm.S index 13a5f257475..4cd0b991ec7 100644 --- a/libc/sysv/calls/sys_alarm.S +++ b/libc/sysv/calls/sys_alarm.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_alarm,0xfffffffffffff025,4095,4095,globl,hidden +.scall sys_alarm,0xfffffffffffff025,4095,4095,4095,globl,hidden diff --git a/libc/sysv/calls/sys_arch_prctl.S b/libc/sysv/calls/sys_arch_prctl.S index 891f1ca7aa7..463660f6503 100644 --- a/libc/sysv/calls/sys_arch_prctl.S +++ b/libc/sysv/calls/sys_arch_prctl.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_arch_prctl,0x0a50a50a5ffff09e,4095,4095,globl,hidden +.scall sys_arch_prctl,0x0a50a50a5ffff09e,4095,4095,165,globl,hidden diff --git a/libc/sysv/calls/sys_audit.S b/libc/sysv/calls/sys_audit.S index 6be039bbb22..a4c1fe97565 100644 --- a/libc/sysv/calls/sys_audit.S +++ b/libc/sysv/calls/sys_audit.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_audit,0xffffff1bd215efff,4095,350,globl +.scall sys_audit,0xffffff1bd215efff,4095,350,445,globl diff --git a/libc/sysv/calls/sys_auditctl.S b/libc/sysv/calls/sys_auditctl.S index 6a851fc9e5e..0eedb28db13 100644 --- a/libc/sysv/calls/sys_auditctl.S +++ b/libc/sysv/calls/sys_auditctl.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_auditctl,0xffffff1c52167fff,4095,359,globl +.scall sys_auditctl,0xffffff1c52167fff,4095,359,453,globl diff --git a/libc/sysv/calls/sys_auditon.S b/libc/sysv/calls/sys_auditon.S index bd6477d56e9..e59c7c9a8dd 100644 --- a/libc/sysv/calls/sys_auditon.S +++ b/libc/sysv/calls/sys_auditon.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_auditon,0xffffff1be215ffff,4095,351,globl +.scall sys_auditon,0xffffff1be215ffff,4095,351,446,globl diff --git a/libc/sysv/calls/sys_bogus.S b/libc/sysv/calls/sys_bogus.S index 2dcb451a9e5..06f003dfaa1 100644 --- a/libc/sysv/calls/sys_bogus.S +++ b/libc/sysv/calls/sys_bogus.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_bogus,0x00b5005002500500,1280,1280,globl +.scall sys_bogus,0x00b5005002500500,1280,1280,1280,globl diff --git a/libc/sysv/calls/sys_bpf.S b/libc/sysv/calls/sys_bpf.S index ffe55f0c605..94a685f0539 100644 --- a/libc/sysv/calls/sys_bpf.S +++ b/libc/sysv/calls/sys_bpf.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_bpf,0xfffffffffffff141,280,4095,globl +.scall sys_bpf,0xfffffffffffff141,280,4095,4095,globl diff --git a/libc/sysv/calls/sys_bsdthread_register.S b/libc/sysv/calls/sys_bsdthread_register.S index addbd15b78c..336b6582d27 100644 --- a/libc/sysv/calls/sys_bsdthread_register.S +++ b/libc/sysv/calls/sys_bsdthread_register.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_bsdthread_register,0xfffffffff216efff,4095,366,globl,hidden +.scall sys_bsdthread_register,0xfffffffff216efff,4095,366,4095,globl,hidden diff --git a/libc/sysv/calls/sys_cachestat.S b/libc/sysv/calls/sys_cachestat.S index 44475df40d7..c686a5657e0 100644 --- a/libc/sysv/calls/sys_cachestat.S +++ b/libc/sysv/calls/sys_cachestat.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_cachestat,0xfffffffffffff1c3,451,4095,globl +.scall sys_cachestat,0xfffffffffffff1c3,451,4095,4095,globl diff --git a/libc/sysv/calls/sys_capget.S b/libc/sysv/calls/sys_capget.S index 170520e9ff4..1d943aba77c 100644 --- a/libc/sysv/calls/sys_capget.S +++ b/libc/sysv/calls/sys_capget.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_capget,0xfffffffffffff07d,90,4095,globl +.scall sys_capget,0xfffffffffffff07d,90,4095,4095,globl diff --git a/libc/sysv/calls/sys_capset.S b/libc/sysv/calls/sys_capset.S index c93912ad302..837ac69b370 100644 --- a/libc/sysv/calls/sys_capset.S +++ b/libc/sysv/calls/sys_capset.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_capset,0xfffffffffffff07e,91,4095,globl +.scall sys_capset,0xfffffffffffff07e,91,4095,4095,globl diff --git a/libc/sysv/calls/sys_chdir.S b/libc/sysv/calls/sys_chdir.S index e21921b9b89..c47f90715bc 100644 --- a/libc/sysv/calls/sys_chdir.S +++ b/libc/sysv/calls/sys_chdir.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_chdir,0x00c00c00c200c050,49,12,globl,hidden +.scall sys_chdir,0x00c00c00c200c050,49,12,12,globl,hidden diff --git a/libc/sysv/calls/sys_chflags.S b/libc/sysv/calls/sys_chflags.S index a51e7fce92a..22945fde6f3 100644 --- a/libc/sysv/calls/sys_chflags.S +++ b/libc/sysv/calls/sys_chflags.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_chflags,0x0220220222022fff,4095,34,globl +.scall sys_chflags,0x0220220222022fff,4095,34,34,globl diff --git a/libc/sysv/calls/sys_chflagsat.S b/libc/sysv/calls/sys_chflagsat.S index 5aba8d6d0d5..d87b4559c2f 100644 --- a/libc/sysv/calls/sys_chflagsat.S +++ b/libc/sysv/calls/sys_chflagsat.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_chflagsat,0xfff06b21cfffffff,4095,4095,globl +.scall sys_chflagsat,0xfff06b21cfffffff,4095,4095,540,globl diff --git a/libc/sysv/calls/sys_chroot.S b/libc/sysv/calls/sys_chroot.S index 8b492751f6f..7faf948083c 100644 --- a/libc/sysv/calls/sys_chroot.S +++ b/libc/sysv/calls/sys_chroot.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_chroot,0x03d03d03d203d0a1,51,61,globl,hidden +.scall sys_chroot,0x03d03d03d203d0a1,51,61,61,globl,hidden diff --git a/libc/sysv/calls/sys_clock_adjtime.S b/libc/sysv/calls/sys_clock_adjtime.S index 337d0a6e8b4..80b0d6a147a 100644 --- a/libc/sysv/calls/sys_clock_adjtime.S +++ b/libc/sysv/calls/sys_clock_adjtime.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_clock_adjtime,0xfffffffffffff131,266,4095,globl +.scall sys_clock_adjtime,0xfffffffffffff131,266,4095,4095,globl diff --git a/libc/sysv/calls/sys_clock_getres.S b/libc/sysv/calls/sys_clock_getres.S index 7a35495179b..6ba60056d90 100644 --- a/libc/sysv/calls/sys_clock_getres.S +++ b/libc/sysv/calls/sys_clock_getres.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_clock_getres,0x1ad0590eaffff0e5,114,4095,globl,hidden +.scall sys_clock_getres,0x1ad0590eaffff0e5,114,4095,234,globl,hidden diff --git a/libc/sysv/calls/sys_clock_settime.S b/libc/sysv/calls/sys_clock_settime.S index 3c16f69d9f1..ad7b2f00baa 100644 --- a/libc/sysv/calls/sys_clock_settime.S +++ b/libc/sysv/calls/sys_clock_settime.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_clock_settime,0x1ac0580e9ffff0e3,112,4095,globl,hidden +.scall sys_clock_settime,0x1ac0580e9ffff0e3,112,4095,233,globl,hidden diff --git a/libc/sysv/calls/sys_clone.S b/libc/sysv/calls/sys_clone.S index cebf14a03bc..f104cd4e168 100644 --- a/libc/sysv/calls/sys_clone.S +++ b/libc/sysv/calls/sys_clone.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_clone,0x11fffffffffff038,220,4095,globl,hidden +.scall sys_clone,0x11fffffffffff038,220,4095,4095,globl,hidden diff --git a/libc/sysv/calls/sys_clone3.S b/libc/sysv/calls/sys_clone3.S index 11b6f43e228..d23125af4ba 100644 --- a/libc/sysv/calls/sys_clone3.S +++ b/libc/sysv/calls/sys_clone3.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_clone3,0xfffffffffffff1b3,435,4095,globl +.scall sys_clone3,0xfffffffffffff1b3,435,4095,4095,globl diff --git a/libc/sysv/calls/sys_close.S b/libc/sysv/calls/sys_close.S index fffe183493a..da5700b1a96 100644 --- a/libc/sysv/calls/sys_close.S +++ b/libc/sysv/calls/sys_close.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_close,0x0060060062006003,57,6,globl,hidden +.scall sys_close,0x0060060062006003,57,6,6,globl,hidden diff --git a/libc/sysv/calls/sys_close_range.S b/libc/sysv/calls/sys_close_range.S index 4c941e6a753..6793dfb20c8 100644 --- a/libc/sysv/calls/sys_close_range.S +++ b/libc/sysv/calls/sys_close_range.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_close_range,0xffffff23fffff1b4,436,4095,globl,hidden +.scall sys_close_range,0xffffff23fffff1b4,436,4095,575,globl,hidden diff --git a/libc/sysv/calls/sys_closefrom.S b/libc/sysv/calls/sys_closefrom.S index 451000e5465..c8f95f8fbc4 100644 --- a/libc/sysv/calls/sys_closefrom.S +++ b/libc/sysv/calls/sys_closefrom.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_closefrom,0xfff11f1fdfffffff,4095,4095,globl,hidden +.scall sys_closefrom,0xfff11f1fdfffffff,4095,4095,509,globl,hidden diff --git a/libc/sysv/calls/sys_copy_file_range.S b/libc/sysv/calls/sys_copy_file_range.S index 3e9e27103f1..be681bc505f 100644 --- a/libc/sysv/calls/sys_copy_file_range.S +++ b/libc/sysv/calls/sys_copy_file_range.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_copy_file_range,0xffffffa39ffff946,2333,4095,globl,hidden +.scall sys_copy_file_range,0xffffffa39ffff946,2333,4095,2617,globl,hidden diff --git a/libc/sysv/calls/sys_delete_module.S b/libc/sysv/calls/sys_delete_module.S index 00d0d1fa1a2..3747049dfe0 100644 --- a/libc/sysv/calls/sys_delete_module.S +++ b/libc/sysv/calls/sys_delete_module.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_delete_module,0xfffffffffffff0b0,106,4095,globl +.scall sys_delete_module,0xfffffffffffff0b0,106,4095,4095,globl diff --git a/libc/sysv/calls/sys_dup.S b/libc/sysv/calls/sys_dup.S index 1f0150523de..56b4161404e 100644 --- a/libc/sysv/calls/sys_dup.S +++ b/libc/sysv/calls/sys_dup.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_dup,0x0290290292029020,23,41,globl,hidden +.scall sys_dup,0x0290290292029020,23,41,41,globl,hidden diff --git a/libc/sysv/calls/sys_dup2.S b/libc/sysv/calls/sys_dup2.S index f1c23f8c90a..d23225e0d4a 100644 --- a/libc/sysv/calls/sys_dup2.S +++ b/libc/sysv/calls/sys_dup2.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_dup2,0x05a05a05a205a021,24,90,globl,hidden +.scall sys_dup2,0x05a05a05a205a021,24,90,90,globl,hidden diff --git a/libc/sysv/calls/sys_epoll_create.S b/libc/sysv/calls/sys_epoll_create.S index 933be8b1f88..710cd23843b 100644 --- a/libc/sysv/calls/sys_epoll_create.S +++ b/libc/sysv/calls/sys_epoll_create.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_epoll_create,0xfffffffffffff0d5,4095,4095,globl,hidden +.scall sys_epoll_create,0xfffffffffffff0d5,4095,4095,4095,globl,hidden diff --git a/libc/sysv/calls/sys_epoll_create1.S b/libc/sysv/calls/sys_epoll_create1.S index 3eac66c30e8..fe51fc1b97f 100644 --- a/libc/sysv/calls/sys_epoll_create1.S +++ b/libc/sysv/calls/sys_epoll_create1.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_epoll_create1,0xfffffffffffff123,20,4095,globl,hidden +.scall sys_epoll_create1,0xfffffffffffff123,20,4095,4095,globl,hidden diff --git a/libc/sysv/calls/sys_epoll_ctl.S b/libc/sysv/calls/sys_epoll_ctl.S index 7e32808a513..14c2c82bc08 100644 --- a/libc/sysv/calls/sys_epoll_ctl.S +++ b/libc/sysv/calls/sys_epoll_ctl.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_epoll_ctl,0xfffffffffffff0e9,21,4095,globl,hidden +.scall sys_epoll_ctl,0xfffffffffffff0e9,21,4095,4095,globl,hidden diff --git a/libc/sysv/calls/sys_epoll_pwait.S b/libc/sysv/calls/sys_epoll_pwait.S index 9dae95e60b2..4ccaa3e3e31 100644 --- a/libc/sysv/calls/sys_epoll_pwait.S +++ b/libc/sysv/calls/sys_epoll_pwait.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_epoll_pwait,0xfffffffffffff919,2070,4095,globl,hidden +.scall sys_epoll_pwait,0xfffffffffffff919,2070,4095,4095,globl,hidden diff --git a/libc/sysv/calls/sys_epoll_pwait2.S b/libc/sysv/calls/sys_epoll_pwait2.S index a753382704e..25fde7b7a98 100644 --- a/libc/sysv/calls/sys_epoll_pwait2.S +++ b/libc/sysv/calls/sys_epoll_pwait2.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_epoll_pwait2,0xfffffffffffff1b9,441,4095,globl +.scall sys_epoll_pwait2,0xfffffffffffff1b9,441,4095,4095,globl diff --git a/libc/sysv/calls/sys_epoll_wait.S b/libc/sysv/calls/sys_epoll_wait.S index 42d5eedc73e..5a962986e08 100644 --- a/libc/sysv/calls/sys_epoll_wait.S +++ b/libc/sysv/calls/sys_epoll_wait.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_epoll_wait,0xfffffffffffff8e8,4095,4095,globl,hidden +.scall sys_epoll_wait,0xfffffffffffff8e8,4095,4095,4095,globl,hidden diff --git a/libc/sysv/calls/sys_eventfd.S b/libc/sysv/calls/sys_eventfd.S index e81a5298df7..31b1e64bd9b 100644 --- a/libc/sysv/calls/sys_eventfd.S +++ b/libc/sysv/calls/sys_eventfd.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_eventfd,0xfffffffffffff11c,4095,4095,globl +.scall sys_eventfd,0xfffffffffffff11c,4095,4095,4095,globl diff --git a/libc/sysv/calls/sys_eventfd2.S b/libc/sysv/calls/sys_eventfd2.S index 2e0ddb47d6a..977249d9ce9 100644 --- a/libc/sysv/calls/sys_eventfd2.S +++ b/libc/sysv/calls/sys_eventfd2.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_eventfd2,0xfffffffffffff122,19,4095,globl +.scall sys_eventfd2,0xfffffffffffff122,19,4095,4095,globl diff --git a/libc/sysv/calls/sys_execveat.S b/libc/sysv/calls/sys_execveat.S index 2ccf5f2e966..502e0ece8a1 100644 --- a/libc/sysv/calls/sys_execveat.S +++ b/libc/sysv/calls/sys_execveat.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_execveat,0xfffffffffffff142,281,4095,globl +.scall sys_execveat,0xfffffffffffff142,281,4095,4095,globl diff --git a/libc/sysv/calls/sys_exit.S b/libc/sysv/calls/sys_exit.S index a625f0cc198..681fee84510 100644 --- a/libc/sysv/calls/sys_exit.S +++ b/libc/sysv/calls/sys_exit.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_exit,0x00100100120010e7,94,1,globl,hidden +.scall sys_exit,0x00100100120010e7,94,1,1,globl,hidden diff --git a/libc/sysv/calls/sys_faccessat.S b/libc/sysv/calls/sys_faccessat.S index d30e3fff40f..5ef73031a9f 100644 --- a/libc/sysv/calls/sys_faccessat.S +++ b/libc/sysv/calls/sys_faccessat.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_faccessat,0x1ce1391e921d210d,48,466,globl,hidden +.scall sys_faccessat,0x1ce1391e921d210d,48,466,489,globl,hidden diff --git a/libc/sysv/calls/sys_faccessat2.S b/libc/sysv/calls/sys_faccessat2.S index 7c85a54915b..9f25232cbc9 100644 --- a/libc/sysv/calls/sys_faccessat2.S +++ b/libc/sysv/calls/sys_faccessat2.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_faccessat2,0xfffffffffffff1b7,439,4095,globl,hidden +.scall sys_faccessat2,0xfffffffffffff1b7,439,4095,4095,globl,hidden diff --git a/libc/sysv/calls/sys_fadvise.S b/libc/sysv/calls/sys_fadvise.S index 838227f2fa8..e26e4a772cd 100644 --- a/libc/sysv/calls/sys_fadvise.S +++ b/libc/sysv/calls/sys_fadvise.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_fadvise,0x1a0fff213ffff0dd,223,4095,globl,hidden +.scall sys_fadvise,0x1a0fff213ffff0dd,223,4095,531,globl,hidden diff --git a/libc/sysv/calls/sys_fallocate.S b/libc/sysv/calls/sys_fallocate.S index d6f8bcb38f8..fbf69b8a5f3 100644 --- a/libc/sysv/calls/sys_fallocate.S +++ b/libc/sysv/calls/sys_fallocate.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_fallocate,0xfffffffffffff91d,47,4095,globl +.scall sys_fallocate,0xfffffffffffff91d,47,4095,4095,globl diff --git a/libc/sysv/calls/sys_fanotify_init.S b/libc/sysv/calls/sys_fanotify_init.S index 2feea1ca7e6..ffba1c1bd45 100644 --- a/libc/sysv/calls/sys_fanotify_init.S +++ b/libc/sysv/calls/sys_fanotify_init.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_fanotify_init,0xfffffffffffff12c,262,4095,globl +.scall sys_fanotify_init,0xfffffffffffff12c,262,4095,4095,globl diff --git a/libc/sysv/calls/sys_fanotify_mark.S b/libc/sysv/calls/sys_fanotify_mark.S index ff229ea7675..5826f7e1f1e 100644 --- a/libc/sysv/calls/sys_fanotify_mark.S +++ b/libc/sysv/calls/sys_fanotify_mark.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_fanotify_mark,0xfffffffffffff12d,263,4095,globl +.scall sys_fanotify_mark,0xfffffffffffff12d,263,4095,4095,globl diff --git a/libc/sysv/calls/sys_fchdir.S b/libc/sysv/calls/sys_fchdir.S index 3bc247944d6..82420ed9816 100644 --- a/libc/sysv/calls/sys_fchdir.S +++ b/libc/sysv/calls/sys_fchdir.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_fchdir,0x00d00d00d200d051,50,13,globl,hidden +.scall sys_fchdir,0x00d00d00d200d051,50,13,13,globl,hidden diff --git a/libc/sysv/calls/sys_fchflags.S b/libc/sysv/calls/sys_fchflags.S index df030940589..07072a31510 100644 --- a/libc/sysv/calls/sys_fchflags.S +++ b/libc/sysv/calls/sys_fchflags.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_fchflags,0x0230230232023fff,4095,35,globl +.scall sys_fchflags,0x0230230232023fff,4095,35,35,globl diff --git a/libc/sysv/calls/sys_fchmod.S b/libc/sysv/calls/sys_fchmod.S index e26df0e5228..2f99b0888e1 100644 --- a/libc/sysv/calls/sys_fchmod.S +++ b/libc/sysv/calls/sys_fchmod.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_fchmod,0x07c07c07c207c05b,52,124,globl,hidden +.scall sys_fchmod,0x07c07c07c207c05b,52,124,124,globl,hidden diff --git a/libc/sysv/calls/sys_fchmodat.S b/libc/sysv/calls/sys_fchmodat.S index 34b5dfd5369..8d4a341f12f 100644 --- a/libc/sysv/calls/sys_fchmodat.S +++ b/libc/sysv/calls/sys_fchmodat.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_fchmodat,0x1cf13a1ea21d310c,53,467,globl,hidden +.scall sys_fchmodat,0x1cf13a1ea21d310c,53,467,490,globl,hidden diff --git a/libc/sysv/calls/sys_fchmodat2.S b/libc/sysv/calls/sys_fchmodat2.S index a45ef72d814..0fed3f97315 100644 --- a/libc/sysv/calls/sys_fchmodat2.S +++ b/libc/sysv/calls/sys_fchmodat2.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_fchmodat2,0xfffffffffffff1c4,452,4095,globl +.scall sys_fchmodat2,0xfffffffffffff1c4,452,4095,4095,globl diff --git a/libc/sysv/calls/sys_fchown.S b/libc/sysv/calls/sys_fchown.S index ea06837ac7f..5744c7b929a 100644 --- a/libc/sysv/calls/sys_fchown.S +++ b/libc/sysv/calls/sys_fchown.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_fchown,0x07b07b07b207b05d,55,123,globl,hidden +.scall sys_fchown,0x07b07b07b207b05d,55,123,123,globl,hidden diff --git a/libc/sysv/calls/sys_fchownat.S b/libc/sysv/calls/sys_fchownat.S index f66db12dc69..2d3d262ac89 100644 --- a/libc/sysv/calls/sys_fchownat.S +++ b/libc/sysv/calls/sys_fchownat.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_fchownat,0x1d013b1eb21d4104,54,468,globl,hidden +.scall sys_fchownat,0x1d013b1eb21d4104,54,468,491,globl,hidden diff --git a/libc/sysv/calls/sys_fdatasync.S b/libc/sysv/calls/sys_fdatasync.S index 3af75d7fd05..1d738e5cff2 100644 --- a/libc/sysv/calls/sys_fdatasync.S +++ b/libc/sysv/calls/sys_fdatasync.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_fdatasync,0x8f185fa2628bb84b,2131,2235,globl,hidden +.scall sys_fdatasync,0x8f185fa2628bb84b,2131,2235,2598,globl,hidden diff --git a/libc/sysv/calls/sys_fexecve.S b/libc/sysv/calls/sys_fexecve.S index fc65ea7fb94..2ae8c2da7ae 100644 --- a/libc/sysv/calls/sys_fexecve.S +++ b/libc/sysv/calls/sys_fexecve.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_fexecve,0xffffff1ecfffffff,4095,4095,globl,hidden +.scall sys_fexecve,0xffffff1ecfffffff,4095,4095,492,globl,hidden diff --git a/libc/sysv/calls/sys_fgetxattr.S b/libc/sysv/calls/sys_fgetxattr.S index daafcd08bbc..4c82e5fdd3f 100644 --- a/libc/sysv/calls/sys_fgetxattr.S +++ b/libc/sysv/calls/sys_fgetxattr.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_fgetxattr,0x17cffffff20eb0c1,10,235,globl +.scall sys_fgetxattr,0x17cffffff20eb0c1,10,235,4095,globl diff --git a/libc/sysv/calls/sys_fhopen.S b/libc/sysv/calls/sys_fhopen.S index 7d806311c5f..2c630febd04 100644 --- a/libc/sysv/calls/sys_fhopen.S +++ b/libc/sysv/calls/sys_fhopen.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_fhopen,0x18c10812a20f8fff,4095,248,globl +.scall sys_fhopen,0x18c10812a20f8fff,4095,248,298,globl diff --git a/libc/sysv/calls/sys_fhstat.S b/libc/sysv/calls/sys_fhstat.S index c2f8244feff..56c65b1b31b 100644 --- a/libc/sysv/calls/sys_fhstat.S +++ b/libc/sysv/calls/sys_fhstat.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_fhstat,0x1c3126229fffffff,4095,4095,globl +.scall sys_fhstat,0x1c3126229fffffff,4095,4095,553,globl diff --git a/libc/sysv/calls/sys_fhstatfs.S b/libc/sysv/calls/sys_fhstatfs.S index d54880b6406..509f2025eb1 100644 --- a/libc/sysv/calls/sys_fhstatfs.S +++ b/libc/sysv/calls/sys_fhstatfs.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_fhstatfs,0xfff04122efffffff,4095,4095,globl +.scall sys_fhstatfs,0xfff04122efffffff,4095,4095,558,globl diff --git a/libc/sysv/calls/sys_finit_module.S b/libc/sysv/calls/sys_finit_module.S index 8d87d716254..248ea29756b 100644 --- a/libc/sysv/calls/sys_finit_module.S +++ b/libc/sysv/calls/sys_finit_module.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_finit_module,0xfffffffffffff139,273,4095,globl +.scall sys_finit_module,0xfffffffffffff139,273,4095,4095,globl diff --git a/libc/sysv/calls/sys_flistxattr.S b/libc/sysv/calls/sys_flistxattr.S index 263398ea8e2..5ab5f9485dd 100644 --- a/libc/sysv/calls/sys_flistxattr.S +++ b/libc/sysv/calls/sys_flistxattr.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_flistxattr,0x17fffffff20f10c4,13,241,globl +.scall sys_flistxattr,0x17fffffff20f10c4,13,241,4095,globl diff --git a/libc/sysv/calls/sys_flock.S b/libc/sysv/calls/sys_flock.S index 759ce197376..064e498f160 100644 --- a/libc/sysv/calls/sys_flock.S +++ b/libc/sysv/calls/sys_flock.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_flock,0x8838838832883849,2080,2179,globl,hidden +.scall sys_flock,0x8838838832883849,2080,2179,2179,globl,hidden diff --git a/libc/sysv/calls/sys_fpathconf.S b/libc/sysv/calls/sys_fpathconf.S index ce0cabbbef5..003c7ffd0bd 100644 --- a/libc/sysv/calls/sys_fpathconf.S +++ b/libc/sysv/calls/sys_fpathconf.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_fpathconf,0x0c00c00c020c0fff,4095,192,globl +.scall sys_fpathconf,0x0c00c00c020c0fff,4095,192,192,globl diff --git a/libc/sysv/calls/sys_fremovexattr.S b/libc/sysv/calls/sys_fremovexattr.S index f717d423118..5211debbfc8 100644 --- a/libc/sysv/calls/sys_fremovexattr.S +++ b/libc/sysv/calls/sys_fremovexattr.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_fremovexattr,0x182ffffff20ef0c7,16,239,globl +.scall sys_fremovexattr,0x182ffffff20ef0c7,16,239,4095,globl diff --git a/libc/sysv/calls/sys_fsconfig.S b/libc/sysv/calls/sys_fsconfig.S index ddfdf7a20df..2c19e88b852 100644 --- a/libc/sysv/calls/sys_fsconfig.S +++ b/libc/sysv/calls/sys_fsconfig.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_fsconfig,0xfffffffffffff1af,431,4095,globl +.scall sys_fsconfig,0xfffffffffffff1af,431,4095,4095,globl diff --git a/libc/sysv/calls/sys_fsetxattr.S b/libc/sysv/calls/sys_fsetxattr.S index d399882f501..75491e89a0c 100644 --- a/libc/sysv/calls/sys_fsetxattr.S +++ b/libc/sysv/calls/sys_fsetxattr.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_fsetxattr,0x179ffffff20ed0be,7,237,globl +.scall sys_fsetxattr,0x179ffffff20ed0be,7,237,4095,globl diff --git a/libc/sysv/calls/sys_fsmount.S b/libc/sysv/calls/sys_fsmount.S index 43b58acb5aa..84c6d9509f6 100644 --- a/libc/sysv/calls/sys_fsmount.S +++ b/libc/sysv/calls/sys_fsmount.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_fsmount,0xfffffffffffff1b0,432,4095,globl +.scall sys_fsmount,0xfffffffffffff1b0,432,4095,4095,globl diff --git a/libc/sysv/calls/sys_fsopen.S b/libc/sysv/calls/sys_fsopen.S index cf36943ab3a..a4d7e158e5c 100644 --- a/libc/sysv/calls/sys_fsopen.S +++ b/libc/sysv/calls/sys_fsopen.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_fsopen,0xfffffffffffff1ae,430,4095,globl +.scall sys_fsopen,0xfffffffffffff1ae,430,4095,4095,globl diff --git a/libc/sysv/calls/sys_fspick.S b/libc/sysv/calls/sys_fspick.S index 5094512cae0..b64b6642376 100644 --- a/libc/sysv/calls/sys_fspick.S +++ b/libc/sysv/calls/sys_fspick.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_fspick,0xfffffffffffff1b1,433,4095,globl +.scall sys_fspick,0xfffffffffffff1b1,433,4095,4095,globl diff --git a/libc/sysv/calls/sys_fstatfs.S b/libc/sysv/calls/sys_fstatfs.S index d009b257b8d..f83ac75eefd 100644 --- a/libc/sysv/calls/sys_fstatfs.S +++ b/libc/sysv/calls/sys_fstatfs.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_fstatfs,0x89e840a2c295a88a,2092,2394,globl,hidden +.scall sys_fstatfs,0x89e840a2c295a88a,2092,2394,2604,globl,hidden diff --git a/libc/sysv/calls/sys_fsync.S b/libc/sysv/calls/sys_fsync.S index c12685e5718..fe325ac7b2c 100644 --- a/libc/sysv/calls/sys_fsync.S +++ b/libc/sysv/calls/sys_fsync.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_fsync,0x85f85f85f285f84a,2130,2143,globl,hidden +.scall sys_fsync,0x85f85f85f285f84a,2130,2143,2143,globl,hidden diff --git a/libc/sysv/calls/sys_ftruncate.S b/libc/sysv/calls/sys_ftruncate.S index 18d74d3e45b..14654205c12 100644 --- a/libc/sysv/calls/sys_ftruncate.S +++ b/libc/sysv/calls/sys_ftruncate.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_ftruncate,0x8c98a89e028c984d,2094,2249,globl,hidden +.scall sys_ftruncate,0x8c98a89e028c984d,2094,2249,2528,globl,hidden diff --git a/libc/sysv/calls/sys_futex.S b/libc/sysv/calls/sys_futex.S index 98b3d2eef1f..d42280770e2 100644 --- a/libc/sysv/calls/sys_futex.S +++ b/libc/sysv/calls/sys_futex.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_futex,0x0a60531c622030ca,98,515,globl,hidden +.scall sys_futex,0x0a60531c622030ca,98,515,454,globl,hidden diff --git a/libc/sysv/calls/sys_futex_cp.S b/libc/sysv/calls/sys_futex_cp.S index 8915061af2e..b2f6d9ddac9 100644 --- a/libc/sysv/calls/sys_futex_cp.S +++ b/libc/sysv/calls/sys_futex_cp.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_futex_cp,0x8a68539c62a038ca,2146,2563,globl,hidden +.scall sys_futex_cp,0x8a68539c62a038ca,2146,2563,2502,globl,hidden diff --git a/libc/sysv/calls/sys_futex_waitv.S b/libc/sysv/calls/sys_futex_waitv.S index 984dfba9491..3e904d6a9c0 100644 --- a/libc/sysv/calls/sys_futex_waitv.S +++ b/libc/sysv/calls/sys_futex_waitv.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_futex_waitv,0xfffffffffffff1c1,4095,4095,globl +.scall sys_futex_waitv,0xfffffffffffff1c1,4095,4095,4095,globl diff --git a/libc/sysv/calls/sys_futimens.S b/libc/sysv/calls/sys_futimens.S index cc90d8dbbf1..32200080044 100644 --- a/libc/sysv/calls/sys_futimens.S +++ b/libc/sysv/calls/sys_futimens.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_futimens,0x1d8055222fffffff,4095,4095,globl,hidden +.scall sys_futimens,0x1d8055222fffffff,4095,4095,546,globl,hidden diff --git a/libc/sysv/calls/sys_futimes.S b/libc/sysv/calls/sys_futimes.S index 68677783d0b..3cfa134ac55 100644 --- a/libc/sysv/calls/sys_futimes.S +++ b/libc/sysv/calls/sys_futimes.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_futimes,0x1a704d0ce208bfff,4095,139,globl,hidden +.scall sys_futimes,0x1a704d0ce208bfff,4095,139,206,globl,hidden diff --git a/libc/sysv/calls/sys_get_robust_list.S b/libc/sysv/calls/sys_get_robust_list.S index efae7964dcf..2692c3eeb1f 100644 --- a/libc/sysv/calls/sys_get_robust_list.S +++ b/libc/sysv/calls/sys_get_robust_list.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_get_robust_list,0x0a8ffffffffff112,100,4095,globl +.scall sys_get_robust_list,0x0a8ffffffffff112,100,4095,4095,globl diff --git a/libc/sysv/calls/sys_getaudit_addr.S b/libc/sysv/calls/sys_getaudit_addr.S index 27a4658da20..02d2f9de0fa 100644 --- a/libc/sysv/calls/sys_getaudit_addr.S +++ b/libc/sysv/calls/sys_getaudit_addr.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_getaudit_addr,0xffffff1c32165fff,4095,357,globl +.scall sys_getaudit_addr,0xffffff1c32165fff,4095,357,451,globl diff --git a/libc/sysv/calls/sys_getauid.S b/libc/sysv/calls/sys_getauid.S index 14d36244b4e..aa1b696687d 100644 --- a/libc/sysv/calls/sys_getauid.S +++ b/libc/sysv/calls/sys_getauid.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_getauid,0xffffff1bf2161fff,4095,353,globl +.scall sys_getauid,0xffffff1bf2161fff,4095,353,447,globl diff --git a/libc/sysv/calls/sys_getcontext.S b/libc/sysv/calls/sys_getcontext.S index eec84088422..ee7386e4245 100644 --- a/libc/sysv/calls/sys_getcontext.S +++ b/libc/sysv/calls/sys_getcontext.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_getcontext,0x133fff1a5fffffff,4095,4095,globl,hidden +.scall sys_getcontext,0x133fff1a5fffffff,4095,4095,421,globl,hidden diff --git a/libc/sysv/calls/sys_getcpu.S b/libc/sysv/calls/sys_getcpu.S index aaa8a4f6387..9bda392b592 100644 --- a/libc/sysv/calls/sys_getcpu.S +++ b/libc/sysv/calls/sys_getcpu.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_getcpu,0xfffffffffffff135,168,4095,globl +.scall sys_getcpu,0xfffffffffffff135,168,4095,4095,globl diff --git a/libc/sysv/calls/sys_getcwd.S b/libc/sysv/calls/sys_getcwd.S index 06f9cb37a32..80d1527258a 100644 --- a/libc/sysv/calls/sys_getcwd.S +++ b/libc/sysv/calls/sys_getcwd.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_getcwd,0x128130146ffff04f,17,4095,globl,hidden +.scall sys_getcwd,0x128130146ffff04f,17,4095,326,globl,hidden diff --git a/libc/sysv/calls/sys_getdents.S b/libc/sysv/calls/sys_getdents.S index 9c5192e2a1b..1f6bb0183bd 100644 --- a/libc/sysv/calls/sys_getdents.S +++ b/libc/sysv/calls/sys_getdents.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_getdents,0x18606311020c40d9,61,196,globl,hidden +.scall sys_getdents,0x18606311020c40d9,61,196,272,globl,hidden diff --git a/libc/sysv/calls/sys_getdirentries.S b/libc/sysv/calls/sys_getdirentries.S index c8f04411946..40cb8ca831c 100644 --- a/libc/sysv/calls/sys_getdirentries.S +++ b/libc/sysv/calls/sys_getdirentries.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_getdirentries,0xffffff22a20c4fff,4095,196,globl +.scall sys_getdirentries,0xffffff22a20c4fff,4095,196,554,globl diff --git a/libc/sysv/calls/sys_getdtablesize.S b/libc/sysv/calls/sys_getdtablesize.S index 4909a0d2ce4..b5a6268b459 100644 --- a/libc/sysv/calls/sys_getdtablesize.S +++ b/libc/sysv/calls/sys_getdtablesize.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_getdtablesize,0xffffff0592059fff,4095,89,globl +.scall sys_getdtablesize,0xffffff0592059fff,4095,89,89,globl diff --git a/libc/sysv/calls/sys_getegid.S b/libc/sysv/calls/sys_getegid.S index 1cf9a4ce172..699cee75003 100644 --- a/libc/sysv/calls/sys_getegid.S +++ b/libc/sysv/calls/sys_getegid.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_getegid,0x02b02b02b202b06c,177,43,globl,hidden +.scall sys_getegid,0x02b02b02b202b06c,177,43,43,globl,hidden diff --git a/libc/sysv/calls/sys_geteuid.S b/libc/sysv/calls/sys_geteuid.S index 49ed602fe0b..adfb8550aff 100644 --- a/libc/sysv/calls/sys_geteuid.S +++ b/libc/sysv/calls/sys_geteuid.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_geteuid,0x019019019201906b,175,25,globl,hidden +.scall sys_geteuid,0x019019019201906b,175,25,25,globl,hidden diff --git a/libc/sysv/calls/sys_getfh.S b/libc/sysv/calls/sys_getfh.S index 9dff35fb1f6..bd4489533dc 100644 --- a/libc/sysv/calls/sys_getfh.S +++ b/libc/sysv/calls/sys_getfh.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_getfh,0x18b0a10a120a1fff,4095,161,globl +.scall sys_getfh,0x18b0a10a120a1fff,4095,161,161,globl diff --git a/libc/sysv/calls/sys_getfsstat.S b/libc/sysv/calls/sys_getfsstat.S index 63004edf5f0..73df3f41f5f 100644 --- a/libc/sysv/calls/sys_getfsstat.S +++ b/libc/sysv/calls/sys_getfsstat.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_getfsstat,0xfff03e22d215bfff,4095,347,globl +.scall sys_getfsstat,0xfff03e22d215bfff,4095,347,557,globl diff --git a/libc/sysv/calls/sys_getgid.S b/libc/sysv/calls/sys_getgid.S index a4b5d6d236f..36b94a7db80 100644 --- a/libc/sysv/calls/sys_getgid.S +++ b/libc/sysv/calls/sys_getgid.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_getgid,0x02f02f02f202f068,176,47,globl,hidden +.scall sys_getgid,0x02f02f02f202f068,176,47,47,globl,hidden diff --git a/libc/sysv/calls/sys_getgroups.S b/libc/sysv/calls/sys_getgroups.S index 30213ac030e..c5df3b77f5e 100644 --- a/libc/sysv/calls/sys_getgroups.S +++ b/libc/sysv/calls/sys_getgroups.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_getgroups,0x04f04f04f204f073,158,79,globl,hidden +.scall sys_getgroups,0x04f04f04f204f073,158,79,79,globl,hidden diff --git a/libc/sysv/calls/sys_getitimer.S b/libc/sysv/calls/sys_getitimer.S index 37515d42aba..77693f917b2 100644 --- a/libc/sysv/calls/sys_getitimer.S +++ b/libc/sysv/calls/sys_getitimer.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_getitimer,0x1aa0460562056024,102,86,globl,hidden +.scall sys_getitimer,0x1aa0460562056024,102,86,86,globl,hidden diff --git a/libc/sysv/calls/sys_getlogin.S b/libc/sysv/calls/sys_getlogin.S index d1ad6d09770..38054b1bcb7 100644 --- a/libc/sysv/calls/sys_getlogin.S +++ b/libc/sysv/calls/sys_getlogin.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_getlogin,0x03108d0312031fff,4095,49,globl,hidden +.scall sys_getlogin,0x03108d0312031fff,4095,49,49,globl,hidden diff --git a/libc/sysv/calls/sys_getpgid.S b/libc/sysv/calls/sys_getpgid.S index d1faff9e43e..3449ecedcd0 100644 --- a/libc/sysv/calls/sys_getpgid.S +++ b/libc/sysv/calls/sys_getpgid.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_getpgid,0x0cf0cf0cf2097079,155,151,globl,hidden +.scall sys_getpgid,0x0cf0cf0cf2097079,155,151,207,globl,hidden diff --git a/libc/sysv/calls/sys_getpid.S b/libc/sysv/calls/sys_getpid.S index 9bc2b965792..afa100dd284 100644 --- a/libc/sysv/calls/sys_getpid.S +++ b/libc/sysv/calls/sys_getpid.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_getpid,0x0140140142014027,172,20,globl,hidden +.scall sys_getpid,0x0140140142014027,172,20,20,globl,hidden diff --git a/libc/sysv/calls/sys_getppid.S b/libc/sysv/calls/sys_getppid.S index f8e20b7d134..0e39ba498d6 100644 --- a/libc/sysv/calls/sys_getppid.S +++ b/libc/sysv/calls/sys_getppid.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_getppid,0xfff027027202706e,173,39,globl,hidden +.scall sys_getppid,0xfff027027202706e,173,39,39,globl,hidden diff --git a/libc/sysv/calls/sys_getpriority.S b/libc/sysv/calls/sys_getpriority.S index ac3bf1b3858..ea1f3535a32 100644 --- a/libc/sysv/calls/sys_getpriority.S +++ b/libc/sysv/calls/sys_getpriority.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_getpriority,0x064064064206408c,141,100,globl,hidden +.scall sys_getpriority,0x064064064206408c,141,100,100,globl,hidden diff --git a/libc/sysv/calls/sys_getrandom.S b/libc/sysv/calls/sys_getrandom.S index 5a2848bf0cb..16fd8313043 100644 --- a/libc/sysv/calls/sys_getrandom.S +++ b/libc/sysv/calls/sys_getrandom.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_getrandom,0xfff007a3321f493e,278,500,globl,hidden +.scall sys_getrandom,0xfff007a3321f493e,278,500,2611,globl,hidden diff --git a/libc/sysv/calls/sys_getresgid.S b/libc/sysv/calls/sys_getresgid.S index fda453a6802..8c1e87a5697 100644 --- a/libc/sysv/calls/sys_getresgid.S +++ b/libc/sysv/calls/sys_getresgid.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_getresgid,0xfff11b169ffff078,150,4095,globl,hidden +.scall sys_getresgid,0xfff11b169ffff078,150,4095,361,globl,hidden diff --git a/libc/sysv/calls/sys_getresuid.S b/libc/sysv/calls/sys_getresuid.S index 10ae1d8b629..959fe122bf5 100644 --- a/libc/sysv/calls/sys_getresuid.S +++ b/libc/sysv/calls/sys_getresuid.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_getresuid,0xfff119168ffff076,148,4095,globl,hidden +.scall sys_getresuid,0xfff119168ffff076,148,4095,360,globl,hidden diff --git a/libc/sysv/calls/sys_getrlimit.S b/libc/sysv/calls/sys_getrlimit.S index 9a03e8333ec..d3606d89ce0 100644 --- a/libc/sysv/calls/sys_getrlimit.S +++ b/libc/sysv/calls/sys_getrlimit.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_getrlimit,0x0c20c20c220c2061,163,194,globl,hidden +.scall sys_getrlimit,0x0c20c20c220c2061,163,194,194,globl,hidden diff --git a/libc/sysv/calls/sys_getsid.S b/libc/sysv/calls/sys_getsid.S index 7e61cb09044..d5bf435d145 100644 --- a/libc/sysv/calls/sys_getsid.S +++ b/libc/sysv/calls/sys_getsid.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_getsid,0x11e0ff136213607c,156,310,globl,hidden +.scall sys_getsid,0x11e0ff136213607c,156,310,310,globl,hidden diff --git a/libc/sysv/calls/sys_getsockopt.S b/libc/sysv/calls/sys_getsockopt.S index 8131745d818..0e9cc15f114 100644 --- a/libc/sysv/calls/sys_getsockopt.S +++ b/libc/sysv/calls/sys_getsockopt.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_getsockopt,0x0760760762076037,209,118,globl,hidden +.scall sys_getsockopt,0x0760760762076037,209,118,118,globl,hidden diff --git a/libc/sysv/calls/sys_getuid.S b/libc/sysv/calls/sys_getuid.S index 33a4873de2a..6d3c3605d13 100644 --- a/libc/sysv/calls/sys_getuid.S +++ b/libc/sysv/calls/sys_getuid.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_getuid,0x0180180182018066,174,24,globl,hidden +.scall sys_getuid,0x0180180182018066,174,24,24,globl,hidden diff --git a/libc/sysv/calls/sys_getxattr.S b/libc/sysv/calls/sys_getxattr.S index 85274a8e050..c226ae86269 100644 --- a/libc/sysv/calls/sys_getxattr.S +++ b/libc/sysv/calls/sys_getxattr.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_getxattr,0x17affffff20ea0bf,8,234,globl +.scall sys_getxattr,0x17affffff20ea0bf,8,234,4095,globl diff --git a/libc/sysv/calls/sys_init_module.S b/libc/sysv/calls/sys_init_module.S index efc786e0763..38e39ebbf5a 100644 --- a/libc/sysv/calls/sys_init_module.S +++ b/libc/sysv/calls/sys_init_module.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_init_module,0xfffffffffffff0af,105,4095,globl +.scall sys_init_module,0xfffffffffffff0af,105,4095,4095,globl diff --git a/libc/sysv/calls/sys_inotify_add_watch.S b/libc/sysv/calls/sys_inotify_add_watch.S index 1654f648df0..697b4ec17f3 100644 --- a/libc/sysv/calls/sys_inotify_add_watch.S +++ b/libc/sysv/calls/sys_inotify_add_watch.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_inotify_add_watch,0xfffffffffffff0fe,4095,4095,globl +.scall sys_inotify_add_watch,0xfffffffffffff0fe,4095,4095,4095,globl diff --git a/libc/sysv/calls/sys_inotify_init.S b/libc/sysv/calls/sys_inotify_init.S index 4ef54e0d5f8..f9176e802df 100644 --- a/libc/sysv/calls/sys_inotify_init.S +++ b/libc/sysv/calls/sys_inotify_init.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_inotify_init,0xfffffffffffff0fd,4095,4095,globl +.scall sys_inotify_init,0xfffffffffffff0fd,4095,4095,4095,globl diff --git a/libc/sysv/calls/sys_inotify_init1.S b/libc/sysv/calls/sys_inotify_init1.S index 42c229bf838..1ae3fc59d33 100644 --- a/libc/sysv/calls/sys_inotify_init1.S +++ b/libc/sysv/calls/sys_inotify_init1.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_inotify_init1,0xfffffffffffff126,26,4095,globl +.scall sys_inotify_init1,0xfffffffffffff126,26,4095,4095,globl diff --git a/libc/sysv/calls/sys_inotify_rm_watch.S b/libc/sysv/calls/sys_inotify_rm_watch.S index 885461b7650..5a7e4467717 100644 --- a/libc/sysv/calls/sys_inotify_rm_watch.S +++ b/libc/sysv/calls/sys_inotify_rm_watch.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_inotify_rm_watch,0xfffffffffffff0ff,4095,4095,globl +.scall sys_inotify_rm_watch,0xfffffffffffff0ff,4095,4095,4095,globl diff --git a/libc/sysv/calls/sys_io_cancel.S b/libc/sysv/calls/sys_io_cancel.S index b3cc628e12e..3f288475efb 100644 --- a/libc/sysv/calls/sys_io_cancel.S +++ b/libc/sysv/calls/sys_io_cancel.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_io_cancel,0xfffffffffffff0d2,3,4095,globl +.scall sys_io_cancel,0xfffffffffffff0d2,3,4095,4095,globl diff --git a/libc/sysv/calls/sys_io_destroy.S b/libc/sysv/calls/sys_io_destroy.S index fb11d3bd2a8..9e76e34d04d 100644 --- a/libc/sysv/calls/sys_io_destroy.S +++ b/libc/sysv/calls/sys_io_destroy.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_io_destroy,0xfffffffffffff0cf,1,4095,globl +.scall sys_io_destroy,0xfffffffffffff0cf,1,4095,4095,globl diff --git a/libc/sysv/calls/sys_io_getevents.S b/libc/sysv/calls/sys_io_getevents.S index 8c30155a0a8..5ea9407e832 100644 --- a/libc/sysv/calls/sys_io_getevents.S +++ b/libc/sysv/calls/sys_io_getevents.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_io_getevents,0xfffffffffffff0d0,4,4095,globl +.scall sys_io_getevents,0xfffffffffffff0d0,4,4095,4095,globl diff --git a/libc/sysv/calls/sys_io_pgetevents.S b/libc/sysv/calls/sys_io_pgetevents.S index 694ca3d8f7c..0ca319eb8aa 100644 --- a/libc/sysv/calls/sys_io_pgetevents.S +++ b/libc/sysv/calls/sys_io_pgetevents.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_io_pgetevents,0xfffffffffffff14d,292,4095,globl +.scall sys_io_pgetevents,0xfffffffffffff14d,292,4095,4095,globl diff --git a/libc/sysv/calls/sys_io_setup.S b/libc/sysv/calls/sys_io_setup.S index 4a7a27caf5e..f72662b0b31 100644 --- a/libc/sysv/calls/sys_io_setup.S +++ b/libc/sysv/calls/sys_io_setup.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_io_setup,0xfffffffffffff0ce,0,4095,globl +.scall sys_io_setup,0xfffffffffffff0ce,0,4095,4095,globl diff --git a/libc/sysv/calls/sys_io_submit.S b/libc/sysv/calls/sys_io_submit.S index 39b2aeaa158..86909711b6e 100644 --- a/libc/sysv/calls/sys_io_submit.S +++ b/libc/sysv/calls/sys_io_submit.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_io_submit,0xfffffffffffff0d1,2,4095,globl +.scall sys_io_submit,0xfffffffffffff0d1,2,4095,4095,globl diff --git a/libc/sysv/calls/sys_io_uring_enter.S b/libc/sysv/calls/sys_io_uring_enter.S index e5bc4fd40bb..3facb0e52e2 100644 --- a/libc/sysv/calls/sys_io_uring_enter.S +++ b/libc/sysv/calls/sys_io_uring_enter.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_io_uring_enter,0xfffffffffffff1aa,426,4095,globl +.scall sys_io_uring_enter,0xfffffffffffff1aa,426,4095,4095,globl diff --git a/libc/sysv/calls/sys_io_uring_register.S b/libc/sysv/calls/sys_io_uring_register.S index 5958e6166f0..b7469dc713f 100644 --- a/libc/sysv/calls/sys_io_uring_register.S +++ b/libc/sysv/calls/sys_io_uring_register.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_io_uring_register,0xfffffffffffff1ab,427,4095,globl +.scall sys_io_uring_register,0xfffffffffffff1ab,427,4095,4095,globl diff --git a/libc/sysv/calls/sys_io_uring_setup.S b/libc/sysv/calls/sys_io_uring_setup.S index 6afadf36264..1aae1349873 100644 --- a/libc/sysv/calls/sys_io_uring_setup.S +++ b/libc/sysv/calls/sys_io_uring_setup.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_io_uring_setup,0xfffffffffffff1a9,425,4095,globl +.scall sys_io_uring_setup,0xfffffffffffff1a9,425,4095,4095,globl diff --git a/libc/sysv/calls/sys_ioctl.S b/libc/sysv/calls/sys_ioctl.S index 0f20f8fce82..c8a7dd75a90 100644 --- a/libc/sysv/calls/sys_ioctl.S +++ b/libc/sysv/calls/sys_ioctl.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_ioctl,0x0360360362036010,29,54,globl,hidden +.scall sys_ioctl,0x0360360362036010,29,54,54,globl,hidden diff --git a/libc/sysv/calls/sys_ioctl_cp.S b/libc/sysv/calls/sys_ioctl_cp.S index 1100f504fe8..a5f56de6548 100644 --- a/libc/sysv/calls/sys_ioctl_cp.S +++ b/libc/sysv/calls/sys_ioctl_cp.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_ioctl_cp,0x8368368362836810,2077,2102,globl,hidden +.scall sys_ioctl_cp,0x8368368362836810,2077,2102,2102,globl,hidden diff --git a/libc/sysv/calls/sys_ioperm.S b/libc/sysv/calls/sys_ioperm.S index 6958a715a8b..3d5657a8a86 100644 --- a/libc/sysv/calls/sys_ioperm.S +++ b/libc/sysv/calls/sys_ioperm.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_ioperm,0xfffffffffffff0ad,4095,4095,globl +.scall sys_ioperm,0xfffffffffffff0ad,4095,4095,4095,globl diff --git a/libc/sysv/calls/sys_iopl.S b/libc/sysv/calls/sys_iopl.S index 34756c56559..f24980c728c 100644 --- a/libc/sysv/calls/sys_iopl.S +++ b/libc/sysv/calls/sys_iopl.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_iopl,0xfffffffffffff0ac,4095,4095,globl +.scall sys_iopl,0xfffffffffffff0ac,4095,4095,4095,globl diff --git a/libc/sysv/calls/sys_ioprio_get.S b/libc/sysv/calls/sys_ioprio_get.S index 0739797f340..b0d04332d33 100644 --- a/libc/sysv/calls/sys_ioprio_get.S +++ b/libc/sysv/calls/sys_ioprio_get.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_ioprio_get,0xfffffffffffff0fc,31,4095,globl +.scall sys_ioprio_get,0xfffffffffffff0fc,31,4095,4095,globl diff --git a/libc/sysv/calls/sys_ioprio_set.S b/libc/sysv/calls/sys_ioprio_set.S index 979d931336c..b948cc6daa8 100644 --- a/libc/sysv/calls/sys_ioprio_set.S +++ b/libc/sysv/calls/sys_ioprio_set.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_ioprio_set,0xfffffffffffff0fb,30,4095,globl +.scall sys_ioprio_set,0xfffffffffffff0fb,30,4095,4095,globl diff --git a/libc/sysv/calls/sys_issetugid.S b/libc/sysv/calls/sys_issetugid.S index 88f6ac100d2..69f0545a8ce 100644 --- a/libc/sysv/calls/sys_issetugid.S +++ b/libc/sysv/calls/sys_issetugid.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_issetugid,0xfff0fd0fd2147fff,4095,327,globl,hidden +.scall sys_issetugid,0xfff0fd0fd2147fff,4095,327,253,globl,hidden diff --git a/libc/sysv/calls/sys_kcmp.S b/libc/sysv/calls/sys_kcmp.S index 62733edc4f6..5a3eb9e2c27 100644 --- a/libc/sysv/calls/sys_kcmp.S +++ b/libc/sysv/calls/sys_kcmp.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_kcmp,0xfffffffffffff138,272,4095,globl +.scall sys_kcmp,0xfffffffffffff138,272,4095,4095,globl diff --git a/libc/sysv/calls/sys_kevent.S b/libc/sysv/calls/sys_kevent.S index b53897e373d..57f099df0e9 100644 --- a/libc/sysv/calls/sys_kevent.S +++ b/libc/sysv/calls/sys_kevent.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_kevent,0x1b30482302171fff,4095,369,globl +.scall sys_kevent,0x1b30482302171fff,4095,369,560,globl diff --git a/libc/sysv/calls/sys_kexec_file_load.S b/libc/sysv/calls/sys_kexec_file_load.S index 4e61bd9c1aa..3bb1eadd6e6 100644 --- a/libc/sysv/calls/sys_kexec_file_load.S +++ b/libc/sysv/calls/sys_kexec_file_load.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_kexec_file_load,0xfffffffffffff140,4095,4095,globl +.scall sys_kexec_file_load,0xfffffffffffff140,4095,4095,4095,globl diff --git a/libc/sysv/calls/sys_kexec_load.S b/libc/sysv/calls/sys_kexec_load.S index 0e156483cb3..c7e687f7a50 100644 --- a/libc/sysv/calls/sys_kexec_load.S +++ b/libc/sysv/calls/sys_kexec_load.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_kexec_load,0xfffffffffffff0f6,104,4095,globl +.scall sys_kexec_load,0xfffffffffffff0f6,104,4095,4095,globl diff --git a/libc/sysv/calls/sys_keyctl.S b/libc/sysv/calls/sys_keyctl.S index 1ba35d9e0c5..1288e9c1da8 100644 --- a/libc/sysv/calls/sys_keyctl.S +++ b/libc/sysv/calls/sys_keyctl.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_keyctl,0xfffffffffffff0fa,219,4095,globl +.scall sys_keyctl,0xfffffffffffff0fa,219,4095,4095,globl diff --git a/libc/sysv/calls/sys_kill.S b/libc/sysv/calls/sys_kill.S index 3d4ce041da3..b2441829444 100644 --- a/libc/sysv/calls/sys_kill.S +++ b/libc/sysv/calls/sys_kill.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_kill,0x02507a025202503e,129,37,globl,hidden +.scall sys_kill,0x02507a025202503e,129,37,37,globl,hidden diff --git a/libc/sysv/calls/sys_killpg.S b/libc/sysv/calls/sys_killpg.S index 48997695f5c..88079ba49df 100644 --- a/libc/sysv/calls/sys_killpg.S +++ b/libc/sysv/calls/sys_killpg.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_killpg,0x092fff092fffffff,4095,4095,globl,hidden +.scall sys_killpg,0x092fff092fffffff,4095,4095,146,globl,hidden diff --git a/libc/sysv/calls/sys_kqueue.S b/libc/sysv/calls/sys_kqueue.S index 557078bbfcd..167a8d30f89 100644 --- a/libc/sysv/calls/sys_kqueue.S +++ b/libc/sysv/calls/sys_kqueue.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_kqueue,0x15810d16a216afff,4095,362,globl +.scall sys_kqueue,0x15810d16a216afff,4095,362,362,globl diff --git a/libc/sysv/calls/sys_ktimer_create.S b/libc/sysv/calls/sys_ktimer_create.S index 1b0f8146acb..18e0994fc6a 100644 --- a/libc/sysv/calls/sys_ktimer_create.S +++ b/libc/sysv/calls/sys_ktimer_create.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_ktimer_create,0xffffff0ebfffffff,4095,4095,globl +.scall sys_ktimer_create,0xffffff0ebfffffff,4095,4095,235,globl diff --git a/libc/sysv/calls/sys_ktimer_delete.S b/libc/sysv/calls/sys_ktimer_delete.S index 24234cee88a..362bb09d925 100644 --- a/libc/sysv/calls/sys_ktimer_delete.S +++ b/libc/sysv/calls/sys_ktimer_delete.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_ktimer_delete,0xffffff0ecfffffff,4095,4095,globl +.scall sys_ktimer_delete,0xffffff0ecfffffff,4095,4095,236,globl diff --git a/libc/sysv/calls/sys_ktimer_getoverrun.S b/libc/sysv/calls/sys_ktimer_getoverrun.S index 3b53c454423..f307b835796 100644 --- a/libc/sysv/calls/sys_ktimer_getoverrun.S +++ b/libc/sysv/calls/sys_ktimer_getoverrun.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_ktimer_getoverrun,0xffffff0effffffff,4095,4095,globl +.scall sys_ktimer_getoverrun,0xffffff0effffffff,4095,4095,239,globl diff --git a/libc/sysv/calls/sys_ktimer_gettime.S b/libc/sysv/calls/sys_ktimer_gettime.S index c4f90c5c85c..099b140a102 100644 --- a/libc/sysv/calls/sys_ktimer_gettime.S +++ b/libc/sysv/calls/sys_ktimer_gettime.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_ktimer_gettime,0xffffff0eefffffff,4095,4095,globl +.scall sys_ktimer_gettime,0xffffff0eefffffff,4095,4095,238,globl diff --git a/libc/sysv/calls/sys_ktimer_settime.S b/libc/sysv/calls/sys_ktimer_settime.S index bf86eabb342..ccfbf4ee5b3 100644 --- a/libc/sysv/calls/sys_ktimer_settime.S +++ b/libc/sysv/calls/sys_ktimer_settime.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_ktimer_settime,0xffffff0edfffffff,4095,4095,globl +.scall sys_ktimer_settime,0xffffff0edfffffff,4095,4095,237,globl diff --git a/libc/sysv/calls/sys_ktrace.S b/libc/sysv/calls/sys_ktrace.S index 3503694ece0..475d03d1bd6 100644 --- a/libc/sysv/calls/sys_ktrace.S +++ b/libc/sysv/calls/sys_ktrace.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_ktrace,0x02d02d02dfffffff,4095,4095,globl +.scall sys_ktrace,0x02d02d02dfffffff,4095,4095,45,globl diff --git a/libc/sysv/calls/sys_landlock_add_rule.S b/libc/sysv/calls/sys_landlock_add_rule.S index 6a5cc6202de..5297d6e328b 100644 --- a/libc/sysv/calls/sys_landlock_add_rule.S +++ b/libc/sysv/calls/sys_landlock_add_rule.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_landlock_add_rule,0xfffffffffffff1bd,445,4095,globl,hidden +.scall sys_landlock_add_rule,0xfffffffffffff1bd,445,4095,4095,globl,hidden diff --git a/libc/sysv/calls/sys_landlock_create_ruleset.S b/libc/sysv/calls/sys_landlock_create_ruleset.S index d29c031bea0..f2987786819 100644 --- a/libc/sysv/calls/sys_landlock_create_ruleset.S +++ b/libc/sysv/calls/sys_landlock_create_ruleset.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_landlock_create_ruleset,0xfffffffffffff1bc,444,4095,globl,hidden +.scall sys_landlock_create_ruleset,0xfffffffffffff1bc,444,4095,4095,globl,hidden diff --git a/libc/sysv/calls/sys_landlock_restrict_self.S b/libc/sysv/calls/sys_landlock_restrict_self.S index 149a2688c35..f838b59043c 100644 --- a/libc/sysv/calls/sys_landlock_restrict_self.S +++ b/libc/sysv/calls/sys_landlock_restrict_self.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_landlock_restrict_self,0xfffffffffffff1be,446,4095,globl,hidden +.scall sys_landlock_restrict_self,0xfffffffffffff1be,446,4095,4095,globl,hidden diff --git a/libc/sysv/calls/sys_lgetxattr.S b/libc/sysv/calls/sys_lgetxattr.S index e98f8f73355..9f28d32d179 100644 --- a/libc/sysv/calls/sys_lgetxattr.S +++ b/libc/sysv/calls/sys_lgetxattr.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_lgetxattr,0x17bffffffffff0c0,9,4095,globl +.scall sys_lgetxattr,0x17bffffffffff0c0,9,4095,4095,globl diff --git a/libc/sysv/calls/sys_linkat.S b/libc/sysv/calls/sys_linkat.S index 5f058521fdf..5fa82155643 100644 --- a/libc/sysv/calls/sys_linkat.S +++ b/libc/sysv/calls/sys_linkat.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_linkat,0x1c913d1ef21d7109,37,471,globl,hidden +.scall sys_linkat,0x1c913d1ef21d7109,37,471,495,globl,hidden diff --git a/libc/sysv/calls/sys_lio_listio.S b/libc/sysv/calls/sys_lio_listio.S index 831d99deadb..b59faa3f315 100644 --- a/libc/sysv/calls/sys_lio_listio.S +++ b/libc/sysv/calls/sys_lio_listio.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_lio_listio,0x196fff1402140fff,4095,320,globl +.scall sys_lio_listio,0x196fff1402140fff,4095,320,320,globl diff --git a/libc/sysv/calls/sys_listen.S b/libc/sysv/calls/sys_listen.S index 633f4f4af27..bbd4b67e08a 100644 --- a/libc/sysv/calls/sys_listen.S +++ b/libc/sysv/calls/sys_listen.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_listen,0x06a06a06a206a032,201,106,globl,hidden +.scall sys_listen,0x06a06a06a206a032,201,106,106,globl,hidden diff --git a/libc/sysv/calls/sys_listxattr.S b/libc/sysv/calls/sys_listxattr.S index a66b4b6bf69..6b20a9f30ae 100644 --- a/libc/sysv/calls/sys_listxattr.S +++ b/libc/sysv/calls/sys_listxattr.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_listxattr,0x17dffffff20f00c2,11,240,globl +.scall sys_listxattr,0x17dffffff20f00c2,11,240,4095,globl diff --git a/libc/sysv/calls/sys_llistxattr.S b/libc/sysv/calls/sys_llistxattr.S index 527aa4f97fe..1bc9c394596 100644 --- a/libc/sysv/calls/sys_llistxattr.S +++ b/libc/sysv/calls/sys_llistxattr.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_llistxattr,0x17effffffffff0c3,12,4095,globl +.scall sys_llistxattr,0x17effffffffff0c3,12,4095,4095,globl diff --git a/libc/sysv/calls/sys_lookup_dcookie.S b/libc/sysv/calls/sys_lookup_dcookie.S index baa8cd5a111..7766e6ac44b 100644 --- a/libc/sysv/calls/sys_lookup_dcookie.S +++ b/libc/sysv/calls/sys_lookup_dcookie.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_lookup_dcookie,0xfffffffffffff0d4,18,4095,globl +.scall sys_lookup_dcookie,0xfffffffffffff0d4,18,4095,4095,globl diff --git a/libc/sysv/calls/sys_lremovexattr.S b/libc/sysv/calls/sys_lremovexattr.S index c6b65fff8aa..5c1c7d1c90d 100644 --- a/libc/sysv/calls/sys_lremovexattr.S +++ b/libc/sysv/calls/sys_lremovexattr.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_lremovexattr,0x181ffffffffff0c6,15,4095,globl +.scall sys_lremovexattr,0x181ffffffffff0c6,15,4095,4095,globl diff --git a/libc/sysv/calls/sys_lseek.S b/libc/sysv/calls/sys_lseek.S index be69cf8375d..2580b4b366c 100644 --- a/libc/sysv/calls/sys_lseek.S +++ b/libc/sysv/calls/sys_lseek.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_lseek,0x0c70a61de20c7008,62,199,globl,hidden +.scall sys_lseek,0x0c70a61de20c7008,62,199,478,globl,hidden diff --git a/libc/sysv/calls/sys_lsetxattr.S b/libc/sysv/calls/sys_lsetxattr.S index b0fd194a566..4bd00d5d291 100644 --- a/libc/sysv/calls/sys_lsetxattr.S +++ b/libc/sysv/calls/sys_lsetxattr.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_lsetxattr,0x178ffffffffff0bd,6,4095,globl +.scall sys_lsetxattr,0x178ffffffffff0bd,6,4095,4095,globl diff --git a/libc/sysv/calls/sys_lutimes.S b/libc/sysv/calls/sys_lutimes.S index a75c7f90c38..8dddab751fb 100644 --- a/libc/sysv/calls/sys_lutimes.S +++ b/libc/sysv/calls/sys_lutimes.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_lutimes,0x1a8fff114fffffff,4095,4095,globl,hidden +.scall sys_lutimes,0x1a8fff114fffffff,4095,4095,276,globl,hidden diff --git a/libc/sysv/calls/sys_madvise.S b/libc/sysv/calls/sys_madvise.S index 5ebd416b3c2..bbcd4d47dfb 100644 --- a/libc/sysv/calls/sys_madvise.S +++ b/libc/sysv/calls/sys_madvise.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_madvise,0x04b04b04b204b01c,233,75,globl,hidden +.scall sys_madvise,0x04b04b04b204b01c,233,75,75,globl,hidden diff --git a/libc/sysv/calls/sys_mbind.S b/libc/sysv/calls/sys_mbind.S index 1229b8a33d0..981eb944cd8 100644 --- a/libc/sysv/calls/sys_mbind.S +++ b/libc/sysv/calls/sys_mbind.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_mbind,0xfffffffffffff0ed,235,4095,globl +.scall sys_mbind,0xfffffffffffff0ed,235,4095,4095,globl diff --git a/libc/sysv/calls/sys_membarrier.S b/libc/sysv/calls/sys_membarrier.S index 4abba677adf..b884b701a0f 100644 --- a/libc/sysv/calls/sys_membarrier.S +++ b/libc/sysv/calls/sys_membarrier.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_membarrier,0xfffffffffffff144,283,4095,globl +.scall sys_membarrier,0xfffffffffffff144,283,4095,4095,globl diff --git a/libc/sysv/calls/sys_memfd_create.S b/libc/sysv/calls/sys_memfd_create.S index dc05605ab05..15def6a93d5 100644 --- a/libc/sysv/calls/sys_memfd_create.S +++ b/libc/sysv/calls/sys_memfd_create.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_memfd_create,0xfffffffffffff13f,279,4095,globl,hidden +.scall sys_memfd_create,0xfffffffffffff13f,279,4095,4095,globl,hidden diff --git a/libc/sysv/calls/sys_memfd_secret.S b/libc/sysv/calls/sys_memfd_secret.S index 82d15f10b63..20f0571f19a 100644 --- a/libc/sysv/calls/sys_memfd_secret.S +++ b/libc/sysv/calls/sys_memfd_secret.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_memfd_secret,0xfffffffffffff1bf,4095,4095,globl +.scall sys_memfd_secret,0xfffffffffffff1bf,4095,4095,4095,globl diff --git a/libc/sysv/calls/sys_migrate_pages.S b/libc/sysv/calls/sys_migrate_pages.S index 416f1b2d6d7..763867c4f51 100644 --- a/libc/sysv/calls/sys_migrate_pages.S +++ b/libc/sysv/calls/sys_migrate_pages.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_migrate_pages,0xfffffffffffff100,238,4095,globl +.scall sys_migrate_pages,0xfffffffffffff100,238,4095,4095,globl diff --git a/libc/sysv/calls/sys_mincore.S b/libc/sysv/calls/sys_mincore.S index fb14df0373e..d2f42ce7409 100644 --- a/libc/sysv/calls/sys_mincore.S +++ b/libc/sysv/calls/sys_mincore.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_mincore,0x04e04e04e204e01b,232,78,globl,hidden +.scall sys_mincore,0x04e04e04e204e01b,232,78,78,globl,hidden diff --git a/libc/sysv/calls/sys_minherit.S b/libc/sysv/calls/sys_minherit.S index a2a79223b20..0118d5726cb 100644 --- a/libc/sysv/calls/sys_minherit.S +++ b/libc/sysv/calls/sys_minherit.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_minherit,0x1110fa0fa20fafff,4095,250,globl +.scall sys_minherit,0x1110fa0fa20fafff,4095,250,250,globl diff --git a/libc/sysv/calls/sys_mkdirat.S b/libc/sysv/calls/sys_mkdirat.S index a9097d2753b..201b58ab5ce 100644 --- a/libc/sysv/calls/sys_mkdirat.S +++ b/libc/sysv/calls/sys_mkdirat.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_mkdirat,0x1cd13e1f021db102,34,475,globl,hidden +.scall sys_mkdirat,0x1cd13e1f021db102,34,475,496,globl,hidden diff --git a/libc/sysv/calls/sys_mkfifo.S b/libc/sysv/calls/sys_mkfifo.S index 3223e1cb94f..02eddfcef21 100644 --- a/libc/sysv/calls/sys_mkfifo.S +++ b/libc/sysv/calls/sys_mkfifo.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_mkfifo,0x0840840842084fff,4095,132,globl,hidden +.scall sys_mkfifo,0x0840840842084fff,4095,132,132,globl,hidden diff --git a/libc/sysv/calls/sys_mkfifoat.S b/libc/sysv/calls/sys_mkfifoat.S index 9cfd6cf8ad4..1abc9cc7749 100644 --- a/libc/sysv/calls/sys_mkfifoat.S +++ b/libc/sysv/calls/sys_mkfifoat.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_mkfifoat,0x1cb13f1f1fffffff,4095,4095,globl +.scall sys_mkfifoat,0x1cb13f1f1fffffff,4095,4095,497,globl diff --git a/libc/sysv/calls/sys_mknod.S b/libc/sysv/calls/sys_mknod.S index 7769ec75952..121518fa085 100644 --- a/libc/sysv/calls/sys_mknod.S +++ b/libc/sysv/calls/sys_mknod.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_mknod,0x1c200e00e200e085,4095,14,globl,hidden +.scall sys_mknod,0x1c200e00e200e085,4095,14,14,globl,hidden diff --git a/libc/sysv/calls/sys_mknodat.S b/libc/sysv/calls/sys_mknodat.S index 2861d0d7b88..529285fe1f5 100644 --- a/libc/sysv/calls/sys_mknodat.S +++ b/libc/sysv/calls/sys_mknodat.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_mknodat,0x1cc14022fffff103,33,4095,globl +.scall sys_mknodat,0x1cc14022fffff103,33,4095,559,globl diff --git a/libc/sysv/calls/sys_mlock.S b/libc/sysv/calls/sys_mlock.S index 585fd758fa2..e3c38465948 100644 --- a/libc/sysv/calls/sys_mlock.S +++ b/libc/sysv/calls/sys_mlock.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_mlock,0x0cb0cb0cb20cb095,228,203,globl +.scall sys_mlock,0x0cb0cb0cb20cb095,228,203,203,globl diff --git a/libc/sysv/calls/sys_mlock2.S b/libc/sysv/calls/sys_mlock2.S index 53abd55c17d..a7db51d695e 100644 --- a/libc/sysv/calls/sys_mlock2.S +++ b/libc/sysv/calls/sys_mlock2.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_mlock2,0xfffffffffffff145,284,4095,globl +.scall sys_mlock2,0xfffffffffffff145,284,4095,4095,globl diff --git a/libc/sysv/calls/sys_mlockall.S b/libc/sysv/calls/sys_mlockall.S index 0cadfc2b3de..4c1cf84d48f 100644 --- a/libc/sysv/calls/sys_mlockall.S +++ b/libc/sysv/calls/sys_mlockall.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_mlockall,0x0f210f1442144097,230,324,globl +.scall sys_mlockall,0x0f210f1442144097,230,324,324,globl diff --git a/libc/sysv/calls/sys_modify_ldt.S b/libc/sysv/calls/sys_modify_ldt.S index 2a7a098a228..b69d32724dc 100644 --- a/libc/sysv/calls/sys_modify_ldt.S +++ b/libc/sysv/calls/sys_modify_ldt.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_modify_ldt,0xfffffffffffff09a,4095,4095,globl +.scall sys_modify_ldt,0xfffffffffffff09a,4095,4095,4095,globl diff --git a/libc/sysv/calls/sys_mount.S b/libc/sysv/calls/sys_mount.S index 9b84e8f1d84..ca0b70aa718 100644 --- a/libc/sysv/calls/sys_mount.S +++ b/libc/sysv/calls/sys_mount.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_mount,0x19a01501520a70a5,40,167,globl,hidden +.scall sys_mount,0x19a01501520a70a5,40,167,21,globl,hidden diff --git a/libc/sysv/calls/sys_mount_setattr.S b/libc/sysv/calls/sys_mount_setattr.S index 4c54af120d0..d2324e4d45e 100644 --- a/libc/sysv/calls/sys_mount_setattr.S +++ b/libc/sysv/calls/sys_mount_setattr.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_mount_setattr,0xfffffffffffff1ba,442,4095,globl +.scall sys_mount_setattr,0xfffffffffffff1ba,442,4095,4095,globl diff --git a/libc/sysv/calls/sys_move_mount.S b/libc/sysv/calls/sys_move_mount.S index 0357d0731db..bae7859675d 100644 --- a/libc/sysv/calls/sys_move_mount.S +++ b/libc/sysv/calls/sys_move_mount.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_move_mount,0xfffffffffffff1ad,429,4095,globl +.scall sys_move_mount,0xfffffffffffff1ad,429,4095,4095,globl diff --git a/libc/sysv/calls/sys_move_pages.S b/libc/sysv/calls/sys_move_pages.S index 84c4d72b896..baf7cd373e7 100644 --- a/libc/sysv/calls/sys_move_pages.S +++ b/libc/sysv/calls/sys_move_pages.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_move_pages,0xfffffffffffff117,239,4095,globl +.scall sys_move_pages,0xfffffffffffff117,239,4095,4095,globl diff --git a/libc/sysv/calls/sys_mq_getsetattr.S b/libc/sysv/calls/sys_mq_getsetattr.S index 704d2af2341..562154464db 100644 --- a/libc/sysv/calls/sys_mq_getsetattr.S +++ b/libc/sysv/calls/sys_mq_getsetattr.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_mq_getsetattr,0xfffffffffffff0f5,185,4095,globl +.scall sys_mq_getsetattr,0xfffffffffffff0f5,185,4095,4095,globl diff --git a/libc/sysv/calls/sys_mq_notify.S b/libc/sysv/calls/sys_mq_notify.S index 833cf7c310e..2a1db8f6c0d 100644 --- a/libc/sysv/calls/sys_mq_notify.S +++ b/libc/sysv/calls/sys_mq_notify.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_mq_notify,0x106ffffffffff0f4,184,4095,globl +.scall sys_mq_notify,0x106ffffffffff0f4,184,4095,4095,globl diff --git a/libc/sysv/calls/sys_mq_open.S b/libc/sysv/calls/sys_mq_open.S index 126a1070e90..95806337c1e 100644 --- a/libc/sysv/calls/sys_mq_open.S +++ b/libc/sysv/calls/sys_mq_open.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_mq_open,0x101ffffffffff0f0,180,4095,globl +.scall sys_mq_open,0x101ffffffffff0f0,180,4095,4095,globl diff --git a/libc/sysv/calls/sys_mq_timedreceive.S b/libc/sysv/calls/sys_mq_timedreceive.S index e99711f8dbc..2d541a5521b 100644 --- a/libc/sysv/calls/sys_mq_timedreceive.S +++ b/libc/sysv/calls/sys_mq_timedreceive.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_mq_timedreceive,0x1b1ffffffffff0f3,183,4095,globl +.scall sys_mq_timedreceive,0x1b1ffffffffff0f3,183,4095,4095,globl diff --git a/libc/sysv/calls/sys_mq_timedsend.S b/libc/sysv/calls/sys_mq_timedsend.S index f3cc520752b..a941e777a38 100644 --- a/libc/sysv/calls/sys_mq_timedsend.S +++ b/libc/sysv/calls/sys_mq_timedsend.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_mq_timedsend,0x1b0ffffffffff0f2,182,4095,globl +.scall sys_mq_timedsend,0x1b0ffffffffff0f2,182,4095,4095,globl diff --git a/libc/sysv/calls/sys_mq_unlink.S b/libc/sysv/calls/sys_mq_unlink.S index 349e504a992..9fa11b18b61 100644 --- a/libc/sysv/calls/sys_mq_unlink.S +++ b/libc/sysv/calls/sys_mq_unlink.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_mq_unlink,0x103ffffffffff0f1,181,4095,globl +.scall sys_mq_unlink,0x103ffffffffff0f1,181,4095,4095,globl diff --git a/libc/sysv/calls/sys_msgctl.S b/libc/sysv/calls/sys_msgctl.S index aa8c185a60f..3468a8e8d35 100644 --- a/libc/sysv/calls/sys_msgctl.S +++ b/libc/sysv/calls/sys_msgctl.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_msgctl,0x1bc1291ff2102047,187,258,globl +.scall sys_msgctl,0x1bc1291ff2102047,187,258,511,globl diff --git a/libc/sysv/calls/sys_msgget.S b/libc/sysv/calls/sys_msgget.S index e755bd17e86..8c1dacc0326 100644 --- a/libc/sysv/calls/sys_msgget.S +++ b/libc/sysv/calls/sys_msgget.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_msgget,0x0e10e10e12103044,186,259,globl +.scall sys_msgget,0x0e10e10e12103044,186,259,225,globl diff --git a/libc/sysv/calls/sys_msgrcv.S b/libc/sysv/calls/sys_msgrcv.S index 6a8446bcd9f..2be21ac462d 100644 --- a/libc/sysv/calls/sys_msgrcv.S +++ b/libc/sysv/calls/sys_msgrcv.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_msgrcv,0x8e38e38e32905846,2236,2309,globl +.scall sys_msgrcv,0x8e38e38e32905846,2236,2309,2275,globl diff --git a/libc/sysv/calls/sys_msgsnd.S b/libc/sysv/calls/sys_msgsnd.S index 4f64cb65096..3e305c90a6c 100644 --- a/libc/sysv/calls/sys_msgsnd.S +++ b/libc/sysv/calls/sys_msgsnd.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_msgsnd,0x8e28e28e22904845,2237,2308,globl +.scall sys_msgsnd,0x8e28e28e22904845,2237,2308,2274,globl diff --git a/libc/sysv/calls/sys_msgsys.S b/libc/sysv/calls/sys_msgsys.S index 81d9ff42491..2f27ee5b3c5 100644 --- a/libc/sysv/calls/sys_msgsys.S +++ b/libc/sysv/calls/sys_msgsys.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_msgsys,0xffffff0aa20fcfff,4095,252,globl +.scall sys_msgsys,0xffffff0aa20fcfff,4095,252,170,globl diff --git a/libc/sysv/calls/sys_msync.S b/libc/sysv/calls/sys_msync.S index 23b75094f98..e529846d66b 100644 --- a/libc/sysv/calls/sys_msync.S +++ b/libc/sysv/calls/sys_msync.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_msync,0x915900841284181a,2275,2113,globl,hidden +.scall sys_msync,0x915900841284181a,2275,2113,2113,globl,hidden diff --git a/libc/sysv/calls/sys_msyscall.S b/libc/sysv/calls/sys_msyscall.S index 28f88858b58..99bb80dc44d 100644 --- a/libc/sysv/calls/sys_msyscall.S +++ b/libc/sysv/calls/sys_msyscall.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_msyscall,0xfff025ffffffffff,4095,4095,globl +.scall sys_msyscall,0xfff025ffffffffff,4095,4095,4095,globl diff --git a/libc/sysv/calls/sys_munlock.S b/libc/sysv/calls/sys_munlock.S index e6e48cf22d4..db02b5737e3 100644 --- a/libc/sysv/calls/sys_munlock.S +++ b/libc/sysv/calls/sys_munlock.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_munlock,0x0cc0cc0cc20cc096,229,204,globl +.scall sys_munlock,0x0cc0cc0cc20cc096,229,204,204,globl diff --git a/libc/sysv/calls/sys_munlockall.S b/libc/sysv/calls/sys_munlockall.S index f57c6edb4d5..304e2342e77 100644 --- a/libc/sysv/calls/sys_munlockall.S +++ b/libc/sysv/calls/sys_munlockall.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_munlockall,0x0f31101452145098,231,325,globl +.scall sys_munlockall,0x0f31101452145098,231,325,325,globl diff --git a/libc/sysv/calls/sys_name_to_handle_at.S b/libc/sysv/calls/sys_name_to_handle_at.S index bf4b9621b3b..fdfc7086a4c 100644 --- a/libc/sysv/calls/sys_name_to_handle_at.S +++ b/libc/sysv/calls/sys_name_to_handle_at.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_name_to_handle_at,0xfffffffffffff12f,264,4095,globl +.scall sys_name_to_handle_at,0xfffffffffffff12f,264,4095,4095,globl diff --git a/libc/sysv/calls/sys_nanosleep.S b/libc/sysv/calls/sys_nanosleep.S index f898fc2528e..7132f47f261 100644 --- a/libc/sysv/calls/sys_nanosleep.S +++ b/libc/sysv/calls/sys_nanosleep.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_nanosleep,0x9ae85b8f0ffff823,2149,4095,globl,hidden +.scall sys_nanosleep,0x9ae85b8f0ffff823,2149,4095,2288,globl,hidden diff --git a/libc/sysv/calls/sys_nfssvc.S b/libc/sysv/calls/sys_nfssvc.S index 449e0508216..99d0a4308f2 100644 --- a/libc/sysv/calls/sys_nfssvc.S +++ b/libc/sysv/calls/sys_nfssvc.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_nfssvc,0x09b09b09b209bfff,4095,155,globl +.scall sys_nfssvc,0x09b09b09b209bfff,4095,155,155,globl diff --git a/libc/sysv/calls/sys_ntp_adjtime.S b/libc/sysv/calls/sys_ntp_adjtime.S index 5bf0816ae7c..a98e98c680a 100644 --- a/libc/sysv/calls/sys_ntp_adjtime.S +++ b/libc/sysv/calls/sys_ntp_adjtime.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_ntp_adjtime,0x0b0fff0b0220ffff,4095,527,globl +.scall sys_ntp_adjtime,0x0b0fff0b0220ffff,4095,527,176,globl diff --git a/libc/sysv/calls/sys_ntp_gettime.S b/libc/sysv/calls/sys_ntp_gettime.S index 889ed823742..546ee19b185 100644 --- a/libc/sysv/calls/sys_ntp_gettime.S +++ b/libc/sysv/calls/sys_ntp_gettime.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_ntp_gettime,0x1c0fff0f82210fff,4095,528,globl +.scall sys_ntp_gettime,0x1c0fff0f82210fff,4095,528,248,globl diff --git a/libc/sysv/calls/sys_open_by_handle_at.S b/libc/sysv/calls/sys_open_by_handle_at.S index da2a04e8e76..6d280aa1300 100644 --- a/libc/sysv/calls/sys_open_by_handle_at.S +++ b/libc/sysv/calls/sys_open_by_handle_at.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_open_by_handle_at,0xfffffffffffff130,265,4095,globl +.scall sys_open_by_handle_at,0xfffffffffffff130,265,4095,4095,globl diff --git a/libc/sysv/calls/sys_open_tree.S b/libc/sysv/calls/sys_open_tree.S index f1c42def4e9..3feaf1f65af 100644 --- a/libc/sysv/calls/sys_open_tree.S +++ b/libc/sysv/calls/sys_open_tree.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_open_tree,0xfffffffffffff1ac,428,4095,globl +.scall sys_open_tree,0xfffffffffffff1ac,428,4095,4095,globl diff --git a/libc/sysv/calls/sys_openat2.S b/libc/sysv/calls/sys_openat2.S index a3f5683ae33..ad7fa1951fa 100644 --- a/libc/sysv/calls/sys_openat2.S +++ b/libc/sysv/calls/sys_openat2.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_openat2,0xfffffffffffff1b5,437,4095,globl,hidden +.scall sys_openat2,0xfffffffffffff1b5,437,4095,4095,globl,hidden diff --git a/libc/sysv/calls/sys_pathconf.S b/libc/sysv/calls/sys_pathconf.S index f9c50f94450..5295e0444f9 100644 --- a/libc/sysv/calls/sys_pathconf.S +++ b/libc/sysv/calls/sys_pathconf.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_pathconf,0x0bf0bf0bf20bffff,4095,191,globl +.scall sys_pathconf,0x0bf0bf0bf20bffff,4095,191,191,globl diff --git a/libc/sysv/calls/sys_pause.S b/libc/sysv/calls/sys_pause.S index b55115c3689..dd871d6c334 100644 --- a/libc/sysv/calls/sys_pause.S +++ b/libc/sysv/calls/sys_pause.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_pause,0xfffffffffffff022,4095,4095,globl,hidden +.scall sys_pause,0xfffffffffffff022,4095,4095,4095,globl,hidden diff --git a/libc/sysv/calls/sys_perf_event_open.S b/libc/sysv/calls/sys_perf_event_open.S index 81299e1fd55..3ed0cc3dc62 100644 --- a/libc/sysv/calls/sys_perf_event_open.S +++ b/libc/sysv/calls/sys_perf_event_open.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_perf_event_open,0xfffffffffffff12a,241,4095,globl +.scall sys_perf_event_open,0xfffffffffffff12a,241,4095,4095,globl diff --git a/libc/sysv/calls/sys_personality.S b/libc/sysv/calls/sys_personality.S index 4daaf297fdd..c7376a0feef 100644 --- a/libc/sysv/calls/sys_personality.S +++ b/libc/sysv/calls/sys_personality.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_personality,0xfffffffffffff087,92,4095,globl +.scall sys_personality,0xfffffffffffff087,92,4095,4095,globl diff --git a/libc/sysv/calls/sys_pidfd_getfd.S b/libc/sysv/calls/sys_pidfd_getfd.S index eeec1892153..5f23c7f5d3c 100644 --- a/libc/sysv/calls/sys_pidfd_getfd.S +++ b/libc/sysv/calls/sys_pidfd_getfd.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_pidfd_getfd,0xfffffffffffff1b6,438,4095,globl +.scall sys_pidfd_getfd,0xfffffffffffff1b6,438,4095,4095,globl diff --git a/libc/sysv/calls/sys_pidfd_open.S b/libc/sysv/calls/sys_pidfd_open.S index aee59dc4ee1..316439a222f 100644 --- a/libc/sysv/calls/sys_pidfd_open.S +++ b/libc/sysv/calls/sys_pidfd_open.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_pidfd_open,0xfffffffffffff1b2,434,4095,globl +.scall sys_pidfd_open,0xfffffffffffff1b2,434,4095,4095,globl diff --git a/libc/sysv/calls/sys_pidfd_send_signal.S b/libc/sysv/calls/sys_pidfd_send_signal.S index 2859d9f44ec..098d641c0c8 100644 --- a/libc/sysv/calls/sys_pidfd_send_signal.S +++ b/libc/sysv/calls/sys_pidfd_send_signal.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_pidfd_send_signal,0xfffffffffffff1a8,424,4095,globl +.scall sys_pidfd_send_signal,0xfffffffffffff1a8,424,4095,4095,globl diff --git a/libc/sysv/calls/sys_pivot_root.S b/libc/sysv/calls/sys_pivot_root.S index 5bd38ad422f..72e13537f80 100644 --- a/libc/sysv/calls/sys_pivot_root.S +++ b/libc/sysv/calls/sys_pivot_root.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_pivot_root,0xfffffffffffff09b,41,4095,globl,hidden +.scall sys_pivot_root,0xfffffffffffff09b,41,4095,4095,globl,hidden diff --git a/libc/sysv/calls/sys_pkey_alloc.S b/libc/sysv/calls/sys_pkey_alloc.S index 95f22c19277..5dab8c38c61 100644 --- a/libc/sysv/calls/sys_pkey_alloc.S +++ b/libc/sysv/calls/sys_pkey_alloc.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_pkey_alloc,0xfffffffffffff14a,289,4095,globl +.scall sys_pkey_alloc,0xfffffffffffff14a,289,4095,4095,globl diff --git a/libc/sysv/calls/sys_pkey_free.S b/libc/sysv/calls/sys_pkey_free.S index 78c1ad586d6..85e2a14cf3c 100644 --- a/libc/sysv/calls/sys_pkey_free.S +++ b/libc/sysv/calls/sys_pkey_free.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_pkey_free,0xfffffffffffff14b,290,4095,globl +.scall sys_pkey_free,0xfffffffffffff14b,290,4095,4095,globl diff --git a/libc/sysv/calls/sys_pkey_mprotect.S b/libc/sysv/calls/sys_pkey_mprotect.S index 17354fb69aa..9da9ee8e037 100644 --- a/libc/sysv/calls/sys_pkey_mprotect.S +++ b/libc/sysv/calls/sys_pkey_mprotect.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_pkey_mprotect,0xfffffffffffff149,288,4095,globl +.scall sys_pkey_mprotect,0xfffffffffffff149,288,4095,4095,globl diff --git a/libc/sysv/calls/sys_pledge.S b/libc/sysv/calls/sys_pledge.S index 7eec2269364..aa61c1b41f1 100644 --- a/libc/sysv/calls/sys_pledge.S +++ b/libc/sysv/calls/sys_pledge.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_pledge,0xfff06cffffffffff,4095,4095,globl,hidden +.scall sys_pledge,0xfff06cffffffffff,4095,4095,4095,globl,hidden diff --git a/libc/sysv/calls/sys_posix_fallocate.S b/libc/sysv/calls/sys_posix_fallocate.S index 55da48befaf..24dbcc88804 100644 --- a/libc/sysv/calls/sys_posix_fallocate.S +++ b/libc/sysv/calls/sys_posix_fallocate.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_posix_fallocate,0x9dffffa12fffffff,4095,4095,globl,hidden +.scall sys_posix_fallocate,0x9dffffa12fffffff,4095,4095,2578,globl,hidden diff --git a/libc/sysv/calls/sys_posix_openpt.S b/libc/sysv/calls/sys_posix_openpt.S index 2e2c7276fbd..ac2ada2e6e0 100644 --- a/libc/sysv/calls/sys_posix_openpt.S +++ b/libc/sysv/calls/sys_posix_openpt.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_posix_openpt,0xffffff1f8fffffff,4095,4095,globl,hidden +.scall sys_posix_openpt,0xffffff1f8fffffff,4095,4095,504,globl,hidden diff --git a/libc/sysv/calls/sys_posix_spawn.S b/libc/sysv/calls/sys_posix_spawn.S index a1124c2e741..d2dbbb7e006 100644 --- a/libc/sysv/calls/sys_posix_spawn.S +++ b/libc/sysv/calls/sys_posix_spawn.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_posix_spawn,0x1daffffff20f4fff,4095,244,globl,hidden +.scall sys_posix_spawn,0x1daffffff20f4fff,4095,244,4095,globl,hidden diff --git a/libc/sysv/calls/sys_ppoll.S b/libc/sysv/calls/sys_ppoll.S index 65cb3fb20b4..c09e8f3919f 100644 --- a/libc/sysv/calls/sys_ppoll.S +++ b/libc/sysv/calls/sys_ppoll.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_ppoll,0xfff86da21ffff90f,2121,4095,globl,hidden +.scall sys_ppoll,0xfff86da21ffff90f,2121,4095,2593,globl,hidden diff --git a/libc/sysv/calls/sys_pread.S b/libc/sysv/calls/sys_pread.S index 9106a4ee0e7..f1b2ac09d38 100644 --- a/libc/sysv/calls/sys_pread.S +++ b/libc/sysv/calls/sys_pread.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_pread,0x8ad8a99db2899811,2115,2201,globl,hidden +.scall sys_pread,0x8ad8a99db2899811,2115,2201,2523,globl,hidden diff --git a/libc/sysv/calls/sys_preadv.S b/libc/sysv/calls/sys_preadv.S index 6c0712baf4a..396044851da 100644 --- a/libc/sysv/calls/sys_preadv.S +++ b/libc/sysv/calls/sys_preadv.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_preadv,0x9218ab9212a1c927,2117,2588,globl,hidden +.scall sys_preadv,0x9218ab9212a1c927,2117,2588,2337,globl,hidden diff --git a/libc/sysv/calls/sys_preadv2.S b/libc/sysv/calls/sys_preadv2.S index 8967aa41f0d..3a2852b61f3 100644 --- a/libc/sysv/calls/sys_preadv2.S +++ b/libc/sysv/calls/sys_preadv2.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_preadv2,0xfffffffffffff147,286,4095,globl +.scall sys_preadv2,0xfffffffffffff147,286,4095,4095,globl diff --git a/libc/sysv/calls/sys_prlimit.S b/libc/sysv/calls/sys_prlimit.S index 69c1b9435a5..7c05199f966 100644 --- a/libc/sysv/calls/sys_prlimit.S +++ b/libc/sysv/calls/sys_prlimit.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_prlimit,0xfffffffffffff12e,261,4095,globl +.scall sys_prlimit,0xfffffffffffff12e,261,4095,4095,globl diff --git a/libc/sysv/calls/sys_process_madvise.S b/libc/sysv/calls/sys_process_madvise.S index 2a09adb192b..185978c2c19 100644 --- a/libc/sysv/calls/sys_process_madvise.S +++ b/libc/sysv/calls/sys_process_madvise.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_process_madvise,0xfffffffffffff1b8,440,4095,globl +.scall sys_process_madvise,0xfffffffffffff1b8,440,4095,4095,globl diff --git a/libc/sysv/calls/sys_process_mrelease.S b/libc/sysv/calls/sys_process_mrelease.S index e284b255a6f..d6dee832930 100644 --- a/libc/sysv/calls/sys_process_mrelease.S +++ b/libc/sysv/calls/sys_process_mrelease.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_process_mrelease,0xfffffffffffff1c0,4095,4095,globl +.scall sys_process_mrelease,0xfffffffffffff1c0,4095,4095,4095,globl diff --git a/libc/sysv/calls/sys_process_vm_readv.S b/libc/sysv/calls/sys_process_vm_readv.S index 4987f98e110..fd998563efb 100644 --- a/libc/sysv/calls/sys_process_vm_readv.S +++ b/libc/sysv/calls/sys_process_vm_readv.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_process_vm_readv,0xfffffffffffff136,270,4095,globl +.scall sys_process_vm_readv,0xfffffffffffff136,270,4095,4095,globl diff --git a/libc/sysv/calls/sys_process_vm_writev.S b/libc/sysv/calls/sys_process_vm_writev.S index 11f7c2aa4df..03436428dab 100644 --- a/libc/sysv/calls/sys_process_vm_writev.S +++ b/libc/sysv/calls/sys_process_vm_writev.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_process_vm_writev,0xfffffffffffff137,271,4095,globl +.scall sys_process_vm_writev,0xfffffffffffff137,271,4095,4095,globl diff --git a/libc/sysv/calls/sys_profil.S b/libc/sysv/calls/sys_profil.S index f4cb80bf905..302c22b58cf 100644 --- a/libc/sysv/calls/sys_profil.S +++ b/libc/sysv/calls/sys_profil.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_profil,0x02c02c02cfffffff,4095,4095,globl +.scall sys_profil,0x02c02c02cfffffff,4095,4095,44,globl diff --git a/libc/sysv/calls/sys_pselect.S b/libc/sysv/calls/sys_pselect.S index 1a44a9c1b8a..a85a6ae6b43 100644 --- a/libc/sysv/calls/sys_pselect.S +++ b/libc/sysv/calls/sys_pselect.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_pselect,0x9b486ea0a298a90e,2120,2442,globl,hidden +.scall sys_pselect,0x9b486ea0a298a90e,2120,2442,2570,globl,hidden diff --git a/libc/sysv/calls/sys_pwrite.S b/libc/sysv/calls/sys_pwrite.S index 335d2246212..a64773c5331 100644 --- a/libc/sysv/calls/sys_pwrite.S +++ b/libc/sysv/calls/sys_pwrite.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_pwrite,0x8ae8aa9dc289a812,2116,2202,globl,hidden +.scall sys_pwrite,0x8ae8aa9dc289a812,2116,2202,2524,globl,hidden diff --git a/libc/sysv/calls/sys_pwritev.S b/libc/sysv/calls/sys_pwritev.S index dde71cd6112..86230d1041b 100644 --- a/libc/sysv/calls/sys_pwritev.S +++ b/libc/sysv/calls/sys_pwritev.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_pwritev,0x9228ac9222a1d928,2118,2589,globl,hidden +.scall sys_pwritev,0x9228ac9222a1d928,2118,2589,2338,globl,hidden diff --git a/libc/sysv/calls/sys_pwritev2.S b/libc/sysv/calls/sys_pwritev2.S index 7157c74ad47..6ef91a2c437 100644 --- a/libc/sysv/calls/sys_pwritev2.S +++ b/libc/sysv/calls/sys_pwritev2.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_pwritev2,0xfffffffffffff148,287,4095,globl +.scall sys_pwritev2,0xfffffffffffff148,287,4095,4095,globl diff --git a/libc/sysv/calls/sys_quotactl.S b/libc/sysv/calls/sys_quotactl.S index 2e4c7b3fa57..8e66e26dec4 100644 --- a/libc/sysv/calls/sys_quotactl.S +++ b/libc/sysv/calls/sys_quotactl.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_quotactl,0xfff09409420a50b3,60,165,globl +.scall sys_quotactl,0xfff09409420a50b3,60,165,148,globl diff --git a/libc/sysv/calls/sys_quotactl_fd.S b/libc/sysv/calls/sys_quotactl_fd.S index e3e3a6b7b17..418de950023 100644 --- a/libc/sysv/calls/sys_quotactl_fd.S +++ b/libc/sysv/calls/sys_quotactl_fd.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_quotactl_fd,0xfffffffffffff1bb,4095,4095,globl +.scall sys_quotactl_fd,0xfffffffffffff1bb,4095,4095,4095,globl diff --git a/libc/sysv/calls/sys_read.S b/libc/sysv/calls/sys_read.S index cd58c55eb52..dec49f6c19d 100644 --- a/libc/sysv/calls/sys_read.S +++ b/libc/sysv/calls/sys_read.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_read,0x8038038032803800,2111,2051,globl,hidden +.scall sys_read,0x8038038032803800,2111,2051,2051,globl,hidden diff --git a/libc/sysv/calls/sys_readahead.S b/libc/sysv/calls/sys_readahead.S index 7fa5888fb9c..5c53889ca8b 100644 --- a/libc/sysv/calls/sys_readahead.S +++ b/libc/sysv/calls/sys_readahead.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_readahead,0xfffffffffffff0bb,213,4095,globl +.scall sys_readahead,0xfffffffffffff0bb,213,4095,4095,globl diff --git a/libc/sysv/calls/sys_readlinkat.S b/libc/sysv/calls/sys_readlinkat.S index 2c511842975..6bac3286ed3 100644 --- a/libc/sysv/calls/sys_readlinkat.S +++ b/libc/sysv/calls/sys_readlinkat.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_readlinkat,0x1d51421f421d910b,78,473,globl,hidden +.scall sys_readlinkat,0x1d51421f421d910b,78,473,500,globl,hidden diff --git a/libc/sysv/calls/sys_readv.S b/libc/sysv/calls/sys_readv.S index ec3ca292f8d..44f4b00adcc 100644 --- a/libc/sysv/calls/sys_readv.S +++ b/libc/sysv/calls/sys_readv.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_readv,0x8788788782878813,2113,2168,globl,hidden +.scall sys_readv,0x8788788782878813,2113,2168,2168,globl,hidden diff --git a/libc/sysv/calls/sys_reboot.S b/libc/sysv/calls/sys_reboot.S index 5da5b778bc1..21902587076 100644 --- a/libc/sysv/calls/sys_reboot.S +++ b/libc/sysv/calls/sys_reboot.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_reboot,0x0d003703720370a9,142,55,globl,hidden +.scall sys_reboot,0x0d003703720370a9,142,55,55,globl,hidden diff --git a/libc/sysv/calls/sys_recvfrom.S b/libc/sysv/calls/sys_recvfrom.S index 86dace8dbf2..70f5e6c02a7 100644 --- a/libc/sysv/calls/sys_recvfrom.S +++ b/libc/sysv/calls/sys_recvfrom.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_recvfrom,0x81d81d81d281d82d,2255,2077,globl,hidden +.scall sys_recvfrom,0x81d81d81d281d82d,2255,2077,2077,globl,hidden diff --git a/libc/sysv/calls/sys_recvmmsg.S b/libc/sysv/calls/sys_recvmmsg.S index 85f1a968ef0..8ae5848f87d 100644 --- a/libc/sysv/calls/sys_recvmmsg.S +++ b/libc/sysv/calls/sys_recvmmsg.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_recvmmsg,0x1dbffffffffff12b,243,4095,globl +.scall sys_recvmmsg,0x1dbffffffffff12b,243,4095,4095,globl diff --git a/libc/sysv/calls/sys_recvmsg.S b/libc/sysv/calls/sys_recvmsg.S index f375c1c7c8a..07a70051eca 100644 --- a/libc/sysv/calls/sys_recvmsg.S +++ b/libc/sysv/calls/sys_recvmsg.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_recvmsg,0x81b81b81b281b82f,2260,2075,globl,hidden +.scall sys_recvmsg,0x81b81b81b281b82f,2260,2075,2075,globl,hidden diff --git a/libc/sysv/calls/sys_removexattr.S b/libc/sysv/calls/sys_removexattr.S index 7300cf2babd..b1b2cfd206a 100644 --- a/libc/sysv/calls/sys_removexattr.S +++ b/libc/sysv/calls/sys_removexattr.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_removexattr,0x180ffffff20ee0c5,14,238,globl +.scall sys_removexattr,0x180ffffff20ee0c5,14,238,4095,globl diff --git a/libc/sysv/calls/sys_renameat.S b/libc/sysv/calls/sys_renameat.S index e17098c0ff5..36aa7ab8abc 100644 --- a/libc/sysv/calls/sys_renameat.S +++ b/libc/sysv/calls/sys_renameat.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_renameat,0x1ca1431f521d1108,38,465,globl,hidden +.scall sys_renameat,0x1ca1431f521d1108,38,465,501,globl,hidden diff --git a/libc/sysv/calls/sys_renameat2.S b/libc/sysv/calls/sys_renameat2.S index 0d135312342..2386826164f 100644 --- a/libc/sysv/calls/sys_renameat2.S +++ b/libc/sysv/calls/sys_renameat2.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_renameat2,0xfffffffffffff13c,276,4095,globl +.scall sys_renameat2,0xfffffffffffff13c,276,4095,4095,globl diff --git a/libc/sysv/calls/sys_request_key.S b/libc/sysv/calls/sys_request_key.S index f69e9dc92ec..01b7711a7b0 100644 --- a/libc/sysv/calls/sys_request_key.S +++ b/libc/sysv/calls/sys_request_key.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_request_key,0xfffffffffffff0f9,218,4095,globl +.scall sys_request_key,0xfffffffffffff0f9,218,4095,4095,globl diff --git a/libc/sysv/calls/sys_restart_syscall.S b/libc/sysv/calls/sys_restart_syscall.S index 44b511cca40..74fc95d6829 100644 --- a/libc/sysv/calls/sys_restart_syscall.S +++ b/libc/sysv/calls/sys_restart_syscall.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_restart_syscall,0xfffffffffffff0db,128,4095,globl +.scall sys_restart_syscall,0xfffffffffffff0db,128,4095,4095,globl diff --git a/libc/sysv/calls/sys_revoke.S b/libc/sysv/calls/sys_revoke.S index 0e53177c6eb..7e153dba7ac 100644 --- a/libc/sysv/calls/sys_revoke.S +++ b/libc/sysv/calls/sys_revoke.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_revoke,0x0380380382038fff,4095,56,globl +.scall sys_revoke,0x0380380382038fff,4095,56,56,globl diff --git a/libc/sysv/calls/sys_rseq.S b/libc/sysv/calls/sys_rseq.S index ff9e8d16ffb..5653d99f18d 100644 --- a/libc/sysv/calls/sys_rseq.S +++ b/libc/sysv/calls/sys_rseq.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_rseq,0xfffffffffffff14e,293,4095,globl +.scall sys_rseq,0xfffffffffffff14e,293,4095,4095,globl diff --git a/libc/sysv/calls/sys_rtprio_thread.S b/libc/sysv/calls/sys_rtprio_thread.S index 9abb4dcaf07..16c7d31cffa 100644 --- a/libc/sysv/calls/sys_rtprio_thread.S +++ b/libc/sysv/calls/sys_rtprio_thread.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_rtprio_thread,0xffffff1d2fffffff,4095,4095,globl +.scall sys_rtprio_thread,0xffffff1d2fffffff,4095,4095,466,globl diff --git a/libc/sysv/calls/sys_sched_get_priority_max.S b/libc/sysv/calls/sys_sched_get_priority_max.S index c6e09fe260d..0f4e81c61ef 100644 --- a/libc/sysv/calls/sys_sched_get_priority_max.S +++ b/libc/sysv/calls/sys_sched_get_priority_max.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_sched_get_priority_max,0xffffff14cffff092,125,4095,globl,hidden +.scall sys_sched_get_priority_max,0xffffff14cffff092,125,4095,332,globl,hidden diff --git a/libc/sysv/calls/sys_sched_get_priority_min.S b/libc/sysv/calls/sys_sched_get_priority_min.S index f8dcf0fdfeb..5d598a745f8 100644 --- a/libc/sysv/calls/sys_sched_get_priority_min.S +++ b/libc/sysv/calls/sys_sched_get_priority_min.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_sched_get_priority_min,0xffffff14dffff093,126,4095,globl,hidden +.scall sys_sched_get_priority_min,0xffffff14dffff093,126,4095,333,globl,hidden diff --git a/libc/sysv/calls/sys_sched_getaffinity.S b/libc/sysv/calls/sys_sched_getaffinity.S index 71fdd65835e..fc8b355532a 100644 --- a/libc/sysv/calls/sys_sched_getaffinity.S +++ b/libc/sysv/calls/sys_sched_getaffinity.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_sched_getaffinity,0x15dfff1e7ffff0cc,123,4095,globl,hidden +.scall sys_sched_getaffinity,0x15dfff1e7ffff0cc,123,4095,487,globl,hidden diff --git a/libc/sysv/calls/sys_sched_getattr.S b/libc/sysv/calls/sys_sched_getattr.S index d6e350bb405..332b4a24ea3 100644 --- a/libc/sysv/calls/sys_sched_getattr.S +++ b/libc/sysv/calls/sys_sched_getattr.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_sched_getattr,0xfffffffffffff13b,275,4095,globl +.scall sys_sched_getattr,0xfffffffffffff13b,275,4095,4095,globl diff --git a/libc/sysv/calls/sys_sched_getparam.S b/libc/sysv/calls/sys_sched_getparam.S index 71aff76c8f8..6e53ab7dca8 100644 --- a/libc/sysv/calls/sys_sched_getparam.S +++ b/libc/sysv/calls/sys_sched_getparam.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_sched_getparam,0x15bfff148ffff08f,121,4095,globl,hidden +.scall sys_sched_getparam,0x15bfff148ffff08f,121,4095,328,globl,hidden diff --git a/libc/sysv/calls/sys_sched_getscheduler.S b/libc/sysv/calls/sys_sched_getscheduler.S index 741f7a10a40..d9bac592d6d 100644 --- a/libc/sysv/calls/sys_sched_getscheduler.S +++ b/libc/sysv/calls/sys_sched_getscheduler.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_sched_getscheduler,0xffffff14affff091,120,4095,globl,hidden +.scall sys_sched_getscheduler,0xffffff14affff091,120,4095,330,globl,hidden diff --git a/libc/sysv/calls/sys_sched_rr_get_interval.S b/libc/sysv/calls/sys_sched_rr_get_interval.S index a517d1781b2..5eb03a56ba0 100644 --- a/libc/sysv/calls/sys_sched_rr_get_interval.S +++ b/libc/sysv/calls/sys_sched_rr_get_interval.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_sched_rr_get_interval,0xffffff14effff094,127,4095,globl,hidden +.scall sys_sched_rr_get_interval,0xffffff14effff094,127,4095,334,globl,hidden diff --git a/libc/sysv/calls/sys_sched_setaffinity.S b/libc/sysv/calls/sys_sched_setaffinity.S index a5094cd47bc..741d570b1a5 100644 --- a/libc/sysv/calls/sys_sched_setaffinity.S +++ b/libc/sysv/calls/sys_sched_setaffinity.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_sched_setaffinity,0x15cfff1e8ffff0cb,122,4095,globl,hidden +.scall sys_sched_setaffinity,0x15cfff1e8ffff0cb,122,4095,488,globl,hidden diff --git a/libc/sysv/calls/sys_sched_setattr.S b/libc/sysv/calls/sys_sched_setattr.S index 40d4aa163a1..ccf70e31ac2 100644 --- a/libc/sysv/calls/sys_sched_setattr.S +++ b/libc/sysv/calls/sys_sched_setattr.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_sched_setattr,0xfffffffffffff13a,274,4095,globl +.scall sys_sched_setattr,0xfffffffffffff13a,274,4095,4095,globl diff --git a/libc/sysv/calls/sys_sched_setparam.S b/libc/sysv/calls/sys_sched_setparam.S index d4de11b7f53..de3c1f6ce4c 100644 --- a/libc/sysv/calls/sys_sched_setparam.S +++ b/libc/sysv/calls/sys_sched_setparam.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_sched_setparam,0x15afff147ffff08e,118,4095,globl,hidden +.scall sys_sched_setparam,0x15afff147ffff08e,118,4095,327,globl,hidden diff --git a/libc/sysv/calls/sys_sched_setscheduler.S b/libc/sysv/calls/sys_sched_setscheduler.S index b7f788a329e..aa83ec26112 100644 --- a/libc/sysv/calls/sys_sched_setscheduler.S +++ b/libc/sysv/calls/sys_sched_setscheduler.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_sched_setscheduler,0xffffff149ffff090,119,4095,globl,hidden +.scall sys_sched_setscheduler,0xffffff149ffff090,119,4095,329,globl,hidden diff --git a/libc/sysv/calls/sys_sched_yield.S b/libc/sysv/calls/sys_sched_yield.S index 78360bbf756..c0f3e78ad59 100644 --- a/libc/sysv/calls/sys_sched_yield.S +++ b/libc/sysv/calls/sys_sched_yield.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_sched_yield,0x15e12a14bf25d018,124,605,globl,hidden +.scall sys_sched_yield,0x15e12a14bf25d018,124,605,331,globl,hidden diff --git a/libc/sysv/calls/sys_select.S b/libc/sysv/calls/sys_select.S index 076535cfb57..2c9764e4bdb 100644 --- a/libc/sysv/calls/sys_select.S +++ b/libc/sysv/calls/sys_select.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_select,0x9a184785d285d817,4095,2141,globl,hidden +.scall sys_select,0x9a184785d285d817,4095,2141,2141,globl,hidden diff --git a/libc/sysv/calls/sys_sem_close.S b/libc/sysv/calls/sys_sem_close.S index 6be3416b812..63f76e027ac 100644 --- a/libc/sysv/calls/sys_sem_close.S +++ b/libc/sysv/calls/sys_sem_close.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_sem_close,0x0fafff190210dfff,4095,269,globl +.scall sys_sem_close,0x0fafff190210dfff,4095,269,400,globl diff --git a/libc/sysv/calls/sys_sem_destroy.S b/libc/sysv/calls/sys_sem_destroy.S index ac497e649b9..f2cddbb9e0f 100644 --- a/libc/sysv/calls/sys_sem_destroy.S +++ b/libc/sysv/calls/sys_sem_destroy.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_sem_destroy,0x0fffff198fffffff,4095,4095,globl +.scall sys_sem_destroy,0x0fffff198fffffff,4095,4095,408,globl diff --git a/libc/sysv/calls/sys_sem_getvalue.S b/libc/sysv/calls/sys_sem_getvalue.S index 04cb3c59115..c50e6174e6c 100644 --- a/libc/sysv/calls/sys_sem_getvalue.S +++ b/libc/sysv/calls/sys_sem_getvalue.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_sem_getvalue,0x0fefff197fffffff,4095,4095,globl +.scall sys_sem_getvalue,0x0fefff197fffffff,4095,4095,407,globl diff --git a/libc/sysv/calls/sys_sem_init.S b/libc/sysv/calls/sys_sem_init.S index f977ae36f3d..596214d2d15 100644 --- a/libc/sysv/calls/sys_sem_init.S +++ b/libc/sysv/calls/sys_sem_init.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_sem_init,0x0f7fff194fffffff,4095,4095,globl +.scall sys_sem_init,0x0f7fff194fffffff,4095,4095,404,globl diff --git a/libc/sysv/calls/sys_sem_open.S b/libc/sysv/calls/sys_sem_open.S index d04810b10fd..98a505939b6 100644 --- a/libc/sysv/calls/sys_sem_open.S +++ b/libc/sysv/calls/sys_sem_open.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_sem_open,0x0f8fff195210cfff,4095,268,globl +.scall sys_sem_open,0x0f8fff195210cfff,4095,268,405,globl diff --git a/libc/sysv/calls/sys_sem_post.S b/libc/sysv/calls/sys_sem_post.S index ae504abf084..afd3213bb31 100644 --- a/libc/sysv/calls/sys_sem_post.S +++ b/libc/sysv/calls/sys_sem_post.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_sem_post,0x0fbfff1912111fff,4095,273,globl +.scall sys_sem_post,0x0fbfff1912111fff,4095,273,401,globl diff --git a/libc/sysv/calls/sys_sem_timedwait.S b/libc/sysv/calls/sys_sem_timedwait.S index 1b384404ee0..34f3dc89611 100644 --- a/libc/sysv/calls/sys_sem_timedwait.S +++ b/libc/sysv/calls/sys_sem_timedwait.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_sem_timedwait,0x900fff9b9fffffff,4095,4095,globl +.scall sys_sem_timedwait,0x900fff9b9fffffff,4095,4095,2489,globl diff --git a/libc/sysv/calls/sys_sem_trywait.S b/libc/sysv/calls/sys_sem_trywait.S index ef4604b75de..2b7fc6afc8f 100644 --- a/libc/sysv/calls/sys_sem_trywait.S +++ b/libc/sysv/calls/sys_sem_trywait.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_sem_trywait,0x0fdfff1932110fff,4095,272,globl +.scall sys_sem_trywait,0x0fdfff1932110fff,4095,272,403,globl diff --git a/libc/sysv/calls/sys_sem_unlink.S b/libc/sysv/calls/sys_sem_unlink.S index d9ebddb501c..78a12a6ae74 100644 --- a/libc/sysv/calls/sys_sem_unlink.S +++ b/libc/sysv/calls/sys_sem_unlink.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_sem_unlink,0x0f9fff196210efff,4095,270,globl +.scall sys_sem_unlink,0x0f9fff196210efff,4095,270,406,globl diff --git a/libc/sysv/calls/sys_sem_wait.S b/libc/sysv/calls/sys_sem_wait.S index 94ed8bee203..80c29566113 100644 --- a/libc/sysv/calls/sys_sem_wait.S +++ b/libc/sysv/calls/sys_sem_wait.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_sem_wait,0x8fcfff992290ffff,4095,2319,globl +.scall sys_sem_wait,0x8fcfff992290ffff,4095,2319,2450,globl diff --git a/libc/sysv/calls/sys_sem_wait_nocancel.S b/libc/sysv/calls/sys_sem_wait_nocancel.S index 8bf0e12d567..86136880809 100644 --- a/libc/sysv/calls/sys_sem_wait_nocancel.S +++ b/libc/sysv/calls/sys_sem_wait_nocancel.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_sem_wait_nocancel,0xfffffffff21a4fff,4095,420,globl +.scall sys_sem_wait_nocancel,0xfffffffff21a4fff,4095,420,4095,globl diff --git a/libc/sysv/calls/sys_semctl.S b/libc/sysv/calls/sys_semctl.S index 0a306cc3eb8..6af8608ef16 100644 --- a/libc/sysv/calls/sys_semctl.S +++ b/libc/sysv/calls/sys_semctl.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_semctl,0xfff1271fe20fe042,191,254,globl +.scall sys_semctl,0xfff1271fe20fe042,191,254,510,globl diff --git a/libc/sysv/calls/sys_semget.S b/libc/sysv/calls/sys_semget.S index 544acf205d2..2a3da468305 100644 --- a/libc/sysv/calls/sys_semget.S +++ b/libc/sysv/calls/sys_semget.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_semget,0x0dd0dd0dd20ff040,190,255,globl +.scall sys_semget,0x0dd0dd0dd20ff040,190,255,221,globl diff --git a/libc/sysv/calls/sys_semop.S b/libc/sysv/calls/sys_semop.S index 96c10a30c80..744d8699562 100644 --- a/libc/sysv/calls/sys_semop.S +++ b/libc/sysv/calls/sys_semop.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_semop,0x0de1220de2100041,193,256,globl +.scall sys_semop,0x0de1220de2100041,193,256,222,globl diff --git a/libc/sysv/calls/sys_semsys.S b/libc/sysv/calls/sys_semsys.S index 0a1515d33b2..33ebb4dc8f0 100644 --- a/libc/sysv/calls/sys_semsys.S +++ b/libc/sysv/calls/sys_semsys.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_semsys,0xffffff0a920fbfff,4095,251,globl +.scall sys_semsys,0xffffff0a920fbfff,4095,251,169,globl diff --git a/libc/sysv/calls/sys_semtimedop.S b/libc/sysv/calls/sys_semtimedop.S index 0a566143979..4f14c96e71e 100644 --- a/libc/sysv/calls/sys_semtimedop.S +++ b/libc/sysv/calls/sys_semtimedop.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_semtimedop,0xfffffffffffff0dc,192,4095,globl +.scall sys_semtimedop,0xfffffffffffff0dc,192,4095,4095,globl diff --git a/libc/sysv/calls/sys_sendfile.S b/libc/sysv/calls/sys_sendfile.S index ddada0e5c78..0c8505e6700 100644 --- a/libc/sysv/calls/sys_sendfile.S +++ b/libc/sysv/calls/sys_sendfile.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_sendfile,0xffffff1892151028,71,337,globl,hidden +.scall sys_sendfile,0xffffff1892151028,71,337,393,globl,hidden diff --git a/libc/sysv/calls/sys_sendmsg.S b/libc/sysv/calls/sys_sendmsg.S index 5e6eb77c617..23731a36dd7 100644 --- a/libc/sysv/calls/sys_sendmsg.S +++ b/libc/sysv/calls/sys_sendmsg.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_sendmsg,0x81c81c81c281c82e,2259,2076,globl,hidden +.scall sys_sendmsg,0x81c81c81c281c82e,2259,2076,2076,globl,hidden diff --git a/libc/sysv/calls/sys_sendto.S b/libc/sysv/calls/sys_sendto.S index 0a805a35c8f..046c2b1a727 100644 --- a/libc/sysv/calls/sys_sendto.S +++ b/libc/sysv/calls/sys_sendto.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_sendto,0x885885885288582c,2254,2181,globl,hidden +.scall sys_sendto,0x885885885288582c,2254,2181,2181,globl,hidden diff --git a/libc/sysv/calls/sys_set_mempolicy_home_node.S b/libc/sysv/calls/sys_set_mempolicy_home_node.S index dd0764e2011..481cf73f12c 100644 --- a/libc/sysv/calls/sys_set_mempolicy_home_node.S +++ b/libc/sysv/calls/sys_set_mempolicy_home_node.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_set_mempolicy_home_node,0xfffffffffffff1c2,4095,4095,globl +.scall sys_set_mempolicy_home_node,0xfffffffffffff1c2,4095,4095,4095,globl diff --git a/libc/sysv/calls/sys_set_robust_list.S b/libc/sysv/calls/sys_set_robust_list.S index 8a6b03ed775..57f3261aa21 100644 --- a/libc/sysv/calls/sys_set_robust_list.S +++ b/libc/sysv/calls/sys_set_robust_list.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_set_robust_list,0x0a7ffffffffff111,99,4095,globl +.scall sys_set_robust_list,0x0a7ffffffffff111,99,4095,4095,globl diff --git a/libc/sysv/calls/sys_set_tid_address.S b/libc/sysv/calls/sys_set_tid_address.S index 4fc8f644454..ce080af7cd5 100644 --- a/libc/sysv/calls/sys_set_tid_address.S +++ b/libc/sysv/calls/sys_set_tid_address.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_set_tid_address,0xfffffffffffff0da,96,4095,globl +.scall sys_set_tid_address,0xfffffffffffff0da,96,4095,4095,globl diff --git a/libc/sysv/calls/sys_set_tls.S b/libc/sysv/calls/sys_set_tls.S index 5a715cafdcc..ad10da93cfe 100644 --- a/libc/sysv/calls/sys_set_tls.S +++ b/libc/sysv/calls/sys_set_tls.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_set_tls,0x13d1490a5300309e,4095,3,globl,hidden +.scall sys_set_tls,0x13d1490a5300309e,4095,3,165,globl,hidden diff --git a/libc/sysv/calls/sys_setaudit_addr.S b/libc/sysv/calls/sys_setaudit_addr.S index 108342e08fb..30fa3381480 100644 --- a/libc/sysv/calls/sys_setaudit_addr.S +++ b/libc/sysv/calls/sys_setaudit_addr.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_setaudit_addr,0xffffff1c42166fff,4095,358,globl +.scall sys_setaudit_addr,0xffffff1c42166fff,4095,358,452,globl diff --git a/libc/sysv/calls/sys_setauid.S b/libc/sysv/calls/sys_setauid.S index 638130920de..b956c756866 100644 --- a/libc/sysv/calls/sys_setauid.S +++ b/libc/sysv/calls/sys_setauid.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_setauid,0xffffff1c02162fff,4095,354,globl +.scall sys_setauid,0xffffff1c02162fff,4095,354,448,globl diff --git a/libc/sysv/calls/sys_setdomainname.S b/libc/sysv/calls/sys_setdomainname.S index 0cdd2f58163..1991346e3e7 100644 --- a/libc/sysv/calls/sys_setdomainname.S +++ b/libc/sysv/calls/sys_setdomainname.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_setdomainname,0xffffff0a3ffff0ab,162,4095,globl +.scall sys_setdomainname,0xffffff0a3ffff0ab,162,4095,163,globl diff --git a/libc/sysv/calls/sys_setfsgid.S b/libc/sysv/calls/sys_setfsgid.S index 34a39fdd23c..2df871e20a5 100644 --- a/libc/sysv/calls/sys_setfsgid.S +++ b/libc/sysv/calls/sys_setfsgid.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_setfsgid,0xfffffffffffff07b,152,4095,globl,hidden +.scall sys_setfsgid,0xfffffffffffff07b,152,4095,4095,globl,hidden diff --git a/libc/sysv/calls/sys_setfsuid.S b/libc/sysv/calls/sys_setfsuid.S index fdb3f8a1616..439546b57c6 100644 --- a/libc/sysv/calls/sys_setfsuid.S +++ b/libc/sysv/calls/sys_setfsuid.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_setfsuid,0xfffffffffffff07a,151,4095,globl,hidden +.scall sys_setfsuid,0xfffffffffffff07a,151,4095,4095,globl,hidden diff --git a/libc/sysv/calls/sys_setgid.S b/libc/sysv/calls/sys_setgid.S index 75c801766da..622eff5d706 100644 --- a/libc/sysv/calls/sys_setgid.S +++ b/libc/sysv/calls/sys_setgid.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_setgid,0x0b50b50b520b506a,144,181,globl,hidden +.scall sys_setgid,0x0b50b50b520b506a,144,181,181,globl,hidden diff --git a/libc/sysv/calls/sys_setgroups.S b/libc/sysv/calls/sys_setgroups.S index ca4d6808896..e4ebf8f4599 100644 --- a/libc/sysv/calls/sys_setgroups.S +++ b/libc/sysv/calls/sys_setgroups.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_setgroups,0x0500500502050074,159,80,globl,hidden +.scall sys_setgroups,0x0500500502050074,159,80,80,globl,hidden diff --git a/libc/sysv/calls/sys_sethostname.S b/libc/sysv/calls/sys_sethostname.S index 06b22bc5b74..fcbde3ea9ea 100644 --- a/libc/sysv/calls/sys_sethostname.S +++ b/libc/sysv/calls/sys_sethostname.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_sethostname,0xffffff058ffff0aa,161,4095,globl +.scall sys_sethostname,0xffffff058ffff0aa,161,4095,88,globl diff --git a/libc/sysv/calls/sys_setitimer.S b/libc/sysv/calls/sys_setitimer.S index db78b13771a..fd9eda23890 100644 --- a/libc/sysv/calls/sys_setitimer.S +++ b/libc/sysv/calls/sys_setitimer.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_setitimer,0x1a90450532053026,103,83,globl,hidden +.scall sys_setitimer,0x1a90450532053026,103,83,83,globl,hidden diff --git a/libc/sysv/calls/sys_setlogin.S b/libc/sysv/calls/sys_setlogin.S index d53d1e9fbf4..5bc03982839 100644 --- a/libc/sysv/calls/sys_setlogin.S +++ b/libc/sysv/calls/sys_setlogin.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_setlogin,0xfff0320322032fff,4095,50,globl +.scall sys_setlogin,0xfff0320322032fff,4095,50,50,globl diff --git a/libc/sysv/calls/sys_setns.S b/libc/sysv/calls/sys_setns.S index 800e2d5bf33..438b35fad91 100644 --- a/libc/sysv/calls/sys_setns.S +++ b/libc/sysv/calls/sys_setns.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_setns,0xfffffffffffff134,268,4095,globl +.scall sys_setns,0xfffffffffffff134,268,4095,4095,globl diff --git a/libc/sysv/calls/sys_setpgid.S b/libc/sysv/calls/sys_setpgid.S index e64df3d5d7c..c3e5b453af3 100644 --- a/libc/sysv/calls/sys_setpgid.S +++ b/libc/sysv/calls/sys_setpgid.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_setpgid,0x052052052205206d,154,82,globl,hidden +.scall sys_setpgid,0x052052052205206d,154,82,82,globl,hidden diff --git a/libc/sysv/calls/sys_setpriority.S b/libc/sysv/calls/sys_setpriority.S index bc34ccd9365..efb33998042 100644 --- a/libc/sysv/calls/sys_setpriority.S +++ b/libc/sysv/calls/sys_setpriority.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_setpriority,0x060060060206008d,140,96,globl,hidden +.scall sys_setpriority,0x060060060206008d,140,96,96,globl,hidden diff --git a/libc/sysv/calls/sys_setregid.S b/libc/sysv/calls/sys_setregid.S index 5c60b1d0e4a..d58a2e8543f 100644 --- a/libc/sysv/calls/sys_setregid.S +++ b/libc/sysv/calls/sys_setregid.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_setregid,0x07f07f07f207f072,143,127,globl,hidden +.scall sys_setregid,0x07f07f07f207f072,143,127,127,globl,hidden diff --git a/libc/sysv/calls/sys_setresgid.S b/libc/sysv/calls/sys_setresgid.S index 9e46474f75b..792c25a8dfa 100644 --- a/libc/sysv/calls/sys_setresgid.S +++ b/libc/sysv/calls/sys_setresgid.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_setresgid,0xfff11c138ffff077,149,4095,globl,hidden +.scall sys_setresgid,0xfff11c138ffff077,149,4095,312,globl,hidden diff --git a/libc/sysv/calls/sys_setresuid.S b/libc/sysv/calls/sys_setresuid.S index 05ea0ff6f9d..6850b34377d 100644 --- a/libc/sysv/calls/sys_setresuid.S +++ b/libc/sysv/calls/sys_setresuid.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_setresuid,0xfff11a137ffff075,147,4095,globl,hidden +.scall sys_setresuid,0xfff11a137ffff075,147,4095,311,globl,hidden diff --git a/libc/sysv/calls/sys_setreuid.S b/libc/sysv/calls/sys_setreuid.S index d73b3316b8c..ab8891e288d 100644 --- a/libc/sysv/calls/sys_setreuid.S +++ b/libc/sysv/calls/sys_setreuid.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_setreuid,0x07e07e07e207e071,145,126,globl,hidden +.scall sys_setreuid,0x07e07e07e207e071,145,126,126,globl,hidden diff --git a/libc/sysv/calls/sys_setrlimit.S b/libc/sysv/calls/sys_setrlimit.S index 75b92140588..a7d08856224 100644 --- a/libc/sysv/calls/sys_setrlimit.S +++ b/libc/sysv/calls/sys_setrlimit.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_setrlimit,0x0c30c30c320c30a0,164,195,globl,hidden +.scall sys_setrlimit,0x0c30c30c320c30a0,164,195,195,globl,hidden diff --git a/libc/sysv/calls/sys_setsid.S b/libc/sysv/calls/sys_setsid.S index 2ad99e25a1e..9846948f732 100644 --- a/libc/sysv/calls/sys_setsid.S +++ b/libc/sysv/calls/sys_setsid.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_setsid,0x0930930932093070,157,147,globl,hidden +.scall sys_setsid,0x0930930932093070,157,147,147,globl,hidden diff --git a/libc/sysv/calls/sys_setsockopt.S b/libc/sysv/calls/sys_setsockopt.S index a2d994e0c73..e61f8ad3d51 100644 --- a/libc/sysv/calls/sys_setsockopt.S +++ b/libc/sysv/calls/sys_setsockopt.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_setsockopt,0x0690690692069036,208,105,globl,hidden +.scall sys_setsockopt,0x0690690692069036,208,105,105,globl,hidden diff --git a/libc/sysv/calls/sys_settimeofday.S b/libc/sysv/calls/sys_settimeofday.S index c02d20397fd..c9e8f687ebf 100644 --- a/libc/sysv/calls/sys_settimeofday.S +++ b/libc/sysv/calls/sys_settimeofday.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_settimeofday,0x1a304407a207a0a4,170,122,globl +.scall sys_settimeofday,0x1a304407a207a0a4,170,122,122,globl diff --git a/libc/sysv/calls/sys_setuid.S b/libc/sysv/calls/sys_setuid.S index da47b15c762..73c9ecea9b8 100644 --- a/libc/sysv/calls/sys_setuid.S +++ b/libc/sysv/calls/sys_setuid.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_setuid,0x0170170172017069,146,23,globl,hidden +.scall sys_setuid,0x0170170172017069,146,23,23,globl,hidden diff --git a/libc/sysv/calls/sys_setxattr.S b/libc/sysv/calls/sys_setxattr.S index 15c74f0857b..11052cf41e4 100644 --- a/libc/sysv/calls/sys_setxattr.S +++ b/libc/sysv/calls/sys_setxattr.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_setxattr,0x177ffffff20ec0bc,5,236,globl +.scall sys_setxattr,0x177ffffff20ec0bc,5,236,4095,globl diff --git a/libc/sysv/calls/sys_shm_open.S b/libc/sysv/calls/sys_shm_open.S index e49a0885f07..12fbe7a551a 100644 --- a/libc/sysv/calls/sys_shm_open.S +++ b/libc/sysv/calls/sys_shm_open.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_shm_open,0xffffff1e2210afff,4095,266,globl +.scall sys_shm_open,0xffffff1e2210afff,4095,266,482,globl diff --git a/libc/sysv/calls/sys_shm_unlink.S b/libc/sysv/calls/sys_shm_unlink.S index afdab360849..3cba20c6b5f 100644 --- a/libc/sysv/calls/sys_shm_unlink.S +++ b/libc/sysv/calls/sys_shm_unlink.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_shm_unlink,0xffffff1e3210bfff,4095,267,globl +.scall sys_shm_unlink,0xffffff1e3210bfff,4095,267,483,globl diff --git a/libc/sysv/calls/sys_shmat.S b/libc/sysv/calls/sys_shmat.S index 6f41abc88d5..9a150e1a8a2 100644 --- a/libc/sysv/calls/sys_shmat.S +++ b/libc/sysv/calls/sys_shmat.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_shmat,0x0e40e40e4210601e,196,262,globl +.scall sys_shmat,0x0e40e40e4210601e,196,262,228,globl diff --git a/libc/sysv/calls/sys_shmctl.S b/libc/sysv/calls/sys_shmctl.S index b8f3ebb1f5f..bc8bf2cd145 100644 --- a/libc/sysv/calls/sys_shmctl.S +++ b/libc/sysv/calls/sys_shmctl.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_shmctl,0x1bb128200210701f,195,263,globl +.scall sys_shmctl,0x1bb128200210701f,195,263,512,globl diff --git a/libc/sysv/calls/sys_shmdt.S b/libc/sysv/calls/sys_shmdt.S index d09cca5ce06..0985b57bfd0 100644 --- a/libc/sysv/calls/sys_shmdt.S +++ b/libc/sysv/calls/sys_shmdt.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_shmdt,0x0e60e60e62108043,197,264,globl +.scall sys_shmdt,0x0e60e60e62108043,197,264,230,globl diff --git a/libc/sysv/calls/sys_shmget.S b/libc/sysv/calls/sys_shmget.S index fc21d1662d9..5953bd74dd4 100644 --- a/libc/sysv/calls/sys_shmget.S +++ b/libc/sysv/calls/sys_shmget.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_shmget,0x0e71210e7210901d,194,265,globl +.scall sys_shmget,0x0e71210e7210901d,194,265,231,globl diff --git a/libc/sysv/calls/sys_shmsys.S b/libc/sysv/calls/sys_shmsys.S index 69ae2a91b39..c41281c99e2 100644 --- a/libc/sysv/calls/sys_shmsys.S +++ b/libc/sysv/calls/sys_shmsys.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_shmsys,0xffffff0ab20fdfff,4095,253,globl +.scall sys_shmsys,0xffffff0ab20fdfff,4095,253,171,globl diff --git a/libc/sysv/calls/sys_shutdown.S b/libc/sysv/calls/sys_shutdown.S index 39855efb379..ac4481190fb 100644 --- a/libc/sysv/calls/sys_shutdown.S +++ b/libc/sysv/calls/sys_shutdown.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_shutdown,0x0860860862086030,210,134,globl,hidden +.scall sys_shutdown,0x0860860862086030,210,134,134,globl,hidden diff --git a/libc/sysv/calls/sys_sigaction.S b/libc/sysv/calls/sys_sigaction.S index 24d40f65b09..a0332eba34b 100644 --- a/libc/sysv/calls/sys_sigaction.S +++ b/libc/sysv/calls/sys_sigaction.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_sigaction,0x15402e1a0202e00d,134,46,globl,hidden +.scall sys_sigaction,0x15402e1a0202e00d,134,46,416,globl,hidden diff --git a/libc/sysv/calls/sys_sigaltstack.S b/libc/sysv/calls/sys_sigaltstack.S index 0a4efa83084..d3d88c79b79 100644 --- a/libc/sysv/calls/sys_sigaltstack.S +++ b/libc/sysv/calls/sys_sigaltstack.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_sigaltstack,0x1191200352035083,132,53,globl,hidden +.scall sys_sigaltstack,0x1191200352035083,132,53,53,globl,hidden diff --git a/libc/sysv/calls/sys_signalfd.S b/libc/sysv/calls/sys_signalfd.S index 1d5e58d2a87..b935690f365 100644 --- a/libc/sysv/calls/sys_signalfd.S +++ b/libc/sysv/calls/sys_signalfd.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_signalfd,0xfffffffffffff11a,4095,4095,globl +.scall sys_signalfd,0xfffffffffffff11a,4095,4095,4095,globl diff --git a/libc/sysv/calls/sys_signalfd4.S b/libc/sysv/calls/sys_signalfd4.S index 81e684366cb..4a8e259b886 100644 --- a/libc/sysv/calls/sys_signalfd4.S +++ b/libc/sysv/calls/sys_signalfd4.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_signalfd4,0xfffffffffffff121,74,4095,globl +.scall sys_signalfd4,0xfffffffffffff121,74,4095,4095,globl diff --git a/libc/sysv/calls/sys_sigpending.S b/libc/sysv/calls/sys_sigpending.S index b965fa67e88..2787686c2f1 100644 --- a/libc/sysv/calls/sys_sigpending.S +++ b/libc/sysv/calls/sys_sigpending.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_sigpending,0x124034157203407f,136,52,globl,hidden +.scall sys_sigpending,0x124034157203407f,136,52,343,globl,hidden diff --git a/libc/sysv/calls/sys_sigqueue.S b/libc/sysv/calls/sys_sigqueue.S index 5f1f56f75a1..d01390bf664 100644 --- a/libc/sysv/calls/sys_sigqueue.S +++ b/libc/sysv/calls/sys_sigqueue.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_sigqueue,0xffffff1c8fffffff,4095,4095,globl,hidden +.scall sys_sigqueue,0xffffff1c8fffffff,4095,4095,456,globl,hidden diff --git a/libc/sysv/calls/sys_sigqueueinfo.S b/libc/sysv/calls/sys_sigqueueinfo.S index 5d8df3d9f94..fd73dddb60d 100644 --- a/libc/sysv/calls/sys_sigqueueinfo.S +++ b/libc/sysv/calls/sys_sigqueueinfo.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_sigqueueinfo,0x0f5ffffffffff081,138,4095,globl,hidden +.scall sys_sigqueueinfo,0x0f5ffffffffff081,138,4095,4095,globl,hidden diff --git a/libc/sysv/calls/sys_sigsuspend.S b/libc/sysv/calls/sys_sigsuspend.S index 3a1f5ffc04d..219cca0268d 100644 --- a/libc/sysv/calls/sys_sigsuspend.S +++ b/libc/sysv/calls/sys_sigsuspend.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_sigsuspend,0x92686f955286f882,2181,2159,globl,hidden +.scall sys_sigsuspend,0x92686f955286f882,2181,2159,2389,globl,hidden diff --git a/libc/sysv/calls/sys_sigtimedwait.S b/libc/sysv/calls/sys_sigtimedwait.S index e3ec9a64879..2416cdfc402 100644 --- a/libc/sysv/calls/sys_sigtimedwait.S +++ b/libc/sysv/calls/sys_sigtimedwait.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_sigtimedwait,0x9affff959ffff880,2185,4095,globl,hidden +.scall sys_sigtimedwait,0x9affff959ffff880,2185,4095,2393,globl,hidden diff --git a/libc/sysv/calls/sys_sigwait.S b/libc/sysv/calls/sys_sigwait.S index bc46c487f32..f7329e6e87f 100644 --- a/libc/sysv/calls/sys_sigwait.S +++ b/libc/sysv/calls/sys_sigwait.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_sigwait,0xffffff1ad214afff,4095,330,globl +.scall sys_sigwait,0xffffff1ad214afff,4095,330,429,globl diff --git a/libc/sysv/calls/sys_splice.S b/libc/sysv/calls/sys_splice.S index 1f079e3152e..e1c15507a7c 100644 --- a/libc/sysv/calls/sys_splice.S +++ b/libc/sysv/calls/sys_splice.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_splice,0xfffffffffffff113,76,4095,globl,hidden +.scall sys_splice,0xfffffffffffff113,76,4095,4095,globl,hidden diff --git a/libc/sysv/calls/sys_statfs.S b/libc/sysv/calls/sys_statfs.S index bd69def3ab2..98f5c106438 100644 --- a/libc/sysv/calls/sys_statfs.S +++ b/libc/sysv/calls/sys_statfs.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_statfs,0x89d83fa2b2959889,2091,2393,globl,hidden +.scall sys_statfs,0x89d83fa2b2959889,2091,2393,2603,globl,hidden diff --git a/libc/sysv/calls/sys_statx.S b/libc/sysv/calls/sys_statx.S index 03ec62bd7ec..169a4a893c8 100644 --- a/libc/sysv/calls/sys_statx.S +++ b/libc/sysv/calls/sys_statx.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_statx,0xfffffffffffff14c,291,4095,globl +.scall sys_statx,0xfffffffffffff14c,291,4095,4095,globl diff --git a/libc/sysv/calls/sys_swapoff.S b/libc/sysv/calls/sys_swapoff.S index 64a8b514797..dc36fc64f1c 100644 --- a/libc/sysv/calls/sys_swapoff.S +++ b/libc/sysv/calls/sys_swapoff.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_swapoff,0xffffff1a8ffff0a8,225,4095,globl +.scall sys_swapoff,0xffffff1a8ffff0a8,225,4095,424,globl diff --git a/libc/sysv/calls/sys_swapon.S b/libc/sysv/calls/sys_swapon.S index 9354054b14d..9aa53edc98a 100644 --- a/libc/sysv/calls/sys_swapon.S +++ b/libc/sysv/calls/sys_swapon.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_swapon,0xffffff05520550a7,224,85,globl +.scall sys_swapon,0xffffff05520550a7,224,85,85,globl diff --git a/libc/sysv/calls/sys_symlinkat.S b/libc/sysv/calls/sys_symlinkat.S index 6c24d079172..959e57e6c73 100644 --- a/libc/sysv/calls/sys_symlinkat.S +++ b/libc/sysv/calls/sys_symlinkat.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_symlinkat,0x1d61441f621da10a,36,474,globl,hidden +.scall sys_symlinkat,0x1d61441f621da10a,36,474,502,globl,hidden diff --git a/libc/sysv/calls/sys_sync.S b/libc/sysv/calls/sys_sync.S index 9161eb6f2c9..5a59ac2c388 100644 --- a/libc/sysv/calls/sys_sync.S +++ b/libc/sysv/calls/sys_sync.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_sync,0x02402402420240a2,81,36,globl,hidden +.scall sys_sync,0x02402402420240a2,81,36,36,globl,hidden diff --git a/libc/sysv/calls/sys_syncfs.S b/libc/sysv/calls/sys_syncfs.S index 24328aae7bb..e9160f73834 100644 --- a/libc/sysv/calls/sys_syncfs.S +++ b/libc/sysv/calls/sys_syncfs.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_syncfs,0xfffffffffffff132,267,4095,globl +.scall sys_syncfs,0xfffffffffffff132,267,4095,4095,globl diff --git a/libc/sysv/calls/sys_sysctl.S b/libc/sysv/calls/sys_sysctl.S index 684aca81829..083c9799816 100644 --- a/libc/sysv/calls/sys_sysctl.S +++ b/libc/sysv/calls/sys_sysctl.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_sysctl,0x0ca0ca0ca20cafff,4095,202,globl +.scall sys_sysctl,0x0ca0ca0ca20cafff,4095,202,202,globl diff --git a/libc/sysv/calls/sys_sysfs.S b/libc/sysv/calls/sys_sysfs.S index 08968cce303..d57d0e04db5 100644 --- a/libc/sysv/calls/sys_sysfs.S +++ b/libc/sysv/calls/sys_sysfs.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_sysfs,0xfffffffffffff08b,4095,4095,globl +.scall sys_sysfs,0xfffffffffffff08b,4095,4095,4095,globl diff --git a/libc/sysv/calls/sys_sysinfo.S b/libc/sysv/calls/sys_sysinfo.S index c00e9a7c03a..c4a64983cb0 100644 --- a/libc/sysv/calls/sys_sysinfo.S +++ b/libc/sysv/calls/sys_sysinfo.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_sysinfo,0xfffffffffffff063,179,4095,globl,hidden +.scall sys_sysinfo,0xfffffffffffff063,179,4095,4095,globl,hidden diff --git a/libc/sysv/calls/sys_syslog.S b/libc/sysv/calls/sys_syslog.S index a4a8a77d19f..6952c4d1e4b 100644 --- a/libc/sysv/calls/sys_syslog.S +++ b/libc/sysv/calls/sys_syslog.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_syslog,0xfffffffffffff067,116,4095,globl,hidden +.scall sys_syslog,0xfffffffffffff067,116,4095,4095,globl,hidden diff --git a/libc/sysv/calls/sys_tee.S b/libc/sysv/calls/sys_tee.S index 8bf8f515655..ce19da2b90e 100644 --- a/libc/sysv/calls/sys_tee.S +++ b/libc/sysv/calls/sys_tee.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_tee,0xfffffffffffff114,77,4095,globl +.scall sys_tee,0xfffffffffffff114,77,4095,4095,globl diff --git a/libc/sysv/calls/sys_tgkill.S b/libc/sysv/calls/sys_tgkill.S index a5488612bb5..a10b77c7689 100644 --- a/libc/sysv/calls/sys_tgkill.S +++ b/libc/sysv/calls/sys_tgkill.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_tgkill,0xffffff1e1ffff0ea,131,4095,globl,hidden +.scall sys_tgkill,0xffffff1e1ffff0ea,131,4095,481,globl,hidden diff --git a/libc/sysv/calls/sys_tgsigqueueinfo.S b/libc/sysv/calls/sys_tgsigqueueinfo.S index 114913bae7b..17d42a32def 100644 --- a/libc/sysv/calls/sys_tgsigqueueinfo.S +++ b/libc/sysv/calls/sys_tgsigqueueinfo.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_tgsigqueueinfo,0xfffffffffffff129,240,4095,globl +.scall sys_tgsigqueueinfo,0xfffffffffffff129,240,4095,4095,globl diff --git a/libc/sysv/calls/sys_timer_create.S b/libc/sysv/calls/sys_timer_create.S index 0ce2ee3ff00..59ec89a4479 100644 --- a/libc/sysv/calls/sys_timer_create.S +++ b/libc/sysv/calls/sys_timer_create.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_timer_create,0x0ebffffffffff0de,107,4095,globl +.scall sys_timer_create,0x0ebffffffffff0de,107,4095,4095,globl diff --git a/libc/sysv/calls/sys_timer_delete.S b/libc/sysv/calls/sys_timer_delete.S index 1c8f9a448e4..166363a2143 100644 --- a/libc/sysv/calls/sys_timer_delete.S +++ b/libc/sysv/calls/sys_timer_delete.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_timer_delete,0x0ecffffffffff0e2,111,4095,globl +.scall sys_timer_delete,0x0ecffffffffff0e2,111,4095,4095,globl diff --git a/libc/sysv/calls/sys_timer_getoverrun.S b/libc/sysv/calls/sys_timer_getoverrun.S index a9e2b0e30db..4db723c598c 100644 --- a/libc/sysv/calls/sys_timer_getoverrun.S +++ b/libc/sysv/calls/sys_timer_getoverrun.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_timer_getoverrun,0x0efffffffffff0e1,109,4095,globl +.scall sys_timer_getoverrun,0x0efffffffffff0e1,109,4095,4095,globl diff --git a/libc/sysv/calls/sys_timer_gettime.S b/libc/sysv/calls/sys_timer_gettime.S index 8d570375e87..5f1cd40a373 100644 --- a/libc/sysv/calls/sys_timer_gettime.S +++ b/libc/sysv/calls/sys_timer_gettime.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_timer_gettime,0x1bfffffffffff0e0,108,4095,globl +.scall sys_timer_gettime,0x1bfffffffffff0e0,108,4095,4095,globl diff --git a/libc/sysv/calls/sys_timer_settime.S b/libc/sysv/calls/sys_timer_settime.S index b28daa523ba..1e1a82e27b5 100644 --- a/libc/sysv/calls/sys_timer_settime.S +++ b/libc/sysv/calls/sys_timer_settime.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_timer_settime,0x1beffffffffff0df,110,4095,globl +.scall sys_timer_settime,0x1beffffffffff0df,110,4095,4095,globl diff --git a/libc/sysv/calls/sys_timerfd_create.S b/libc/sysv/calls/sys_timerfd_create.S index b8aa393d750..651db8830de 100644 --- a/libc/sysv/calls/sys_timerfd_create.S +++ b/libc/sysv/calls/sys_timerfd_create.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_timerfd_create,0xfffffffffffff11b,85,4095,globl +.scall sys_timerfd_create,0xfffffffffffff11b,85,4095,4095,globl diff --git a/libc/sysv/calls/sys_timerfd_gettime.S b/libc/sysv/calls/sys_timerfd_gettime.S index 213f735c4f6..02a6f1ae135 100644 --- a/libc/sysv/calls/sys_timerfd_gettime.S +++ b/libc/sysv/calls/sys_timerfd_gettime.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_timerfd_gettime,0xfffffffffffff11f,87,4095,globl +.scall sys_timerfd_gettime,0xfffffffffffff11f,87,4095,4095,globl diff --git a/libc/sysv/calls/sys_timerfd_settime.S b/libc/sysv/calls/sys_timerfd_settime.S index dc80e278def..c4fd7f9e3a2 100644 --- a/libc/sysv/calls/sys_timerfd_settime.S +++ b/libc/sysv/calls/sys_timerfd_settime.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_timerfd_settime,0xfffffffffffff11e,86,4095,globl +.scall sys_timerfd_settime,0xfffffffffffff11e,86,4095,4095,globl diff --git a/libc/sysv/calls/sys_times.S b/libc/sysv/calls/sys_times.S index 207b93d89a4..8741738821e 100644 --- a/libc/sysv/calls/sys_times.S +++ b/libc/sysv/calls/sys_times.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_times,0xfffffffffffff064,153,4095,globl,hidden +.scall sys_times,0xfffffffffffff064,153,4095,4095,globl,hidden diff --git a/libc/sysv/calls/sys_tkill.S b/libc/sysv/calls/sys_tkill.S index e3b4b20371a..248e1cf57ab 100644 --- a/libc/sysv/calls/sys_tkill.S +++ b/libc/sysv/calls/sys_tkill.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_tkill,0x13e0771b121480c8,130,328,globl,hidden +.scall sys_tkill,0x13e0771b121480c8,130,328,433,globl,hidden diff --git a/libc/sysv/calls/sys_truncate.S b/libc/sysv/calls/sys_truncate.S index 98d08b147d8..a2e5b1827be 100644 --- a/libc/sysv/calls/sys_truncate.S +++ b/libc/sysv/calls/sys_truncate.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_truncate,0x8c88a79df28c884c,2093,2248,globl,hidden +.scall sys_truncate,0x8c88a79df28c884c,2093,2248,2527,globl,hidden diff --git a/libc/sysv/calls/sys_umask.S b/libc/sysv/calls/sys_umask.S index 80677e45bb3..f18a2fa2a60 100644 --- a/libc/sysv/calls/sys_umask.S +++ b/libc/sysv/calls/sys_umask.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_umask,0x03c03c03c203c05f,166,60,globl,hidden +.scall sys_umask,0x03c03c03c203c05f,166,60,60,globl,hidden diff --git a/libc/sysv/calls/sys_umount2.S b/libc/sysv/calls/sys_umount2.S index 4e4111bee27..1f608f4011b 100644 --- a/libc/sysv/calls/sys_umount2.S +++ b/libc/sysv/calls/sys_umount2.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_umount2,0x016016016209f0a6,39,159,globl +.scall sys_umount2,0x016016016209f0a6,39,159,22,globl diff --git a/libc/sysv/calls/sys_uname.S b/libc/sysv/calls/sys_uname.S index a6a598337ee..5b2a62a98ea 100644 --- a/libc/sysv/calls/sys_uname.S +++ b/libc/sysv/calls/sys_uname.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_uname,0x0a4fff0a4ffff03f,160,4095,globl,hidden +.scall sys_uname,0x0a4fff0a4ffff03f,160,4095,164,globl,hidden diff --git a/libc/sysv/calls/sys_undelete.S b/libc/sysv/calls/sys_undelete.S index d590b5fe1bc..58b0b2d6637 100644 --- a/libc/sysv/calls/sys_undelete.S +++ b/libc/sysv/calls/sys_undelete.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_undelete,0x0cdfff0cd20cdfff,4095,205,globl +.scall sys_undelete,0x0cdfff0cd20cdfff,4095,205,205,globl diff --git a/libc/sysv/calls/sys_unlink.S b/libc/sysv/calls/sys_unlink.S index 3066efc307f..472fbf8082c 100644 --- a/libc/sysv/calls/sys_unlink.S +++ b/libc/sysv/calls/sys_unlink.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_unlink,0x00a00a00a200a057,181,10,globl,hidden +.scall sys_unlink,0x00a00a00a200a057,181,10,10,globl,hidden diff --git a/libc/sysv/calls/sys_unlinkat.S b/libc/sysv/calls/sys_unlinkat.S index dd373568e3f..9cf448f35eb 100644 --- a/libc/sysv/calls/sys_unlinkat.S +++ b/libc/sysv/calls/sys_unlinkat.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_unlinkat,0x1d71451f721d8107,35,472,globl,hidden +.scall sys_unlinkat,0x1d71451f721d8107,35,472,503,globl,hidden diff --git a/libc/sysv/calls/sys_unmount.S b/libc/sysv/calls/sys_unmount.S index 17d2567d95d..b6dd32e1fd5 100644 --- a/libc/sysv/calls/sys_unmount.S +++ b/libc/sysv/calls/sys_unmount.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_unmount,0x016016016209f0a6,4095,159,globl +.scall sys_unmount,0x016016016209f0a6,4095,159,22,globl diff --git a/libc/sysv/calls/sys_unshare.S b/libc/sysv/calls/sys_unshare.S index 6dc9f9822c4..70e136ca819 100644 --- a/libc/sysv/calls/sys_unshare.S +++ b/libc/sysv/calls/sys_unshare.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_unshare,0xfffffffffffff110,97,4095,globl +.scall sys_unshare,0xfffffffffffff110,97,4095,4095,globl diff --git a/libc/sysv/calls/sys_unveil.S b/libc/sysv/calls/sys_unveil.S index f7dcb08442c..9dc45da2369 100644 --- a/libc/sysv/calls/sys_unveil.S +++ b/libc/sysv/calls/sys_unveil.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_unveil,0xfff072ffffffffff,4095,4095,globl,hidden +.scall sys_unveil,0xfff072ffffffffff,4095,4095,4095,globl,hidden diff --git a/libc/sysv/calls/sys_userfaultfd.S b/libc/sysv/calls/sys_userfaultfd.S index 29bc9a1828b..27a08cc8dab 100644 --- a/libc/sysv/calls/sys_userfaultfd.S +++ b/libc/sysv/calls/sys_userfaultfd.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_userfaultfd,0xfffffffffffff143,282,4095,globl +.scall sys_userfaultfd,0xfffffffffffff143,282,4095,4095,globl diff --git a/libc/sysv/calls/sys_ustat.S b/libc/sysv/calls/sys_ustat.S index e44117068d6..7815e019fcc 100644 --- a/libc/sysv/calls/sys_ustat.S +++ b/libc/sysv/calls/sys_ustat.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_ustat,0xfffffffffffff088,4095,4095,globl +.scall sys_ustat,0xfffffffffffff088,4095,4095,4095,globl diff --git a/libc/sysv/calls/sys_utime.S b/libc/sysv/calls/sys_utime.S index 29b32c0008e..fb289d5d443 100644 --- a/libc/sysv/calls/sys_utime.S +++ b/libc/sysv/calls/sys_utime.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_utime,0xfffffffffffff084,98,4095,globl,hidden +.scall sys_utime,0xfffffffffffff084,98,4095,4095,globl,hidden diff --git a/libc/sysv/calls/sys_utimes.S b/libc/sysv/calls/sys_utimes.S index d59ceb8d113..071fdd22c86 100644 --- a/libc/sysv/calls/sys_utimes.S +++ b/libc/sysv/calls/sys_utimes.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_utimes,0x1a404c08a208a0eb,88,138,globl,hidden +.scall sys_utimes,0x1a404c08a208a0eb,88,138,138,globl,hidden diff --git a/libc/sysv/calls/sys_utrace.S b/libc/sysv/calls/sys_utrace.S index c99dc21f69c..82a6f1628e8 100644 --- a/libc/sysv/calls/sys_utrace.S +++ b/libc/sysv/calls/sys_utrace.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_utrace,0x1320d114ffffffff,4095,4095,globl +.scall sys_utrace,0x1320d114ffffffff,4095,4095,335,globl diff --git a/libc/sysv/calls/sys_vhangup.S b/libc/sysv/calls/sys_vhangup.S index f48e45a6c37..90f34319d34 100644 --- a/libc/sysv/calls/sys_vhangup.S +++ b/libc/sysv/calls/sys_vhangup.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_vhangup,0xfffffffffffff099,58,4095,globl +.scall sys_vhangup,0xfffffffffffff099,58,4095,4095,globl diff --git a/libc/sysv/calls/sys_vmsplice.S b/libc/sysv/calls/sys_vmsplice.S index 08f2bc79f67..eb30283b1ae 100644 --- a/libc/sysv/calls/sys_vmsplice.S +++ b/libc/sysv/calls/sys_vmsplice.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_vmsplice,0xfffffffffffff116,75,4095,globl,hidden +.scall sys_vmsplice,0xfffffffffffff116,75,4095,4095,globl,hidden diff --git a/libc/sysv/calls/sys_waitid.S b/libc/sysv/calls/sys_waitid.S index 1a77e251d42..cc474ae4333 100644 --- a/libc/sysv/calls/sys_waitid.S +++ b/libc/sysv/calls/sys_waitid.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_waitid,0xfffffffff28ad8f7,95,2221,globl +.scall sys_waitid,0xfffffffff28ad8f7,95,2221,4095,globl diff --git a/libc/sysv/calls/sys_write.S b/libc/sysv/calls/sys_write.S index 35b8d40cf3e..aafc8539892 100644 --- a/libc/sysv/calls/sys_write.S +++ b/libc/sysv/calls/sys_write.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_write,0x8048048042804801,2112,2052,globl,hidden +.scall sys_write,0x8048048042804801,2112,2052,2052,globl,hidden diff --git a/libc/sysv/calls/sys_writev.S b/libc/sysv/calls/sys_writev.S index 80af851d1d7..1ed4852239c 100644 --- a/libc/sysv/calls/sys_writev.S +++ b/libc/sysv/calls/sys_writev.S @@ -1,2 +1,2 @@ #include "libc/sysv/macros.internal.h" -.scall sys_writev,0x8798798792879814,2114,2169,globl,hidden +.scall sys_writev,0x8798798792879814,2114,2169,2169,globl,hidden diff --git a/libc/sysv/consts.sh b/libc/sysv/consts.sh index 8f164e35fcb..5b767cdc5fc 100755 --- a/libc/sysv/consts.sh +++ b/libc/sysv/consts.sh @@ -427,8 +427,8 @@ syscon utime UTIME_OMIT 0x3ffffffe 0x3ffffffe -2 -2 -2 -1 0x3ffffff syscon auxv AT_EXECFN 31 31 31 31 15 31 2014 31 # address of string containing first argument passed to execve() used when running program; AT_EXECPATH on FreeBSD syscon auxv AT_SECURE 23 23 23 23 0 23 0 23 syscon auxv AT_RANDOM 25 25 25 25 16 25 0 25 # address of sixteen bytes of random data; AT_CANARY on FreeBSD whose AT_CANARYLEN should be 64 -syscon auxv AT_HWCAP 16 16 16 16 0 16 0 16 -syscon auxv AT_HWCAP2 26 26 26 26 0 26 0 26 +syscon auxv AT_HWCAP 16 16 16 16 25 16 0 16 +syscon auxv AT_HWCAP2 26 26 26 26 26 26 0 26 syscon auxv AT_UID 11 11 11 11 0 11 2001 11 syscon auxv AT_EUID 12 12 12 12 0 12 2000 12 syscon auxv AT_GID 13 13 13 13 0 13 2003 13 diff --git a/libc/sysv/consts/AT_HWCAP.S b/libc/sysv/consts/AT_HWCAP.S index 0db036194aa..dc7eabcdc61 100644 --- a/libc/sysv/consts/AT_HWCAP.S +++ b/libc/sysv/consts/AT_HWCAP.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon auxv,AT_HWCAP,16,16,16,16,0,16,0,16 +.syscon auxv,AT_HWCAP,16,16,16,16,25,16,0,16 diff --git a/libc/sysv/consts/AT_HWCAP2.S b/libc/sysv/consts/AT_HWCAP2.S index 824f587e0d6..1107d25f359 100644 --- a/libc/sysv/consts/AT_HWCAP2.S +++ b/libc/sysv/consts/AT_HWCAP2.S @@ -1,2 +1,2 @@ #include "libc/sysv/consts/syscon.internal.h" -.syscon auxv,AT_HWCAP2,26,26,26,26,0,26,0,26 +.syscon auxv,AT_HWCAP2,26,26,26,26,26,26,0,26 diff --git a/libc/sysv/gen.sh b/libc/sysv/gen.sh index 2b79041f94f..da514a9037d 100644 --- a/libc/sysv/gen.sh +++ b/libc/sysv/gen.sh @@ -32,11 +32,12 @@ scall() { amd=$2 arm_linux=$(($3 + 0)) arm_xnu=$((($amd & 0xfff000) >> 12)) + arm_freebsd=$((($amd & 0x000000fff0000000) >> 28)) if [ $arm_xnu != 4095 ]; then arm_xnu=$(($arm_xnu & 0xfff)) fi shift 3 - set -- "$name" "$amd" "$arm_linux" "$arm_xnu" "$*" + set -- "$name" "$amd" "$arm_linux" "$arm_xnu" "$arm_freebsd" "$*" echo "#include \"libc/sysv/macros.internal.h\"" echo ".scall" "$*" } >"$dir/${1/$/-}.S" diff --git a/libc/sysv/macros.internal.h b/libc/sysv/macros.internal.h index fa0139b21e6..da2ec43d6d4 100644 --- a/libc/sysv/macros.internal.h +++ b/libc/sysv/macros.internal.h @@ -15,7 +15,7 @@ * risk of slowing down builds too much with complicated headers. */ -.macro .scall name:req amd:req arm_linux:req arm_xnu:req kw1 kw2 +.macro .scall name:req amd:req arm_linux:req arm_xnu:req arm_freebsd:req kw1 kw2 .section .text.syscall,"ax",@progbits #ifdef __x86_64__ .ifnb \kw2 @@ -38,6 +38,7 @@ .ftrace1 \name: .ftrace2 mov x8,#\arm_linux + mov x9,#\arm_freebsd mov x16,#\arm_xnu b systemfive .endfn \name,\kw1,\kw2 diff --git a/libc/sysv/sysv.c b/libc/sysv/sysv.c index cc0a1c4558a..afb3496b876 100644 --- a/libc/sysv/sysv.c +++ b/libc/sysv/sysv.c @@ -33,6 +33,7 @@ register long x3 asm("x3"); register long x4 asm("x4"); register long x5 asm("x5"); register long sysv_ordinal asm("x8"); +register long freebsd_ordinal asm("x9"); register long xnu_ordinal asm("x16"); register long cosmo_tls_register asm("x28"); @@ -68,7 +69,7 @@ dontinline long systemfive_cancellable(void) { // invoke cancellable system call // this works for both linux and bsd - asm volatile("mov\tx9,0\n\t" // clear carry flag + asm volatile("mov\tx9,0\n\t" // clear carry flag (for linux) "adds\tx9,x9,0\n\t" // clear carry flag "svc\t0\n" "systemfive_cancellable_end:\n\t" @@ -114,7 +115,10 @@ dontinline long systemfive_cancellable(void) { long systemfive(void) { // handle special cases - if (IsLinux()) { + if (IsLinux() || IsFreebsd()) { + if (IsFreebsd()) { + sysv_ordinal = freebsd_ordinal; + } if (sysv_ordinal == 0xfff) { return _sysret(-ENOSYS); } @@ -135,9 +139,7 @@ long systemfive(void) { // invoke non-blocking system call // this works for both linux and bsd - asm volatile("mov\tx9,0\n\t" // clear carry flag - "adds\tx9,x9,0\n\t" // clear carry flag - "svc\t0\n\t" + asm volatile("svc\t0\n\t" "bcs\t1f\n\t" "b\t2f\n1:\t" "neg\tx0,x0\n2:" diff --git a/libc/thread/pthread_setname_np.c b/libc/thread/pthread_setname_np.c index 10bf19b45e6..83cf9566277 100644 --- a/libc/thread/pthread_setname_np.c +++ b/libc/thread/pthread_setname_np.c @@ -83,6 +83,7 @@ static errno_t pthread_setname_impl(struct PosixThread *pt, const char *name) { } return 0; +#ifdef __x86_64__ } else if (IsFreebsd() || IsNetbsd() || IsOpenbsd()) { int ax; if (IsFreebsd()) { @@ -97,6 +98,16 @@ static errno_t pthread_setname_impl(struct PosixThread *pt, const char *name) { : /* no inputs */ : "rcx", "rdx", "r8", "r9", "r10", "r11", "memory"); return ax; +#endif + +#ifdef __aarch64__ + } else if (IsFreebsd()) { + register int x0 asm("x0") = tid; + register long x1 asm("x1") = (long)name; + register int x8 asm("x8") = 464; // thr_set_name + asm volatile("svc\t0" : "+r"(x0) : "r"(x1), "r"(x8) : "memory"); + return x0; +#endif } else { return ENOSYS; diff --git a/test/libc/calls/renameat_test.c b/test/libc/calls/renameat_test.c index ab99b76e7b2..ba8e3f9e6fa 100644 --- a/test/libc/calls/renameat_test.c +++ b/test/libc/calls/renameat_test.c @@ -95,6 +95,8 @@ TEST(rename, moveIntoNonWritableDirectory_raisesEacces) { if (IsNetbsd() || IsOpenbsd()) return; // windows doesn't really have permissions if (IsWindows()) return; + // looks like a freebsd kernel bug + if (IsAarch64() && IsFreebsd()) return; // posix specifies this behavior ASSERT_SYS(0, 0, mkdir("foo", 0111)); ASSERT_SYS(0, 0, touch("lol", 0644)); diff --git a/test/libc/calls/utimensat_test.c b/test/libc/calls/utimensat_test.c index e9eb5c9cc62..8595700f701 100644 --- a/test/libc/calls/utimensat_test.c +++ b/test/libc/calls/utimensat_test.c @@ -150,7 +150,7 @@ TEST(futimens, test2) { ASSERT_EQ(st.st_mtime, birth); } // NetBSD doesn't appear to change ctime even though it says it does - if (!IsNetbsd()) { + if (!IsNetbsd() && !(IsFreebsd() && IsAarch64())) { ASSERT_GT(st.st_ctime, birth); ASSERT_EQ(st.st_ctime, st.st_atime); ASSERT_GT(st.st_ctime, st.st_mtime); diff --git a/tool/build/fixupobj.c b/tool/build/fixupobj.c index a24e260a3c7..6595edf7374 100644 --- a/tool/build/fixupobj.c +++ b/tool/build/fixupobj.c @@ -29,12 +29,12 @@ #include "libc/errno.h" #include "libc/fmt/itoa.h" #include "libc/fmt/magnumstrs.internal.h" -#include "libc/serialize.h" #include "libc/limits.h" #include "libc/log/log.h" #include "libc/macros.internal.h" #include "libc/mem/gc.internal.h" #include "libc/runtime/runtime.h" +#include "libc/serialize.h" #include "libc/stdckdint.h" #include "libc/str/str.h" #include "libc/sysv/consts/map.h" @@ -245,6 +245,10 @@ static void RewriteTlsCode(void) { } } +static void UseFreebsdOsAbi(void) { + elf->e_ident[EI_OSABI] = ELFOSABI_FREEBSD; +} + /** * Improve GCC11 `-fpatchable-function-entry` codegen. * @@ -391,6 +395,9 @@ static void FixupObject(void) { OptimizePatchableFunctionEntries(); } else if (elf->e_machine == EM_AARCH64) { RewriteTlsCode(); + if (elf->e_type != ET_REL) { + UseFreebsdOsAbi(); + } } if (elf->e_type != ET_REL) { RelinkZipFiles(); diff --git a/tool/build/lib/eztls.c b/tool/build/lib/eztls.c index b3ff5af7db5..ea95a53b0e1 100644 --- a/tool/build/lib/eztls.c +++ b/tool/build/lib/eztls.c @@ -23,6 +23,7 @@ #include "libc/errno.h" #include "libc/fmt/itoa.h" #include "libc/intrin/kprintf.h" +#include "libc/intrin/strace.internal.h" #include "libc/macros.internal.h" #include "libc/sysv/consts/sig.h" #include "libc/thread/thread.h"