diff --git a/Makefile b/Makefile index ccf280713..6bedf45a0 100644 --- a/Makefile +++ b/Makefile @@ -255,12 +255,12 @@ o/$(MODE)/hdrs-old.txt: o/$(MODE)/.x $(MAKEFILES) $(call uniq,$(foreach x,$(HDRS TAGS: .UNSANDBOXED = 1 TAGS: o/$(MODE)/srcs-old.txt $(SRCS) @$(RM) $@ - @$(TAGS) $(TAGSFLAGS) -L $< -o $@ + @$(COMPILE) -ATAGS -T$@ $(TAGS) $(TAGSFLAGS) -L $< -o $@ HTAGS: .UNSANDBOXED = 1 HTAGS: o/$(MODE)/hdrs-old.txt $(HDRS) @$(RM) $@ - @build/htags -L $< -o $@ + @$(COMPILE) -ATAGS -T$@ build/htags -L $< -o $@ loc: .UNSANDBOXED = 1 loc: o/$(MODE)/tool/build/summy.com @@ -297,8 +297,10 @@ COSMOPOLITAN_OBJECTS = \ LIBC_NT_PSAPI \ LIBC_NT_POWRPROF \ LIBC_NT_PDH \ + LIBC_NT_SHELL32 \ LIBC_NT_GDI32 \ LIBC_NT_COMDLG32 \ + LIBC_NT_NETAPI32 \ LIBC_NT_URL \ LIBC_NT_USER32 \ LIBC_NT_NTDLL \ diff --git a/build/bootstrap/compile.com b/build/bootstrap/compile.com index 5293926d0..730d12b48 100755 Binary files a/build/bootstrap/compile.com and b/build/bootstrap/compile.com differ diff --git a/build/bootstrap/make.com b/build/bootstrap/make.com index 38d356dfd..c8725e772 100755 Binary files a/build/bootstrap/make.com and b/build/bootstrap/make.com differ diff --git a/build/online.mk b/build/online.mk index b8f778820..ce19ed8f9 100644 --- a/build/online.mk +++ b/build/online.mk @@ -27,4 +27,4 @@ o/$(MODE)/%.com.ok: \ o/$(MODE)/tool/build/runit.com \ o/$(MODE)/tool/build/runitd.com \ o/$(MODE)/%.com - @$(COMPILE) -ATEST -wtT$@ $^ $(HOSTS) + @$(COMPILE) -ATEST -tT$@ $^ $(HOSTS) diff --git a/build/rules.mk b/build/rules.mk index 808d7d887..ff5f03249 100644 --- a/build/rules.mk +++ b/build/rules.mk @@ -20,12 +20,15 @@ o/%.o: %.s ; @$(COMPILE) -AOBJECTIFY.s $(OBJECTIFY.s) $( o/%.o: o/%.s ; @$(COMPILE) -AOBJECTIFY.s $(OBJECTIFY.s) $(OUTPUT_OPTION) $< o/%.s: %.S ; @$(COMPILE) -APREPROCESS $(PREPROCESS) $(OUTPUT_OPTION) $< o/%.s: o/%.S ; @$(COMPILE) -APREPROCESS $(PREPROCESS) $(OUTPUT_OPTION) $< +o/%.i: %.S ; @$(COMPILE) -APREPROCESS $(PREPROCESS) $(OUTPUT_OPTION) $< o/%.o: %.S ; @$(COMPILE) -AOBJECTIFY.S $(OBJECTIFY.S) $(OUTPUT_OPTION) $< o/%.o: o/%.S ; @$(COMPILE) -AOBJECTIFY.S $(OBJECTIFY.S) $(OUTPUT_OPTION) $< +o/%.s: %.i ; @$(COMPILE) -ACOMPILE.i $(COMPILE.i) $(OUTPUT_OPTION) $< +o/%.s: o/%.i ; @$(COMPILE) -ACOMPILE.i $(COMPILE.i) $(OUTPUT_OPTION) $< o/%.lds: %.lds ; @$(COMPILE) -APREPROCESS $(PREPROCESS.lds) $(OUTPUT_OPTION) $< o/%.inc: %.h ; @$(COMPILE) -APREPROCESS $(PREPROCESS) $(OUTPUT_OPTION) -D__ASSEMBLER__ -P $< o/%.greg.o: %.greg.c ; @$(COMPILE) -AOBJECTIFY.greg $(OBJECTIFY.greg.c) $(OUTPUT_OPTION) $< -o/%.zip.o: o/% ; @$(COMPILE) -wAZIPOBJ $(ZIPOBJ) $(ZIPOBJ_FLAGS) $(OUTPUT_OPTION) $< +o/%.zip.o: o/% ; @$(COMPILE) -AZIPOBJ $(ZIPOBJ) $(ZIPOBJ_FLAGS) $(OUTPUT_OPTION) $< o/$(MODE)/%: o/$(MODE)/%.dbg ; @$(COMPILE) -AOBJCOPY -T$@ $(OBJCOPY) -S -O binary $< $@ o/$(MODE)/%.o: %.s ; @$(COMPILE) -AOBJECTIFY.s $(OBJECTIFY.s) $(OUTPUT_OPTION) $< @@ -36,20 +39,32 @@ o/$(MODE)/%.o: %.f ; @$(COMPILE) -AOBJECTIFY.f $(OBJECTIFY.f) $( o/$(MODE)/%.o: %.F ; @$(COMPILE) -AOBJECTIFY.F $(OBJECTIFY.F) $(OUTPUT_OPTION) $< o/$(MODE)/%.ss: %.c ; @$(COMPILE) -ACOMPILE.c $(COMPILE.c) $(OUTPUT_OPTION) $< o/$(MODE)/%.ss: o/$(MODE)/%.c ; @$(COMPILE) -AOBJECTIFY.s $(COMPILE.c) $(OUTPUT_OPTION) $< +o/$(MODE)/%.i: %.S ; @$(COMPILE) -APREPROCESS $(PREPROCESS) $(OUTPUT_OPTION) $< +o/$(MODE)/%.i: %.c ; @$(COMPILE) -APREPROCESS $(PREPROCESS) $(OUTPUT_OPTION) $< +o/$(MODE)/%.i: %.cc ; @$(COMPILE) -APREPROCESS $(PREPROCESS) $(OUTPUT_OPTION) $< +o/$(MODE)/%.i: o/$(MODE)/%.c ; @$(COMPILE) -APREPROCESS $(PREPROCESS) $(OUTPUT_OPTION) $< o/$(MODE)/%.h: %.c ; @$(COMPILE) -AAMALGAMATE $(PREPROCESS) $(OUTPUT_OPTION) -fdirectives-only -P $< o/$(MODE)/%.h: o/$(MODE)/%.c ; @$(COMPILE) -AAMALGAMATE $(PREPROCESS) $(OUTPUT_OPTION) -fdirectives-only -P $< o/$(MODE)/%.o: %.S ; @$(COMPILE) -AOBJECTIFY.S $(OBJECTIFY.S) $(OUTPUT_OPTION) $< o/$(MODE)/%.o: o/$(MODE)/%.S ; @$(COMPILE) -AOBJECTIFY.S $(OBJECTIFY.S) $(OUTPUT_OPTION) $< +o/$(MODE)/%.s: %.i ; @$(COMPILE) -ACOMPILE.i $(COMPILE.i) $(OUTPUT_OPTION) $< +o/$(MODE)/%.s: o/$(MODE)/%.i ; @$(COMPILE) -ACOMPILE.i $(COMPILE.i) $(OUTPUT_OPTION) $< o/$(MODE)/%.o: %.cc ; @$(COMPILE) -AOBJECTIFY.cxx $(OBJECTIFY.cxx) $(OUTPUT_OPTION) $< o/$(MODE)/%.lds: %.lds ; @$(COMPILE) -APREPROCESS $(PREPROCESS.lds) $(OUTPUT_OPTION) $< +o/$(MODE)/%.cxx.o: %.c ; @$(COMPILE) -AOBJECTIFY.cxx $(OBJECTIFY.cxx) -xc++ $(OUTPUT_OPTION) $< o/$(MODE)/%.o: %.greg.c ; @$(COMPILE) -AOBJECTIFY.greg $(OBJECTIFY.greg.c) $(OUTPUT_OPTION) $< o/$(MODE)/%.greg.o: %.greg.c ; @$(COMPILE) -AOBJECTIFY.greg $(OBJECTIFY.greg.c) $(OUTPUT_OPTION) $< +o/$(MODE)/%.ansi.o: %.ansi.c ; @$(COMPILE) -AOBJECTIFY.ansi $(OBJECTIFY.ansi.c) $(OUTPUT_OPTION) $< +o/$(MODE)/%.ansi.o: %.c ; @$(COMPILE) -AOBJECTIFY.ansi $(OBJECTIFY.ansi.c) $(OUTPUT_OPTION) $< +o/$(MODE)/%.c99.o: %.c99.c ; @$(COMPILE) -AOBJECTIFY.c99 $(OBJECTIFY.c99.c) $(OUTPUT_OPTION) $< +o/$(MODE)/%.c11.o: %.c11.c ; @$(COMPILE) -AOBJECTIFY.c11 $(OBJECTIFY.c11.c) $(OUTPUT_OPTION) $< +o/$(MODE)/%.c2x.o: %.c2x.c ; @$(COMPILE) -AOBJECTIFY.c2x $(OBJECTIFY.c2x.c) $(OUTPUT_OPTION) $< o/$(MODE)/%.initabi.o: %.initabi.c ; @$(COMPILE) -AOBJECTIFY.init $(OBJECTIFY.initabi.c) $(OUTPUT_OPTION) $< o/$(MODE)/%.ncabi.o: %.ncabi.c ; @$(COMPILE) -AOBJECTIFY.nc $(OBJECTIFY.ncabi.c) $(OUTPUT_OPTION) $< o/$(MODE)/%.real.o: %.c ; @$(COMPILE) -AOBJECTIFY.real $(OBJECTIFY.real.c) $(OUTPUT_OPTION) $< o/$(MODE)/%.runs: o/$(MODE)/% ; @$(COMPILE) -ACHECK -tT$@ $< $(TESTARGS) -o/$(MODE)/%.zip.o: % ; @$(COMPILE) -wAZIPOBJ $(ZIPOBJ) $(ZIPOBJ_FLAGS) $(OUTPUT_OPTION) $< +o/$(MODE)/%.zip.o: % ; @$(COMPILE) -AZIPOBJ $(ZIPOBJ) $(ZIPOBJ_FLAGS) $(OUTPUT_OPTION) $< o/$(MODE)/%-gcc.asm: %.c ; @$(COMPILE) -AOBJECTIFY.c $(OBJECTIFY.c) -S -g0 $(OUTPUT_OPTION) $< o/$(MODE)/%-gcc.asm: %.cc ; @$(COMPILE) -AOBJECTIFY.c $(OBJECTIFY.cxx) -S -g0 $(OUTPUT_OPTION) $< o/$(MODE)/%-clang.asm: %.c ; @$(COMPILE) -AOBJECTIFY.c $(OBJECTIFY.c) -S -g0 $(OUTPUT_OPTION) $< @@ -58,66 +73,66 @@ o/$(MODE)/%-clang.asm: CC = $(CLANG) o/%.o: %.cc @$(COMPILE) -AOBJECTIFY.cxx $(OBJECTIFY.cxx) $(OUTPUT_OPTION) $< - @$(COMPILE) -AFIXUPOBJ -wT$@ $(FIXUPOBJ) $@ + @$(COMPILE) -AFIXUPOBJ -T$@ $(FIXUPOBJ) $@ o/%.o: o/%.cc @$(COMPILE) -AOBJECTIFY.cxx $(OBJECTIFY.cxx) $(OUTPUT_OPTION) $< - @$(COMPILE) -AFIXUPOBJ -wT$@ $(FIXUPOBJ) $@ + @$(COMPILE) -AFIXUPOBJ -T$@ $(FIXUPOBJ) $@ o/$(MODE)/%.o: %.c @$(COMPILE) -AOBJECTIFY.c $(OBJECTIFY.c) $(OUTPUT_OPTION) $< - @$(COMPILE) -AFIXUPOBJ -wT$@ $(FIXUPOBJ) $@ + @$(COMPILE) -AFIXUPOBJ -T$@ $(FIXUPOBJ) $@ o/$(MODE)/%.o: o/$(MODE)/%.c @$(COMPILE) -AOBJECTIFY.c $(OBJECTIFY.c) $(OUTPUT_OPTION) $< - @$(COMPILE) -AFIXUPOBJ -wT$@ $(FIXUPOBJ) $@ + @$(COMPILE) -AFIXUPOBJ -T$@ $(FIXUPOBJ) $@ o/$(MODE)/%.o: o/$(MODE)/%.cc @$(COMPILE) -AOBJECTIFY.cxx $(OBJECTIFY.cxx) $(OUTPUT_OPTION) $< - @$(COMPILE) -AFIXUPOBJ -wT$@ $(FIXUPOBJ) $@ + @$(COMPILE) -AFIXUPOBJ -T$@ $(FIXUPOBJ) $@ o/%.a: $(file >$(TMPDIR)/$(subst /,_,$@),$^) - @$(COMPILE) -AARCHIVE -wT$@ $(AR) $(ARFLAGS) $@ @$(TMPDIR)/$(subst /,_,$@) + @$(COMPILE) -AARCHIVE -T$@ $(AR) $(ARFLAGS) $@ @$(TMPDIR)/$(subst /,_,$@) o/%.pkg: $(file >$(TMPDIR)/$(subst /,_,$@).args,$(filter %.o,$^)) - @$(COMPILE) -APACKAGE -wT$@ $(PKG) $(OUTPUT_OPTION) $(addprefix -d,$(filter %.pkg,$^)) @$(TMPDIR)/$(subst /,_,$@) + @$(COMPILE) -APACKAGE -T$@ $(PKG) $(OUTPUT_OPTION) $(addprefix -d,$(filter %.pkg,$^)) @$(TMPDIR)/$(subst /,_,$@) o/$(MODE)/%.pkg: $(file >$(TMPDIR)/$(subst /,_,$@),$(filter %.o,$^)) - @$(COMPILE) -APACKAGE -wT$@ $(PKG) $(OUTPUT_OPTION) $(addprefix -d,$(filter %.pkg,$^)) @$(TMPDIR)/$(subst /,_,$@) + @$(COMPILE) -APACKAGE -T$@ $(PKG) $(OUTPUT_OPTION) $(addprefix -d,$(filter %.pkg,$^)) @$(TMPDIR)/$(subst /,_,$@) o/$(MODE)/%.o: %.py o/$(MODE)/third_party/python/pyobj.com - @$(COMPILE) -wAPYOBJ o/$(MODE)/third_party/python/pyobj.com $(PYFLAGS) -o $@ $< + @$(COMPILE) -APYOBJ o/$(MODE)/third_party/python/pyobj.com $(PYFLAGS) -o $@ $< o/$(MODE)/%.pyc: %.py o/$(MODE)/third_party/python/pycomp.com - @$(COMPILE) -wAPYCOMP o/$(MODE)/third_party/python/pycomp.com $(PYCFLAGS) -o $@ $< + @$(COMPILE) -APYCOMP o/$(MODE)/third_party/python/pycomp.com $(PYCFLAGS) -o $@ $< o/$(MODE)/%.lua: %.lua o/$(MODE)/third_party/lua/luac.com - @$(COMPILE) -wALUAC o/$(MODE)/third_party/lua/luac.com -s -o $@ $< + @$(COMPILE) -ALUAC o/$(MODE)/third_party/lua/luac.com -s -o $@ $< o/$(MODE)/%.lua.runs: %.lua o/$(MODE)/tool/net/redbean.com - @$(COMPILE) -wALUA -tT$@ o/$(MODE)/tool/net/redbean.com $(LUAFLAGS) -i $< + @$(COMPILE) -ALUA -tT$@ o/$(MODE)/tool/net/redbean.com $(LUAFLAGS) -i $< o/$(MODE)/%: o/$(MODE)/%.com o/$(MODE)/tool/build/cp.com o/$(MODE)/tool/build/assimilate.com - @$(COMPILE) -wACP -wT$@ o/$(MODE)/tool/build/cp.com $< $@ - @$(COMPILE) -wAASSIMILATE -wT$@ o/$(MODE)/tool/build/assimilate.com $@ + @$(COMPILE) -ACP -T$@ o/$(MODE)/tool/build/cp.com $< $@ + @$(COMPILE) -AASSIMILATE -T$@ o/$(MODE)/tool/build/assimilate.com $@ # TODO(jart): find a way to generate dependencies # or alternatively disable sandboxing o/%.h.ok: %.h - @$(COMPILE) -wACHECK.h -T$@ build/bootstrap/touch.com $@ + @$(COMPILE) -ACHECK.h -T$@ build/bootstrap/touch.com $@ # @$(COMPILE) -ACHECK.h $(COMPILE.c) -xc -g0 -o $@ $< o/$(MODE)/%.h.ok: %.h - @$(COMPILE) -wACHECK.h -T$@ build/bootstrap/touch.com $@ + @$(COMPILE) -ACHECK.h -T$@ build/bootstrap/touch.com $@ # @$(COMPILE) -ACHECK.h $(COMPILE.c) -xc -g0 -o $@ $< o/$(MODE)/%.hh.ok: %.hh - @$(COMPILE) -wACHECK.h -T$@ build/bootstrap/touch.com $@ + @$(COMPILE) -ACHECK.h -T$@ build/bootstrap/touch.com $@ # @$(COMPILE) -ACHECK.h $(COMPILE.cxx) -xc++ -g0 -o $@ $< o/%.okk: % - @$(COMPILE) -wACHECK.h -T$@ build/bootstrap/touch.com $@ + @$(COMPILE) -ACHECK.h -T$@ build/bootstrap/touch.com $@ # @$(COMPILE) -ACHECK.h $(COMPILE.cxx) -xc++ -g0 -o $@ $< o/$(MODE)/%.okk: % - @$(COMPILE) -wACHECK.h -T$@ build/bootstrap/touch.com $@ + @$(COMPILE) -ACHECK.h -T$@ build/bootstrap/touch.com $@ # @$(COMPILE) -ACHECK.h $(COMPILE.cxx) -xc++ -g0 -o $@ $< diff --git a/dsp/tty/ident.c b/dsp/tty/ident.c index fad69d47c..2765743d3 100644 --- a/dsp/tty/ident.c +++ b/dsp/tty/ident.c @@ -21,7 +21,6 @@ #include "libc/bits/weaken.h" #include "libc/calls/calls.h" #include "libc/calls/termios.h" -#include "libc/dce.h" #include "libc/fmt/fmt.h" #include "libc/mem/mem.h" #include "libc/runtime/runtime.h" diff --git a/examples/cosh.c b/examples/cosh.c index 6fe9bb60d..1ebee1ed0 100644 --- a/examples/cosh.c +++ b/examples/cosh.c @@ -18,7 +18,6 @@ #include "libc/log/internal.h" #include "libc/log/log.h" #include "libc/macros.internal.h" -#include "libc/mem/mem.h" #include "libc/runtime/internal.h" #include "libc/runtime/runtime.h" #include "libc/stdio/append.internal.h" diff --git a/examples/decompress.c b/examples/decompress.c index e85f52901..5d21d99f6 100644 --- a/examples/decompress.c +++ b/examples/decompress.c @@ -12,7 +12,6 @@ #include "libc/mem/mem.h" #include "libc/runtime/gc.internal.h" #include "libc/stdio/stdio.h" -#include "libc/str/str.h" #include "third_party/zlib/zlib.h" #define CHUNK 32768 diff --git a/examples/panels.c b/examples/panels.c index 070276b9e..4e3361126 100644 --- a/examples/panels.c +++ b/examples/panels.c @@ -17,7 +17,6 @@ #include "libc/log/gdb.h" #include "libc/log/log.h" #include "libc/macros.internal.h" -#include "libc/mem/mem.h" #include "libc/runtime/gc.internal.h" #include "libc/runtime/runtime.h" #include "libc/str/str.h" diff --git a/examples/picol.c b/examples/picol.c index 767287b40..20e84e0d2 100644 --- a/examples/picol.c +++ b/examples/picol.c @@ -35,9 +35,7 @@ #include "libc/fmt/conv.h" #include "libc/fmt/fmt.h" #include "libc/log/log.h" -#include "libc/mem/mem.h" #include "libc/stdio/stdio.h" -#include "libc/str/str.h" enum { PICOL_OK, PICOL_ERR, PICOL_RETURN, PICOL_BREAK, PICOL_CONTINUE }; enum { PT_ESC, PT_STR, PT_CMD, PT_VAR, PT_SEP, PT_EOL, PT_EOF }; diff --git a/examples/pylife/pylife.mk b/examples/pylife/pylife.mk index a080dea09..7752dfa8c 100644 --- a/examples/pylife/pylife.mk +++ b/examples/pylife/pylife.mk @@ -96,7 +96,7 @@ o/$(MODE)/examples/pylife/pylife.com.dbg: \ o/$(MODE)/examples/pylife/pylife.o \ $(CRT) \ $(APE_NO_MODIFY_SELF) - @$(COMPILE) -ALINK.ape $(LINK) $(LINKARGS) -o $@ + $(LINK) $(LINKARGS) -o $@ # # Unwrap the APE .COM binary, that's embedded within the linked file # # NOTE: This line can be commented out, since it's in build/rules.mk diff --git a/examples/stat.c b/examples/stat.c index 9d85f4101..f5d6e2f12 100644 --- a/examples/stat.c +++ b/examples/stat.c @@ -16,7 +16,6 @@ #include "libc/log/log.h" #include "libc/runtime/gc.h" #include "libc/stdio/stdio.h" -#include "libc/str/str.h" #include "libc/sysv/consts/s.h" #include "libc/x/x.h" diff --git a/examples/stringbuffer.c b/examples/stringbuffer.c index 8838f91e4..aa6cb9b22 100644 --- a/examples/stringbuffer.c +++ b/examples/stringbuffer.c @@ -10,9 +10,7 @@ #include "libc/calls/calls.h" #include "libc/fmt/fmt.h" #include "libc/log/check.h" -#include "libc/mem/mem.h" #include "libc/stdio/append.internal.h" -#include "libc/str/str.h" /** * @fileoverview Fast Growable Strings Tutorial diff --git a/examples/ttyaudio.c b/examples/ttyaudio.c index 928fc48d1..326b0359d 100644 --- a/examples/ttyaudio.c +++ b/examples/ttyaudio.c @@ -14,11 +14,9 @@ #include "libc/fmt/nf32.h" #include "libc/log/check.h" #include "libc/macros.internal.h" -#include "libc/mem/mem.h" #include "libc/runtime/runtime.h" #include "libc/stdio/append.internal.h" #include "libc/stdio/stdio.h" -#include "libc/str/str.h" #include "libc/sysv/consts/itimer.h" #include "libc/sysv/consts/sig.h" #include "libc/time/time.h" diff --git a/libc/calls/_timespec_tomicros.c b/libc/calls/_timespec_tomicros.c index a44229cb0..88757de56 100644 --- a/libc/calls/_timespec_tomicros.c +++ b/libc/calls/_timespec_tomicros.c @@ -23,10 +23,9 @@ * Converts timespec interval to microseconds. */ int64_t _timespec_tomicros(struct timespec x) { - int64_t ns; - if (!__builtin_mul_overflow(x.tv_sec, 1000000ul, &ns) && - !__builtin_add_overflow(ns, x.tv_nsec / 1000, &ns)) { - return ns; + int64_t us; + if (!__builtin_add_overflow(x.tv_sec, x.tv_nsec / 1000, &us)) { + return us; } else { return INT64_MAX; } diff --git a/libc/calls/_timespec_tomillis.c b/libc/calls/_timespec_tomillis.c index c96482f8f..7d98127bf 100644 --- a/libc/calls/_timespec_tomillis.c +++ b/libc/calls/_timespec_tomillis.c @@ -23,10 +23,9 @@ * Converts timespec interval to milliseconds. */ int64_t _timespec_tomillis(struct timespec x) { - int64_t ns; - if (!__builtin_mul_overflow(x.tv_sec, 1000ul, &ns) && - !__builtin_add_overflow(ns, x.tv_nsec / 1000000, &ns)) { - return ns; + int64_t us; + if (!__builtin_add_overflow(x.tv_sec, x.tv_nsec / 1000000, &us)) { + return us; } else { return INT64_MAX; } diff --git a/libc/calls/_timespec_tonanos.c b/libc/calls/_timespec_tonanos.c deleted file mode 100644 index 4e80a0539..000000000 --- a/libc/calls/_timespec_tonanos.c +++ /dev/null @@ -1,33 +0,0 @@ -/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ -│vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ -╞══════════════════════════════════════════════════════════════════════════════╡ -│ Copyright 2022 Justine Alexandra Roberts Tunney │ -│ │ -│ Permission to use, copy, modify, and/or distribute this software for │ -│ any purpose with or without fee is hereby granted, provided that the │ -│ above copyright notice and this permission notice appear in all copies. │ -│ │ -│ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL │ -│ WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED │ -│ WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE │ -│ AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL │ -│ DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR │ -│ PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER │ -│ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ -│ PERFORMANCE OF THIS SOFTWARE. │ -╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/calls/struct/timespec.h" -#include "libc/limits.h" - -/** - * Converts timespec interval to nanoseconds. - */ -int64_t _timespec_tonanos(struct timespec x) { - int64_t ns; - if (!__builtin_mul_overflow(x.tv_sec, 1000000000ul, &ns) && - !__builtin_add_overflow(ns, x.tv_nsec, &ns)) { - return ns; - } else { - return INT64_MAX; - } -} diff --git a/libc/calls/ktmppath.c b/libc/calls/ktmppath.c index 862a335ce..9daf87e2b 100644 --- a/libc/calls/ktmppath.c +++ b/libc/calls/ktmppath.c @@ -33,7 +33,6 @@ * - /tmp/ * * This guarantees trailing slash. - * We also guarantee `kTmpPath` won't be longer than `PATH_MAX / 2`. */ char kTmpPath[PATH_MAX]; @@ -47,7 +46,7 @@ __attribute__((__constructor__)) static void kTmpPathInit(void) { uint32_t n; char16_t path16[PATH_MAX]; - if ((s = getenv("TMPDIR")) && (n = strlen(s)) < PATH_MAX / 2) { + if ((s = getenv("TMPDIR")) && (n = strlen(s)) < PATH_MAX) { memcpy(kTmpPath, s, n); if (n && kTmpPath[n - 1] != '/') { kTmpPath[n + 0] = '/'; diff --git a/libc/calls/pledge-linux.c b/libc/calls/pledge-linux.c index 5b692849b..ad54ff580 100644 --- a/libc/calls/pledge-linux.c +++ b/libc/calls/pledge-linux.c @@ -47,9 +47,8 @@ #define Eperm 1 #define Sigabrt 6 -#define Einval 22 -#define Sigsys 31 #define Enosys 38 +#define Sigsys 31 #define Sig_Setmask 2 #define Sa_Siginfo 4 #define Sa_Restorer 0x04000000 @@ -85,356 +84,6 @@ struct Filter { struct sock_filter p[700]; }; -static const struct thatispacked SyscallName { - uint16_t n; - const char *const s; -} kSyscallName[] = { - {__NR_linux_exit, "exit"}, // - {__NR_linux_exit_group, "exit_group"}, // - {__NR_linux_read, "read"}, // - {__NR_linux_write, "write"}, // - {__NR_linux_open, "open"}, // - {__NR_linux_close, "close"}, // - {__NR_linux_stat, "stat"}, // - {__NR_linux_fstat, "fstat"}, // - {__NR_linux_lstat, "lstat"}, // - {__NR_linux_poll, "poll"}, // - {__NR_linux_ppoll, "ppoll"}, // - {__NR_linux_brk, "brk"}, // - {__NR_linux_sigreturn, "sigreturn"}, // - {__NR_linux_lseek, "lseek"}, // - {__NR_linux_mmap, "mmap"}, // - {__NR_linux_msync, "msync"}, // - {__NR_linux_mprotect, "mprotect"}, // - {__NR_linux_munmap, "munmap"}, // - {__NR_linux_sigaction, "sigaction"}, // - {__NR_linux_sigprocmask, "sigprocmask"}, // - {__NR_linux_ioctl, "ioctl"}, // - {__NR_linux_pread, "pread"}, // - {__NR_linux_pwrite, "pwrite"}, // - {__NR_linux_readv, "readv"}, // - {__NR_linux_writev, "writev"}, // - {__NR_linux_access, "access"}, // - {__NR_linux_pipe, "pipe"}, // - {__NR_linux_select, "select"}, // - {__NR_linux_pselect6, "pselect6"}, // - {__NR_linux_sched_yield, "sched_yield"}, // - {__NR_linux_mremap, "mremap"}, // - {__NR_linux_mincore, "mincore"}, // - {__NR_linux_madvise, "madvise"}, // - {__NR_linux_shmget, "shmget"}, // - {__NR_linux_shmat, "shmat"}, // - {__NR_linux_shmctl, "shmctl"}, // - {__NR_linux_dup, "dup"}, // - {__NR_linux_dup2, "dup2"}, // - {__NR_linux_pause, "pause"}, // - {__NR_linux_nanosleep, "nanosleep"}, // - {__NR_linux_getitimer, "getitimer"}, // - {__NR_linux_setitimer, "setitimer"}, // - {__NR_linux_alarm, "alarm"}, // - {__NR_linux_getpid, "getpid"}, // - {__NR_linux_sendfile, "sendfile"}, // - {__NR_linux_socket, "socket"}, // - {__NR_linux_connect, "connect"}, // - {__NR_linux_accept, "accept"}, // - {__NR_linux_sendto, "sendto"}, // - {__NR_linux_recvfrom, "recvfrom"}, // - {__NR_linux_sendmsg, "sendmsg"}, // - {__NR_linux_recvmsg, "recvmsg"}, // - {__NR_linux_shutdown, "shutdown"}, // - {__NR_linux_bind, "bind"}, // - {__NR_linux_listen, "listen"}, // - {__NR_linux_getsockname, "getsockname"}, // - {__NR_linux_getpeername, "getpeername"}, // - {__NR_linux_socketpair, "socketpair"}, // - {__NR_linux_setsockopt, "setsockopt"}, // - {__NR_linux_getsockopt, "getsockopt"}, // - {__NR_linux_fork, "fork"}, // - {__NR_linux_vfork, "vfork"}, // - {__NR_linux_execve, "execve"}, // - {__NR_linux_wait4, "wait4"}, // - {__NR_linux_kill, "kill"}, // - {__NR_linux_clone, "clone"}, // - {__NR_linux_tkill, "tkill"}, // - {__NR_linux_futex, "futex"}, // - {__NR_linux_set_robust_list, "set_robust_list"}, // - {__NR_linux_get_robust_list, "get_robust_list"}, // - {__NR_linux_uname, "uname"}, // - {__NR_linux_semget, "semget"}, // - {__NR_linux_semop, "semop"}, // - {__NR_linux_semctl, "semctl"}, // - {__NR_linux_shmdt, "shmdt"}, // - {__NR_linux_msgget, "msgget"}, // - {__NR_linux_msgsnd, "msgsnd"}, // - {__NR_linux_msgrcv, "msgrcv"}, // - {__NR_linux_msgctl, "msgctl"}, // - {__NR_linux_fcntl, "fcntl"}, // - {__NR_linux_flock, "flock"}, // - {__NR_linux_fsync, "fsync"}, // - {__NR_linux_fdatasync, "fdatasync"}, // - {__NR_linux_truncate, "truncate"}, // - {__NR_linux_ftruncate, "ftruncate"}, // - {__NR_linux_getcwd, "getcwd"}, // - {__NR_linux_chdir, "chdir"}, // - {__NR_linux_fchdir, "fchdir"}, // - {__NR_linux_rename, "rename"}, // - {__NR_linux_mkdir, "mkdir"}, // - {__NR_linux_rmdir, "rmdir"}, // - {__NR_linux_creat, "creat"}, // - {__NR_linux_link, "link"}, // - {__NR_linux_unlink, "unlink"}, // - {__NR_linux_symlink, "symlink"}, // - {__NR_linux_readlink, "readlink"}, // - {__NR_linux_chmod, "chmod"}, // - {__NR_linux_fchmod, "fchmod"}, // - {__NR_linux_chown, "chown"}, // - {__NR_linux_fchown, "fchown"}, // - {__NR_linux_lchown, "lchown"}, // - {__NR_linux_umask, "umask"}, // - {__NR_linux_gettimeofday, "gettimeofday"}, // - {__NR_linux_getrlimit, "getrlimit"}, // - {__NR_linux_getrusage, "getrusage"}, // - {__NR_linux_sysinfo, "sysinfo"}, // - {__NR_linux_times, "times"}, // - {__NR_linux_ptrace, "ptrace"}, // - {__NR_linux_syslog, "syslog"}, // - {__NR_linux_getuid, "getuid"}, // - {__NR_linux_getgid, "getgid"}, // - {__NR_linux_getppid, "getppid"}, // - {__NR_linux_getpgrp, "getpgrp"}, // - {__NR_linux_setsid, "setsid"}, // - {__NR_linux_getsid, "getsid"}, // - {__NR_linux_getpgid, "getpgid"}, // - {__NR_linux_setpgid, "setpgid"}, // - {__NR_linux_geteuid, "geteuid"}, // - {__NR_linux_getegid, "getegid"}, // - {__NR_linux_getgroups, "getgroups"}, // - {__NR_linux_setgroups, "setgroups"}, // - {__NR_linux_setreuid, "setreuid"}, // - {__NR_linux_setregid, "setregid"}, // - {__NR_linux_setuid, "setuid"}, // - {__NR_linux_setgid, "setgid"}, // - {__NR_linux_setresuid, "setresuid"}, // - {__NR_linux_setresgid, "setresgid"}, // - {__NR_linux_getresuid, "getresuid"}, // - {__NR_linux_getresgid, "getresgid"}, // - {__NR_linux_sigpending, "sigpending"}, // - {__NR_linux_sigsuspend, "sigsuspend"}, // - {__NR_linux_sigaltstack, "sigaltstack"}, // - {__NR_linux_mknod, "mknod"}, // - {__NR_linux_mknodat, "mknodat"}, // - {__NR_linux_statfs, "statfs"}, // - {__NR_linux_fstatfs, "fstatfs"}, // - {__NR_linux_getpriority, "getpriority"}, // - {__NR_linux_setpriority, "setpriority"}, // - {__NR_linux_mlock, "mlock"}, // - {__NR_linux_munlock, "munlock"}, // - {__NR_linux_mlockall, "mlockall"}, // - {__NR_linux_munlockall, "munlockall"}, // - {__NR_linux_setrlimit, "setrlimit"}, // - {__NR_linux_chroot, "chroot"}, // - {__NR_linux_sync, "sync"}, // - {__NR_linux_acct, "acct"}, // - {__NR_linux_settimeofday, "settimeofday"}, // - {__NR_linux_mount, "mount"}, // - {__NR_linux_reboot, "reboot"}, // - {__NR_linux_quotactl, "quotactl"}, // - {__NR_linux_setfsuid, "setfsuid"}, // - {__NR_linux_setfsgid, "setfsgid"}, // - {__NR_linux_capget, "capget"}, // - {__NR_linux_capset, "capset"}, // - {__NR_linux_sigtimedwait, "sigtimedwait"}, // - {__NR_linux_rt_sigqueueinfo, "rt_sigqueueinfo"}, // - {__NR_linux_personality, "personality"}, // - {__NR_linux_ustat, "ustat"}, // - {__NR_linux_sysfs, "sysfs"}, // - {__NR_linux_sched_setparam, "sched_setparam"}, // - {__NR_linux_sched_getparam, "sched_getparam"}, // - {__NR_linux_sched_setscheduler, "sched_setscheduler"}, // - {__NR_linux_sched_getscheduler, "sched_getscheduler"}, // - {__NR_linux_sched_get_priority_max, "sched_get_priority_max"}, // - {__NR_linux_sched_get_priority_min, "sched_get_priority_min"}, // - {__NR_linux_sched_rr_get_interval, "sched_rr_get_interval"}, // - {__NR_linux_vhangup, "vhangup"}, // - {__NR_linux_modify_ldt, "modify_ldt"}, // - {__NR_linux_pivot_root, "pivot_root"}, // - {__NR_linux__sysctl, "_sysctl"}, // - {__NR_linux_prctl, "prctl"}, // - {__NR_linux_arch_prctl, "arch_prctl"}, // - {__NR_linux_adjtimex, "adjtimex"}, // - {__NR_linux_umount2, "umount2"}, // - {__NR_linux_swapon, "swapon"}, // - {__NR_linux_swapoff, "swapoff"}, // - {__NR_linux_sethostname, "sethostname"}, // - {__NR_linux_setdomainname, "setdomainname"}, // - {__NR_linux_iopl, "iopl"}, // - {__NR_linux_ioperm, "ioperm"}, // - {__NR_linux_init_module, "init_module"}, // - {__NR_linux_delete_module, "delete_module"}, // - {__NR_linux_gettid, "gettid"}, // - {__NR_linux_readahead, "readahead"}, // - {__NR_linux_setxattr, "setxattr"}, // - {__NR_linux_fsetxattr, "fsetxattr"}, // - {__NR_linux_getxattr, "getxattr"}, // - {__NR_linux_fgetxattr, "fgetxattr"}, // - {__NR_linux_listxattr, "listxattr"}, // - {__NR_linux_flistxattr, "flistxattr"}, // - {__NR_linux_removexattr, "removexattr"}, // - {__NR_linux_fremovexattr, "fremovexattr"}, // - {__NR_linux_lsetxattr, "lsetxattr"}, // - {__NR_linux_lgetxattr, "lgetxattr"}, // - {__NR_linux_llistxattr, "llistxattr"}, // - {__NR_linux_lremovexattr, "lremovexattr"}, // - {__NR_linux_sched_setaffinity, "sched_setaffinity"}, // - {__NR_linux_sched_getaffinity, "sched_getaffinity"}, // - {__NR_linux_io_setup, "io_setup"}, // - {__NR_linux_io_destroy, "io_destroy"}, // - {__NR_linux_io_getevents, "io_getevents"}, // - {__NR_linux_io_submit, "io_submit"}, // - {__NR_linux_io_cancel, "io_cancel"}, // - {__NR_linux_lookup_dcookie, "lookup_dcookie"}, // - {__NR_linux_epoll_create, "epoll_create"}, // - {__NR_linux_epoll_wait, "epoll_wait"}, // - {__NR_linux_epoll_ctl, "epoll_ctl"}, // - {__NR_linux_getdents, "getdents"}, // - {__NR_linux_set_tid_address, "set_tid_address"}, // - {__NR_linux_restart_syscall, "restart_syscall"}, // - {__NR_linux_semtimedop, "semtimedop"}, // - {__NR_linux_fadvise, "fadvise"}, // - {__NR_linux_timer_create, "timer_create"}, // - {__NR_linux_timer_settime, "timer_settime"}, // - {__NR_linux_timer_gettime, "timer_gettime"}, // - {__NR_linux_timer_getoverrun, "timer_getoverrun"}, // - {__NR_linux_timer_delete, "timer_delete"}, // - {__NR_linux_clock_settime, "clock_settime"}, // - {__NR_linux_clock_gettime, "clock_gettime"}, // - {__NR_linux_clock_getres, "clock_getres"}, // - {__NR_linux_clock_nanosleep, "clock_nanosleep"}, // - {__NR_linux_tgkill, "tgkill"}, // - {__NR_linux_mbind, "mbind"}, // - {__NR_linux_set_mempolicy, "set_mempolicy"}, // - {__NR_linux_get_mempolicy, "get_mempolicy"}, // - {__NR_linux_mq_open, "mq_open"}, // - {__NR_linux_mq_unlink, "mq_unlink"}, // - {__NR_linux_mq_timedsend, "mq_timedsend"}, // - {__NR_linux_mq_timedreceive, "mq_timedreceive"}, // - {__NR_linux_mq_notify, "mq_notify"}, // - {__NR_linux_mq_getsetattr, "mq_getsetattr"}, // - {__NR_linux_kexec_load, "kexec_load"}, // - {__NR_linux_waitid, "waitid"}, // - {__NR_linux_add_key, "add_key"}, // - {__NR_linux_request_key, "request_key"}, // - {__NR_linux_keyctl, "keyctl"}, // - {__NR_linux_ioprio_set, "ioprio_set"}, // - {__NR_linux_ioprio_get, "ioprio_get"}, // - {__NR_linux_inotify_init, "inotify_init"}, // - {__NR_linux_inotify_add_watch, "inotify_add_watch"}, // - {__NR_linux_inotify_rm_watch, "inotify_rm_watch"}, // - {__NR_linux_openat, "openat"}, // - {__NR_linux_mkdirat, "mkdirat"}, // - {__NR_linux_fchownat, "fchownat"}, // - {__NR_linux_utime, "utime"}, // - {__NR_linux_utimes, "utimes"}, // - {__NR_linux_futimesat, "futimesat"}, // - {__NR_linux_fstatat, "fstatat"}, // - {__NR_linux_unlinkat, "unlinkat"}, // - {__NR_linux_renameat, "renameat"}, // - {__NR_linux_linkat, "linkat"}, // - {__NR_linux_symlinkat, "symlinkat"}, // - {__NR_linux_readlinkat, "readlinkat"}, // - {__NR_linux_fchmodat, "fchmodat"}, // - {__NR_linux_faccessat, "faccessat"}, // - {__NR_linux_unshare, "unshare"}, // - {__NR_linux_splice, "splice"}, // - {__NR_linux_tee, "tee"}, // - {__NR_linux_sync_file_range, "sync_file_range"}, // - {__NR_linux_vmsplice, "vmsplice"}, // - {__NR_linux_migrate_pages, "migrate_pages"}, // - {__NR_linux_move_pages, "move_pages"}, // - {__NR_linux_preadv, "preadv"}, // - {__NR_linux_pwritev, "pwritev"}, // - {__NR_linux_utimensat, "utimensat"}, // - {__NR_linux_fallocate, "fallocate"}, // - {__NR_linux_accept4, "accept4"}, // - {__NR_linux_dup3, "dup3"}, // - {__NR_linux_pipe2, "pipe2"}, // - {__NR_linux_epoll_pwait, "epoll_pwait"}, // - {__NR_linux_epoll_create1, "epoll_create1"}, // - {__NR_linux_perf_event_open, "perf_event_open"}, // - {__NR_linux_inotify_init1, "inotify_init1"}, // - {__NR_linux_rt_tgsigqueueinfo, "rt_tgsigqueueinfo"}, // - {__NR_linux_signalfd, "signalfd"}, // - {__NR_linux_signalfd4, "signalfd4"}, // - {__NR_linux_eventfd, "eventfd"}, // - {__NR_linux_eventfd2, "eventfd2"}, // - {__NR_linux_timerfd_create, "timerfd_create"}, // - {__NR_linux_timerfd_settime, "timerfd_settime"}, // - {__NR_linux_timerfd_gettime, "timerfd_gettime"}, // - {__NR_linux_recvmmsg, "recvmmsg"}, // - {__NR_linux_fanotify_init, "fanotify_init"}, // - {__NR_linux_fanotify_mark, "fanotify_mark"}, // - {__NR_linux_prlimit, "prlimit"}, // - {__NR_linux_name_to_handle_at, "name_to_handle_at"}, // - {__NR_linux_open_by_handle_at, "open_by_handle_at"}, // - {__NR_linux_clock_adjtime, "clock_adjtime"}, // - {__NR_linux_syncfs, "syncfs"}, // - {__NR_linux_sendmmsg, "sendmmsg"}, // - {__NR_linux_setns, "setns"}, // - {__NR_linux_getcpu, "getcpu"}, // - {__NR_linux_process_vm_readv, "process_vm_readv"}, // - {__NR_linux_process_vm_writev, "process_vm_writev"}, // - {__NR_linux_kcmp, "kcmp"}, // - {__NR_linux_finit_module, "finit_module"}, // - {__NR_linux_sched_setattr, "sched_setattr"}, // - {__NR_linux_sched_getattr, "sched_getattr"}, // - {__NR_linux_renameat2, "renameat2"}, // - {__NR_linux_seccomp, "seccomp"}, // - {__NR_linux_getrandom, "getrandom"}, // - {__NR_linux_memfd_create, "memfd_create"}, // - {__NR_linux_kexec_file_load, "kexec_file_load"}, // - {__NR_linux_bpf, "bpf"}, // - {__NR_linux_execveat, "execveat"}, // - {__NR_linux_userfaultfd, "userfaultfd"}, // - {__NR_linux_membarrier, "membarrier"}, // - {__NR_linux_mlock2, "mlock2"}, // - {__NR_linux_copy_file_range, "copy_file_range"}, // - {__NR_linux_preadv2, "preadv2"}, // - {__NR_linux_pwritev2, "pwritev2"}, // - {__NR_linux_pkey_mprotect, "pkey_mprotect"}, // - {__NR_linux_pkey_alloc, "pkey_alloc"}, // - {__NR_linux_pkey_free, "pkey_free"}, // - {__NR_linux_statx, "statx"}, // - {__NR_linux_io_pgetevents, "io_pgetevents"}, // - {__NR_linux_rseq, "rseq"}, // - {__NR_linux_pidfd_send_signal, "pidfd_send_signal"}, // - {__NR_linux_io_uring_setup, "io_uring_setup"}, // - {__NR_linux_io_uring_enter, "io_uring_enter"}, // - {__NR_linux_io_uring_register, "io_uring_register"}, // - {__NR_linux_open_tree, "open_tree"}, // - {__NR_linux_move_mount, "move_mount"}, // - {__NR_linux_fsopen, "fsopen"}, // - {__NR_linux_fsconfig, "fsconfig"}, // - {__NR_linux_fsmount, "fsmount"}, // - {__NR_linux_fspick, "fspick"}, // - {__NR_linux_pidfd_open, "pidfd_open"}, // - {__NR_linux_clone3, "clone3"}, // - {__NR_linux_close_range, "close_range"}, // - {__NR_linux_openat2, "openat2"}, // - {__NR_linux_pidfd_getfd, "pidfd_getfd"}, // - {__NR_linux_faccessat2, "faccessat2"}, // - {__NR_linux_process_madvise, "process_madvise"}, // - {__NR_linux_epoll_pwait2, "epoll_pwait2"}, // - {__NR_linux_mount_setattr, "mount_setattr"}, // - {__NR_linux_quotactl_fd, "quotactl_fd"}, // - {__NR_linux_landlock_create_ruleset, "landlock_create_ruleset"}, // - {__NR_linux_landlock_add_rule, "landlock_add_rule"}, // - {__NR_linux_landlock_restrict_self, "landlock_restrict_self"}, // - {__NR_linux_memfd_secret, "memfd_secret"}, // - {__NR_linux_process_mrelease, "process_mrelease"}, // - {__NR_linux_futex_waitv, "futex_waitv"}, // - {__NR_linux_set_mempolicy_home_node, "set_mempolicy_home_node"}, // -}; - static const uint16_t kPledgeDefault[] = { __NR_linux_exit, // thread return / exit() }; @@ -935,16 +584,6 @@ static privileged void KillThisThread(void) { : "rcx", "r11", "memory"); } -static privileged const char *GetSyscallName(uint16_t n) { - int i; - for (i = 0; i < ARRAYLEN(kSyscallName); ++i) { - if (kSyscallName[i].n == n) { - return kSyscallName[i].s; - } - } - return "unknown"; -} - static privileged int HasSyscall(struct Pledges *p, uint16_t n) { int i; for (i = 0; i < p->len; ++i) { @@ -967,16 +606,23 @@ static privileged void OnSigSys(int sig, siginfo_t *si, ucontext_t *ctx) { FixCpy(ord, si->si_syscall, 12); HexCpy(rip, ctx->uc_mcontext.rip); for (found = i = 0; i < ARRAYLEN(kPledge); ++i) { - if (HasSyscall(kPledge + i, si->si_syscall)) { - Log("error: pledge ", kPledge[i].name, " for ", - GetSyscallName(si->si_syscall), " (ord=", ord, " rip=", rip, ")\n", - 0); - found = true; + switch (HasSyscall(kPledge + i, si->si_syscall)) { + case 1: + Log("error: should pledge ", kPledge[i].name, // + " (ord=", ord, " rip=", rip, ")\n", 0); + found = true; + break; + case 2: + Log("error: maybe pledge ", kPledge[i].name, // + " (ord=", ord, " rip=", rip, ")\n", 0); + found = true; + break; + default: + break; } } if (!found) { - Log("error: bad syscall (", GetSyscallName(si->si_syscall), " ord=", ord, - " rip=", rip, ")\n", 0); + Log("error: bad syscall (ord=", ord, " rip=", rip, ")\n", 0); } switch (mode) { case kPledgeModeKillProcess: @@ -1908,8 +1554,8 @@ static privileged void AppendPledge(struct Filter *f, // privileged int sys_pledge_linux(unsigned long ipromises, // enum PledgeMode mode, // bool want_msyscall) { // + int i, rc = -1; struct Filter f; - int i, e, rc = -1; struct sock_filter sf[1] = {BPF_STMT(BPF_RET | BPF_K, 0)}; CheckLargeStackAllocation(&f, sizeof(f)); f.n = 0; @@ -1964,24 +1610,10 @@ privileged int sys_pledge_linux(unsigned long ipromises, // AppendFilter(&f, PLEDGE(sf)); } - // drop privileges - // - // PR_SET_SECCOMP (Linux 2.6.23+) will refuse to work if - // PR_SET_NO_NEW_PRIVS (Linux 3.5+) wasn't called so we punt the error - // detection to the seccomp system call below. - Prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); - // register our seccomp filter with the kernel - struct sock_fprog sandbox = {.len = f.n, .filter = f.p}; - rc = Prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, &sandbox, 0, 0); - - // the EINVAL error could mean a lot of things. it could mean the bpf - // code is broken. it could also mean we're running on RHEL5 which - // doesn't have SECCOMP support. since we don't consider lack of - // system support for security to be an error, we distinguish these - // two cases by running a simpler SECCOMP operation. - if (rc == -Einval && Prctl(PR_GET_SECCOMP, 0, 0, 0, 0) == -Einval) { - rc = 0; // -Enosys + if ((rc = Prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)) != -1) { + struct sock_fprog sandbox = {.len = f.n, .filter = f.p}; + rc = Prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, &sandbox, 0, 0); } return rc; diff --git a/libc/calls/pledge.c b/libc/calls/pledge.c index d4f2710a3..4232e5fec 100644 --- a/libc/calls/pledge.c +++ b/libc/calls/pledge.c @@ -28,20 +28,14 @@ #include "libc/sysv/errfuns.h" /** - * Permits system operations, e.g. + * Restricts system operations, e.g. * - * if (pledge("stdio rfile tty", 0)) { - * perror("pledge"); - * exit(1); - * } + * pledge("stdio rfile tty", 0); * * Pledging causes most system calls to become unavailable. Your system * call policy is enforced by the kernel (which means it can propagate * across execve() if permitted). Root access is not required. Support - * is limited to Linux 2.6.23+ (c. RHEL6) and OpenBSD. If your kernel - * isn't supported, then pledge() will return 0 and do nothing rather - * than raising ENOSYS. We don't consider lack of system support to be - * an error, because the specified operations will be permitted. + * is limited to Linux and OpenBSD. * * The promises you give pledge() define which system calls are allowed. * Error messages are logged when sandbox violations occur that well you @@ -219,13 +213,14 @@ * be weakened to have execute permissions too. * * @return 0 on success, or -1 w/ errno + * @raise ENOSYS if host os isn't Linux or OpenBSD * @raise EINVAL if `execpromises` on Linux isn't a subset of `promises` * @raise EINVAL if `promises` allows exec and `execpromises` is null * @threadsafe * @vforksafe */ int pledge(const char *promises, const char *execpromises) { - int e, rc; + int rc; unsigned long ipromises, iexecpromises; if (!ParsePromises(promises, &ipromises) && !ParsePromises(execpromises, &iexecpromises)) { @@ -244,12 +239,7 @@ int pledge(const char *promises, const char *execpromises) { if (rc > -4096u) errno = -rc, rc = -1; } } else { - e = errno; rc = sys_pledge(promises, execpromises); - if (rc && errno == ENOSYS) { - errno = e; - rc = 0; - } } if (!rc && !__vforked && (IsOpenbsd() || (IsLinux() && getpid() == gettid()))) { diff --git a/libc/calls/struct/timespec.h b/libc/calls/struct/timespec.h index 75d811200..6e9b454e2 100644 --- a/libc/calls/struct/timespec.h +++ b/libc/calls/struct/timespec.h @@ -8,7 +8,6 @@ struct timespec { }; int sys_futex(int *, int, int, const struct timespec *, int *); -int64_t _timespec_tonanos(struct timespec) pureconst; int64_t _timespec_tomicros(struct timespec) pureconst; int64_t _timespec_tomillis(struct timespec) pureconst; struct timespec _timespec_frommicros(int64_t) pureconst; diff --git a/libc/calls/unveil.c b/libc/calls/unveil.c index 3e8218b37..7e2b0b4b2 100644 --- a/libc/calls/unveil.c +++ b/libc/calls/unveil.c @@ -93,15 +93,13 @@ _Thread_local static struct { } State; static int unveil_final(void) { - int e, rc; + int rc; struct sock_fprog sandbox = { .filter = kUnveilBlacklist, .len = ARRAYLEN(kUnveilBlacklist), }; - e = errno; - prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); - errno = e; - if ((rc = landlock_restrict_self(State.fd, 0)) != -1 && + if ((rc = prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)) != -1 && + (rc = landlock_restrict_self(State.fd, 0)) != -1 && (rc = sys_close(State.fd)) != -1 && (rc = prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, &sandbox)) != -1) { State.fd = 0; @@ -119,11 +117,9 @@ static int err_close(int rc, int fd) { static int unveil_init(void) { int rc, fd; State.fs_mask = UNVEIL_READ | UNVEIL_WRITE | UNVEIL_EXEC | UNVEIL_CREATE; - if ((rc = landlock_create_ruleset(0, 0, LANDLOCK_CREATE_RULESET_VERSION)) == - -1) { - if (errno == EOPNOTSUPP) { - errno = ENOSYS; - } + if ((rc = landlock_create_ruleset(0, 0, LANDLOCK_CREATE_RULESET_VERSION)) < + 0) { + if (errno == EOPNOTSUPP) errno = ENOSYS; return -1; } if (rc < 2) { @@ -254,7 +250,7 @@ int sys_unveil_linux(const char *path, const char *permissions) { } /** - * Makes files accessible, e.g. + * Restricts filesystem operations, e.g. * * unveil(".", "r"); // current directory + children are visible * unveil("/etc", "r"); // make /etc readable too @@ -268,10 +264,6 @@ int sys_unveil_linux(const char *path, const char *permissions) { * should become unhidden. When you're finished, you call `unveil(0,0)` * which commits your policy. * - * This function requires OpenBSD or Linux 5.13+. We don't consider lack - * of system support to be an ENOSYS error, because the files will still - * become unveiled. Therefore we return 0 in such cases. - * * There are some differences between unveil() on Linux versus OpenBSD. * * 1. Build your policy and lock it in one go. On OpenBSD, policies take @@ -341,6 +333,8 @@ int sys_unveil_linux(const char *path, const char *permissions) { * the pledge promise "cpath". * * @return 0 on success, or -1 w/ errno + * @raise ENOSYS if host os isn't Linux or OpenBSD + * @raise ENOSYS if Landlock isn't supported on this kernel * @raise EINVAL if one argument is set and the other is not * @raise EINVAL if an invalid character in `permissions` was found * @raise EPERM if unveil() is called after locking @@ -349,17 +343,12 @@ int sys_unveil_linux(const char *path, const char *permissions) { * @threadsafe */ int unveil(const char *path, const char *permissions) { - int e, rc; - e = errno; + int rc; if (IsLinux()) { rc = sys_unveil_linux(path, permissions); } else { rc = sys_unveil(path, permissions); } - if (rc == -1 && errno == ENOSYS) { - errno = e; - rc = 0; - } STRACE("unveil(%#s, %#s) → %d% m", path, permissions, rc); return rc; } diff --git a/libc/dns/getntprotocolstxtpath.c b/libc/dns/getntprotocolstxtpath.c index b369d3f91..8717b5ab8 100644 --- a/libc/dns/getntprotocolstxtpath.c +++ b/libc/dns/getntprotocolstxtpath.c @@ -26,7 +26,6 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/dns/prototxt.h" #include "libc/nt/systeminfo.h" -#include "libc/str/str.h" textwindows char *GetNtProtocolsTxtPath(char *pathbuf, uint32_t size) { /* protocol, not plural */ diff --git a/libc/dns/getntservicestxtpath.c b/libc/dns/getntservicestxtpath.c index 21249d111..7f02cac88 100644 --- a/libc/dns/getntservicestxtpath.c +++ b/libc/dns/getntservicestxtpath.c @@ -26,7 +26,6 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/dns/servicestxt.h" #include "libc/nt/systeminfo.h" -#include "libc/str/str.h" textwindows char *GetNtServicesTxtPath(char *pathbuf, uint32_t size) { const char *const kWinHostsPath = "\\drivers\\etc\\services"; diff --git a/libc/dns/getprotobyname.c b/libc/dns/getprotobyname.c index 631db7bb8..f15fd744c 100644 --- a/libc/dns/getprotobyname.c +++ b/libc/dns/getprotobyname.c @@ -26,7 +26,6 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/dns/ent.h" #include "libc/dns/prototxt.h" -#include "libc/mem/mem.h" struct protoent *getprotobyname(const char *name) { static struct protoent *ptr0, pe0; diff --git a/libc/dns/getprotobynumber.c b/libc/dns/getprotobynumber.c index 30c54face..9f92dbda2 100644 --- a/libc/dns/getprotobynumber.c +++ b/libc/dns/getprotobynumber.c @@ -26,7 +26,6 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/dns/ent.h" #include "libc/dns/prototxt.h" -#include "libc/mem/mem.h" struct protoent *getprotobynumber(int proto) { static struct protoent *ptr1, pe1; diff --git a/libc/dns/lookupprotobyname.c b/libc/dns/lookupprotobyname.c index 0df631fd9..f319d2ed6 100644 --- a/libc/dns/lookupprotobyname.c +++ b/libc/dns/lookupprotobyname.c @@ -25,13 +25,10 @@ │ OTHER DEALINGS IN THE SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/bits/safemacros.internal.h" -#include "libc/dce.h" #include "libc/dns/prototxt.h" #include "libc/errno.h" #include "libc/fmt/conv.h" #include "libc/macros.internal.h" -#include "libc/mem/mem.h" -#include "libc/str/str.h" /** * Opens and searches /etc/protocols to find number for a given name. diff --git a/libc/dns/lookupprotobynumber.c b/libc/dns/lookupprotobynumber.c index 23eb2da31..e86e1c4da 100644 --- a/libc/dns/lookupprotobynumber.c +++ b/libc/dns/lookupprotobynumber.c @@ -25,13 +25,10 @@ │ OTHER DEALINGS IN THE SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/bits/safemacros.internal.h" -#include "libc/dce.h" #include "libc/dns/prototxt.h" #include "libc/errno.h" #include "libc/fmt/conv.h" #include "libc/macros.internal.h" -#include "libc/mem/mem.h" -#include "libc/str/str.h" /** * Opens and searches /etc/protocols to find name for a given number. diff --git a/libc/dns/lookupservicesbyname.c b/libc/dns/lookupservicesbyname.c index 117730104..d6046fabf 100644 --- a/libc/dns/lookupservicesbyname.c +++ b/libc/dns/lookupservicesbyname.c @@ -25,13 +25,10 @@ │ OTHER DEALINGS IN THE SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/bits/safemacros.internal.h" -#include "libc/dce.h" #include "libc/dns/servicestxt.h" #include "libc/errno.h" #include "libc/fmt/conv.h" #include "libc/macros.internal.h" -#include "libc/mem/mem.h" -#include "libc/str/str.h" /** * Opens and searches /etc/services to find port for a given name. diff --git a/libc/dns/lookupservicesbyport.c b/libc/dns/lookupservicesbyport.c index 7895d7645..4fa9a364c 100644 --- a/libc/dns/lookupservicesbyport.c +++ b/libc/dns/lookupservicesbyport.c @@ -25,13 +25,10 @@ │ OTHER DEALINGS IN THE SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/bits/safemacros.internal.h" -#include "libc/dce.h" #include "libc/dns/servicestxt.h" #include "libc/errno.h" #include "libc/fmt/conv.h" #include "libc/macros.internal.h" -#include "libc/mem/mem.h" -#include "libc/str/str.h" /** * Opens and searches /etc/services to find name for a given port. diff --git a/libc/fmt/__xpg_strerror_r.c b/libc/fmt/__xpg_strerror_r.c index 80153c5ca..888619bc5 100644 --- a/libc/fmt/__xpg_strerror_r.c +++ b/libc/fmt/__xpg_strerror_r.c @@ -17,7 +17,6 @@ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/fmt/fmt.h" -#include "libc/str/str.h" int __xpg_strerror_r(int a, char *b, size_t c) { return strerror_r(a, b, c); diff --git a/libc/fmt/pflink.h b/libc/fmt/pflink.h index 396e5e499..4e7f2fb8b 100644 --- a/libc/fmt/pflink.h +++ b/libc/fmt/pflink.h @@ -1,5 +1,10 @@ #ifndef COSMOPOLITAN_LIBC_FMT_PFLINK_H_ #define COSMOPOLITAN_LIBC_FMT_PFLINK_H_ +#include "libc/dce.h" +#include "libc/mem/mem.h" +#include "libc/runtime/runtime.h" +#include "libc/str/str.h" +#include "libc/unicode/unicode.h" #if !(__ASSEMBLER__ + __LINKER__ + 0) #ifndef __STRICT_ANSI__ @@ -18,8 +23,8 @@ if (___PFLINK(FMT, strpbrk, "faAeg")) STATIC_YOINK("__fmt_dtoa"); \ if (___PFLINK(FMT, strpbrk, "cmrqs")) { \ if (___PFLINK(FMT, strstr, "%m")) STATIC_YOINK("strerror"); \ - if (___PFLINK(FMT, strstr, "%*") || \ - ___PFLINK(FMT, strpbrk, "0123456789")) { \ + if (!IsTiny() && (___PFLINK(FMT, strstr, "%*") || \ + ___PFLINK(FMT, strpbrk, "0123456789"))) { \ STATIC_YOINK("strnwidth"); \ STATIC_YOINK("strnwidth16"); \ STATIC_YOINK("wcsnwidth"); \ @@ -58,8 +63,36 @@ * respects by disabling all the esoteric tuning in headers like this. */ #pragma GCC diagnostic ignored "-Wformat-security" +#endif /* __GNUC__ + 0 < 6 */ +#else +#define PFLINK(FMT) FMT +#define SFLINK(FMT) FMT +#ifdef __GNUC__ +__asm__(".section .yoink\n\t" + "nopl\t__fmt_dtoa(%rip)\n\t" + "nopl\tkCp437(%rip)\n\t" + "nopl\tstrerror(%rip)\n\t" + "nopl\tstrnwidth(%rip)\n\t" + "nopl\tstrnwidth16(%rip)\n\t" + "nopl\twcsnwidth(%rip)\n\t" + "nopl\tmalloc(%rip)\n\t" + "nopl\tcalloc(%rip)\n\t" + "nopl\t__grow(%rip)\n\t" + ".previous"); +#else +static long __pflink(long x) { + x |= kCp437[0]; + x |= __fmt_dtoa(0, 0, 0, 0, 0, 0); + x |= strnwidth(0, 0, 0); + x |= strnwidth16(0, 0, 0); + x |= wcsnwidth(0, 0, 0); + x |= malloc(0); + x |= __grow(0, 0, 0, 0); + x |= (intptr_t)strerror(0); + x |= (intptr_t)calloc(0, 0); + return x; +} #endif - #endif /* __STRICT_ANSI__ */ #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ #endif /* COSMOPOLITAN_LIBC_FMT_PFLINK_H_ */ diff --git a/libc/fmt/sizetol.c b/libc/fmt/sizetol.c index d6006cf31..10ef06b8e 100644 --- a/libc/fmt/sizetol.c +++ b/libc/fmt/sizetol.c @@ -18,7 +18,6 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/fmt/conv.h" #include "libc/fmt/fmt.h" -#include "libc/str/str.h" static int GetExponent(int c) { switch (c) { diff --git a/libc/fmt/strerror.c b/libc/fmt/strerror.c index 1fad70bb9..8cfefe61b 100644 --- a/libc/fmt/strerror.c +++ b/libc/fmt/strerror.c @@ -17,9 +17,7 @@ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/bits/safemacros.internal.h" -#include "libc/dce.h" #include "libc/fmt/fmt.h" -#include "libc/str/str.h" /** * Converts errno value to string non-reentrantly. diff --git a/libc/fmt/strerror_r.c b/libc/fmt/strerror_r.c index 0671fec2a..bec848b21 100644 --- a/libc/fmt/strerror_r.c +++ b/libc/fmt/strerror_r.c @@ -18,7 +18,6 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/fmt/fmt.h" #include "libc/nt/runtime.h" -#include "libc/str/str.h" /** * Converts errno value to string. diff --git a/libc/fmt/vsnprintf.c b/libc/fmt/vsnprintf.c index c9e77ff86..9ad55b5a7 100644 --- a/libc/fmt/vsnprintf.c +++ b/libc/fmt/vsnprintf.c @@ -21,7 +21,6 @@ #include "libc/limits.h" #include "libc/macros.internal.h" #include "libc/runtime/runtime.h" -#include "libc/str/str.h" struct SprintfStr { char *p; diff --git a/libc/intrin/asan.c b/libc/intrin/asan.c index 32943bee4..d6b72422f 100644 --- a/libc/intrin/asan.c +++ b/libc/intrin/asan.c @@ -39,7 +39,6 @@ #include "libc/log/log.h" #include "libc/macros.internal.h" #include "libc/mem/hook/hook.internal.h" -#include "libc/mem/mem.h" #include "libc/nexgen32e/gc.internal.h" #include "libc/nexgen32e/stackframe.h" #include "libc/nt/enum/version.h" @@ -196,7 +195,8 @@ static uint64_t __asan_roundup2pow(uint64_t x) { static char *__asan_utf8cpy(char *p, unsigned c) { uint64_t z; z = tpenc(c); - do *p++ = z; + do + *p++ = z; while ((z >>= 8)); return p; } @@ -947,7 +947,8 @@ static void __asan_trace(struct AsanTrace *bt, const struct StackFrame *bp) { if (!__asan_checka(SHADOW(bp), sizeof(*bp) >> 3).kind) { addr = bp->addr; if (addr == weakaddr("__gc") && weakaddr("__gc")) { - do --gi; + do + --gi; while ((addr = garbage->p[gi].ret) == weakaddr("__gc")); } bt->p[i] = addr; diff --git a/libc/intrin/pthread.h b/libc/intrin/pthread.h index b3634986b..5d7d338e1 100644 --- a/libc/intrin/pthread.h +++ b/libc/intrin/pthread.h @@ -1,5 +1,7 @@ #ifndef COSMOPOLITAN_LIBC_RUNTIME_PTHREAD_H_ #define COSMOPOLITAN_LIBC_RUNTIME_PTHREAD_H_ +#include "libc/calls/struct/timespec.h" +#include "libc/dce.h" #define PTHREAD_KEYS_MAX 64 @@ -82,6 +84,7 @@ int pthread_mutex_init(pthread_mutex_t *, const pthread_mutexattr_t *); int pthread_mutex_lock(pthread_mutex_t *); int pthread_mutex_unlock(pthread_mutex_t *); int pthread_mutex_trylock(pthread_mutex_t *); +int pthread_mutex_timedlock(pthread_mutex_t *, const struct timespec *); int pthread_mutex_destroy(pthread_mutex_t *); int pthread_mutex_consistent(pthread_mutex_t *); int pthread_mutexattr_init(pthread_mutexattr_t *); @@ -91,6 +94,8 @@ int pthread_mutexattr_settype(pthread_mutexattr_t *, int); int pthread_cond_init(pthread_cond_t *, const pthread_condattr_t *); int pthread_cond_destroy(pthread_cond_t *); int pthread_cond_wait(pthread_cond_t *, pthread_mutex_t *); +int pthread_cond_timedwait(pthread_cond_t *, pthread_mutex_t *, + const struct timespec *); int pthread_cond_broadcast(pthread_cond_t *); int pthread_cancel(pthread_t); int pthread_cond_signal(pthread_cond_t *); @@ -98,8 +103,10 @@ int pthread_rwlock_init(pthread_rwlock_t *, const pthread_rwlockattr_t *); int pthread_rwlock_destroy(pthread_rwlock_t *); int pthread_rwlock_rdlock(pthread_rwlock_t *); int pthread_rwlock_tryrdlock(pthread_rwlock_t *); +int pthread_rwlock_timedrdlock(pthread_rwlock_t *, const struct timespec *); int pthread_rwlock_wrlock(pthread_rwlock_t *); int pthread_rwlock_trywrlock(pthread_rwlock_t *); +int pthread_rwlock_timedwrlock(pthread_rwlock_t *, const struct timespec *); int pthread_rwlock_unlock(pthread_rwlock_t *); int pthread_key_create(pthread_key_t *, pthread_key_dtor); int pthread_key_delete(pthread_key_t); @@ -132,8 +139,9 @@ void *pthread_getspecific(pthread_key_t); #define pthread_mutex_unlock(mutex) \ ((mutex)->attr == PTHREAD_MUTEX_NORMAL \ ? (__atomic_store_n(&(mutex)->lock, 0, __ATOMIC_RELAXED), \ - __atomic_load_n(&(mutex)->waits, __ATOMIC_RELAXED) && \ - _pthread_mutex_wake(mutex), \ + ((IsLinux() || IsOpenbsd()) && \ + __atomic_load_n(&(mutex)->waits, __ATOMIC_RELAXED) && \ + _pthread_mutex_wake(mutex)), \ 0) \ : pthread_mutex_unlock(mutex)) #endif diff --git a/libc/intrin/pthread_mutex_unlock.c b/libc/intrin/pthread_mutex_unlock.c index 092d43e37..f07181963 100644 --- a/libc/intrin/pthread_mutex_unlock.c +++ b/libc/intrin/pthread_mutex_unlock.c @@ -19,7 +19,6 @@ #include "libc/assert.h" #include "libc/bits/atomic.h" #include "libc/calls/calls.h" -#include "libc/dce.h" #include "libc/errno.h" #include "libc/intrin/kprintf.h" #include "libc/intrin/pthread.h" diff --git a/libc/intrin/pthread_mutex_wake.c b/libc/intrin/pthread_mutex_wake.c index beb7b3e17..0a2b5e3b0 100644 --- a/libc/intrin/pthread_mutex_wake.c +++ b/libc/intrin/pthread_mutex_wake.c @@ -17,15 +17,9 @@ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/bits/atomic.h" -#include "libc/dce.h" #include "libc/intrin/futex.internal.h" #include "libc/intrin/pthread.h" int _pthread_mutex_wake(pthread_mutex_t *mutex) { - if ((IsLinux() || IsOpenbsd()) && - atomic_load_explicit(&mutex->waits, memory_order_relaxed) > 0) { - return _futex_wake(&mutex->lock, 1); - } else { - return 0; - } + return _futex_wake(&mutex->lock, 1); } diff --git a/libc/intrin/strerror_wr.greg.c b/libc/intrin/strerror_wr.greg.c index 0038b1fc9..edcad2add 100644 --- a/libc/intrin/strerror_wr.greg.c +++ b/libc/intrin/strerror_wr.greg.c @@ -24,7 +24,6 @@ #include "libc/nt/enum/formatmessageflags.h" #include "libc/nt/enum/lang.h" #include "libc/nt/process.h" -#include "libc/str/str.h" /** * Converts errno value to string with explicit windows errno too. diff --git a/libc/isystem/stdio.h b/libc/isystem/stdio.h index 9e5d61618..5781a1259 100644 --- a/libc/isystem/stdio.h +++ b/libc/isystem/stdio.h @@ -2,7 +2,6 @@ #define LIBC_ISYSTEM_STDIO_H_ #include "libc/calls/calls.h" #include "libc/fmt/fmt.h" -#include "libc/stdio/lock.h" #include "libc/stdio/stdio.h" #include "libc/stdio/temp.h" #endif diff --git a/libc/log/countbranch_report.c b/libc/log/countbranch_report.c index 902b6b4bc..b3a1864ee 100644 --- a/libc/log/countbranch_report.c +++ b/libc/log/countbranch_report.c @@ -24,7 +24,6 @@ #include "libc/math.h" #include "libc/runtime/runtime.h" #include "libc/stdio/stdio.h" -#include "libc/str/str.h" static double GetTotal(const struct countbranch *p) { return p->total; diff --git a/libc/log/perror.c b/libc/log/perror.c index 18429f8c3..bb5a9c25f 100644 --- a/libc/log/perror.c +++ b/libc/log/perror.c @@ -19,7 +19,6 @@ #include "libc/errno.h" #include "libc/log/log.h" #include "libc/stdio/stdio.h" -#include "libc/str/str.h" /** * Writes error messages to standard error. diff --git a/libc/log/showcrashreports.c b/libc/log/showcrashreports.c index 0b8559857..416e7bc04 100644 --- a/libc/log/showcrashreports.c +++ b/libc/log/showcrashreports.c @@ -24,7 +24,6 @@ #include "libc/macros.internal.h" #include "libc/runtime/stack.h" #include "libc/runtime/symbols.internal.h" -#include "libc/str/str.h" #include "libc/sysv/consts/map.h" #include "libc/sysv/consts/prot.h" #include "libc/sysv/consts/sa.h" diff --git a/libc/log/vflogf.c b/libc/log/vflogf.c index 35c2eae7a..6307bcb81 100644 --- a/libc/log/vflogf.c +++ b/libc/log/vflogf.c @@ -33,7 +33,6 @@ #include "libc/math.h" #include "libc/nexgen32e/nexgen32e.h" #include "libc/runtime/runtime.h" -#include "libc/stdio/lock.h" #include "libc/stdio/stdio.h" #include "libc/str/str.h" #include "libc/sysv/consts/fileno.h" diff --git a/libc/nt/gdi32/GdiCurrentProcessSplWow64.s b/libc/nt/gdi32/GdiCurrentProcessSplWow64.s new file mode 100644 index 000000000..69abaefc3 --- /dev/null +++ b/libc/nt/gdi32/GdiCurrentProcessSplWow64.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp gdi32,__imp_GdiCurrentProcessSplWow64,GdiCurrentProcessSplWow64,1510 diff --git a/libc/nt/kernel32/GetSystemWow64DirectoryA.s b/libc/nt/kernel32/GetSystemWow64DirectoryA.s new file mode 100644 index 000000000..434aa4fbc --- /dev/null +++ b/libc/nt/kernel32/GetSystemWow64DirectoryA.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp kernel32,__imp_GetSystemWow64DirectoryA,GetSystemWow64DirectoryA,0 diff --git a/libc/nt/kernel32/GetSystemWow64DirectoryW.s b/libc/nt/kernel32/GetSystemWow64DirectoryW.s new file mode 100644 index 000000000..bff1de903 --- /dev/null +++ b/libc/nt/kernel32/GetSystemWow64DirectoryW.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp kernel32,__imp_GetSystemWow64DirectoryW,GetSystemWow64DirectoryW,0 diff --git a/libc/nt/kernel32/IsWow64Process.s b/libc/nt/kernel32/IsWow64Process.s new file mode 100644 index 000000000..9e8d97817 --- /dev/null +++ b/libc/nt/kernel32/IsWow64Process.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp kernel32,__imp_IsWow64Process,IsWow64Process,0 diff --git a/libc/nt/kernel32/Wow64DisableWow64FsRedirection.s b/libc/nt/kernel32/Wow64DisableWow64FsRedirection.s new file mode 100644 index 000000000..daf2eae15 --- /dev/null +++ b/libc/nt/kernel32/Wow64DisableWow64FsRedirection.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp kernel32,__imp_Wow64DisableWow64FsRedirection,Wow64DisableWow64FsRedirection,0 diff --git a/libc/nt/kernel32/Wow64EnableWow64FsRedirection.s b/libc/nt/kernel32/Wow64EnableWow64FsRedirection.s new file mode 100644 index 000000000..bc60272e4 --- /dev/null +++ b/libc/nt/kernel32/Wow64EnableWow64FsRedirection.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp kernel32,__imp_Wow64EnableWow64FsRedirection,Wow64EnableWow64FsRedirection,1545 diff --git a/libc/nt/kernel32/Wow64GetThreadContext.s b/libc/nt/kernel32/Wow64GetThreadContext.s new file mode 100644 index 000000000..154fa9f2b --- /dev/null +++ b/libc/nt/kernel32/Wow64GetThreadContext.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp kernel32,__imp_Wow64GetThreadContext,Wow64GetThreadContext,1546 diff --git a/libc/nt/kernel32/Wow64GetThreadSelectorEntry.s b/libc/nt/kernel32/Wow64GetThreadSelectorEntry.s new file mode 100644 index 000000000..d7f21dc0f --- /dev/null +++ b/libc/nt/kernel32/Wow64GetThreadSelectorEntry.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp kernel32,__imp_Wow64GetThreadSelectorEntry,Wow64GetThreadSelectorEntry,1547 diff --git a/libc/nt/kernel32/Wow64RevertWow64FsRedirection.s b/libc/nt/kernel32/Wow64RevertWow64FsRedirection.s new file mode 100644 index 000000000..bf16b863a --- /dev/null +++ b/libc/nt/kernel32/Wow64RevertWow64FsRedirection.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp kernel32,__imp_Wow64RevertWow64FsRedirection,Wow64RevertWow64FsRedirection,0 diff --git a/libc/nt/kernel32/Wow64SetThreadContext.s b/libc/nt/kernel32/Wow64SetThreadContext.s new file mode 100644 index 000000000..4733945d5 --- /dev/null +++ b/libc/nt/kernel32/Wow64SetThreadContext.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp kernel32,__imp_Wow64SetThreadContext,Wow64SetThreadContext,1549 diff --git a/libc/nt/kernel32/Wow64SuspendThread.s b/libc/nt/kernel32/Wow64SuspendThread.s new file mode 100644 index 000000000..3507d21a7 --- /dev/null +++ b/libc/nt/kernel32/Wow64SuspendThread.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp kernel32,__imp_Wow64SuspendThread,Wow64SuspendThread,1550 diff --git a/libc/nt/master.sh b/libc/nt/master.sh index ea9a6b029..a91abed63 100755 --- a/libc/nt/master.sh +++ b/libc/nt/master.sh @@ -667,6 +667,8 @@ imp 'GetSystemTimePreciseAsFileTime' GetSystemTimePreciseAsFileTime kernel3 imp 'GetSystemTimes' GetSystemTimes kernel32 0 3 imp 'GetSystemWindowsDirectory' GetSystemWindowsDirectoryW kernel32 0 imp 'GetSystemWindowsDirectoryA' GetSystemWindowsDirectoryA kernel32 0 +imp 'GetSystemWow64Directory' GetSystemWow64DirectoryW kernel32 0 +imp 'GetSystemWow64DirectoryA' GetSystemWow64DirectoryA kernel32 0 imp 'GetTapeParameters' GetTapeParameters kernel32 756 imp 'GetTapePosition' GetTapePosition kernel32 757 imp 'GetTapeStatus' GetTapeStatus kernel32 758 @@ -807,6 +809,7 @@ imp 'IsValidLanguageGroup' IsValidLanguageGroup kernel32 0 imp 'IsValidLocale' IsValidLocale kernel32 0 imp 'IsValidLocaleName' IsValidLocaleName kernel32 0 imp 'IsValidNLSVersion' IsValidNLSVersion kernel32 0 +imp 'IsWow64Process' IsWow64Process kernel32 0 imp 'K32EmptyWorkingSet' K32EmptyWorkingSet kernel32 0 imp 'K32EnumDeviceDrivers' K32EnumDeviceDrivers kernel32 0 imp 'K32EnumPageFiles' K32EnumPageFilesW kernel32 0 @@ -1302,6 +1305,13 @@ imp 'WerpNotifyLoadStringResourceWorker' WerpNotifyLoadStringResourceWorker imp 'WerpNotifyUseStringResourceWorker' WerpNotifyUseStringResourceWorker kernel32 1541 imp 'WideCharToMultiByte' WideCharToMultiByte kernel32 1553 8 imp 'WinExec' WinExec kernel32 1543 +imp 'Wow64DisableWow64FsRedirection' Wow64DisableWow64FsRedirection kernel32 0 +imp 'Wow64EnableWow64FsRedirection' Wow64EnableWow64FsRedirection kernel32 1545 +imp 'Wow64GetThreadContext' Wow64GetThreadContext kernel32 1546 +imp 'Wow64GetThreadSelectorEntry' Wow64GetThreadSelectorEntry kernel32 1547 +imp 'Wow64RevertWow64FsRedirection' Wow64RevertWow64FsRedirection kernel32 0 +imp 'Wow64SetThreadContext' Wow64SetThreadContext kernel32 1549 +imp 'Wow64SuspendThread' Wow64SuspendThread kernel32 1550 imp 'WriteConsole' WriteConsoleW kernel32 0 5 imp 'WriteConsoleA' WriteConsoleA kernel32 0 5 imp 'WriteConsoleInput' WriteConsoleInputW kernel32 0 4 @@ -2588,6 +2598,7 @@ imp 'IsWindowInDestroy' IsWindowInDestroy user32 2087 imp 'IsWindowRedirectedForPrint' IsWindowRedirectedForPrint user32 2088 imp 'IsWindowUnicode' IsWindowUnicode user32 2089 imp 'IsWindowVisible' IsWindowVisible user32 2090 1 +imp 'IsWow64Message' IsWow64Message user32 2091 imp 'IsZoomed' IsZoomed user32 2092 1 imp 'KillTimer' KillTimer user32 2093 2 imp 'LoadAccelerators' LoadAcceleratorsW user32 2095 @@ -3365,6 +3376,7 @@ imp 'GdiConvertRegion' GdiConvertRegion gdi32 1506 imp 'GdiConvertToDevmode' GdiConvertToDevmodeW gdi32 1507 imp 'GdiCreateLocalEnhMetaFile' GdiCreateLocalEnhMetaFile gdi32 1508 imp 'GdiCreateLocalMetaFilePict' GdiCreateLocalMetaFilePict gdi32 1509 +imp 'GdiCurrentProcessSplWow64' GdiCurrentProcessSplWow64 gdi32 1510 imp 'GdiDeleteLocalDC' GdiDeleteLocalDC gdi32 1511 imp 'GdiDeleteSpoolFileHandle' GdiDeleteSpoolFileHandle gdi32 1512 imp 'GdiDescribePixelFormat' GdiDescribePixelFormat gdi32 1513 @@ -4083,6 +4095,89 @@ imp 'InitializeProcessForWsWatch' InitializeProcessForWsWatch psapi 0 imp 'QueryWorkingSet' QueryWorkingSet psapi 0 imp 'QueryWorkingSetEx' QueryWorkingSetEx psapi 0 +# NETAPI32.DLL +# +# Name Actual DLL Hint Arity +imp 'I_BrowserSetNetlogonState' I_BrowserSetNetlogonState netapi32 34 +imp 'NetAccessAdd' NetAccessAdd netapi32 71 +imp 'NetAccessDel' NetAccessDel netapi32 72 +imp 'NetAccessEnum' NetAccessEnum netapi32 73 +imp 'NetAccessGetInfo' NetAccessGetInfo netapi32 74 +imp 'NetAccessGetUserPerms' NetAccessGetUserPerms netapi32 75 +imp 'NetAccessSetInfo' NetAccessSetInfo netapi32 76 +imp 'NetAlertRaise' NetAlertRaise netapi32 79 +imp 'NetAlertRaiseEx' NetAlertRaiseEx netapi32 80 +imp 'NetAuditClear' NetAuditClear netapi32 85 +imp 'NetAuditRead' NetAuditRead netapi32 86 +imp 'NetAuditWrite' NetAuditWrite netapi32 87 +imp 'NetConfigGet' NetConfigGet netapi32 88 +imp 'NetConfigGetAll' NetConfigGetAll netapi32 89 +imp 'NetConfigSet' NetConfigSet netapi32 90 +imp 'NetErrorLogClear' NetErrorLogClear netapi32 124 +imp 'NetErrorLogRead' NetErrorLogRead netapi32 125 +imp 'NetErrorLogWrite' NetErrorLogWrite netapi32 126 +imp 'NetMessageBufferSend' NetMessageBufferSend netapi32 161 +imp 'NetMessageNameAdd' NetMessageNameAdd netapi32 162 +imp 'NetMessageNameDel' NetMessageNameDel netapi32 163 +imp 'NetMessageNameEnum' NetMessageNameEnum netapi32 164 +imp 'NetMessageNameGetInfo' NetMessageNameGetInfo netapi32 165 +imp 'NetRegisterDomainNameChangeNotification' NetRegisterDomainNameChangeNotification netapi32 169 +imp 'NetReplExportDirAdd' NetReplExportDirAdd netapi32 175 +imp 'NetReplExportDirDel' NetReplExportDirDel netapi32 176 +imp 'NetReplExportDirEnum' NetReplExportDirEnum netapi32 177 +imp 'NetReplExportDirGetInfo' NetReplExportDirGetInfo netapi32 178 +imp 'NetReplExportDirLock' NetReplExportDirLock netapi32 179 +imp 'NetReplExportDirSetInfo' NetReplExportDirSetInfo netapi32 180 +imp 'NetReplExportDirUnlock' NetReplExportDirUnlock netapi32 181 +imp 'NetReplGetInfo' NetReplGetInfo netapi32 182 +imp 'NetReplImportDirAdd' NetReplImportDirAdd netapi32 183 +imp 'NetReplImportDirDel' NetReplImportDirDel netapi32 184 +imp 'NetReplImportDirEnum' NetReplImportDirEnum netapi32 185 +imp 'NetReplImportDirGetInfo' NetReplImportDirGetInfo netapi32 186 +imp 'NetReplImportDirLock' NetReplImportDirLock netapi32 187 +imp 'NetReplImportDirUnlock' NetReplImportDirUnlock netapi32 188 +imp 'NetReplSetInfo' NetReplSetInfo netapi32 189 +imp 'NetServerEnum' NetServerEnum netapi32 202 +imp 'NetServerEnumEx' NetServerEnumEx netapi32 203 +imp 'NetServiceControl' NetServiceControl netapi32 210 +imp 'NetServiceEnum' NetServiceEnum netapi32 211 +imp 'NetServiceGetInfo' NetServiceGetInfo netapi32 212 +imp 'NetServiceInstall' NetServiceInstall netapi32 213 +imp 'NetStatisticsGet' NetStatisticsGet netapi32 227 +imp 'NetUnregisterDomainNameChangeNotification' NetUnregisterDomainNameChangeNotification netapi32 229 +imp 'NetWkstaGetInfo' NetWkstaGetInfo netapi32 248 +imp 'NetWkstaSetInfo' NetWkstaSetInfo netapi32 249 +imp 'Netbios' Netbios netapi32 257 +imp 'NetpAddTlnFtinfoEntry' NetpAddTlnFtinfoEntry netapi32 258 +imp 'NetpAllocFtinfoEntry' NetpAllocFtinfoEntry netapi32 259 +imp 'NetpAssertFailed' NetpAssertFailed netapi32 260 +imp 'NetpCleanFtinfoContext' NetpCleanFtinfoContext netapi32 261 +imp 'NetpCloseConfigData' NetpCloseConfigData netapi32 262 +imp 'NetpCopyFtinfoContext' NetpCopyFtinfoContext netapi32 263 +imp 'NetpDbgPrint' NetpDbgPrint netapi32 264 +imp 'NetpGetConfigBool' NetpGetConfigBool netapi32 265 +imp 'NetpGetConfigDword' NetpGetConfigDword netapi32 266 +imp 'NetpGetConfigTStrArray' NetpGetConfigTStrArray netapi32 267 +imp 'NetpGetConfigValue' NetpGetConfigValue netapi32 268 +imp 'NetpGetFileSecurity' NetpGetFileSecurity netapi32 269 +imp 'NetpHexDump' NetpHexDump netapi32 270 +imp 'NetpInitFtinfoContext' NetpInitFtinfoContext netapi32 271 +imp 'NetpIsUncComputerNameValid' NetpIsUncComputerNameValid netapi32 273 +imp 'NetpMergeFtinfo' NetpMergeFtinfo netapi32 274 +imp 'NetpNetBiosReset' NetpNetBiosReset netapi32 275 +imp 'NetpNetBiosStatusToApiStatus' NetpNetBiosStatusToApiStatus netapi32 276 +imp 'NetpOpenConfigData' NetpOpenConfigData netapi32 277 +imp 'NetpSetFileSecurity' NetpSetFileSecurity netapi32 278 +imp 'RxNetAccessAdd' RxNetAccessAdd netapi32 288 +imp 'RxNetAccessDel' RxNetAccessDel netapi32 289 +imp 'RxNetAccessEnum' RxNetAccessEnum netapi32 290 +imp 'RxNetAccessGetInfo' RxNetAccessGetInfo netapi32 291 +imp 'RxNetAccessGetUserPerms' RxNetAccessGetUserPerms netapi32 292 +imp 'RxNetAccessSetInfo' RxNetAccessSetInfo netapi32 293 +imp 'RxNetServerEnum' RxNetServerEnum netapi32 294 +imp 'RxNetUserPasswordSet' RxNetUserPasswordSet netapi32 295 +imp 'RxRemoteApi' RxRemoteApi netapi32 296 + # URL.DLL # # Name Actual DLL Hint Arity @@ -4097,6 +4192,265 @@ imp 'InetIsOffline' InetIsOffline url 106 imp 'MIMEAssociationDialog' MIMEAssociationDialogW url 108 imp 'MailToProtocolHandler' MailToProtocolHandler url 109 +# SHELL32.DLL +# +# Name Actual DLL Hint Arity +imp 'AppCompat_RunDLLW' AppCompat_RunDLLW shell32 255 +imp 'AssocCreateForClasses' AssocCreateForClasses shell32 263 +imp 'AssocGetDetailsOfPropKey' AssocGetDetailsOfPropKey shell32 267 +imp 'CDefFolderMenu_Create2' CDefFolderMenu_Create2 shell32 701 +imp 'CIDLData_CreateFromIDArray' CIDLData_CreateFromIDArray shell32 83 +imp 'CStorageItem_GetValidatedStorageItemObject' CStorageItem_GetValidatedStorageItemObject shell32 937 +imp 'CheckEscapes' CheckEscapesW shell32 268 +imp 'CommandLineToArgv' CommandLineToArgvW shell32 269 +imp 'Control_RunDLL' Control_RunDLL shell32 272 +imp 'Control_RunDLLAsUser' Control_RunDLLAsUserW shell32 274 +imp 'Control_RunDLLW' Control_RunDLLW shell32 275 +imp 'DAD_AutoScroll' DAD_AutoScroll shell32 129 +imp 'DAD_DragEnterEx' DAD_DragEnterEx shell32 131 +imp 'DAD_DragEnterEx2' DAD_DragEnterEx2 shell32 22 +imp 'DAD_DragLeave' DAD_DragLeave shell32 132 +imp 'DAD_DragMove' DAD_DragMove shell32 134 +imp 'DAD_SetDragImage' DAD_SetDragImage shell32 136 +imp 'DAD_ShowDragImage' DAD_ShowDragImage shell32 137 +imp 'DllGetActivationFactory' DllGetActivationFactory shell32 277 +imp 'DllGetVersion' DllGetVersion shell32 279 +imp 'DllInstall' DllInstall shell32 280 +imp 'DllRegisterServer' DllRegisterServer shell32 281 +imp 'DllUnregisterServer' DllUnregisterServer shell32 282 +imp 'DoEnvironmentSubst' DoEnvironmentSubstW shell32 284 +imp 'DragAcceptFiles' DragAcceptFiles shell32 285 +imp 'DragFinish' DragFinish shell32 286 +imp 'DragQueryFile' DragQueryFileW shell32 290 +imp 'DragQueryFileAor' DragQueryFileAorW shell32 289 +imp 'DragQueryPoint' DragQueryPoint shell32 291 +imp 'DriveType' DriveType shell32 64 +imp 'DuplicateIcon' DuplicateIcon shell32 292 +imp 'ExtractAssociatedIcon' ExtractAssociatedIconW shell32 296 +imp 'ExtractAssociatedIconEx' ExtractAssociatedIconExW shell32 295 +imp 'ExtractIcon' ExtractIconW shell32 301 +imp 'ExtractIconEx' ExtractIconExW shell32 300 +imp 'FindExecutable' FindExecutableW shell32 303 +imp 'FreeIconList' FreeIconList shell32 304 +imp 'GetCurrentProcessExplicitAppUserModelID' GetCurrentProcessExplicitAppUserModelID shell32 305 +imp 'GetFileNameFromBrowse' GetFileNameFromBrowse shell32 63 +imp 'GetSystemPersistedStorageItemList' GetSystemPersistedStorageItemList shell32 919 +imp 'ILAppendID' ILAppendID shell32 154 +imp 'ILClone' ILClone shell32 18 +imp 'ILCloneFirst' ILCloneFirst shell32 19 +imp 'ILCombine' ILCombine shell32 25 +imp 'ILCreateFromPath' ILCreateFromPathW shell32 190 +imp 'ILFindChild' ILFindChild shell32 24 +imp 'ILFindLastID' ILFindLastID shell32 16 +imp 'ILFree' ILFree shell32 155 +imp 'ILGetNext' ILGetNext shell32 153 +imp 'ILGetSize' ILGetSize shell32 152 +imp 'ILIsEqual' ILIsEqual shell32 21 +imp 'ILIsParent' ILIsParent shell32 23 +imp 'ILLoadFromStreamEx' ILLoadFromStreamEx shell32 846 +imp 'ILRemoveLastID' ILRemoveLastID shell32 17 +imp 'ILSaveToStream' ILSaveToStream shell32 27 +imp 'InitNetworkAddressControl' InitNetworkAddressControl shell32 306 +imp 'InternalExtractIconList' InternalExtractIconListW shell32 308 +imp 'IsDesktopExplorerProcess' IsDesktopExplorerProcess shell32 942 +imp 'IsLFNDrive' IsLFNDriveW shell32 42 +imp 'IsNetDrive' IsNetDrive shell32 66 +imp 'IsProcessAnExplorer' IsProcessAnExplorer shell32 941 +imp 'IsUserAnAdmin' IsUserAnAdmin shell32 680 +imp 'LaunchMSHelp_RunDLLW' LaunchMSHelp_RunDLLW shell32 309 +imp 'OpenAs_RunDLL' OpenAs_RunDLL shell32 81 +imp 'OpenAs_RunDLLW' OpenAs_RunDLLW shell32 133 +imp 'OpenRegStream' OpenRegStream shell32 85 +imp 'Options_RunDLL' Options_RunDLL shell32 310 +imp 'Options_RunDLLW' Options_RunDLLW shell32 312 +imp 'PathCleanupSpec' PathCleanupSpec shell32 171 +imp 'PathGetShortPath' PathGetShortPath shell32 92 +imp 'PathIsExe' PathIsExe shell32 43 +imp 'PathIsSlow' PathIsSlowW shell32 239 +imp 'PathMakeUniqueName' PathMakeUniqueName shell32 47 +imp 'PathQualify' PathQualify shell32 49 +imp 'PathResolve' PathResolve shell32 51 +imp 'PathYetAnotherMakeUniqueName' PathYetAnotherMakeUniqueName shell32 75 +imp 'PickIconDlg' PickIconDlg shell32 62 +imp 'PifMgr_CloseProperties' PifMgr_CloseProperties shell32 13 +imp 'PifMgr_GetProperties' PifMgr_GetProperties shell32 10 +imp 'PifMgr_OpenProperties' PifMgr_OpenProperties shell32 9 +imp 'PifMgr_SetProperties' PifMgr_SetProperties shell32 11 +imp 'PrepareDiscForBurnRunDll' PrepareDiscForBurnRunDllW shell32 135 +imp 'PrintersGetCommand_RunDLL' PrintersGetCommand_RunDLL shell32 138 +imp 'PrintersGetCommand_RunDLLW' PrintersGetCommand_RunDLLW shell32 150 +imp 'ReadCabinetState' ReadCabinetState shell32 654 +imp 'RealDriveType' RealDriveType shell32 524 +imp 'RealShellExecute' RealShellExecuteW shell32 226 +imp 'RealShellExecuteEx' RealShellExecuteExW shell32 208 +imp 'RegenerateUserEnvironment' RegenerateUserEnvironment shell32 313 +imp 'RestartDialog' RestartDialog shell32 59 +imp 'RestartDialogEx' RestartDialogEx shell32 730 +imp 'RunAsNewUser_RunDLLW' RunAsNewUser_RunDLLW shell32 314 +imp 'SHAddDefaultPropertiesByExt' SHAddDefaultPropertiesByExt shell32 315 +imp 'SHAddFromPropSheetExtArray' SHAddFromPropSheetExtArray shell32 167 +imp 'SHAddToRecentDocs' SHAddToRecentDocs shell32 316 +imp 'SHAlloc' SHAlloc shell32 196 +imp 'SHAppBarMessage' SHAppBarMessage shell32 317 +imp 'SHAssocEnumHandlers' SHAssocEnumHandlers shell32 318 +imp 'SHAssocEnumHandlersForProtocolByApplication' SHAssocEnumHandlersForProtocolByApplication shell32 319 +imp 'SHBindToFolderIDListParent' SHBindToFolderIDListParent shell32 320 +imp 'SHBindToFolderIDListParentEx' SHBindToFolderIDListParentEx shell32 321 +imp 'SHBindToObject' SHBindToObject shell32 322 +imp 'SHBindToParent' SHBindToParent shell32 323 +imp 'SHBrowseForFolder' SHBrowseForFolderW shell32 326 +imp 'SHCLSIDFromString' SHCLSIDFromString shell32 147 +imp 'SHChangeNotification_Lock' SHChangeNotification_Lock shell32 644 +imp 'SHChangeNotification_Unlock' SHChangeNotification_Unlock shell32 645 +imp 'SHChangeNotify' SHChangeNotify shell32 327 +imp 'SHChangeNotifyDeregister' SHChangeNotifyDeregister shell32 4 +imp 'SHChangeNotifyRegister' SHChangeNotifyRegister shell32 2 +imp 'SHChangeNotifyRegisterThread' SHChangeNotifyRegisterThread shell32 328 +imp 'SHChangeNotifySuspendResume' SHChangeNotifySuspendResume shell32 329 +imp 'SHCloneSpecialIDList' SHCloneSpecialIDList shell32 89 +imp 'SHCoCreateInstanceWorker' SHCoCreateInstanceWorker shell32 330 +imp 'SHCreateAssociationRegistration' SHCreateAssociationRegistration shell32 331 +imp 'SHCreateCategoryEnum' SHCreateCategoryEnum shell32 332 +imp 'SHCreateDataObject' SHCreateDataObject shell32 333 +imp 'SHCreateDefaultContextMenu' SHCreateDefaultContextMenu shell32 334 +imp 'SHCreateDefaultExtractIcon' SHCreateDefaultExtractIcon shell32 335 +imp 'SHCreateDefaultPropertiesOp' SHCreateDefaultPropertiesOp shell32 336 +imp 'SHCreateDirectory' SHCreateDirectory shell32 165 +imp 'SHCreateDirectoryEx' SHCreateDirectoryExW shell32 338 +imp 'SHCreateDrvExtIcon' SHCreateDrvExtIcon shell32 339 +imp 'SHCreateFileExtractIcon' SHCreateFileExtractIconW shell32 743 +imp 'SHCreateItemFromIDList' SHCreateItemFromIDList shell32 340 +imp 'SHCreateItemFromParsingName' SHCreateItemFromParsingName shell32 341 +imp 'SHCreateItemFromRelativeName' SHCreateItemFromRelativeName shell32 342 +imp 'SHCreateItemInKnownFolder' SHCreateItemInKnownFolder shell32 343 +imp 'SHCreateItemWithParent' SHCreateItemWithParent shell32 344 +imp 'SHCreateLocalServerRunDll' SHCreateLocalServerRunDll shell32 345 +imp 'SHCreateProcessAsUser' SHCreateProcessAsUserW shell32 346 +imp 'SHCreatePropSheetExtArray' SHCreatePropSheetExtArray shell32 168 +imp 'SHCreateQueryCancelAutoPlayMoniker' SHCreateQueryCancelAutoPlayMoniker shell32 347 +imp 'SHCreateShellFolderView' SHCreateShellFolderView shell32 256 +imp 'SHCreateShellFolderViewEx' SHCreateShellFolderViewEx shell32 174 +imp 'SHCreateShellItem' SHCreateShellItem shell32 348 +imp 'SHCreateShellItemArray' SHCreateShellItemArray shell32 349 +imp 'SHCreateShellItemArrayFromDataObject' SHCreateShellItemArrayFromDataObject shell32 350 +imp 'SHCreateShellItemArrayFromIDLists' SHCreateShellItemArrayFromIDLists shell32 351 +imp 'SHCreateShellItemArrayFromShellItem' SHCreateShellItemArrayFromShellItem shell32 352 +imp 'SHCreateStdEnumFmtEtc' SHCreateStdEnumFmtEtc shell32 74 +imp 'SHDefExtractIcon' SHDefExtractIconW shell32 6 +imp 'SHDestroyPropSheetExtArray' SHDestroyPropSheetExtArray shell32 169 +imp 'SHDoDragDrop' SHDoDragDrop shell32 88 +imp 'SHEmptyRecycleBin' SHEmptyRecycleBinW shell32 487 +imp 'SHEnableServiceObject' SHEnableServiceObject shell32 488 +imp 'SHEnumerateUnreadMailAccounts' SHEnumerateUnreadMailAccountsW shell32 489 +imp 'SHEvaluateSystemCommandTemplate' SHEvaluateSystemCommandTemplate shell32 490 +imp 'SHExtractIcons' SHExtractIconsW shell32 491 +imp 'SHFileOperation' SHFileOperationW shell32 494 +imp 'SHFindFiles' SHFindFiles shell32 90 +imp 'SHFind_InitMenuPopup' SHFind_InitMenuPopup shell32 149 +imp 'SHFlushSFCache' SHFlushSFCache shell32 526 +imp 'SHFormatDrive' SHFormatDrive shell32 495 +imp 'SHFree' SHFree shell32 195 +imp 'SHFreeNameMappings' SHFreeNameMappings shell32 496 +imp 'SHGetAttributesFromDataObject' SHGetAttributesFromDataObject shell32 750 +imp 'SHGetDataFromIDList' SHGetDataFromIDListW shell32 498 +imp 'SHGetDesktopFolder' SHGetDesktopFolder shell32 499 +imp 'SHGetDiskFreeSpaceEx' SHGetDiskFreeSpaceExW shell32 502 +imp 'SHGetDriveMedia' SHGetDriveMedia shell32 503 +imp 'SHGetFileInfo' SHGetFileInfoW shell32 506 +imp 'SHGetFolderLocation' SHGetFolderLocation shell32 507 +imp 'SHGetFolderPath' SHGetFolderPathW shell32 512 +imp 'SHGetFolderPathAndSubDir' SHGetFolderPathAndSubDirW shell32 510 +imp 'SHGetFolderPathEx' SHGetFolderPathEx shell32 511 +imp 'SHGetIDListFromObject' SHGetIDListFromObject shell32 513 +imp 'SHGetIconOverlayIndex' SHGetIconOverlayIndexW shell32 515 +imp 'SHGetImageList' SHGetImageList shell32 727 +imp 'SHGetInstanceExplorer' SHGetInstanceExplorer shell32 516 +imp 'SHGetItemFromDataObject' SHGetItemFromDataObject shell32 517 +imp 'SHGetItemFromObject' SHGetItemFromObject shell32 518 +imp 'SHGetKnownFolderIDList' SHGetKnownFolderIDList shell32 519 +imp 'SHGetKnownFolderItem' SHGetKnownFolderItem shell32 527 +imp 'SHGetKnownFolderPath' SHGetKnownFolderPath shell32 528 +imp 'SHGetLocalizedName' SHGetLocalizedName shell32 529 +imp 'SHGetMalloc' SHGetMalloc shell32 530 +imp 'SHGetNameFromIDList' SHGetNameFromIDList shell32 531 +imp 'SHGetNewLinkInfo' SHGetNewLinkInfoW shell32 180 +imp 'SHGetPathFromIDList' SHGetPathFromIDListW shell32 536 +imp 'SHGetPathFromIDListEx' SHGetPathFromIDListEx shell32 535 +imp 'SHGetPropertyStoreForWindow' SHGetPropertyStoreForWindow shell32 537 +imp 'SHGetPropertyStoreFromIDList' SHGetPropertyStoreFromIDList shell32 538 +imp 'SHGetPropertyStoreFromParsingName' SHGetPropertyStoreFromParsingName shell32 539 +imp 'SHGetRealIDL' SHGetRealIDL shell32 98 +imp 'SHGetSetFolderCustomSettings' SHGetSetFolderCustomSettings shell32 709 +imp 'SHGetSetSettings' SHGetSetSettings shell32 68 +imp 'SHGetSettings' SHGetSettings shell32 540 +imp 'SHGetSpecialFolderLocation' SHGetSpecialFolderLocation shell32 541 +imp 'SHGetSpecialFolderPath' SHGetSpecialFolderPathW shell32 543 +imp 'SHGetStockIconInfo' SHGetStockIconInfo shell32 544 +imp 'SHGetTemporaryPropertyForItem' SHGetTemporaryPropertyForItem shell32 545 +imp 'SHGetUnreadMailCount' SHGetUnreadMailCountW shell32 546 +imp 'SHHandleUpdateImage' SHHandleUpdateImage shell32 193 +imp 'SHHelpShortcuts_RunDLL' SHHelpShortcuts_RunDLL shell32 228 +imp 'SHHelpShortcuts_RunDLLW' SHHelpShortcuts_RunDLLW shell32 238 +imp 'SHILCreateFromPath' SHILCreateFromPath shell32 28 +imp 'SHInvokePrinterCommand' SHInvokePrinterCommandW shell32 548 +imp 'SHIsFileAvailableOffline' SHIsFileAvailableOffline shell32 549 +imp 'SHLimitInputEdit' SHLimitInputEdit shell32 747 +imp 'SHLoadInProc' SHLoadInProc shell32 550 +imp 'SHLoadNonloadedIconOverlayIdentifiers' SHLoadNonloadedIconOverlayIdentifiers shell32 551 +imp 'SHMapPIDLToSystemImageListIndex' SHMapPIDLToSystemImageListIndex shell32 77 +imp 'SHMultiFileProperties' SHMultiFileProperties shell32 716 +imp 'SHObjectProperties' SHObjectProperties shell32 178 +imp 'SHOpenFolderAndSelectItems' SHOpenFolderAndSelectItems shell32 552 +imp 'SHOpenPropSheet' SHOpenPropSheetW shell32 80 +imp 'SHOpenWithDialog' SHOpenWithDialog shell32 553 +imp 'SHParseDisplayName' SHParseDisplayName shell32 554 +imp 'SHPathPrepareForWrite' SHPathPrepareForWriteW shell32 556 +imp 'SHPropStgCreate' SHPropStgCreate shell32 685 +imp 'SHPropStgReadMultiple' SHPropStgReadMultiple shell32 688 +imp 'SHPropStgWriteMultiple' SHPropStgWriteMultiple shell32 689 +imp 'SHQueryRecycleBin' SHQueryRecycleBinW shell32 558 +imp 'SHQueryUserNotificationState' SHQueryUserNotificationState shell32 559 +imp 'SHRemoveLocalizedName' SHRemoveLocalizedName shell32 560 +imp 'SHReplaceFromPropSheetExtArray' SHReplaceFromPropSheetExtArray shell32 170 +imp 'SHResolveLibrary' SHResolveLibrary shell32 561 +imp 'SHRestricted' SHRestricted shell32 100 +imp 'SHSetDefaultProperties' SHSetDefaultProperties shell32 562 +imp 'SHSetFolderPath' SHSetFolderPathW shell32 232 +imp 'SHSetInstanceExplorer' SHSetInstanceExplorer shell32 176 +imp 'SHSetKnownFolderPath' SHSetKnownFolderPath shell32 563 +imp 'SHSetLocalizedName' SHSetLocalizedName shell32 564 +imp 'SHSetTemporaryPropertyForItem' SHSetTemporaryPropertyForItem shell32 565 +imp 'SHSetUnreadMailCount' SHSetUnreadMailCountW shell32 566 +imp 'SHShellFolderView_Message' SHShellFolderView_Message shell32 73 +imp 'SHShowManageLibraryUI' SHShowManageLibraryUI shell32 567 +imp 'SHSimpleIDListFromPath' SHSimpleIDListFromPath shell32 162 +imp 'SHStartNetConnectionDialog' SHStartNetConnectionDialogW shell32 14 +imp 'SHTestTokenMembership' SHTestTokenMembership shell32 245 +imp 'SHUpdateImage' SHUpdateImageW shell32 192 +imp 'SHUpdateRecycleBinIcon' SHUpdateRecycleBinIcon shell32 568 +imp 'SHValidateUNC' SHValidateUNC shell32 173 +imp 'SetCurrentProcessExplicitAppUserModelID' SetCurrentProcessExplicitAppUserModelID shell32 569 +imp 'SheChangeDirEx' SheChangeDirExW shell32 571 +imp 'SheSetCurDrive' SheSetCurDrive shell32 573 +imp 'ShellAbout' ShellAboutW shell32 575 +imp 'ShellExec_RunDLL' ShellExec_RunDLL shell32 576 +imp 'ShellExec_RunDLLW' ShellExec_RunDLLW shell32 578 +imp 'ShellExecute' ShellExecuteW shell32 583 +imp 'ShellExecuteEx' ShellExecuteExW shell32 582 +imp 'ShellHookProc' ShellHookProc shell32 584 +imp 'Shell_GetCachedImageIndex' Shell_GetCachedImageIndexW shell32 586 +imp 'Shell_GetImageLists' Shell_GetImageLists shell32 71 +imp 'Shell_MergeMenus' Shell_MergeMenus shell32 67 +imp 'Shell_NotifyIcon' Shell_NotifyIconW shell32 590 +imp 'Shell_NotifyIconGetRect' Shell_NotifyIconGetRect shell32 589 +imp 'SignalFileOpen' SignalFileOpen shell32 103 +imp 'StgMakeUniqueName' StgMakeUniqueName shell32 682 +imp 'UsersLibrariesFolderUI_CreateInstance' UsersLibrariesFolderUI_CreateInstance shell32 615 +imp 'WOWShellExecute' WOWShellExecute shell32 616 +imp 'WaitForExplorerRestart' WaitForExplorerRestartW shell32 617 +imp 'Win32DeleteFile' Win32DeleteFile shell32 164 +imp 'WriteCabinetState' WriteCabinetState shell32 652 + # NTDLL.DLL # BEYOND THE PALE # @@ -5394,6 +5748,7 @@ imp 'RtlQueryValidationRunlevel' RtlQueryValidationRunlevel ntdll 1311 imp 'RtlQueryWnfMetaNotification' RtlQueryWnfMetaNotification ntdll 1312 imp 'RtlQueryWnfStateData' RtlQueryWnfStateData ntdll 1313 imp 'RtlQueryWnfStateDataWithExplicitScope' RtlQueryWnfStateDataWithExplicitScope ntdll 1314 +imp 'RtlQueueApcWow64Thread' RtlQueueApcWow64Thread ntdll 1315 imp 'RtlQueueWorkItem' RtlQueueWorkItem ntdll 1316 imp 'RtlRaiseCustomSystemEventTrigger' RtlRaiseCustomSystemEventTrigger ntdll 1317 imp 'RtlRaiseException' RtlRaiseException ntdll 1318 @@ -5616,6 +5971,24 @@ imp 'RtlWeaklyEnumerateEntryHashTable' RtlWeaklyEnumerateEntryHashTable ntdl imp 'RtlWerpReportException' RtlWerpReportException ntdll 1535 imp 'RtlWnfCompareChangeStamp' RtlWnfCompareChangeStamp ntdll 1536 imp 'RtlWnfDllUnloadCallback' RtlWnfDllUnloadCallback ntdll 1537 +imp 'RtlWow64CallFunction64' RtlWow64CallFunction64 ntdll 1538 +imp 'RtlWow64EnableFsRedirection' RtlWow64EnableFsRedirection ntdll 1539 +imp 'RtlWow64EnableFsRedirectionEx' RtlWow64EnableFsRedirectionEx ntdll 1540 +imp 'RtlWow64GetCpuAreaInfo' RtlWow64GetCpuAreaInfo ntdll 1541 +imp 'RtlWow64GetCurrentCpuArea' RtlWow64GetCurrentCpuArea ntdll 1542 +imp 'RtlWow64GetCurrentMachine' RtlWow64GetCurrentMachine ntdll 1543 +imp 'RtlWow64GetEquivalentMachineCHPE' RtlWow64GetEquivalentMachineCHPE ntdll 1544 +imp 'RtlWow64GetProcessMachines' RtlWow64GetProcessMachines ntdll 1545 +imp 'RtlWow64GetSharedInfoProcess' RtlWow64GetSharedInfoProcess ntdll 1546 +imp 'RtlWow64GetThreadContext' RtlWow64GetThreadContext ntdll 1547 +imp 'RtlWow64GetThreadSelectorEntry' RtlWow64GetThreadSelectorEntry ntdll 1548 +imp 'RtlWow64IsWowGuestMachineSupported' RtlWow64IsWowGuestMachineSupported ntdll 1549 +imp 'RtlWow64LogMessageInEventLogger' RtlWow64LogMessageInEventLogger ntdll 1550 +imp 'RtlWow64PopAllCrossProcessWork' RtlWow64PopAllCrossProcessWork ntdll 1551 +imp 'RtlWow64PopCrossProcessWork' RtlWow64PopCrossProcessWork ntdll 1552 +imp 'RtlWow64PushCrossProcessWork' RtlWow64PushCrossProcessWork ntdll 1553 +imp 'RtlWow64SetThreadContext' RtlWow64SetThreadContext ntdll 1554 +imp 'RtlWow64SuspendThread' RtlWow64SuspendThread ntdll 1555 imp 'RtlWriteMemoryStream' RtlWriteMemoryStream ntdll 1556 imp 'RtlWriteNonVolatileMemory' RtlWriteNonVolatileMemory ntdll 1557 imp 'RtlWriteRegistryValue' RtlWriteRegistryValue ntdll 1558 @@ -5655,6 +6028,7 @@ imp 'RtlpNtOpenKey' RtlpNtOpenKey ntdll 1591 imp 'RtlpNtQueryValueKey' RtlpNtQueryValueKey ntdll 1592 imp 'RtlpNtSetValueKey' RtlpNtSetValueKey ntdll 1593 imp 'RtlpQueryDefaultUILanguage' RtlpQueryDefaultUILanguage ntdll 1594 +imp 'RtlpQueryProcessDebugInformationFromWow64' RtlpQueryProcessDebugInformationFromWow64 ntdll 1595 imp 'RtlpQueryProcessDebugInformationRemote' RtlpQueryProcessDebugInformationRemote ntdll 1596 imp 'RtlpRefreshCachedUILanguage' RtlpRefreshCachedUILanguage ntdll 1597 imp 'RtlpSetInstallLanguage' RtlpSetInstallLanguage ntdll 1598 diff --git a/libc/nt/netapi32/I_BrowserSetNetlogonState.s b/libc/nt/netapi32/I_BrowserSetNetlogonState.s new file mode 100644 index 000000000..21fd5a354 --- /dev/null +++ b/libc/nt/netapi32/I_BrowserSetNetlogonState.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp netapi32,__imp_I_BrowserSetNetlogonState,I_BrowserSetNetlogonState,34 diff --git a/libc/nt/netapi32/NetAccessAdd.s b/libc/nt/netapi32/NetAccessAdd.s new file mode 100644 index 000000000..58641fe9e --- /dev/null +++ b/libc/nt/netapi32/NetAccessAdd.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp netapi32,__imp_NetAccessAdd,NetAccessAdd,71 diff --git a/libc/nt/netapi32/NetAccessDel.s b/libc/nt/netapi32/NetAccessDel.s new file mode 100644 index 000000000..2d586fde9 --- /dev/null +++ b/libc/nt/netapi32/NetAccessDel.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp netapi32,__imp_NetAccessDel,NetAccessDel,72 diff --git a/libc/nt/netapi32/NetAccessEnum.s b/libc/nt/netapi32/NetAccessEnum.s new file mode 100644 index 000000000..39ae27832 --- /dev/null +++ b/libc/nt/netapi32/NetAccessEnum.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp netapi32,__imp_NetAccessEnum,NetAccessEnum,73 diff --git a/libc/nt/netapi32/NetAccessGetInfo.s b/libc/nt/netapi32/NetAccessGetInfo.s new file mode 100644 index 000000000..fa21f71ee --- /dev/null +++ b/libc/nt/netapi32/NetAccessGetInfo.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp netapi32,__imp_NetAccessGetInfo,NetAccessGetInfo,74 diff --git a/libc/nt/netapi32/NetAccessGetUserPerms.s b/libc/nt/netapi32/NetAccessGetUserPerms.s new file mode 100644 index 000000000..d00b357c1 --- /dev/null +++ b/libc/nt/netapi32/NetAccessGetUserPerms.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp netapi32,__imp_NetAccessGetUserPerms,NetAccessGetUserPerms,75 diff --git a/libc/nt/netapi32/NetAccessSetInfo.s b/libc/nt/netapi32/NetAccessSetInfo.s new file mode 100644 index 000000000..0ce411762 --- /dev/null +++ b/libc/nt/netapi32/NetAccessSetInfo.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp netapi32,__imp_NetAccessSetInfo,NetAccessSetInfo,76 diff --git a/libc/nt/netapi32/NetAlertRaise.s b/libc/nt/netapi32/NetAlertRaise.s new file mode 100644 index 000000000..a5e3b5158 --- /dev/null +++ b/libc/nt/netapi32/NetAlertRaise.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp netapi32,__imp_NetAlertRaise,NetAlertRaise,79 diff --git a/libc/nt/netapi32/NetAlertRaiseEx.s b/libc/nt/netapi32/NetAlertRaiseEx.s new file mode 100644 index 000000000..898ebc6d0 --- /dev/null +++ b/libc/nt/netapi32/NetAlertRaiseEx.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp netapi32,__imp_NetAlertRaiseEx,NetAlertRaiseEx,80 diff --git a/libc/nt/netapi32/NetAuditClear.s b/libc/nt/netapi32/NetAuditClear.s new file mode 100644 index 000000000..8d19d51a0 --- /dev/null +++ b/libc/nt/netapi32/NetAuditClear.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp netapi32,__imp_NetAuditClear,NetAuditClear,85 diff --git a/libc/nt/netapi32/NetAuditRead.s b/libc/nt/netapi32/NetAuditRead.s new file mode 100644 index 000000000..96641ff19 --- /dev/null +++ b/libc/nt/netapi32/NetAuditRead.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp netapi32,__imp_NetAuditRead,NetAuditRead,86 diff --git a/libc/nt/netapi32/NetAuditWrite.s b/libc/nt/netapi32/NetAuditWrite.s new file mode 100644 index 000000000..a496bfc68 --- /dev/null +++ b/libc/nt/netapi32/NetAuditWrite.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp netapi32,__imp_NetAuditWrite,NetAuditWrite,87 diff --git a/libc/nt/netapi32/NetConfigGet.s b/libc/nt/netapi32/NetConfigGet.s new file mode 100644 index 000000000..ceac04320 --- /dev/null +++ b/libc/nt/netapi32/NetConfigGet.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp netapi32,__imp_NetConfigGet,NetConfigGet,88 diff --git a/libc/nt/netapi32/NetConfigGetAll.s b/libc/nt/netapi32/NetConfigGetAll.s new file mode 100644 index 000000000..48276209e --- /dev/null +++ b/libc/nt/netapi32/NetConfigGetAll.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp netapi32,__imp_NetConfigGetAll,NetConfigGetAll,89 diff --git a/libc/nt/netapi32/NetConfigSet.s b/libc/nt/netapi32/NetConfigSet.s new file mode 100644 index 000000000..1a1ff4c9a --- /dev/null +++ b/libc/nt/netapi32/NetConfigSet.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp netapi32,__imp_NetConfigSet,NetConfigSet,90 diff --git a/libc/nt/netapi32/NetErrorLogClear.s b/libc/nt/netapi32/NetErrorLogClear.s new file mode 100644 index 000000000..eb49eaae1 --- /dev/null +++ b/libc/nt/netapi32/NetErrorLogClear.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp netapi32,__imp_NetErrorLogClear,NetErrorLogClear,124 diff --git a/libc/nt/netapi32/NetErrorLogRead.s b/libc/nt/netapi32/NetErrorLogRead.s new file mode 100644 index 000000000..287f6d12f --- /dev/null +++ b/libc/nt/netapi32/NetErrorLogRead.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp netapi32,__imp_NetErrorLogRead,NetErrorLogRead,125 diff --git a/libc/nt/netapi32/NetErrorLogWrite.s b/libc/nt/netapi32/NetErrorLogWrite.s new file mode 100644 index 000000000..3b2ae9592 --- /dev/null +++ b/libc/nt/netapi32/NetErrorLogWrite.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp netapi32,__imp_NetErrorLogWrite,NetErrorLogWrite,126 diff --git a/libc/nt/netapi32/NetMessageBufferSend.s b/libc/nt/netapi32/NetMessageBufferSend.s new file mode 100644 index 000000000..b536f6626 --- /dev/null +++ b/libc/nt/netapi32/NetMessageBufferSend.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp netapi32,__imp_NetMessageBufferSend,NetMessageBufferSend,161 diff --git a/libc/nt/netapi32/NetMessageNameAdd.s b/libc/nt/netapi32/NetMessageNameAdd.s new file mode 100644 index 000000000..10bf3bd8f --- /dev/null +++ b/libc/nt/netapi32/NetMessageNameAdd.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp netapi32,__imp_NetMessageNameAdd,NetMessageNameAdd,162 diff --git a/libc/nt/netapi32/NetMessageNameDel.s b/libc/nt/netapi32/NetMessageNameDel.s new file mode 100644 index 000000000..74a42a6ae --- /dev/null +++ b/libc/nt/netapi32/NetMessageNameDel.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp netapi32,__imp_NetMessageNameDel,NetMessageNameDel,163 diff --git a/libc/nt/netapi32/NetMessageNameEnum.s b/libc/nt/netapi32/NetMessageNameEnum.s new file mode 100644 index 000000000..438a63393 --- /dev/null +++ b/libc/nt/netapi32/NetMessageNameEnum.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp netapi32,__imp_NetMessageNameEnum,NetMessageNameEnum,164 diff --git a/libc/nt/netapi32/NetMessageNameGetInfo.s b/libc/nt/netapi32/NetMessageNameGetInfo.s new file mode 100644 index 000000000..03c162d98 --- /dev/null +++ b/libc/nt/netapi32/NetMessageNameGetInfo.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp netapi32,__imp_NetMessageNameGetInfo,NetMessageNameGetInfo,165 diff --git a/libc/nt/netapi32/NetRegisterDomainNameChangeNotification.s b/libc/nt/netapi32/NetRegisterDomainNameChangeNotification.s new file mode 100644 index 000000000..740b7c88a --- /dev/null +++ b/libc/nt/netapi32/NetRegisterDomainNameChangeNotification.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp netapi32,__imp_NetRegisterDomainNameChangeNotification,NetRegisterDomainNameChangeNotification,169 diff --git a/libc/nt/netapi32/NetReplExportDirAdd.s b/libc/nt/netapi32/NetReplExportDirAdd.s new file mode 100644 index 000000000..6b9dfa181 --- /dev/null +++ b/libc/nt/netapi32/NetReplExportDirAdd.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp netapi32,__imp_NetReplExportDirAdd,NetReplExportDirAdd,175 diff --git a/libc/nt/netapi32/NetReplExportDirDel.s b/libc/nt/netapi32/NetReplExportDirDel.s new file mode 100644 index 000000000..31c0d35d1 --- /dev/null +++ b/libc/nt/netapi32/NetReplExportDirDel.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp netapi32,__imp_NetReplExportDirDel,NetReplExportDirDel,176 diff --git a/libc/nt/netapi32/NetReplExportDirEnum.s b/libc/nt/netapi32/NetReplExportDirEnum.s new file mode 100644 index 000000000..918e4e8cb --- /dev/null +++ b/libc/nt/netapi32/NetReplExportDirEnum.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp netapi32,__imp_NetReplExportDirEnum,NetReplExportDirEnum,177 diff --git a/libc/nt/netapi32/NetReplExportDirGetInfo.s b/libc/nt/netapi32/NetReplExportDirGetInfo.s new file mode 100644 index 000000000..2a48f7f23 --- /dev/null +++ b/libc/nt/netapi32/NetReplExportDirGetInfo.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp netapi32,__imp_NetReplExportDirGetInfo,NetReplExportDirGetInfo,178 diff --git a/libc/nt/netapi32/NetReplExportDirLock.s b/libc/nt/netapi32/NetReplExportDirLock.s new file mode 100644 index 000000000..6d3864767 --- /dev/null +++ b/libc/nt/netapi32/NetReplExportDirLock.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp netapi32,__imp_NetReplExportDirLock,NetReplExportDirLock,179 diff --git a/libc/nt/netapi32/NetReplExportDirSetInfo.s b/libc/nt/netapi32/NetReplExportDirSetInfo.s new file mode 100644 index 000000000..a755c0d98 --- /dev/null +++ b/libc/nt/netapi32/NetReplExportDirSetInfo.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp netapi32,__imp_NetReplExportDirSetInfo,NetReplExportDirSetInfo,180 diff --git a/libc/nt/netapi32/NetReplExportDirUnlock.s b/libc/nt/netapi32/NetReplExportDirUnlock.s new file mode 100644 index 000000000..0f027c795 --- /dev/null +++ b/libc/nt/netapi32/NetReplExportDirUnlock.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp netapi32,__imp_NetReplExportDirUnlock,NetReplExportDirUnlock,181 diff --git a/libc/nt/netapi32/NetReplGetInfo.s b/libc/nt/netapi32/NetReplGetInfo.s new file mode 100644 index 000000000..823f8ea9d --- /dev/null +++ b/libc/nt/netapi32/NetReplGetInfo.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp netapi32,__imp_NetReplGetInfo,NetReplGetInfo,182 diff --git a/libc/nt/netapi32/NetReplImportDirAdd.s b/libc/nt/netapi32/NetReplImportDirAdd.s new file mode 100644 index 000000000..5a4aba81c --- /dev/null +++ b/libc/nt/netapi32/NetReplImportDirAdd.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp netapi32,__imp_NetReplImportDirAdd,NetReplImportDirAdd,183 diff --git a/libc/nt/netapi32/NetReplImportDirDel.s b/libc/nt/netapi32/NetReplImportDirDel.s new file mode 100644 index 000000000..10a41cbdc --- /dev/null +++ b/libc/nt/netapi32/NetReplImportDirDel.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp netapi32,__imp_NetReplImportDirDel,NetReplImportDirDel,184 diff --git a/libc/nt/netapi32/NetReplImportDirEnum.s b/libc/nt/netapi32/NetReplImportDirEnum.s new file mode 100644 index 000000000..d94d65b87 --- /dev/null +++ b/libc/nt/netapi32/NetReplImportDirEnum.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp netapi32,__imp_NetReplImportDirEnum,NetReplImportDirEnum,185 diff --git a/libc/nt/netapi32/NetReplImportDirGetInfo.s b/libc/nt/netapi32/NetReplImportDirGetInfo.s new file mode 100644 index 000000000..2092fb07d --- /dev/null +++ b/libc/nt/netapi32/NetReplImportDirGetInfo.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp netapi32,__imp_NetReplImportDirGetInfo,NetReplImportDirGetInfo,186 diff --git a/libc/nt/netapi32/NetReplImportDirLock.s b/libc/nt/netapi32/NetReplImportDirLock.s new file mode 100644 index 000000000..3f0a861cf --- /dev/null +++ b/libc/nt/netapi32/NetReplImportDirLock.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp netapi32,__imp_NetReplImportDirLock,NetReplImportDirLock,187 diff --git a/libc/nt/netapi32/NetReplImportDirUnlock.s b/libc/nt/netapi32/NetReplImportDirUnlock.s new file mode 100644 index 000000000..0bfc94c01 --- /dev/null +++ b/libc/nt/netapi32/NetReplImportDirUnlock.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp netapi32,__imp_NetReplImportDirUnlock,NetReplImportDirUnlock,188 diff --git a/libc/nt/netapi32/NetReplSetInfo.s b/libc/nt/netapi32/NetReplSetInfo.s new file mode 100644 index 000000000..07865ac95 --- /dev/null +++ b/libc/nt/netapi32/NetReplSetInfo.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp netapi32,__imp_NetReplSetInfo,NetReplSetInfo,189 diff --git a/libc/nt/netapi32/NetServerEnum.s b/libc/nt/netapi32/NetServerEnum.s new file mode 100644 index 000000000..7ae85e1e3 --- /dev/null +++ b/libc/nt/netapi32/NetServerEnum.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp netapi32,__imp_NetServerEnum,NetServerEnum,202 diff --git a/libc/nt/netapi32/NetServerEnumEx.s b/libc/nt/netapi32/NetServerEnumEx.s new file mode 100644 index 000000000..fee871833 --- /dev/null +++ b/libc/nt/netapi32/NetServerEnumEx.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp netapi32,__imp_NetServerEnumEx,NetServerEnumEx,203 diff --git a/libc/nt/netapi32/NetServiceControl.s b/libc/nt/netapi32/NetServiceControl.s new file mode 100644 index 000000000..6e447ae6e --- /dev/null +++ b/libc/nt/netapi32/NetServiceControl.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp netapi32,__imp_NetServiceControl,NetServiceControl,210 diff --git a/libc/nt/netapi32/NetServiceEnum.s b/libc/nt/netapi32/NetServiceEnum.s new file mode 100644 index 000000000..8eaca1c3f --- /dev/null +++ b/libc/nt/netapi32/NetServiceEnum.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp netapi32,__imp_NetServiceEnum,NetServiceEnum,211 diff --git a/libc/nt/netapi32/NetServiceGetInfo.s b/libc/nt/netapi32/NetServiceGetInfo.s new file mode 100644 index 000000000..861e164ba --- /dev/null +++ b/libc/nt/netapi32/NetServiceGetInfo.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp netapi32,__imp_NetServiceGetInfo,NetServiceGetInfo,212 diff --git a/libc/nt/netapi32/NetServiceInstall.s b/libc/nt/netapi32/NetServiceInstall.s new file mode 100644 index 000000000..06666a4d9 --- /dev/null +++ b/libc/nt/netapi32/NetServiceInstall.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp netapi32,__imp_NetServiceInstall,NetServiceInstall,213 diff --git a/libc/nt/netapi32/NetStatisticsGet.s b/libc/nt/netapi32/NetStatisticsGet.s new file mode 100644 index 000000000..03bf556af --- /dev/null +++ b/libc/nt/netapi32/NetStatisticsGet.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp netapi32,__imp_NetStatisticsGet,NetStatisticsGet,227 diff --git a/libc/nt/netapi32/NetUnregisterDomainNameChangeNotification.s b/libc/nt/netapi32/NetUnregisterDomainNameChangeNotification.s new file mode 100644 index 000000000..f0fb782ba --- /dev/null +++ b/libc/nt/netapi32/NetUnregisterDomainNameChangeNotification.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp netapi32,__imp_NetUnregisterDomainNameChangeNotification,NetUnregisterDomainNameChangeNotification,229 diff --git a/libc/nt/netapi32/NetWkstaGetInfo.s b/libc/nt/netapi32/NetWkstaGetInfo.s new file mode 100644 index 000000000..aded82e69 --- /dev/null +++ b/libc/nt/netapi32/NetWkstaGetInfo.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp netapi32,__imp_NetWkstaGetInfo,NetWkstaGetInfo,248 diff --git a/libc/nt/netapi32/NetWkstaSetInfo.s b/libc/nt/netapi32/NetWkstaSetInfo.s new file mode 100644 index 000000000..6e4b0de33 --- /dev/null +++ b/libc/nt/netapi32/NetWkstaSetInfo.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp netapi32,__imp_NetWkstaSetInfo,NetWkstaSetInfo,249 diff --git a/libc/nt/netapi32/Netbios.s b/libc/nt/netapi32/Netbios.s new file mode 100644 index 000000000..6609c0002 --- /dev/null +++ b/libc/nt/netapi32/Netbios.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp netapi32,__imp_Netbios,Netbios,257 diff --git a/libc/nt/netapi32/NetpAddTlnFtinfoEntry.s b/libc/nt/netapi32/NetpAddTlnFtinfoEntry.s new file mode 100644 index 000000000..c0a91661d --- /dev/null +++ b/libc/nt/netapi32/NetpAddTlnFtinfoEntry.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp netapi32,__imp_NetpAddTlnFtinfoEntry,NetpAddTlnFtinfoEntry,258 diff --git a/libc/nt/netapi32/NetpAllocFtinfoEntry.s b/libc/nt/netapi32/NetpAllocFtinfoEntry.s new file mode 100644 index 000000000..1df7637be --- /dev/null +++ b/libc/nt/netapi32/NetpAllocFtinfoEntry.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp netapi32,__imp_NetpAllocFtinfoEntry,NetpAllocFtinfoEntry,259 diff --git a/libc/nt/netapi32/NetpAssertFailed.s b/libc/nt/netapi32/NetpAssertFailed.s new file mode 100644 index 000000000..a88f62242 --- /dev/null +++ b/libc/nt/netapi32/NetpAssertFailed.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp netapi32,__imp_NetpAssertFailed,NetpAssertFailed,260 diff --git a/libc/nt/netapi32/NetpCleanFtinfoContext.s b/libc/nt/netapi32/NetpCleanFtinfoContext.s new file mode 100644 index 000000000..d9bf47a96 --- /dev/null +++ b/libc/nt/netapi32/NetpCleanFtinfoContext.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp netapi32,__imp_NetpCleanFtinfoContext,NetpCleanFtinfoContext,261 diff --git a/libc/nt/netapi32/NetpCloseConfigData.s b/libc/nt/netapi32/NetpCloseConfigData.s new file mode 100644 index 000000000..852086714 --- /dev/null +++ b/libc/nt/netapi32/NetpCloseConfigData.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp netapi32,__imp_NetpCloseConfigData,NetpCloseConfigData,262 diff --git a/libc/nt/netapi32/NetpCopyFtinfoContext.s b/libc/nt/netapi32/NetpCopyFtinfoContext.s new file mode 100644 index 000000000..daf86ce11 --- /dev/null +++ b/libc/nt/netapi32/NetpCopyFtinfoContext.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp netapi32,__imp_NetpCopyFtinfoContext,NetpCopyFtinfoContext,263 diff --git a/libc/nt/netapi32/NetpDbgPrint.s b/libc/nt/netapi32/NetpDbgPrint.s new file mode 100644 index 000000000..fc1e43748 --- /dev/null +++ b/libc/nt/netapi32/NetpDbgPrint.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp netapi32,__imp_NetpDbgPrint,NetpDbgPrint,264 diff --git a/libc/nt/netapi32/NetpGetConfigBool.s b/libc/nt/netapi32/NetpGetConfigBool.s new file mode 100644 index 000000000..e7e7dfd24 --- /dev/null +++ b/libc/nt/netapi32/NetpGetConfigBool.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp netapi32,__imp_NetpGetConfigBool,NetpGetConfigBool,265 diff --git a/libc/nt/netapi32/NetpGetConfigDword.s b/libc/nt/netapi32/NetpGetConfigDword.s new file mode 100644 index 000000000..ca17c618d --- /dev/null +++ b/libc/nt/netapi32/NetpGetConfigDword.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp netapi32,__imp_NetpGetConfigDword,NetpGetConfigDword,266 diff --git a/libc/nt/netapi32/NetpGetConfigTStrArray.s b/libc/nt/netapi32/NetpGetConfigTStrArray.s new file mode 100644 index 000000000..982c51659 --- /dev/null +++ b/libc/nt/netapi32/NetpGetConfigTStrArray.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp netapi32,__imp_NetpGetConfigTStrArray,NetpGetConfigTStrArray,267 diff --git a/libc/nt/netapi32/NetpGetConfigValue.s b/libc/nt/netapi32/NetpGetConfigValue.s new file mode 100644 index 000000000..fde794677 --- /dev/null +++ b/libc/nt/netapi32/NetpGetConfigValue.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp netapi32,__imp_NetpGetConfigValue,NetpGetConfigValue,268 diff --git a/libc/nt/netapi32/NetpGetFileSecurity.s b/libc/nt/netapi32/NetpGetFileSecurity.s new file mode 100644 index 000000000..b9b027bc8 --- /dev/null +++ b/libc/nt/netapi32/NetpGetFileSecurity.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp netapi32,__imp_NetpGetFileSecurity,NetpGetFileSecurity,269 diff --git a/libc/nt/netapi32/NetpHexDump.s b/libc/nt/netapi32/NetpHexDump.s new file mode 100644 index 000000000..245ac3b18 --- /dev/null +++ b/libc/nt/netapi32/NetpHexDump.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp netapi32,__imp_NetpHexDump,NetpHexDump,270 diff --git a/libc/nt/netapi32/NetpInitFtinfoContext.s b/libc/nt/netapi32/NetpInitFtinfoContext.s new file mode 100644 index 000000000..a9f585543 --- /dev/null +++ b/libc/nt/netapi32/NetpInitFtinfoContext.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp netapi32,__imp_NetpInitFtinfoContext,NetpInitFtinfoContext,271 diff --git a/libc/nt/netapi32/NetpIsUncComputerNameValid.s b/libc/nt/netapi32/NetpIsUncComputerNameValid.s new file mode 100644 index 000000000..44be4bbef --- /dev/null +++ b/libc/nt/netapi32/NetpIsUncComputerNameValid.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp netapi32,__imp_NetpIsUncComputerNameValid,NetpIsUncComputerNameValid,273 diff --git a/libc/nt/netapi32/NetpMergeFtinfo.s b/libc/nt/netapi32/NetpMergeFtinfo.s new file mode 100644 index 000000000..e1e9d93bb --- /dev/null +++ b/libc/nt/netapi32/NetpMergeFtinfo.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp netapi32,__imp_NetpMergeFtinfo,NetpMergeFtinfo,274 diff --git a/libc/nt/netapi32/NetpNetBiosReset.s b/libc/nt/netapi32/NetpNetBiosReset.s new file mode 100644 index 000000000..8e196bae1 --- /dev/null +++ b/libc/nt/netapi32/NetpNetBiosReset.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp netapi32,__imp_NetpNetBiosReset,NetpNetBiosReset,275 diff --git a/libc/nt/netapi32/NetpNetBiosStatusToApiStatus.s b/libc/nt/netapi32/NetpNetBiosStatusToApiStatus.s new file mode 100644 index 000000000..41ac7f710 --- /dev/null +++ b/libc/nt/netapi32/NetpNetBiosStatusToApiStatus.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp netapi32,__imp_NetpNetBiosStatusToApiStatus,NetpNetBiosStatusToApiStatus,276 diff --git a/libc/nt/netapi32/NetpOpenConfigData.s b/libc/nt/netapi32/NetpOpenConfigData.s new file mode 100644 index 000000000..264c088e4 --- /dev/null +++ b/libc/nt/netapi32/NetpOpenConfigData.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp netapi32,__imp_NetpOpenConfigData,NetpOpenConfigData,277 diff --git a/libc/nt/netapi32/NetpSetFileSecurity.s b/libc/nt/netapi32/NetpSetFileSecurity.s new file mode 100644 index 000000000..99d5e3744 --- /dev/null +++ b/libc/nt/netapi32/NetpSetFileSecurity.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp netapi32,__imp_NetpSetFileSecurity,NetpSetFileSecurity,278 diff --git a/libc/nt/netapi32/RxNetAccessAdd.s b/libc/nt/netapi32/RxNetAccessAdd.s new file mode 100644 index 000000000..ea3d3db99 --- /dev/null +++ b/libc/nt/netapi32/RxNetAccessAdd.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp netapi32,__imp_RxNetAccessAdd,RxNetAccessAdd,288 diff --git a/libc/nt/netapi32/RxNetAccessDel.s b/libc/nt/netapi32/RxNetAccessDel.s new file mode 100644 index 000000000..726e9e771 --- /dev/null +++ b/libc/nt/netapi32/RxNetAccessDel.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp netapi32,__imp_RxNetAccessDel,RxNetAccessDel,289 diff --git a/libc/nt/netapi32/RxNetAccessEnum.s b/libc/nt/netapi32/RxNetAccessEnum.s new file mode 100644 index 000000000..ee99b7682 --- /dev/null +++ b/libc/nt/netapi32/RxNetAccessEnum.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp netapi32,__imp_RxNetAccessEnum,RxNetAccessEnum,290 diff --git a/libc/nt/netapi32/RxNetAccessGetInfo.s b/libc/nt/netapi32/RxNetAccessGetInfo.s new file mode 100644 index 000000000..1b9f5a829 --- /dev/null +++ b/libc/nt/netapi32/RxNetAccessGetInfo.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp netapi32,__imp_RxNetAccessGetInfo,RxNetAccessGetInfo,291 diff --git a/libc/nt/netapi32/RxNetAccessGetUserPerms.s b/libc/nt/netapi32/RxNetAccessGetUserPerms.s new file mode 100644 index 000000000..d0bd31ba2 --- /dev/null +++ b/libc/nt/netapi32/RxNetAccessGetUserPerms.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp netapi32,__imp_RxNetAccessGetUserPerms,RxNetAccessGetUserPerms,292 diff --git a/libc/nt/netapi32/RxNetAccessSetInfo.s b/libc/nt/netapi32/RxNetAccessSetInfo.s new file mode 100644 index 000000000..44c5db7e7 --- /dev/null +++ b/libc/nt/netapi32/RxNetAccessSetInfo.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp netapi32,__imp_RxNetAccessSetInfo,RxNetAccessSetInfo,293 diff --git a/libc/nt/netapi32/RxNetServerEnum.s b/libc/nt/netapi32/RxNetServerEnum.s new file mode 100644 index 000000000..e94802e58 --- /dev/null +++ b/libc/nt/netapi32/RxNetServerEnum.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp netapi32,__imp_RxNetServerEnum,RxNetServerEnum,294 diff --git a/libc/nt/netapi32/RxNetUserPasswordSet.s b/libc/nt/netapi32/RxNetUserPasswordSet.s new file mode 100644 index 000000000..3a8b31a39 --- /dev/null +++ b/libc/nt/netapi32/RxNetUserPasswordSet.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp netapi32,__imp_RxNetUserPasswordSet,RxNetUserPasswordSet,295 diff --git a/libc/nt/netapi32/RxRemoteApi.s b/libc/nt/netapi32/RxRemoteApi.s new file mode 100644 index 000000000..cdb316f32 --- /dev/null +++ b/libc/nt/netapi32/RxRemoteApi.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp netapi32,__imp_RxRemoteApi,RxRemoteApi,296 diff --git a/libc/nt/nt.mk b/libc/nt/nt.mk index e56812ce6..c4eb6f747 100644 --- a/libc/nt/nt.mk +++ b/libc/nt/nt.mk @@ -148,6 +148,27 @@ o/libc/nt/ntdllimport.inc: \ #─────────────────────────────────────────────────────────────────────────────── +LIBC_NT_ARTIFACTS += LIBC_NT_NETAPI32_A +LIBC_NT_NETAPI32 = $(LIBC_NT_NETAPI32_A_DEPS) $(LIBC_NT_NETAPI32_A) +LIBC_NT_NETAPI32_A = o/$(MODE)/libc/nt/netapi32.a +LIBC_NT_NETAPI32_A_SRCS := $(wildcard libc/nt/netapi32/*.s) +LIBC_NT_NETAPI32_A_OBJS = $(LIBC_NT_NETAPI32_A_SRCS:%.s=o/$(MODE)/%.o) +LIBC_NT_NETAPI32_A_CHECKS = $(LIBC_NT_NETAPI32_A).pkg +LIBC_NT_NETAPI32_A_DIRECTDEPS = LIBC_NT_KERNEL32 +LIBC_NT_NETAPI32_A_DEPS := \ + $(call uniq,$(foreach x,$(LIBC_NT_NETAPI32_A_DIRECTDEPS),$($(x)))) + +$(LIBC_NT_NETAPI32_A): \ + libc/nt/netapi32/ \ + $(LIBC_NT_NETAPI32_A).pkg \ + $(LIBC_NT_NETAPI32_A_OBJS) + +$(LIBC_NT_NETAPI32_A).pkg: \ + $(LIBC_NT_NETAPI32_A_OBJS) \ + $(foreach x,$(LIBC_NT_NETAPI32_A_DIRECTDEPS),$($(x)_A).pkg) + +#─────────────────────────────────────────────────────────────────────────────── + LIBC_NT_ARTIFACTS += LIBC_NT_URL_A LIBC_NT_URL = $(LIBC_NT_URL_A_DEPS) $(LIBC_NT_URL_A) LIBC_NT_URL_A = o/$(MODE)/libc/nt/url.a @@ -253,6 +274,25 @@ $(LIBC_NT_MSWSOCK_A).pkg: \ #─────────────────────────────────────────────────────────────────────────────── +LIBC_NT_ARTIFACTS += LIBC_NT_SHELL32_A +LIBC_NT_SHELL32 = $(LIBC_NT_SHELL32_A_DEPS) $(LIBC_NT_SHELL32_A) +LIBC_NT_SHELL32_A = o/$(MODE)/libc/nt/shell32.a +LIBC_NT_SHELL32_A_SRCS := $(wildcard libc/nt/shell32/*.s) +LIBC_NT_SHELL32_A_OBJS = $(LIBC_NT_SHELL32_A_SRCS:%.s=o/$(MODE)/%.o) +LIBC_NT_SHELL32_A_CHECKS = $(LIBC_NT_SHELL32_A).pkg +LIBC_NT_SHELL32_A_DIRECTDEPS = LIBC_NT_KERNEL32 +LIBC_NT_SHELL32_A_DEPS := \ + $(call uniq,$(foreach x,$(LIBC_NT_SHELL32_A_DIRECTDEPS),$($(x)))) +$(LIBC_NT_SHELL32_A): \ + libc/nt/shell32/ \ + $(LIBC_NT_SHELL32_A).pkg \ + $(LIBC_NT_SHELL32_A_OBJS) +$(LIBC_NT_SHELL32_A).pkg: \ + $(LIBC_NT_SHELL32_A_OBJS) \ + $(foreach x,$(LIBC_NT_SHELL32_A_DIRECTDEPS),$($(x)_A).pkg) + +#─────────────────────────────────────────────────────────────────────────────── + LIBC_NT_ARTIFACTS += LIBC_NT_IPHLPAPI_A LIBC_NT_IPHLPAPI = $(LIBC_NT_IPHLPAPI_A_DEPS) $(LIBC_NT_IPHLPAPI_A) LIBC_NT_IPHLPAPI_A = o/$(MODE)/libc/nt/iphlpapi.a diff --git a/libc/nt/ntdll/RtlQueueApcWow64Thread.s b/libc/nt/ntdll/RtlQueueApcWow64Thread.s new file mode 100644 index 000000000..5605eca2c --- /dev/null +++ b/libc/nt/ntdll/RtlQueueApcWow64Thread.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/ntdllimport.inc" +.ntimp RtlQueueApcWow64Thread diff --git a/libc/nt/ntdll/RtlWow64CallFunction64.s b/libc/nt/ntdll/RtlWow64CallFunction64.s new file mode 100644 index 000000000..33fc58835 --- /dev/null +++ b/libc/nt/ntdll/RtlWow64CallFunction64.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/ntdllimport.inc" +.ntimp RtlWow64CallFunction64 diff --git a/libc/nt/ntdll/RtlWow64EnableFsRedirection.s b/libc/nt/ntdll/RtlWow64EnableFsRedirection.s new file mode 100644 index 000000000..dd622350b --- /dev/null +++ b/libc/nt/ntdll/RtlWow64EnableFsRedirection.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/ntdllimport.inc" +.ntimp RtlWow64EnableFsRedirection diff --git a/libc/nt/ntdll/RtlWow64EnableFsRedirectionEx.s b/libc/nt/ntdll/RtlWow64EnableFsRedirectionEx.s new file mode 100644 index 000000000..31e1874c6 --- /dev/null +++ b/libc/nt/ntdll/RtlWow64EnableFsRedirectionEx.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/ntdllimport.inc" +.ntimp RtlWow64EnableFsRedirectionEx diff --git a/libc/nt/ntdll/RtlWow64GetCpuAreaInfo.s b/libc/nt/ntdll/RtlWow64GetCpuAreaInfo.s new file mode 100644 index 000000000..1baf76e10 --- /dev/null +++ b/libc/nt/ntdll/RtlWow64GetCpuAreaInfo.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/ntdllimport.inc" +.ntimp RtlWow64GetCpuAreaInfo diff --git a/libc/nt/ntdll/RtlWow64GetCurrentCpuArea.s b/libc/nt/ntdll/RtlWow64GetCurrentCpuArea.s new file mode 100644 index 000000000..584169952 --- /dev/null +++ b/libc/nt/ntdll/RtlWow64GetCurrentCpuArea.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/ntdllimport.inc" +.ntimp RtlWow64GetCurrentCpuArea diff --git a/libc/nt/ntdll/RtlWow64GetCurrentMachine.s b/libc/nt/ntdll/RtlWow64GetCurrentMachine.s new file mode 100644 index 000000000..2dfcd11e1 --- /dev/null +++ b/libc/nt/ntdll/RtlWow64GetCurrentMachine.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/ntdllimport.inc" +.ntimp RtlWow64GetCurrentMachine diff --git a/libc/nt/ntdll/RtlWow64GetEquivalentMachineCHPE.s b/libc/nt/ntdll/RtlWow64GetEquivalentMachineCHPE.s new file mode 100644 index 000000000..b2c91c5bb --- /dev/null +++ b/libc/nt/ntdll/RtlWow64GetEquivalentMachineCHPE.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/ntdllimport.inc" +.ntimp RtlWow64GetEquivalentMachineCHPE diff --git a/libc/nt/ntdll/RtlWow64GetProcessMachines.s b/libc/nt/ntdll/RtlWow64GetProcessMachines.s new file mode 100644 index 000000000..11b1bb3c9 --- /dev/null +++ b/libc/nt/ntdll/RtlWow64GetProcessMachines.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/ntdllimport.inc" +.ntimp RtlWow64GetProcessMachines diff --git a/libc/nt/ntdll/RtlWow64GetSharedInfoProcess.s b/libc/nt/ntdll/RtlWow64GetSharedInfoProcess.s new file mode 100644 index 000000000..f974d314f --- /dev/null +++ b/libc/nt/ntdll/RtlWow64GetSharedInfoProcess.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/ntdllimport.inc" +.ntimp RtlWow64GetSharedInfoProcess diff --git a/libc/nt/ntdll/RtlWow64GetThreadContext.s b/libc/nt/ntdll/RtlWow64GetThreadContext.s new file mode 100644 index 000000000..b22502980 --- /dev/null +++ b/libc/nt/ntdll/RtlWow64GetThreadContext.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/ntdllimport.inc" +.ntimp RtlWow64GetThreadContext diff --git a/libc/nt/ntdll/RtlWow64GetThreadSelectorEntry.s b/libc/nt/ntdll/RtlWow64GetThreadSelectorEntry.s new file mode 100644 index 000000000..a825354ab --- /dev/null +++ b/libc/nt/ntdll/RtlWow64GetThreadSelectorEntry.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/ntdllimport.inc" +.ntimp RtlWow64GetThreadSelectorEntry diff --git a/libc/nt/ntdll/RtlWow64IsWowGuestMachineSupported.s b/libc/nt/ntdll/RtlWow64IsWowGuestMachineSupported.s new file mode 100644 index 000000000..4ea47ad74 --- /dev/null +++ b/libc/nt/ntdll/RtlWow64IsWowGuestMachineSupported.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/ntdllimport.inc" +.ntimp RtlWow64IsWowGuestMachineSupported diff --git a/libc/nt/ntdll/RtlWow64LogMessageInEventLogger.s b/libc/nt/ntdll/RtlWow64LogMessageInEventLogger.s new file mode 100644 index 000000000..0d79f31ba --- /dev/null +++ b/libc/nt/ntdll/RtlWow64LogMessageInEventLogger.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/ntdllimport.inc" +.ntimp RtlWow64LogMessageInEventLogger diff --git a/libc/nt/ntdll/RtlWow64PopAllCrossProcessWork.s b/libc/nt/ntdll/RtlWow64PopAllCrossProcessWork.s new file mode 100644 index 000000000..4b133ab5c --- /dev/null +++ b/libc/nt/ntdll/RtlWow64PopAllCrossProcessWork.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/ntdllimport.inc" +.ntimp RtlWow64PopAllCrossProcessWork diff --git a/libc/nt/ntdll/RtlWow64PopCrossProcessWork.s b/libc/nt/ntdll/RtlWow64PopCrossProcessWork.s new file mode 100644 index 000000000..8c96ebd03 --- /dev/null +++ b/libc/nt/ntdll/RtlWow64PopCrossProcessWork.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/ntdllimport.inc" +.ntimp RtlWow64PopCrossProcessWork diff --git a/libc/nt/ntdll/RtlWow64PushCrossProcessWork.s b/libc/nt/ntdll/RtlWow64PushCrossProcessWork.s new file mode 100644 index 000000000..edc05e246 --- /dev/null +++ b/libc/nt/ntdll/RtlWow64PushCrossProcessWork.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/ntdllimport.inc" +.ntimp RtlWow64PushCrossProcessWork diff --git a/libc/nt/ntdll/RtlWow64SetThreadContext.s b/libc/nt/ntdll/RtlWow64SetThreadContext.s new file mode 100644 index 000000000..d4cbe94dc --- /dev/null +++ b/libc/nt/ntdll/RtlWow64SetThreadContext.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/ntdllimport.inc" +.ntimp RtlWow64SetThreadContext diff --git a/libc/nt/ntdll/RtlWow64SuspendThread.s b/libc/nt/ntdll/RtlWow64SuspendThread.s new file mode 100644 index 000000000..cef3bfd11 --- /dev/null +++ b/libc/nt/ntdll/RtlWow64SuspendThread.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/ntdllimport.inc" +.ntimp RtlWow64SuspendThread diff --git a/libc/nt/ntdll/RtlpQueryProcessDebugInformationFromWow64.s b/libc/nt/ntdll/RtlpQueryProcessDebugInformationFromWow64.s new file mode 100644 index 000000000..0a960344d --- /dev/null +++ b/libc/nt/ntdll/RtlpQueryProcessDebugInformationFromWow64.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/ntdllimport.inc" +.ntimp RtlpQueryProcessDebugInformationFromWow64 diff --git a/libc/nt/shell32/AppCompat_RunDLLW.s b/libc/nt/shell32/AppCompat_RunDLLW.s new file mode 100644 index 000000000..ce1119de6 --- /dev/null +++ b/libc/nt/shell32/AppCompat_RunDLLW.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_AppCompat_RunDLLW,AppCompat_RunDLLW,255 diff --git a/libc/nt/shell32/AssocCreateForClasses.s b/libc/nt/shell32/AssocCreateForClasses.s new file mode 100644 index 000000000..de2128953 --- /dev/null +++ b/libc/nt/shell32/AssocCreateForClasses.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_AssocCreateForClasses,AssocCreateForClasses,263 diff --git a/libc/nt/shell32/AssocGetDetailsOfPropKey.s b/libc/nt/shell32/AssocGetDetailsOfPropKey.s new file mode 100644 index 000000000..71c703895 --- /dev/null +++ b/libc/nt/shell32/AssocGetDetailsOfPropKey.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_AssocGetDetailsOfPropKey,AssocGetDetailsOfPropKey,267 diff --git a/libc/nt/shell32/CDefFolderMenu_Create2.s b/libc/nt/shell32/CDefFolderMenu_Create2.s new file mode 100644 index 000000000..17ed31644 --- /dev/null +++ b/libc/nt/shell32/CDefFolderMenu_Create2.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_CDefFolderMenu_Create2,CDefFolderMenu_Create2,701 diff --git a/libc/nt/shell32/CIDLData_CreateFromIDArray.s b/libc/nt/shell32/CIDLData_CreateFromIDArray.s new file mode 100644 index 000000000..cf84c0079 --- /dev/null +++ b/libc/nt/shell32/CIDLData_CreateFromIDArray.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_CIDLData_CreateFromIDArray,CIDLData_CreateFromIDArray,83 diff --git a/libc/nt/shell32/CStorageItem_GetValidatedStorageItemObject.s b/libc/nt/shell32/CStorageItem_GetValidatedStorageItemObject.s new file mode 100644 index 000000000..cb1435023 --- /dev/null +++ b/libc/nt/shell32/CStorageItem_GetValidatedStorageItemObject.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_CStorageItem_GetValidatedStorageItemObject,CStorageItem_GetValidatedStorageItemObject,937 diff --git a/libc/nt/shell32/CheckEscapesW.s b/libc/nt/shell32/CheckEscapesW.s new file mode 100644 index 000000000..425e35bcc --- /dev/null +++ b/libc/nt/shell32/CheckEscapesW.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_CheckEscapesW,CheckEscapesW,268 diff --git a/libc/nt/shell32/CommandLineToArgvW.s b/libc/nt/shell32/CommandLineToArgvW.s new file mode 100644 index 000000000..aca5c648c --- /dev/null +++ b/libc/nt/shell32/CommandLineToArgvW.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_CommandLineToArgvW,CommandLineToArgvW,269 diff --git a/libc/nt/shell32/Control_RunDLL.s b/libc/nt/shell32/Control_RunDLL.s new file mode 100644 index 000000000..df79b3e05 --- /dev/null +++ b/libc/nt/shell32/Control_RunDLL.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_Control_RunDLL,Control_RunDLL,272 diff --git a/libc/nt/shell32/Control_RunDLLAsUserW.s b/libc/nt/shell32/Control_RunDLLAsUserW.s new file mode 100644 index 000000000..d363943d6 --- /dev/null +++ b/libc/nt/shell32/Control_RunDLLAsUserW.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_Control_RunDLLAsUserW,Control_RunDLLAsUserW,274 diff --git a/libc/nt/shell32/Control_RunDLLW.s b/libc/nt/shell32/Control_RunDLLW.s new file mode 100644 index 000000000..9e918cffb --- /dev/null +++ b/libc/nt/shell32/Control_RunDLLW.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_Control_RunDLLW,Control_RunDLLW,275 diff --git a/libc/nt/shell32/DAD_AutoScroll.s b/libc/nt/shell32/DAD_AutoScroll.s new file mode 100644 index 000000000..a2762c27b --- /dev/null +++ b/libc/nt/shell32/DAD_AutoScroll.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_DAD_AutoScroll,DAD_AutoScroll,129 diff --git a/libc/nt/shell32/DAD_DragEnterEx.s b/libc/nt/shell32/DAD_DragEnterEx.s new file mode 100644 index 000000000..1b5ff54ea --- /dev/null +++ b/libc/nt/shell32/DAD_DragEnterEx.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_DAD_DragEnterEx,DAD_DragEnterEx,131 diff --git a/libc/nt/shell32/DAD_DragEnterEx2.s b/libc/nt/shell32/DAD_DragEnterEx2.s new file mode 100644 index 000000000..b90073b58 --- /dev/null +++ b/libc/nt/shell32/DAD_DragEnterEx2.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_DAD_DragEnterEx2,DAD_DragEnterEx2,22 diff --git a/libc/nt/shell32/DAD_DragLeave.s b/libc/nt/shell32/DAD_DragLeave.s new file mode 100644 index 000000000..cce330cf0 --- /dev/null +++ b/libc/nt/shell32/DAD_DragLeave.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_DAD_DragLeave,DAD_DragLeave,132 diff --git a/libc/nt/shell32/DAD_DragMove.s b/libc/nt/shell32/DAD_DragMove.s new file mode 100644 index 000000000..731617220 --- /dev/null +++ b/libc/nt/shell32/DAD_DragMove.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_DAD_DragMove,DAD_DragMove,134 diff --git a/libc/nt/shell32/DAD_SetDragImage.s b/libc/nt/shell32/DAD_SetDragImage.s new file mode 100644 index 000000000..725a644ff --- /dev/null +++ b/libc/nt/shell32/DAD_SetDragImage.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_DAD_SetDragImage,DAD_SetDragImage,136 diff --git a/libc/nt/shell32/DAD_ShowDragImage.s b/libc/nt/shell32/DAD_ShowDragImage.s new file mode 100644 index 000000000..aeead5cab --- /dev/null +++ b/libc/nt/shell32/DAD_ShowDragImage.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_DAD_ShowDragImage,DAD_ShowDragImage,137 diff --git a/libc/nt/shell32/DllGetActivationFactory.s b/libc/nt/shell32/DllGetActivationFactory.s new file mode 100644 index 000000000..9ef53e481 --- /dev/null +++ b/libc/nt/shell32/DllGetActivationFactory.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_DllGetActivationFactory,DllGetActivationFactory,277 diff --git a/libc/nt/shell32/DllGetVersion.s b/libc/nt/shell32/DllGetVersion.s new file mode 100644 index 000000000..58f5d2275 --- /dev/null +++ b/libc/nt/shell32/DllGetVersion.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_DllGetVersion,DllGetVersion,279 diff --git a/libc/nt/shell32/DllInstall.s b/libc/nt/shell32/DllInstall.s new file mode 100644 index 000000000..08736498f --- /dev/null +++ b/libc/nt/shell32/DllInstall.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_DllInstall,DllInstall,280 diff --git a/libc/nt/shell32/DllRegisterServer.s b/libc/nt/shell32/DllRegisterServer.s new file mode 100644 index 000000000..d041bcc25 --- /dev/null +++ b/libc/nt/shell32/DllRegisterServer.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_DllRegisterServer,DllRegisterServer,281 diff --git a/libc/nt/shell32/DllUnregisterServer.s b/libc/nt/shell32/DllUnregisterServer.s new file mode 100644 index 000000000..9b58f38a0 --- /dev/null +++ b/libc/nt/shell32/DllUnregisterServer.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_DllUnregisterServer,DllUnregisterServer,282 diff --git a/libc/nt/shell32/DoEnvironmentSubstW.s b/libc/nt/shell32/DoEnvironmentSubstW.s new file mode 100644 index 000000000..5a115e113 --- /dev/null +++ b/libc/nt/shell32/DoEnvironmentSubstW.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_DoEnvironmentSubstW,DoEnvironmentSubstW,284 diff --git a/libc/nt/shell32/DragAcceptFiles.s b/libc/nt/shell32/DragAcceptFiles.s new file mode 100644 index 000000000..e4407b24c --- /dev/null +++ b/libc/nt/shell32/DragAcceptFiles.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_DragAcceptFiles,DragAcceptFiles,285 diff --git a/libc/nt/shell32/DragFinish.s b/libc/nt/shell32/DragFinish.s new file mode 100644 index 000000000..bbc74a550 --- /dev/null +++ b/libc/nt/shell32/DragFinish.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_DragFinish,DragFinish,286 diff --git a/libc/nt/shell32/DragQueryFileAorW.s b/libc/nt/shell32/DragQueryFileAorW.s new file mode 100644 index 000000000..f61208042 --- /dev/null +++ b/libc/nt/shell32/DragQueryFileAorW.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_DragQueryFileAorW,DragQueryFileAorW,289 diff --git a/libc/nt/shell32/DragQueryFileW.s b/libc/nt/shell32/DragQueryFileW.s new file mode 100644 index 000000000..bc577274b --- /dev/null +++ b/libc/nt/shell32/DragQueryFileW.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_DragQueryFileW,DragQueryFileW,290 diff --git a/libc/nt/shell32/DragQueryPoint.s b/libc/nt/shell32/DragQueryPoint.s new file mode 100644 index 000000000..74f4aaa37 --- /dev/null +++ b/libc/nt/shell32/DragQueryPoint.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_DragQueryPoint,DragQueryPoint,291 diff --git a/libc/nt/shell32/DriveType.s b/libc/nt/shell32/DriveType.s new file mode 100644 index 000000000..865240ff8 --- /dev/null +++ b/libc/nt/shell32/DriveType.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_DriveType,DriveType,64 diff --git a/libc/nt/shell32/DuplicateIcon.s b/libc/nt/shell32/DuplicateIcon.s new file mode 100644 index 000000000..e948ad17d --- /dev/null +++ b/libc/nt/shell32/DuplicateIcon.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_DuplicateIcon,DuplicateIcon,292 diff --git a/libc/nt/shell32/ExtractAssociatedIconExW.s b/libc/nt/shell32/ExtractAssociatedIconExW.s new file mode 100644 index 000000000..efca3a1c1 --- /dev/null +++ b/libc/nt/shell32/ExtractAssociatedIconExW.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_ExtractAssociatedIconExW,ExtractAssociatedIconExW,295 diff --git a/libc/nt/shell32/ExtractAssociatedIconW.s b/libc/nt/shell32/ExtractAssociatedIconW.s new file mode 100644 index 000000000..bc5444fc7 --- /dev/null +++ b/libc/nt/shell32/ExtractAssociatedIconW.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_ExtractAssociatedIconW,ExtractAssociatedIconW,296 diff --git a/libc/nt/shell32/ExtractIconExW.s b/libc/nt/shell32/ExtractIconExW.s new file mode 100644 index 000000000..08ff5754d --- /dev/null +++ b/libc/nt/shell32/ExtractIconExW.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_ExtractIconExW,ExtractIconExW,300 diff --git a/libc/nt/shell32/ExtractIconW.s b/libc/nt/shell32/ExtractIconW.s new file mode 100644 index 000000000..7b6754320 --- /dev/null +++ b/libc/nt/shell32/ExtractIconW.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_ExtractIconW,ExtractIconW,301 diff --git a/libc/nt/shell32/FindExecutableW.s b/libc/nt/shell32/FindExecutableW.s new file mode 100644 index 000000000..54a849274 --- /dev/null +++ b/libc/nt/shell32/FindExecutableW.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_FindExecutableW,FindExecutableW,303 diff --git a/libc/nt/shell32/FreeIconList.s b/libc/nt/shell32/FreeIconList.s new file mode 100644 index 000000000..741c27b27 --- /dev/null +++ b/libc/nt/shell32/FreeIconList.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_FreeIconList,FreeIconList,304 diff --git a/libc/nt/shell32/GetCurrentProcessExplicitAppUserModelID.s b/libc/nt/shell32/GetCurrentProcessExplicitAppUserModelID.s new file mode 100644 index 000000000..449479311 --- /dev/null +++ b/libc/nt/shell32/GetCurrentProcessExplicitAppUserModelID.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_GetCurrentProcessExplicitAppUserModelID,GetCurrentProcessExplicitAppUserModelID,305 diff --git a/libc/nt/shell32/GetFileNameFromBrowse.s b/libc/nt/shell32/GetFileNameFromBrowse.s new file mode 100644 index 000000000..b88a0e9b0 --- /dev/null +++ b/libc/nt/shell32/GetFileNameFromBrowse.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_GetFileNameFromBrowse,GetFileNameFromBrowse,63 diff --git a/libc/nt/shell32/GetSystemPersistedStorageItemList.s b/libc/nt/shell32/GetSystemPersistedStorageItemList.s new file mode 100644 index 000000000..5e624653b --- /dev/null +++ b/libc/nt/shell32/GetSystemPersistedStorageItemList.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_GetSystemPersistedStorageItemList,GetSystemPersistedStorageItemList,919 diff --git a/libc/nt/shell32/ILAppendID.s b/libc/nt/shell32/ILAppendID.s new file mode 100644 index 000000000..7d4acc8d1 --- /dev/null +++ b/libc/nt/shell32/ILAppendID.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_ILAppendID,ILAppendID,154 diff --git a/libc/nt/shell32/ILClone.s b/libc/nt/shell32/ILClone.s new file mode 100644 index 000000000..e77f46b42 --- /dev/null +++ b/libc/nt/shell32/ILClone.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_ILClone,ILClone,18 diff --git a/libc/nt/shell32/ILCloneFirst.s b/libc/nt/shell32/ILCloneFirst.s new file mode 100644 index 000000000..1841c475b --- /dev/null +++ b/libc/nt/shell32/ILCloneFirst.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_ILCloneFirst,ILCloneFirst,19 diff --git a/libc/nt/shell32/ILCombine.s b/libc/nt/shell32/ILCombine.s new file mode 100644 index 000000000..7dbf9f9f3 --- /dev/null +++ b/libc/nt/shell32/ILCombine.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_ILCombine,ILCombine,25 diff --git a/libc/nt/shell32/ILCreateFromPathW.s b/libc/nt/shell32/ILCreateFromPathW.s new file mode 100644 index 000000000..f514fc4f3 --- /dev/null +++ b/libc/nt/shell32/ILCreateFromPathW.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_ILCreateFromPathW,ILCreateFromPathW,190 diff --git a/libc/nt/shell32/ILFindChild.s b/libc/nt/shell32/ILFindChild.s new file mode 100644 index 000000000..8a6886426 --- /dev/null +++ b/libc/nt/shell32/ILFindChild.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_ILFindChild,ILFindChild,24 diff --git a/libc/nt/shell32/ILFindLastID.s b/libc/nt/shell32/ILFindLastID.s new file mode 100644 index 000000000..62b7cdadb --- /dev/null +++ b/libc/nt/shell32/ILFindLastID.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_ILFindLastID,ILFindLastID,16 diff --git a/libc/nt/shell32/ILFree.s b/libc/nt/shell32/ILFree.s new file mode 100644 index 000000000..6a1cfb51b --- /dev/null +++ b/libc/nt/shell32/ILFree.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_ILFree,ILFree,155 diff --git a/libc/nt/shell32/ILGetNext.s b/libc/nt/shell32/ILGetNext.s new file mode 100644 index 000000000..a1565256c --- /dev/null +++ b/libc/nt/shell32/ILGetNext.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_ILGetNext,ILGetNext,153 diff --git a/libc/nt/shell32/ILGetSize.s b/libc/nt/shell32/ILGetSize.s new file mode 100644 index 000000000..7063072dc --- /dev/null +++ b/libc/nt/shell32/ILGetSize.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_ILGetSize,ILGetSize,152 diff --git a/libc/nt/shell32/ILIsEqual.s b/libc/nt/shell32/ILIsEqual.s new file mode 100644 index 000000000..2c374ccac --- /dev/null +++ b/libc/nt/shell32/ILIsEqual.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_ILIsEqual,ILIsEqual,21 diff --git a/libc/nt/shell32/ILIsParent.s b/libc/nt/shell32/ILIsParent.s new file mode 100644 index 000000000..b53111d52 --- /dev/null +++ b/libc/nt/shell32/ILIsParent.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_ILIsParent,ILIsParent,23 diff --git a/libc/nt/shell32/ILLoadFromStreamEx.s b/libc/nt/shell32/ILLoadFromStreamEx.s new file mode 100644 index 000000000..78371b173 --- /dev/null +++ b/libc/nt/shell32/ILLoadFromStreamEx.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_ILLoadFromStreamEx,ILLoadFromStreamEx,846 diff --git a/libc/nt/shell32/ILRemoveLastID.s b/libc/nt/shell32/ILRemoveLastID.s new file mode 100644 index 000000000..c51ab1a99 --- /dev/null +++ b/libc/nt/shell32/ILRemoveLastID.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_ILRemoveLastID,ILRemoveLastID,17 diff --git a/libc/nt/shell32/ILSaveToStream.s b/libc/nt/shell32/ILSaveToStream.s new file mode 100644 index 000000000..4ea8520f5 --- /dev/null +++ b/libc/nt/shell32/ILSaveToStream.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_ILSaveToStream,ILSaveToStream,27 diff --git a/libc/nt/shell32/InitNetworkAddressControl.s b/libc/nt/shell32/InitNetworkAddressControl.s new file mode 100644 index 000000000..c28b1eafd --- /dev/null +++ b/libc/nt/shell32/InitNetworkAddressControl.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_InitNetworkAddressControl,InitNetworkAddressControl,306 diff --git a/libc/nt/shell32/InternalExtractIconListW.s b/libc/nt/shell32/InternalExtractIconListW.s new file mode 100644 index 000000000..e0c68f125 --- /dev/null +++ b/libc/nt/shell32/InternalExtractIconListW.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_InternalExtractIconListW,InternalExtractIconListW,308 diff --git a/libc/nt/shell32/IsDesktopExplorerProcess.s b/libc/nt/shell32/IsDesktopExplorerProcess.s new file mode 100644 index 000000000..158ac44d5 --- /dev/null +++ b/libc/nt/shell32/IsDesktopExplorerProcess.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_IsDesktopExplorerProcess,IsDesktopExplorerProcess,942 diff --git a/libc/nt/shell32/IsLFNDriveW.s b/libc/nt/shell32/IsLFNDriveW.s new file mode 100644 index 000000000..fe8b67090 --- /dev/null +++ b/libc/nt/shell32/IsLFNDriveW.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_IsLFNDriveW,IsLFNDriveW,42 diff --git a/libc/nt/shell32/IsNetDrive.s b/libc/nt/shell32/IsNetDrive.s new file mode 100644 index 000000000..d5623837d --- /dev/null +++ b/libc/nt/shell32/IsNetDrive.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_IsNetDrive,IsNetDrive,66 diff --git a/libc/nt/shell32/IsProcessAnExplorer.s b/libc/nt/shell32/IsProcessAnExplorer.s new file mode 100644 index 000000000..04e05a618 --- /dev/null +++ b/libc/nt/shell32/IsProcessAnExplorer.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_IsProcessAnExplorer,IsProcessAnExplorer,941 diff --git a/libc/nt/shell32/IsUserAnAdmin.s b/libc/nt/shell32/IsUserAnAdmin.s new file mode 100644 index 000000000..cc3602583 --- /dev/null +++ b/libc/nt/shell32/IsUserAnAdmin.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_IsUserAnAdmin,IsUserAnAdmin,680 diff --git a/libc/nt/shell32/LaunchMSHelp_RunDLLW.s b/libc/nt/shell32/LaunchMSHelp_RunDLLW.s new file mode 100644 index 000000000..db55f4801 --- /dev/null +++ b/libc/nt/shell32/LaunchMSHelp_RunDLLW.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_LaunchMSHelp_RunDLLW,LaunchMSHelp_RunDLLW,309 diff --git a/libc/nt/shell32/OpenAs_RunDLL.s b/libc/nt/shell32/OpenAs_RunDLL.s new file mode 100644 index 000000000..994ac6d83 --- /dev/null +++ b/libc/nt/shell32/OpenAs_RunDLL.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_OpenAs_RunDLL,OpenAs_RunDLL,81 diff --git a/libc/nt/shell32/OpenAs_RunDLLW.s b/libc/nt/shell32/OpenAs_RunDLLW.s new file mode 100644 index 000000000..be2fe39d3 --- /dev/null +++ b/libc/nt/shell32/OpenAs_RunDLLW.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_OpenAs_RunDLLW,OpenAs_RunDLLW,133 diff --git a/libc/nt/shell32/OpenRegStream.s b/libc/nt/shell32/OpenRegStream.s new file mode 100644 index 000000000..2498dfa07 --- /dev/null +++ b/libc/nt/shell32/OpenRegStream.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_OpenRegStream,OpenRegStream,85 diff --git a/libc/nt/shell32/Options_RunDLL.s b/libc/nt/shell32/Options_RunDLL.s new file mode 100644 index 000000000..4d228482e --- /dev/null +++ b/libc/nt/shell32/Options_RunDLL.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_Options_RunDLL,Options_RunDLL,310 diff --git a/libc/nt/shell32/Options_RunDLLW.s b/libc/nt/shell32/Options_RunDLLW.s new file mode 100644 index 000000000..6e3e70cbe --- /dev/null +++ b/libc/nt/shell32/Options_RunDLLW.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_Options_RunDLLW,Options_RunDLLW,312 diff --git a/libc/nt/shell32/PathCleanupSpec.s b/libc/nt/shell32/PathCleanupSpec.s new file mode 100644 index 000000000..17479546c --- /dev/null +++ b/libc/nt/shell32/PathCleanupSpec.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_PathCleanupSpec,PathCleanupSpec,171 diff --git a/libc/nt/shell32/PathGetShortPath.s b/libc/nt/shell32/PathGetShortPath.s new file mode 100644 index 000000000..aff92c957 --- /dev/null +++ b/libc/nt/shell32/PathGetShortPath.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_PathGetShortPath,PathGetShortPath,92 diff --git a/libc/nt/shell32/PathIsExe.s b/libc/nt/shell32/PathIsExe.s new file mode 100644 index 000000000..6c4bfa026 --- /dev/null +++ b/libc/nt/shell32/PathIsExe.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_PathIsExe,PathIsExe,43 diff --git a/libc/nt/shell32/PathIsSlowW.s b/libc/nt/shell32/PathIsSlowW.s new file mode 100644 index 000000000..df31cc39a --- /dev/null +++ b/libc/nt/shell32/PathIsSlowW.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_PathIsSlowW,PathIsSlowW,239 diff --git a/libc/nt/shell32/PathMakeUniqueName.s b/libc/nt/shell32/PathMakeUniqueName.s new file mode 100644 index 000000000..61cf19c85 --- /dev/null +++ b/libc/nt/shell32/PathMakeUniqueName.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_PathMakeUniqueName,PathMakeUniqueName,47 diff --git a/libc/nt/shell32/PathQualify.s b/libc/nt/shell32/PathQualify.s new file mode 100644 index 000000000..c51e5afff --- /dev/null +++ b/libc/nt/shell32/PathQualify.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_PathQualify,PathQualify,49 diff --git a/libc/nt/shell32/PathResolve.s b/libc/nt/shell32/PathResolve.s new file mode 100644 index 000000000..2415c9d05 --- /dev/null +++ b/libc/nt/shell32/PathResolve.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_PathResolve,PathResolve,51 diff --git a/libc/nt/shell32/PathYetAnotherMakeUniqueName.s b/libc/nt/shell32/PathYetAnotherMakeUniqueName.s new file mode 100644 index 000000000..70be47e5b --- /dev/null +++ b/libc/nt/shell32/PathYetAnotherMakeUniqueName.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_PathYetAnotherMakeUniqueName,PathYetAnotherMakeUniqueName,75 diff --git a/libc/nt/shell32/PickIconDlg.s b/libc/nt/shell32/PickIconDlg.s new file mode 100644 index 000000000..22c54ec45 --- /dev/null +++ b/libc/nt/shell32/PickIconDlg.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_PickIconDlg,PickIconDlg,62 diff --git a/libc/nt/shell32/PifMgr_CloseProperties.s b/libc/nt/shell32/PifMgr_CloseProperties.s new file mode 100644 index 000000000..e0879d22e --- /dev/null +++ b/libc/nt/shell32/PifMgr_CloseProperties.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_PifMgr_CloseProperties,PifMgr_CloseProperties,13 diff --git a/libc/nt/shell32/PifMgr_GetProperties.s b/libc/nt/shell32/PifMgr_GetProperties.s new file mode 100644 index 000000000..4e5207e0e --- /dev/null +++ b/libc/nt/shell32/PifMgr_GetProperties.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_PifMgr_GetProperties,PifMgr_GetProperties,10 diff --git a/libc/nt/shell32/PifMgr_OpenProperties.s b/libc/nt/shell32/PifMgr_OpenProperties.s new file mode 100644 index 000000000..654829430 --- /dev/null +++ b/libc/nt/shell32/PifMgr_OpenProperties.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_PifMgr_OpenProperties,PifMgr_OpenProperties,9 diff --git a/libc/nt/shell32/PifMgr_SetProperties.s b/libc/nt/shell32/PifMgr_SetProperties.s new file mode 100644 index 000000000..52c403542 --- /dev/null +++ b/libc/nt/shell32/PifMgr_SetProperties.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_PifMgr_SetProperties,PifMgr_SetProperties,11 diff --git a/libc/nt/shell32/PrepareDiscForBurnRunDllW.s b/libc/nt/shell32/PrepareDiscForBurnRunDllW.s new file mode 100644 index 000000000..b839f8957 --- /dev/null +++ b/libc/nt/shell32/PrepareDiscForBurnRunDllW.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_PrepareDiscForBurnRunDllW,PrepareDiscForBurnRunDllW,135 diff --git a/libc/nt/shell32/PrintersGetCommand_RunDLL.s b/libc/nt/shell32/PrintersGetCommand_RunDLL.s new file mode 100644 index 000000000..f7ed2f731 --- /dev/null +++ b/libc/nt/shell32/PrintersGetCommand_RunDLL.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_PrintersGetCommand_RunDLL,PrintersGetCommand_RunDLL,138 diff --git a/libc/nt/shell32/PrintersGetCommand_RunDLLW.s b/libc/nt/shell32/PrintersGetCommand_RunDLLW.s new file mode 100644 index 000000000..5f1ef2757 --- /dev/null +++ b/libc/nt/shell32/PrintersGetCommand_RunDLLW.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_PrintersGetCommand_RunDLLW,PrintersGetCommand_RunDLLW,150 diff --git a/libc/nt/shell32/ReadCabinetState.s b/libc/nt/shell32/ReadCabinetState.s new file mode 100644 index 000000000..aa0b86320 --- /dev/null +++ b/libc/nt/shell32/ReadCabinetState.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_ReadCabinetState,ReadCabinetState,654 diff --git a/libc/nt/shell32/RealDriveType.s b/libc/nt/shell32/RealDriveType.s new file mode 100644 index 000000000..1f895229b --- /dev/null +++ b/libc/nt/shell32/RealDriveType.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_RealDriveType,RealDriveType,524 diff --git a/libc/nt/shell32/RealShellExecuteExW.s b/libc/nt/shell32/RealShellExecuteExW.s new file mode 100644 index 000000000..d6836cd53 --- /dev/null +++ b/libc/nt/shell32/RealShellExecuteExW.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_RealShellExecuteExW,RealShellExecuteExW,208 diff --git a/libc/nt/shell32/RealShellExecuteW.s b/libc/nt/shell32/RealShellExecuteW.s new file mode 100644 index 000000000..247669af6 --- /dev/null +++ b/libc/nt/shell32/RealShellExecuteW.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_RealShellExecuteW,RealShellExecuteW,226 diff --git a/libc/nt/shell32/RegenerateUserEnvironment.s b/libc/nt/shell32/RegenerateUserEnvironment.s new file mode 100644 index 000000000..56851c0ff --- /dev/null +++ b/libc/nt/shell32/RegenerateUserEnvironment.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_RegenerateUserEnvironment,RegenerateUserEnvironment,313 diff --git a/libc/nt/shell32/RestartDialog.s b/libc/nt/shell32/RestartDialog.s new file mode 100644 index 000000000..738c1d894 --- /dev/null +++ b/libc/nt/shell32/RestartDialog.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_RestartDialog,RestartDialog,59 diff --git a/libc/nt/shell32/RestartDialogEx.s b/libc/nt/shell32/RestartDialogEx.s new file mode 100644 index 000000000..16fadf48c --- /dev/null +++ b/libc/nt/shell32/RestartDialogEx.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_RestartDialogEx,RestartDialogEx,730 diff --git a/libc/nt/shell32/RunAsNewUser_RunDLLW.s b/libc/nt/shell32/RunAsNewUser_RunDLLW.s new file mode 100644 index 000000000..9ed51c5d3 --- /dev/null +++ b/libc/nt/shell32/RunAsNewUser_RunDLLW.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_RunAsNewUser_RunDLLW,RunAsNewUser_RunDLLW,314 diff --git a/libc/nt/shell32/SHAddDefaultPropertiesByExt.s b/libc/nt/shell32/SHAddDefaultPropertiesByExt.s new file mode 100644 index 000000000..619ac1651 --- /dev/null +++ b/libc/nt/shell32/SHAddDefaultPropertiesByExt.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHAddDefaultPropertiesByExt,SHAddDefaultPropertiesByExt,315 diff --git a/libc/nt/shell32/SHAddFromPropSheetExtArray.s b/libc/nt/shell32/SHAddFromPropSheetExtArray.s new file mode 100644 index 000000000..9e68a8ec5 --- /dev/null +++ b/libc/nt/shell32/SHAddFromPropSheetExtArray.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHAddFromPropSheetExtArray,SHAddFromPropSheetExtArray,167 diff --git a/libc/nt/shell32/SHAddToRecentDocs.s b/libc/nt/shell32/SHAddToRecentDocs.s new file mode 100644 index 000000000..70b66db33 --- /dev/null +++ b/libc/nt/shell32/SHAddToRecentDocs.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHAddToRecentDocs,SHAddToRecentDocs,316 diff --git a/libc/nt/shell32/SHAlloc.s b/libc/nt/shell32/SHAlloc.s new file mode 100644 index 000000000..a3f7d019f --- /dev/null +++ b/libc/nt/shell32/SHAlloc.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHAlloc,SHAlloc,196 diff --git a/libc/nt/shell32/SHAppBarMessage.s b/libc/nt/shell32/SHAppBarMessage.s new file mode 100644 index 000000000..86b01b4d2 --- /dev/null +++ b/libc/nt/shell32/SHAppBarMessage.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHAppBarMessage,SHAppBarMessage,317 diff --git a/libc/nt/shell32/SHAssocEnumHandlers.s b/libc/nt/shell32/SHAssocEnumHandlers.s new file mode 100644 index 000000000..5019a3ea8 --- /dev/null +++ b/libc/nt/shell32/SHAssocEnumHandlers.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHAssocEnumHandlers,SHAssocEnumHandlers,318 diff --git a/libc/nt/shell32/SHAssocEnumHandlersForProtocolByApplication.s b/libc/nt/shell32/SHAssocEnumHandlersForProtocolByApplication.s new file mode 100644 index 000000000..d5bce1681 --- /dev/null +++ b/libc/nt/shell32/SHAssocEnumHandlersForProtocolByApplication.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHAssocEnumHandlersForProtocolByApplication,SHAssocEnumHandlersForProtocolByApplication,319 diff --git a/libc/nt/shell32/SHBindToFolderIDListParent.s b/libc/nt/shell32/SHBindToFolderIDListParent.s new file mode 100644 index 000000000..1d0978847 --- /dev/null +++ b/libc/nt/shell32/SHBindToFolderIDListParent.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHBindToFolderIDListParent,SHBindToFolderIDListParent,320 diff --git a/libc/nt/shell32/SHBindToFolderIDListParentEx.s b/libc/nt/shell32/SHBindToFolderIDListParentEx.s new file mode 100644 index 000000000..19d3374f5 --- /dev/null +++ b/libc/nt/shell32/SHBindToFolderIDListParentEx.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHBindToFolderIDListParentEx,SHBindToFolderIDListParentEx,321 diff --git a/libc/nt/shell32/SHBindToObject.s b/libc/nt/shell32/SHBindToObject.s new file mode 100644 index 000000000..021ecedd2 --- /dev/null +++ b/libc/nt/shell32/SHBindToObject.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHBindToObject,SHBindToObject,322 diff --git a/libc/nt/shell32/SHBindToParent.s b/libc/nt/shell32/SHBindToParent.s new file mode 100644 index 000000000..614c16587 --- /dev/null +++ b/libc/nt/shell32/SHBindToParent.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHBindToParent,SHBindToParent,323 diff --git a/libc/nt/shell32/SHBrowseForFolderW.s b/libc/nt/shell32/SHBrowseForFolderW.s new file mode 100644 index 000000000..036908c6e --- /dev/null +++ b/libc/nt/shell32/SHBrowseForFolderW.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHBrowseForFolderW,SHBrowseForFolderW,326 diff --git a/libc/nt/shell32/SHCLSIDFromString.s b/libc/nt/shell32/SHCLSIDFromString.s new file mode 100644 index 000000000..e2c26a1dc --- /dev/null +++ b/libc/nt/shell32/SHCLSIDFromString.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHCLSIDFromString,SHCLSIDFromString,147 diff --git a/libc/nt/shell32/SHChangeNotification_Lock.s b/libc/nt/shell32/SHChangeNotification_Lock.s new file mode 100644 index 000000000..930ef7d48 --- /dev/null +++ b/libc/nt/shell32/SHChangeNotification_Lock.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHChangeNotification_Lock,SHChangeNotification_Lock,644 diff --git a/libc/nt/shell32/SHChangeNotification_Unlock.s b/libc/nt/shell32/SHChangeNotification_Unlock.s new file mode 100644 index 000000000..175eca587 --- /dev/null +++ b/libc/nt/shell32/SHChangeNotification_Unlock.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHChangeNotification_Unlock,SHChangeNotification_Unlock,645 diff --git a/libc/nt/shell32/SHChangeNotify.s b/libc/nt/shell32/SHChangeNotify.s new file mode 100644 index 000000000..c15a67b74 --- /dev/null +++ b/libc/nt/shell32/SHChangeNotify.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHChangeNotify,SHChangeNotify,327 diff --git a/libc/nt/shell32/SHChangeNotifyDeregister.s b/libc/nt/shell32/SHChangeNotifyDeregister.s new file mode 100644 index 000000000..96f7d177f --- /dev/null +++ b/libc/nt/shell32/SHChangeNotifyDeregister.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHChangeNotifyDeregister,SHChangeNotifyDeregister,4 diff --git a/libc/nt/shell32/SHChangeNotifyRegister.s b/libc/nt/shell32/SHChangeNotifyRegister.s new file mode 100644 index 000000000..47597afab --- /dev/null +++ b/libc/nt/shell32/SHChangeNotifyRegister.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHChangeNotifyRegister,SHChangeNotifyRegister,2 diff --git a/libc/nt/shell32/SHChangeNotifyRegisterThread.s b/libc/nt/shell32/SHChangeNotifyRegisterThread.s new file mode 100644 index 000000000..43ad789a8 --- /dev/null +++ b/libc/nt/shell32/SHChangeNotifyRegisterThread.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHChangeNotifyRegisterThread,SHChangeNotifyRegisterThread,328 diff --git a/libc/nt/shell32/SHChangeNotifySuspendResume.s b/libc/nt/shell32/SHChangeNotifySuspendResume.s new file mode 100644 index 000000000..1a471b3fa --- /dev/null +++ b/libc/nt/shell32/SHChangeNotifySuspendResume.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHChangeNotifySuspendResume,SHChangeNotifySuspendResume,329 diff --git a/libc/nt/shell32/SHCloneSpecialIDList.s b/libc/nt/shell32/SHCloneSpecialIDList.s new file mode 100644 index 000000000..db9a143e5 --- /dev/null +++ b/libc/nt/shell32/SHCloneSpecialIDList.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHCloneSpecialIDList,SHCloneSpecialIDList,89 diff --git a/libc/nt/shell32/SHCoCreateInstanceWorker.s b/libc/nt/shell32/SHCoCreateInstanceWorker.s new file mode 100644 index 000000000..c1966b0da --- /dev/null +++ b/libc/nt/shell32/SHCoCreateInstanceWorker.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHCoCreateInstanceWorker,SHCoCreateInstanceWorker,330 diff --git a/libc/nt/shell32/SHCreateAssociationRegistration.s b/libc/nt/shell32/SHCreateAssociationRegistration.s new file mode 100644 index 000000000..28d28529b --- /dev/null +++ b/libc/nt/shell32/SHCreateAssociationRegistration.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHCreateAssociationRegistration,SHCreateAssociationRegistration,331 diff --git a/libc/nt/shell32/SHCreateCategoryEnum.s b/libc/nt/shell32/SHCreateCategoryEnum.s new file mode 100644 index 000000000..11e6a3a80 --- /dev/null +++ b/libc/nt/shell32/SHCreateCategoryEnum.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHCreateCategoryEnum,SHCreateCategoryEnum,332 diff --git a/libc/nt/shell32/SHCreateDataObject.s b/libc/nt/shell32/SHCreateDataObject.s new file mode 100644 index 000000000..a4599effb --- /dev/null +++ b/libc/nt/shell32/SHCreateDataObject.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHCreateDataObject,SHCreateDataObject,333 diff --git a/libc/nt/shell32/SHCreateDefaultContextMenu.s b/libc/nt/shell32/SHCreateDefaultContextMenu.s new file mode 100644 index 000000000..e955c0770 --- /dev/null +++ b/libc/nt/shell32/SHCreateDefaultContextMenu.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHCreateDefaultContextMenu,SHCreateDefaultContextMenu,334 diff --git a/libc/nt/shell32/SHCreateDefaultExtractIcon.s b/libc/nt/shell32/SHCreateDefaultExtractIcon.s new file mode 100644 index 000000000..8866eae98 --- /dev/null +++ b/libc/nt/shell32/SHCreateDefaultExtractIcon.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHCreateDefaultExtractIcon,SHCreateDefaultExtractIcon,335 diff --git a/libc/nt/shell32/SHCreateDefaultPropertiesOp.s b/libc/nt/shell32/SHCreateDefaultPropertiesOp.s new file mode 100644 index 000000000..d15642a7e --- /dev/null +++ b/libc/nt/shell32/SHCreateDefaultPropertiesOp.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHCreateDefaultPropertiesOp,SHCreateDefaultPropertiesOp,336 diff --git a/libc/nt/shell32/SHCreateDirectory.s b/libc/nt/shell32/SHCreateDirectory.s new file mode 100644 index 000000000..93af63854 --- /dev/null +++ b/libc/nt/shell32/SHCreateDirectory.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHCreateDirectory,SHCreateDirectory,165 diff --git a/libc/nt/shell32/SHCreateDirectoryExW.s b/libc/nt/shell32/SHCreateDirectoryExW.s new file mode 100644 index 000000000..9509b8cc4 --- /dev/null +++ b/libc/nt/shell32/SHCreateDirectoryExW.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHCreateDirectoryExW,SHCreateDirectoryExW,338 diff --git a/libc/nt/shell32/SHCreateDrvExtIcon.s b/libc/nt/shell32/SHCreateDrvExtIcon.s new file mode 100644 index 000000000..539835446 --- /dev/null +++ b/libc/nt/shell32/SHCreateDrvExtIcon.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHCreateDrvExtIcon,SHCreateDrvExtIcon,339 diff --git a/libc/nt/shell32/SHCreateFileExtractIconW.s b/libc/nt/shell32/SHCreateFileExtractIconW.s new file mode 100644 index 000000000..91e0630e1 --- /dev/null +++ b/libc/nt/shell32/SHCreateFileExtractIconW.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHCreateFileExtractIconW,SHCreateFileExtractIconW,743 diff --git a/libc/nt/shell32/SHCreateItemFromIDList.s b/libc/nt/shell32/SHCreateItemFromIDList.s new file mode 100644 index 000000000..a7f993090 --- /dev/null +++ b/libc/nt/shell32/SHCreateItemFromIDList.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHCreateItemFromIDList,SHCreateItemFromIDList,340 diff --git a/libc/nt/shell32/SHCreateItemFromParsingName.s b/libc/nt/shell32/SHCreateItemFromParsingName.s new file mode 100644 index 000000000..48725bd94 --- /dev/null +++ b/libc/nt/shell32/SHCreateItemFromParsingName.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHCreateItemFromParsingName,SHCreateItemFromParsingName,341 diff --git a/libc/nt/shell32/SHCreateItemFromRelativeName.s b/libc/nt/shell32/SHCreateItemFromRelativeName.s new file mode 100644 index 000000000..d8135b184 --- /dev/null +++ b/libc/nt/shell32/SHCreateItemFromRelativeName.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHCreateItemFromRelativeName,SHCreateItemFromRelativeName,342 diff --git a/libc/nt/shell32/SHCreateItemInKnownFolder.s b/libc/nt/shell32/SHCreateItemInKnownFolder.s new file mode 100644 index 000000000..867598131 --- /dev/null +++ b/libc/nt/shell32/SHCreateItemInKnownFolder.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHCreateItemInKnownFolder,SHCreateItemInKnownFolder,343 diff --git a/libc/nt/shell32/SHCreateItemWithParent.s b/libc/nt/shell32/SHCreateItemWithParent.s new file mode 100644 index 000000000..a7d3096b1 --- /dev/null +++ b/libc/nt/shell32/SHCreateItemWithParent.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHCreateItemWithParent,SHCreateItemWithParent,344 diff --git a/libc/nt/shell32/SHCreateLocalServerRunDll.s b/libc/nt/shell32/SHCreateLocalServerRunDll.s new file mode 100644 index 000000000..228e1cabe --- /dev/null +++ b/libc/nt/shell32/SHCreateLocalServerRunDll.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHCreateLocalServerRunDll,SHCreateLocalServerRunDll,345 diff --git a/libc/nt/shell32/SHCreateProcessAsUserW.s b/libc/nt/shell32/SHCreateProcessAsUserW.s new file mode 100644 index 000000000..08d45e6c9 --- /dev/null +++ b/libc/nt/shell32/SHCreateProcessAsUserW.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHCreateProcessAsUserW,SHCreateProcessAsUserW,346 diff --git a/libc/nt/shell32/SHCreatePropSheetExtArray.s b/libc/nt/shell32/SHCreatePropSheetExtArray.s new file mode 100644 index 000000000..07c81e577 --- /dev/null +++ b/libc/nt/shell32/SHCreatePropSheetExtArray.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHCreatePropSheetExtArray,SHCreatePropSheetExtArray,168 diff --git a/libc/nt/shell32/SHCreateQueryCancelAutoPlayMoniker.s b/libc/nt/shell32/SHCreateQueryCancelAutoPlayMoniker.s new file mode 100644 index 000000000..e1ec6c21a --- /dev/null +++ b/libc/nt/shell32/SHCreateQueryCancelAutoPlayMoniker.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHCreateQueryCancelAutoPlayMoniker,SHCreateQueryCancelAutoPlayMoniker,347 diff --git a/libc/nt/shell32/SHCreateShellFolderView.s b/libc/nt/shell32/SHCreateShellFolderView.s new file mode 100644 index 000000000..eb433ff03 --- /dev/null +++ b/libc/nt/shell32/SHCreateShellFolderView.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHCreateShellFolderView,SHCreateShellFolderView,256 diff --git a/libc/nt/shell32/SHCreateShellFolderViewEx.s b/libc/nt/shell32/SHCreateShellFolderViewEx.s new file mode 100644 index 000000000..ceee0cc85 --- /dev/null +++ b/libc/nt/shell32/SHCreateShellFolderViewEx.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHCreateShellFolderViewEx,SHCreateShellFolderViewEx,174 diff --git a/libc/nt/shell32/SHCreateShellItem.s b/libc/nt/shell32/SHCreateShellItem.s new file mode 100644 index 000000000..c95fdc255 --- /dev/null +++ b/libc/nt/shell32/SHCreateShellItem.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHCreateShellItem,SHCreateShellItem,348 diff --git a/libc/nt/shell32/SHCreateShellItemArray.s b/libc/nt/shell32/SHCreateShellItemArray.s new file mode 100644 index 000000000..8a30d9543 --- /dev/null +++ b/libc/nt/shell32/SHCreateShellItemArray.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHCreateShellItemArray,SHCreateShellItemArray,349 diff --git a/libc/nt/shell32/SHCreateShellItemArrayFromDataObject.s b/libc/nt/shell32/SHCreateShellItemArrayFromDataObject.s new file mode 100644 index 000000000..ff5b9dd38 --- /dev/null +++ b/libc/nt/shell32/SHCreateShellItemArrayFromDataObject.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHCreateShellItemArrayFromDataObject,SHCreateShellItemArrayFromDataObject,350 diff --git a/libc/nt/shell32/SHCreateShellItemArrayFromIDLists.s b/libc/nt/shell32/SHCreateShellItemArrayFromIDLists.s new file mode 100644 index 000000000..70473a053 --- /dev/null +++ b/libc/nt/shell32/SHCreateShellItemArrayFromIDLists.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHCreateShellItemArrayFromIDLists,SHCreateShellItemArrayFromIDLists,351 diff --git a/libc/nt/shell32/SHCreateShellItemArrayFromShellItem.s b/libc/nt/shell32/SHCreateShellItemArrayFromShellItem.s new file mode 100644 index 000000000..bed032c4b --- /dev/null +++ b/libc/nt/shell32/SHCreateShellItemArrayFromShellItem.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHCreateShellItemArrayFromShellItem,SHCreateShellItemArrayFromShellItem,352 diff --git a/libc/nt/shell32/SHCreateStdEnumFmtEtc.s b/libc/nt/shell32/SHCreateStdEnumFmtEtc.s new file mode 100644 index 000000000..68c60d394 --- /dev/null +++ b/libc/nt/shell32/SHCreateStdEnumFmtEtc.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHCreateStdEnumFmtEtc,SHCreateStdEnumFmtEtc,74 diff --git a/libc/nt/shell32/SHDefExtractIconW.s b/libc/nt/shell32/SHDefExtractIconW.s new file mode 100644 index 000000000..7b030bea3 --- /dev/null +++ b/libc/nt/shell32/SHDefExtractIconW.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHDefExtractIconW,SHDefExtractIconW,6 diff --git a/libc/nt/shell32/SHDestroyPropSheetExtArray.s b/libc/nt/shell32/SHDestroyPropSheetExtArray.s new file mode 100644 index 000000000..4c9bcdd29 --- /dev/null +++ b/libc/nt/shell32/SHDestroyPropSheetExtArray.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHDestroyPropSheetExtArray,SHDestroyPropSheetExtArray,169 diff --git a/libc/nt/shell32/SHDoDragDrop.s b/libc/nt/shell32/SHDoDragDrop.s new file mode 100644 index 000000000..3ac0a7689 --- /dev/null +++ b/libc/nt/shell32/SHDoDragDrop.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHDoDragDrop,SHDoDragDrop,88 diff --git a/libc/nt/shell32/SHEmptyRecycleBinW.s b/libc/nt/shell32/SHEmptyRecycleBinW.s new file mode 100644 index 000000000..69b5fa500 --- /dev/null +++ b/libc/nt/shell32/SHEmptyRecycleBinW.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHEmptyRecycleBinW,SHEmptyRecycleBinW,487 diff --git a/libc/nt/shell32/SHEnableServiceObject.s b/libc/nt/shell32/SHEnableServiceObject.s new file mode 100644 index 000000000..426fc8789 --- /dev/null +++ b/libc/nt/shell32/SHEnableServiceObject.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHEnableServiceObject,SHEnableServiceObject,488 diff --git a/libc/nt/shell32/SHEnumerateUnreadMailAccountsW.s b/libc/nt/shell32/SHEnumerateUnreadMailAccountsW.s new file mode 100644 index 000000000..51e96cb6f --- /dev/null +++ b/libc/nt/shell32/SHEnumerateUnreadMailAccountsW.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHEnumerateUnreadMailAccountsW,SHEnumerateUnreadMailAccountsW,489 diff --git a/libc/nt/shell32/SHEvaluateSystemCommandTemplate.s b/libc/nt/shell32/SHEvaluateSystemCommandTemplate.s new file mode 100644 index 000000000..b6ea37d36 --- /dev/null +++ b/libc/nt/shell32/SHEvaluateSystemCommandTemplate.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHEvaluateSystemCommandTemplate,SHEvaluateSystemCommandTemplate,490 diff --git a/libc/nt/shell32/SHExtractIconsW.s b/libc/nt/shell32/SHExtractIconsW.s new file mode 100644 index 000000000..0cfd6b920 --- /dev/null +++ b/libc/nt/shell32/SHExtractIconsW.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHExtractIconsW,SHExtractIconsW,491 diff --git a/libc/nt/shell32/SHFileOperationW.s b/libc/nt/shell32/SHFileOperationW.s new file mode 100644 index 000000000..f01d6b866 --- /dev/null +++ b/libc/nt/shell32/SHFileOperationW.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHFileOperationW,SHFileOperationW,494 diff --git a/libc/nt/shell32/SHFindFiles.s b/libc/nt/shell32/SHFindFiles.s new file mode 100644 index 000000000..f2c770e7e --- /dev/null +++ b/libc/nt/shell32/SHFindFiles.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHFindFiles,SHFindFiles,90 diff --git a/libc/nt/shell32/SHFind_InitMenuPopup.s b/libc/nt/shell32/SHFind_InitMenuPopup.s new file mode 100644 index 000000000..e8cb6b4fc --- /dev/null +++ b/libc/nt/shell32/SHFind_InitMenuPopup.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHFind_InitMenuPopup,SHFind_InitMenuPopup,149 diff --git a/libc/nt/shell32/SHFlushSFCache.s b/libc/nt/shell32/SHFlushSFCache.s new file mode 100644 index 000000000..0e5bafd0f --- /dev/null +++ b/libc/nt/shell32/SHFlushSFCache.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHFlushSFCache,SHFlushSFCache,526 diff --git a/libc/nt/shell32/SHFormatDrive.s b/libc/nt/shell32/SHFormatDrive.s new file mode 100644 index 000000000..97d552d61 --- /dev/null +++ b/libc/nt/shell32/SHFormatDrive.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHFormatDrive,SHFormatDrive,495 diff --git a/libc/nt/shell32/SHFree.s b/libc/nt/shell32/SHFree.s new file mode 100644 index 000000000..5f75eed7a --- /dev/null +++ b/libc/nt/shell32/SHFree.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHFree,SHFree,195 diff --git a/libc/nt/shell32/SHFreeNameMappings.s b/libc/nt/shell32/SHFreeNameMappings.s new file mode 100644 index 000000000..dd581c749 --- /dev/null +++ b/libc/nt/shell32/SHFreeNameMappings.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHFreeNameMappings,SHFreeNameMappings,496 diff --git a/libc/nt/shell32/SHGetAttributesFromDataObject.s b/libc/nt/shell32/SHGetAttributesFromDataObject.s new file mode 100644 index 000000000..8f2ca7fe0 --- /dev/null +++ b/libc/nt/shell32/SHGetAttributesFromDataObject.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHGetAttributesFromDataObject,SHGetAttributesFromDataObject,750 diff --git a/libc/nt/shell32/SHGetDataFromIDListW.s b/libc/nt/shell32/SHGetDataFromIDListW.s new file mode 100644 index 000000000..54179f707 --- /dev/null +++ b/libc/nt/shell32/SHGetDataFromIDListW.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHGetDataFromIDListW,SHGetDataFromIDListW,498 diff --git a/libc/nt/shell32/SHGetDesktopFolder.s b/libc/nt/shell32/SHGetDesktopFolder.s new file mode 100644 index 000000000..bde1dbb5d --- /dev/null +++ b/libc/nt/shell32/SHGetDesktopFolder.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHGetDesktopFolder,SHGetDesktopFolder,499 diff --git a/libc/nt/shell32/SHGetDiskFreeSpaceExW.s b/libc/nt/shell32/SHGetDiskFreeSpaceExW.s new file mode 100644 index 000000000..fd9786333 --- /dev/null +++ b/libc/nt/shell32/SHGetDiskFreeSpaceExW.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHGetDiskFreeSpaceExW,SHGetDiskFreeSpaceExW,502 diff --git a/libc/nt/shell32/SHGetDriveMedia.s b/libc/nt/shell32/SHGetDriveMedia.s new file mode 100644 index 000000000..33699a8b4 --- /dev/null +++ b/libc/nt/shell32/SHGetDriveMedia.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHGetDriveMedia,SHGetDriveMedia,503 diff --git a/libc/nt/shell32/SHGetFileInfoW.s b/libc/nt/shell32/SHGetFileInfoW.s new file mode 100644 index 000000000..fd3043ddb --- /dev/null +++ b/libc/nt/shell32/SHGetFileInfoW.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHGetFileInfoW,SHGetFileInfoW,506 diff --git a/libc/nt/shell32/SHGetFolderLocation.s b/libc/nt/shell32/SHGetFolderLocation.s new file mode 100644 index 000000000..4a7039784 --- /dev/null +++ b/libc/nt/shell32/SHGetFolderLocation.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHGetFolderLocation,SHGetFolderLocation,507 diff --git a/libc/nt/shell32/SHGetFolderPathAndSubDirW.s b/libc/nt/shell32/SHGetFolderPathAndSubDirW.s new file mode 100644 index 000000000..ca0ea6c80 --- /dev/null +++ b/libc/nt/shell32/SHGetFolderPathAndSubDirW.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHGetFolderPathAndSubDirW,SHGetFolderPathAndSubDirW,510 diff --git a/libc/nt/shell32/SHGetFolderPathEx.s b/libc/nt/shell32/SHGetFolderPathEx.s new file mode 100644 index 000000000..a89354241 --- /dev/null +++ b/libc/nt/shell32/SHGetFolderPathEx.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHGetFolderPathEx,SHGetFolderPathEx,511 diff --git a/libc/nt/shell32/SHGetFolderPathW.s b/libc/nt/shell32/SHGetFolderPathW.s new file mode 100644 index 000000000..7b1f12b90 --- /dev/null +++ b/libc/nt/shell32/SHGetFolderPathW.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHGetFolderPathW,SHGetFolderPathW,512 diff --git a/libc/nt/shell32/SHGetIDListFromObject.s b/libc/nt/shell32/SHGetIDListFromObject.s new file mode 100644 index 000000000..74367cc77 --- /dev/null +++ b/libc/nt/shell32/SHGetIDListFromObject.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHGetIDListFromObject,SHGetIDListFromObject,513 diff --git a/libc/nt/shell32/SHGetIconOverlayIndexW.s b/libc/nt/shell32/SHGetIconOverlayIndexW.s new file mode 100644 index 000000000..33a6d3df1 --- /dev/null +++ b/libc/nt/shell32/SHGetIconOverlayIndexW.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHGetIconOverlayIndexW,SHGetIconOverlayIndexW,515 diff --git a/libc/nt/shell32/SHGetImageList.s b/libc/nt/shell32/SHGetImageList.s new file mode 100644 index 000000000..b3d8092c6 --- /dev/null +++ b/libc/nt/shell32/SHGetImageList.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHGetImageList,SHGetImageList,727 diff --git a/libc/nt/shell32/SHGetInstanceExplorer.s b/libc/nt/shell32/SHGetInstanceExplorer.s new file mode 100644 index 000000000..306685c93 --- /dev/null +++ b/libc/nt/shell32/SHGetInstanceExplorer.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHGetInstanceExplorer,SHGetInstanceExplorer,516 diff --git a/libc/nt/shell32/SHGetItemFromDataObject.s b/libc/nt/shell32/SHGetItemFromDataObject.s new file mode 100644 index 000000000..b78945b4f --- /dev/null +++ b/libc/nt/shell32/SHGetItemFromDataObject.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHGetItemFromDataObject,SHGetItemFromDataObject,517 diff --git a/libc/nt/shell32/SHGetItemFromObject.s b/libc/nt/shell32/SHGetItemFromObject.s new file mode 100644 index 000000000..695844192 --- /dev/null +++ b/libc/nt/shell32/SHGetItemFromObject.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHGetItemFromObject,SHGetItemFromObject,518 diff --git a/libc/nt/shell32/SHGetKnownFolderIDList.s b/libc/nt/shell32/SHGetKnownFolderIDList.s new file mode 100644 index 000000000..1c8b78714 --- /dev/null +++ b/libc/nt/shell32/SHGetKnownFolderIDList.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHGetKnownFolderIDList,SHGetKnownFolderIDList,519 diff --git a/libc/nt/shell32/SHGetKnownFolderItem.s b/libc/nt/shell32/SHGetKnownFolderItem.s new file mode 100644 index 000000000..e51e4aa87 --- /dev/null +++ b/libc/nt/shell32/SHGetKnownFolderItem.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHGetKnownFolderItem,SHGetKnownFolderItem,527 diff --git a/libc/nt/shell32/SHGetKnownFolderPath.s b/libc/nt/shell32/SHGetKnownFolderPath.s new file mode 100644 index 000000000..59bfd5d77 --- /dev/null +++ b/libc/nt/shell32/SHGetKnownFolderPath.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHGetKnownFolderPath,SHGetKnownFolderPath,528 diff --git a/libc/nt/shell32/SHGetLocalizedName.s b/libc/nt/shell32/SHGetLocalizedName.s new file mode 100644 index 000000000..240f35bd4 --- /dev/null +++ b/libc/nt/shell32/SHGetLocalizedName.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHGetLocalizedName,SHGetLocalizedName,529 diff --git a/libc/nt/shell32/SHGetMalloc.s b/libc/nt/shell32/SHGetMalloc.s new file mode 100644 index 000000000..23ec1adbc --- /dev/null +++ b/libc/nt/shell32/SHGetMalloc.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHGetMalloc,SHGetMalloc,530 diff --git a/libc/nt/shell32/SHGetNameFromIDList.s b/libc/nt/shell32/SHGetNameFromIDList.s new file mode 100644 index 000000000..f247b5e6c --- /dev/null +++ b/libc/nt/shell32/SHGetNameFromIDList.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHGetNameFromIDList,SHGetNameFromIDList,531 diff --git a/libc/nt/shell32/SHGetNewLinkInfoW.s b/libc/nt/shell32/SHGetNewLinkInfoW.s new file mode 100644 index 000000000..a97173935 --- /dev/null +++ b/libc/nt/shell32/SHGetNewLinkInfoW.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHGetNewLinkInfoW,SHGetNewLinkInfoW,180 diff --git a/libc/nt/shell32/SHGetPathFromIDListEx.s b/libc/nt/shell32/SHGetPathFromIDListEx.s new file mode 100644 index 000000000..353ddbcee --- /dev/null +++ b/libc/nt/shell32/SHGetPathFromIDListEx.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHGetPathFromIDListEx,SHGetPathFromIDListEx,535 diff --git a/libc/nt/shell32/SHGetPathFromIDListW.s b/libc/nt/shell32/SHGetPathFromIDListW.s new file mode 100644 index 000000000..ad222808d --- /dev/null +++ b/libc/nt/shell32/SHGetPathFromIDListW.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHGetPathFromIDListW,SHGetPathFromIDListW,536 diff --git a/libc/nt/shell32/SHGetPropertyStoreForWindow.s b/libc/nt/shell32/SHGetPropertyStoreForWindow.s new file mode 100644 index 000000000..ecc3530be --- /dev/null +++ b/libc/nt/shell32/SHGetPropertyStoreForWindow.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHGetPropertyStoreForWindow,SHGetPropertyStoreForWindow,537 diff --git a/libc/nt/shell32/SHGetPropertyStoreFromIDList.s b/libc/nt/shell32/SHGetPropertyStoreFromIDList.s new file mode 100644 index 000000000..5d1600311 --- /dev/null +++ b/libc/nt/shell32/SHGetPropertyStoreFromIDList.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHGetPropertyStoreFromIDList,SHGetPropertyStoreFromIDList,538 diff --git a/libc/nt/shell32/SHGetPropertyStoreFromParsingName.s b/libc/nt/shell32/SHGetPropertyStoreFromParsingName.s new file mode 100644 index 000000000..1abab4580 --- /dev/null +++ b/libc/nt/shell32/SHGetPropertyStoreFromParsingName.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHGetPropertyStoreFromParsingName,SHGetPropertyStoreFromParsingName,539 diff --git a/libc/nt/shell32/SHGetRealIDL.s b/libc/nt/shell32/SHGetRealIDL.s new file mode 100644 index 000000000..cae4badd0 --- /dev/null +++ b/libc/nt/shell32/SHGetRealIDL.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHGetRealIDL,SHGetRealIDL,98 diff --git a/libc/nt/shell32/SHGetSetFolderCustomSettings.s b/libc/nt/shell32/SHGetSetFolderCustomSettings.s new file mode 100644 index 000000000..c971208e5 --- /dev/null +++ b/libc/nt/shell32/SHGetSetFolderCustomSettings.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHGetSetFolderCustomSettings,SHGetSetFolderCustomSettings,709 diff --git a/libc/nt/shell32/SHGetSetSettings.s b/libc/nt/shell32/SHGetSetSettings.s new file mode 100644 index 000000000..6480ba3c4 --- /dev/null +++ b/libc/nt/shell32/SHGetSetSettings.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHGetSetSettings,SHGetSetSettings,68 diff --git a/libc/nt/shell32/SHGetSettings.s b/libc/nt/shell32/SHGetSettings.s new file mode 100644 index 000000000..a6957b6f2 --- /dev/null +++ b/libc/nt/shell32/SHGetSettings.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHGetSettings,SHGetSettings,540 diff --git a/libc/nt/shell32/SHGetSpecialFolderLocation.s b/libc/nt/shell32/SHGetSpecialFolderLocation.s new file mode 100644 index 000000000..681f7c58e --- /dev/null +++ b/libc/nt/shell32/SHGetSpecialFolderLocation.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHGetSpecialFolderLocation,SHGetSpecialFolderLocation,541 diff --git a/libc/nt/shell32/SHGetSpecialFolderPathW.s b/libc/nt/shell32/SHGetSpecialFolderPathW.s new file mode 100644 index 000000000..3194d582b --- /dev/null +++ b/libc/nt/shell32/SHGetSpecialFolderPathW.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHGetSpecialFolderPathW,SHGetSpecialFolderPathW,543 diff --git a/libc/nt/shell32/SHGetStockIconInfo.s b/libc/nt/shell32/SHGetStockIconInfo.s new file mode 100644 index 000000000..bf5da49d1 --- /dev/null +++ b/libc/nt/shell32/SHGetStockIconInfo.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHGetStockIconInfo,SHGetStockIconInfo,544 diff --git a/libc/nt/shell32/SHGetTemporaryPropertyForItem.s b/libc/nt/shell32/SHGetTemporaryPropertyForItem.s new file mode 100644 index 000000000..e6be8d8a4 --- /dev/null +++ b/libc/nt/shell32/SHGetTemporaryPropertyForItem.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHGetTemporaryPropertyForItem,SHGetTemporaryPropertyForItem,545 diff --git a/libc/nt/shell32/SHGetUnreadMailCountW.s b/libc/nt/shell32/SHGetUnreadMailCountW.s new file mode 100644 index 000000000..90cc75ce2 --- /dev/null +++ b/libc/nt/shell32/SHGetUnreadMailCountW.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHGetUnreadMailCountW,SHGetUnreadMailCountW,546 diff --git a/libc/nt/shell32/SHHandleUpdateImage.s b/libc/nt/shell32/SHHandleUpdateImage.s new file mode 100644 index 000000000..a4c483974 --- /dev/null +++ b/libc/nt/shell32/SHHandleUpdateImage.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHHandleUpdateImage,SHHandleUpdateImage,193 diff --git a/libc/nt/shell32/SHHelpShortcuts_RunDLL.s b/libc/nt/shell32/SHHelpShortcuts_RunDLL.s new file mode 100644 index 000000000..c4b7dcb90 --- /dev/null +++ b/libc/nt/shell32/SHHelpShortcuts_RunDLL.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHHelpShortcuts_RunDLL,SHHelpShortcuts_RunDLL,228 diff --git a/libc/nt/shell32/SHHelpShortcuts_RunDLLW.s b/libc/nt/shell32/SHHelpShortcuts_RunDLLW.s new file mode 100644 index 000000000..60d6a39b4 --- /dev/null +++ b/libc/nt/shell32/SHHelpShortcuts_RunDLLW.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHHelpShortcuts_RunDLLW,SHHelpShortcuts_RunDLLW,238 diff --git a/libc/nt/shell32/SHILCreateFromPath.s b/libc/nt/shell32/SHILCreateFromPath.s new file mode 100644 index 000000000..79f5d91fc --- /dev/null +++ b/libc/nt/shell32/SHILCreateFromPath.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHILCreateFromPath,SHILCreateFromPath,28 diff --git a/libc/nt/shell32/SHInvokePrinterCommandW.s b/libc/nt/shell32/SHInvokePrinterCommandW.s new file mode 100644 index 000000000..1fecbd0ae --- /dev/null +++ b/libc/nt/shell32/SHInvokePrinterCommandW.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHInvokePrinterCommandW,SHInvokePrinterCommandW,548 diff --git a/libc/nt/shell32/SHIsFileAvailableOffline.s b/libc/nt/shell32/SHIsFileAvailableOffline.s new file mode 100644 index 000000000..5344763c9 --- /dev/null +++ b/libc/nt/shell32/SHIsFileAvailableOffline.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHIsFileAvailableOffline,SHIsFileAvailableOffline,549 diff --git a/libc/nt/shell32/SHLimitInputEdit.s b/libc/nt/shell32/SHLimitInputEdit.s new file mode 100644 index 000000000..1df48db38 --- /dev/null +++ b/libc/nt/shell32/SHLimitInputEdit.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHLimitInputEdit,SHLimitInputEdit,747 diff --git a/libc/nt/shell32/SHLoadInProc.s b/libc/nt/shell32/SHLoadInProc.s new file mode 100644 index 000000000..86cfc874f --- /dev/null +++ b/libc/nt/shell32/SHLoadInProc.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHLoadInProc,SHLoadInProc,550 diff --git a/libc/nt/shell32/SHLoadNonloadedIconOverlayIdentifiers.s b/libc/nt/shell32/SHLoadNonloadedIconOverlayIdentifiers.s new file mode 100644 index 000000000..856bfa86c --- /dev/null +++ b/libc/nt/shell32/SHLoadNonloadedIconOverlayIdentifiers.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHLoadNonloadedIconOverlayIdentifiers,SHLoadNonloadedIconOverlayIdentifiers,551 diff --git a/libc/nt/shell32/SHMapPIDLToSystemImageListIndex.s b/libc/nt/shell32/SHMapPIDLToSystemImageListIndex.s new file mode 100644 index 000000000..05c77f320 --- /dev/null +++ b/libc/nt/shell32/SHMapPIDLToSystemImageListIndex.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHMapPIDLToSystemImageListIndex,SHMapPIDLToSystemImageListIndex,77 diff --git a/libc/nt/shell32/SHMultiFileProperties.s b/libc/nt/shell32/SHMultiFileProperties.s new file mode 100644 index 000000000..3cf8b338d --- /dev/null +++ b/libc/nt/shell32/SHMultiFileProperties.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHMultiFileProperties,SHMultiFileProperties,716 diff --git a/libc/nt/shell32/SHObjectProperties.s b/libc/nt/shell32/SHObjectProperties.s new file mode 100644 index 000000000..9f4faa292 --- /dev/null +++ b/libc/nt/shell32/SHObjectProperties.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHObjectProperties,SHObjectProperties,178 diff --git a/libc/nt/shell32/SHOpenFolderAndSelectItems.s b/libc/nt/shell32/SHOpenFolderAndSelectItems.s new file mode 100644 index 000000000..1518e1abb --- /dev/null +++ b/libc/nt/shell32/SHOpenFolderAndSelectItems.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHOpenFolderAndSelectItems,SHOpenFolderAndSelectItems,552 diff --git a/libc/nt/shell32/SHOpenPropSheetW.s b/libc/nt/shell32/SHOpenPropSheetW.s new file mode 100644 index 000000000..67aed356c --- /dev/null +++ b/libc/nt/shell32/SHOpenPropSheetW.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHOpenPropSheetW,SHOpenPropSheetW,80 diff --git a/libc/nt/shell32/SHOpenWithDialog.s b/libc/nt/shell32/SHOpenWithDialog.s new file mode 100644 index 000000000..b1a93f07d --- /dev/null +++ b/libc/nt/shell32/SHOpenWithDialog.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHOpenWithDialog,SHOpenWithDialog,553 diff --git a/libc/nt/shell32/SHParseDisplayName.s b/libc/nt/shell32/SHParseDisplayName.s new file mode 100644 index 000000000..b2f207727 --- /dev/null +++ b/libc/nt/shell32/SHParseDisplayName.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHParseDisplayName,SHParseDisplayName,554 diff --git a/libc/nt/shell32/SHPathPrepareForWriteW.s b/libc/nt/shell32/SHPathPrepareForWriteW.s new file mode 100644 index 000000000..8fc46fd34 --- /dev/null +++ b/libc/nt/shell32/SHPathPrepareForWriteW.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHPathPrepareForWriteW,SHPathPrepareForWriteW,556 diff --git a/libc/nt/shell32/SHPropStgCreate.s b/libc/nt/shell32/SHPropStgCreate.s new file mode 100644 index 000000000..5776ea136 --- /dev/null +++ b/libc/nt/shell32/SHPropStgCreate.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHPropStgCreate,SHPropStgCreate,685 diff --git a/libc/nt/shell32/SHPropStgReadMultiple.s b/libc/nt/shell32/SHPropStgReadMultiple.s new file mode 100644 index 000000000..62d70b9c1 --- /dev/null +++ b/libc/nt/shell32/SHPropStgReadMultiple.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHPropStgReadMultiple,SHPropStgReadMultiple,688 diff --git a/libc/nt/shell32/SHPropStgWriteMultiple.s b/libc/nt/shell32/SHPropStgWriteMultiple.s new file mode 100644 index 000000000..1a61fe4f8 --- /dev/null +++ b/libc/nt/shell32/SHPropStgWriteMultiple.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHPropStgWriteMultiple,SHPropStgWriteMultiple,689 diff --git a/libc/nt/shell32/SHQueryRecycleBinW.s b/libc/nt/shell32/SHQueryRecycleBinW.s new file mode 100644 index 000000000..57c48128a --- /dev/null +++ b/libc/nt/shell32/SHQueryRecycleBinW.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHQueryRecycleBinW,SHQueryRecycleBinW,558 diff --git a/libc/nt/shell32/SHQueryUserNotificationState.s b/libc/nt/shell32/SHQueryUserNotificationState.s new file mode 100644 index 000000000..50818a527 --- /dev/null +++ b/libc/nt/shell32/SHQueryUserNotificationState.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHQueryUserNotificationState,SHQueryUserNotificationState,559 diff --git a/libc/nt/shell32/SHRemoveLocalizedName.s b/libc/nt/shell32/SHRemoveLocalizedName.s new file mode 100644 index 000000000..2acffba9e --- /dev/null +++ b/libc/nt/shell32/SHRemoveLocalizedName.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHRemoveLocalizedName,SHRemoveLocalizedName,560 diff --git a/libc/nt/shell32/SHReplaceFromPropSheetExtArray.s b/libc/nt/shell32/SHReplaceFromPropSheetExtArray.s new file mode 100644 index 000000000..63a5a7f43 --- /dev/null +++ b/libc/nt/shell32/SHReplaceFromPropSheetExtArray.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHReplaceFromPropSheetExtArray,SHReplaceFromPropSheetExtArray,170 diff --git a/libc/nt/shell32/SHResolveLibrary.s b/libc/nt/shell32/SHResolveLibrary.s new file mode 100644 index 000000000..127eea71c --- /dev/null +++ b/libc/nt/shell32/SHResolveLibrary.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHResolveLibrary,SHResolveLibrary,561 diff --git a/libc/nt/shell32/SHRestricted.s b/libc/nt/shell32/SHRestricted.s new file mode 100644 index 000000000..620b03fe0 --- /dev/null +++ b/libc/nt/shell32/SHRestricted.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHRestricted,SHRestricted,100 diff --git a/libc/nt/shell32/SHSetDefaultProperties.s b/libc/nt/shell32/SHSetDefaultProperties.s new file mode 100644 index 000000000..21b2510b4 --- /dev/null +++ b/libc/nt/shell32/SHSetDefaultProperties.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHSetDefaultProperties,SHSetDefaultProperties,562 diff --git a/libc/nt/shell32/SHSetFolderPathW.s b/libc/nt/shell32/SHSetFolderPathW.s new file mode 100644 index 000000000..262da9580 --- /dev/null +++ b/libc/nt/shell32/SHSetFolderPathW.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHSetFolderPathW,SHSetFolderPathW,232 diff --git a/libc/nt/shell32/SHSetInstanceExplorer.s b/libc/nt/shell32/SHSetInstanceExplorer.s new file mode 100644 index 000000000..0f7a385d4 --- /dev/null +++ b/libc/nt/shell32/SHSetInstanceExplorer.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHSetInstanceExplorer,SHSetInstanceExplorer,176 diff --git a/libc/nt/shell32/SHSetKnownFolderPath.s b/libc/nt/shell32/SHSetKnownFolderPath.s new file mode 100644 index 000000000..99241efd4 --- /dev/null +++ b/libc/nt/shell32/SHSetKnownFolderPath.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHSetKnownFolderPath,SHSetKnownFolderPath,563 diff --git a/libc/nt/shell32/SHSetLocalizedName.s b/libc/nt/shell32/SHSetLocalizedName.s new file mode 100644 index 000000000..066cba132 --- /dev/null +++ b/libc/nt/shell32/SHSetLocalizedName.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHSetLocalizedName,SHSetLocalizedName,564 diff --git a/libc/nt/shell32/SHSetTemporaryPropertyForItem.s b/libc/nt/shell32/SHSetTemporaryPropertyForItem.s new file mode 100644 index 000000000..17caeb54f --- /dev/null +++ b/libc/nt/shell32/SHSetTemporaryPropertyForItem.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHSetTemporaryPropertyForItem,SHSetTemporaryPropertyForItem,565 diff --git a/libc/nt/shell32/SHSetUnreadMailCountW.s b/libc/nt/shell32/SHSetUnreadMailCountW.s new file mode 100644 index 000000000..89c141fc3 --- /dev/null +++ b/libc/nt/shell32/SHSetUnreadMailCountW.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHSetUnreadMailCountW,SHSetUnreadMailCountW,566 diff --git a/libc/nt/shell32/SHShellFolderView_Message.s b/libc/nt/shell32/SHShellFolderView_Message.s new file mode 100644 index 000000000..b6113c0c1 --- /dev/null +++ b/libc/nt/shell32/SHShellFolderView_Message.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHShellFolderView_Message,SHShellFolderView_Message,73 diff --git a/libc/nt/shell32/SHShowManageLibraryUI.s b/libc/nt/shell32/SHShowManageLibraryUI.s new file mode 100644 index 000000000..a5e6458d4 --- /dev/null +++ b/libc/nt/shell32/SHShowManageLibraryUI.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHShowManageLibraryUI,SHShowManageLibraryUI,567 diff --git a/libc/nt/shell32/SHSimpleIDListFromPath.s b/libc/nt/shell32/SHSimpleIDListFromPath.s new file mode 100644 index 000000000..40f5a62ff --- /dev/null +++ b/libc/nt/shell32/SHSimpleIDListFromPath.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHSimpleIDListFromPath,SHSimpleIDListFromPath,162 diff --git a/libc/nt/shell32/SHStartNetConnectionDialogW.s b/libc/nt/shell32/SHStartNetConnectionDialogW.s new file mode 100644 index 000000000..b0e184296 --- /dev/null +++ b/libc/nt/shell32/SHStartNetConnectionDialogW.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHStartNetConnectionDialogW,SHStartNetConnectionDialogW,14 diff --git a/libc/nt/shell32/SHTestTokenMembership.s b/libc/nt/shell32/SHTestTokenMembership.s new file mode 100644 index 000000000..26677a014 --- /dev/null +++ b/libc/nt/shell32/SHTestTokenMembership.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHTestTokenMembership,SHTestTokenMembership,245 diff --git a/libc/nt/shell32/SHUpdateImageW.s b/libc/nt/shell32/SHUpdateImageW.s new file mode 100644 index 000000000..e750e38f8 --- /dev/null +++ b/libc/nt/shell32/SHUpdateImageW.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHUpdateImageW,SHUpdateImageW,192 diff --git a/libc/nt/shell32/SHUpdateRecycleBinIcon.s b/libc/nt/shell32/SHUpdateRecycleBinIcon.s new file mode 100644 index 000000000..4173d6071 --- /dev/null +++ b/libc/nt/shell32/SHUpdateRecycleBinIcon.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHUpdateRecycleBinIcon,SHUpdateRecycleBinIcon,568 diff --git a/libc/nt/shell32/SHValidateUNC.s b/libc/nt/shell32/SHValidateUNC.s new file mode 100644 index 000000000..7ddf59963 --- /dev/null +++ b/libc/nt/shell32/SHValidateUNC.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SHValidateUNC,SHValidateUNC,173 diff --git a/libc/nt/shell32/SetCurrentProcessExplicitAppUserModelID.s b/libc/nt/shell32/SetCurrentProcessExplicitAppUserModelID.s new file mode 100644 index 000000000..b318be6b8 --- /dev/null +++ b/libc/nt/shell32/SetCurrentProcessExplicitAppUserModelID.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SetCurrentProcessExplicitAppUserModelID,SetCurrentProcessExplicitAppUserModelID,569 diff --git a/libc/nt/shell32/SheChangeDirExW.s b/libc/nt/shell32/SheChangeDirExW.s new file mode 100644 index 000000000..de54d076b --- /dev/null +++ b/libc/nt/shell32/SheChangeDirExW.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SheChangeDirExW,SheChangeDirExW,571 diff --git a/libc/nt/shell32/SheSetCurDrive.s b/libc/nt/shell32/SheSetCurDrive.s new file mode 100644 index 000000000..e8d1b5429 --- /dev/null +++ b/libc/nt/shell32/SheSetCurDrive.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SheSetCurDrive,SheSetCurDrive,573 diff --git a/libc/nt/shell32/ShellAboutW.s b/libc/nt/shell32/ShellAboutW.s new file mode 100644 index 000000000..30f19f58c --- /dev/null +++ b/libc/nt/shell32/ShellAboutW.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_ShellAboutW,ShellAboutW,575 diff --git a/libc/nt/shell32/ShellExec_RunDLL.s b/libc/nt/shell32/ShellExec_RunDLL.s new file mode 100644 index 000000000..b871a1993 --- /dev/null +++ b/libc/nt/shell32/ShellExec_RunDLL.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_ShellExec_RunDLL,ShellExec_RunDLL,576 diff --git a/libc/nt/shell32/ShellExec_RunDLLW.s b/libc/nt/shell32/ShellExec_RunDLLW.s new file mode 100644 index 000000000..10c6c505a --- /dev/null +++ b/libc/nt/shell32/ShellExec_RunDLLW.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_ShellExec_RunDLLW,ShellExec_RunDLLW,578 diff --git a/libc/nt/shell32/ShellExecuteExW.s b/libc/nt/shell32/ShellExecuteExW.s new file mode 100644 index 000000000..f672c287c --- /dev/null +++ b/libc/nt/shell32/ShellExecuteExW.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_ShellExecuteExW,ShellExecuteExW,582 diff --git a/libc/nt/shell32/ShellExecuteW.s b/libc/nt/shell32/ShellExecuteW.s new file mode 100644 index 000000000..048ff2808 --- /dev/null +++ b/libc/nt/shell32/ShellExecuteW.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_ShellExecuteW,ShellExecuteW,583 diff --git a/libc/nt/shell32/ShellHookProc.s b/libc/nt/shell32/ShellHookProc.s new file mode 100644 index 000000000..fc8856f97 --- /dev/null +++ b/libc/nt/shell32/ShellHookProc.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_ShellHookProc,ShellHookProc,584 diff --git a/libc/nt/shell32/Shell_GetCachedImageIndexW.s b/libc/nt/shell32/Shell_GetCachedImageIndexW.s new file mode 100644 index 000000000..b72b7ec41 --- /dev/null +++ b/libc/nt/shell32/Shell_GetCachedImageIndexW.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_Shell_GetCachedImageIndexW,Shell_GetCachedImageIndexW,586 diff --git a/libc/nt/shell32/Shell_GetImageLists.s b/libc/nt/shell32/Shell_GetImageLists.s new file mode 100644 index 000000000..4b16892d2 --- /dev/null +++ b/libc/nt/shell32/Shell_GetImageLists.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_Shell_GetImageLists,Shell_GetImageLists,71 diff --git a/libc/nt/shell32/Shell_MergeMenus.s b/libc/nt/shell32/Shell_MergeMenus.s new file mode 100644 index 000000000..35d09ff9c --- /dev/null +++ b/libc/nt/shell32/Shell_MergeMenus.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_Shell_MergeMenus,Shell_MergeMenus,67 diff --git a/libc/nt/shell32/Shell_NotifyIconGetRect.s b/libc/nt/shell32/Shell_NotifyIconGetRect.s new file mode 100644 index 000000000..a205fd73a --- /dev/null +++ b/libc/nt/shell32/Shell_NotifyIconGetRect.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_Shell_NotifyIconGetRect,Shell_NotifyIconGetRect,589 diff --git a/libc/nt/shell32/Shell_NotifyIconW.s b/libc/nt/shell32/Shell_NotifyIconW.s new file mode 100644 index 000000000..f8c4e81d3 --- /dev/null +++ b/libc/nt/shell32/Shell_NotifyIconW.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_Shell_NotifyIconW,Shell_NotifyIconW,590 diff --git a/libc/nt/shell32/SignalFileOpen.s b/libc/nt/shell32/SignalFileOpen.s new file mode 100644 index 000000000..68f5acd1b --- /dev/null +++ b/libc/nt/shell32/SignalFileOpen.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_SignalFileOpen,SignalFileOpen,103 diff --git a/libc/nt/shell32/StgMakeUniqueName.s b/libc/nt/shell32/StgMakeUniqueName.s new file mode 100644 index 000000000..cadc0a62d --- /dev/null +++ b/libc/nt/shell32/StgMakeUniqueName.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_StgMakeUniqueName,StgMakeUniqueName,682 diff --git a/libc/nt/shell32/UsersLibrariesFolderUI_CreateInstance.s b/libc/nt/shell32/UsersLibrariesFolderUI_CreateInstance.s new file mode 100644 index 000000000..2b3f989e6 --- /dev/null +++ b/libc/nt/shell32/UsersLibrariesFolderUI_CreateInstance.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_UsersLibrariesFolderUI_CreateInstance,UsersLibrariesFolderUI_CreateInstance,615 diff --git a/libc/nt/shell32/WOWShellExecute.s b/libc/nt/shell32/WOWShellExecute.s new file mode 100644 index 000000000..4929181d4 --- /dev/null +++ b/libc/nt/shell32/WOWShellExecute.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_WOWShellExecute,WOWShellExecute,616 diff --git a/libc/nt/shell32/WaitForExplorerRestartW.s b/libc/nt/shell32/WaitForExplorerRestartW.s new file mode 100644 index 000000000..93ff8b9ab --- /dev/null +++ b/libc/nt/shell32/WaitForExplorerRestartW.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_WaitForExplorerRestartW,WaitForExplorerRestartW,617 diff --git a/libc/nt/shell32/Win32DeleteFile.s b/libc/nt/shell32/Win32DeleteFile.s new file mode 100644 index 000000000..53a8667b5 --- /dev/null +++ b/libc/nt/shell32/Win32DeleteFile.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_Win32DeleteFile,Win32DeleteFile,164 diff --git a/libc/nt/shell32/WriteCabinetState.s b/libc/nt/shell32/WriteCabinetState.s new file mode 100644 index 000000000..3a6fcd732 --- /dev/null +++ b/libc/nt/shell32/WriteCabinetState.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp shell32,__imp_WriteCabinetState,WriteCabinetState,652 diff --git a/libc/nt/user32/IsWow64Message.s b/libc/nt/user32/IsWow64Message.s new file mode 100644 index 000000000..9d6d87ada --- /dev/null +++ b/libc/nt/user32/IsWow64Message.s @@ -0,0 +1,2 @@ +.include "o/libc/nt/codegen.inc" +.imp user32,__imp_IsWow64Message,IsWow64Message,2091 diff --git a/libc/runtime/arch_prctl.c b/libc/runtime/arch_prctl.c index 2aabdcda0..9c6b2be84 100644 --- a/libc/runtime/arch_prctl.c +++ b/libc/runtime/arch_prctl.c @@ -23,6 +23,7 @@ #include "libc/dce.h" #include "libc/nexgen32e/msr.h" #include "libc/nexgen32e/x86feature.h" +#include "libc/runtime/interruptiblecall.h" #include "libc/runtime/pc.internal.h" #include "libc/sysv/consts/sig.h" #include "libc/sysv/errfuns.h" @@ -164,12 +165,36 @@ static privileged dontinline int arch_prctl_openbsd(int code, int64_t addr) { } static char g_fsgs_once; +static struct InterruptibleCall g_fsgs_icall; /** * Don't bother. */ int arch_prctl(int code, int64_t addr) { void *fn = arch_prctl_fsgsbase; + +#if 0 + if (!g_fsgs_once) { + g_fsgs_once = true; + if (X86_HAVE(FSGSBASE)) { + g_fsgs_icall.sig = SIGILL; + if (interruptiblecall(&g_fsgs_icall, fn, code, addr, 0, 0) != -1 && + g_fsgs_icall.returnval != -1) { + /* ivybridge+ (2012) lets us change segment registers without + needing a 700ns system call. cpuid and /proc/cpuinfo will both + report it's available; unfortunately, operating systems have an + added ability to restrict this feature in %cr4, which we're not + even allowed to read lool */ + g_fsgs_once = 2; + return 0; + } + } + } + if (g_fsgs_once == 2) { + return arch_prctl_fsgsbase(code, addr); + } +#endif + switch (__hostos) { case METAL: return arch_prctl_msr(code, addr); diff --git a/libc/runtime/interruptiblecall.c b/libc/runtime/interruptiblecall.c new file mode 100644 index 000000000..e5cbd35e2 --- /dev/null +++ b/libc/runtime/interruptiblecall.c @@ -0,0 +1,74 @@ +/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ +│vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ +╞══════════════════════════════════════════════════════════════════════════════╡ +│ Copyright 2020 Justine Alexandra Roberts Tunney │ +│ │ +│ Permission to use, copy, modify, and/or distribute this software for │ +│ any purpose with or without fee is hereby granted, provided that the │ +│ above copyright notice and this permission notice appear in all copies. │ +│ │ +│ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL │ +│ WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED │ +│ WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE │ +│ AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL │ +│ DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR │ +│ PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER │ +│ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ +│ PERFORMANCE OF THIS SOFTWARE. │ +╚─────────────────────────────────────────────────────────────────────────────*/ +#include "libc/bits/safemacros.internal.h" +#include "libc/mem/mem.h" +#include "libc/runtime/interruptiblecall.h" +#include "libc/runtime/runtime.h" +#include "libc/sysv/consts/sa.h" +#include "libc/sysv/consts/sig.h" + +STATIC_YOINK("_init_onntconsoleevent"); + +static struct InterruptibleCall *g_interruptiblecall; + +wontreturn static void interruptcall(int sig) { + longjmp(g_interruptiblecall->jb, 1); + unreachable; +} + +/** + * Calls function that may be cancelled by a signal. + * + * @param state is allocated and zero'd by the caller; state→sig and + * state→sa_new.sa_mask may be set; it may be re-used w/o + * reinitializing; it may be static or heap memory; it may be stack + * memory if re-entrant behavior isn't needed + * @return the value returned by callback or -1 on interrupt; they may + * be differentiated using the state→returnval filed, which is only + * modified by this function when callbacks succeed + */ +intptr_t interruptiblecall(struct InterruptibleCall *icall, + intptr_t callback(intptr_t p1, intptr_t p2, + intptr_t p3, intptr_t p4), + intptr_t p1, intptr_t p2, intptr_t p3, intptr_t p4) { + intptr_t rc; + if (!icall->sig) icall->sig = SIGINT; + icall->sa_new.sa_handler = interruptcall; + icall->sa_new.sa_flags |= SA_RESTART | SA_RESETHAND; + if ((rc = (sigaction)(icall->sig, &icall->sa_new, &icall->sa_old)) != -1) { + icall->prev = g_interruptiblecall; + g_interruptiblecall = icall; + if (!setjmp(icall->jb)) { + icall->returnval = rc = callback(p1, p2, p3, p4); + } else { + rc = -1; + } + asm volatile("" ::: "memory"); + struct InterruptibleCall *unwind; + for (;;) { + unwind = g_interruptiblecall; + (sigaction)(unwind->sig, &unwind->sa_old, NULL); + g_interruptiblecall = unwind->prev; + if (unwind == icall) break; + free_s(&unwind); + } + icall->prev = NULL; + } + return rc; +} diff --git a/libc/runtime/interruptiblecall.h b/libc/runtime/interruptiblecall.h new file mode 100644 index 000000000..d53444eba --- /dev/null +++ b/libc/runtime/interruptiblecall.h @@ -0,0 +1,26 @@ +#ifndef COSMOPOLITAN_LIBC_RUNTIME_INTERRUPTIBLECALL_H_ +#define COSMOPOLITAN_LIBC_RUNTIME_INTERRUPTIBLECALL_H_ +#include "libc/runtime/runtime.h" +#include "libc/calls/struct/sigaction.h" +#include "libc/calls/calls.h" +#if !(__ASSEMBLER__ + __LINKER__ + 0) +COSMOPOLITAN_C_START_ + +struct InterruptibleCall { + struct InterruptibleCall *prev; + intptr_t returnval; + int sig; + int flags; + jmp_buf jb; + struct sigaction sa_new; + struct sigaction sa_old; +}; + +intptr_t interruptiblecall(struct InterruptibleCall *state, + intptr_t callback(intptr_t p1, intptr_t p2, + intptr_t p3, intptr_t p4), + intptr_t p1, intptr_t p2, intptr_t p3, intptr_t p4); + +COSMOPOLITAN_C_END_ +#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ +#endif /* COSMOPOLITAN_LIBC_RUNTIME_INTERRUPTIBLECALL_H_ */ diff --git a/libc/stdio/appendw.c b/libc/stdio/appendw.c index cdcee2e59..c85bf6b2b 100644 --- a/libc/stdio/appendw.c +++ b/libc/stdio/appendw.c @@ -18,9 +18,7 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/assert.h" #include "libc/bits/bits.h" -#include "libc/dce.h" #include "libc/macros.internal.h" -#include "libc/mem/mem.h" #include "libc/nexgen32e/bsr.h" #include "libc/stdio/append.internal.h" diff --git a/libc/stdio/clearerr.c b/libc/stdio/clearerr.c index 723847951..aa1aeed58 100644 --- a/libc/stdio/clearerr.c +++ b/libc/stdio/clearerr.c @@ -16,7 +16,6 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/stdio/lock.h" #include "libc/stdio/stdio.h" /** diff --git a/libc/stdio/dtoa.c b/libc/stdio/dtoa.c index f0c7ee86e..a098a98d1 100644 --- a/libc/stdio/dtoa.c +++ b/libc/stdio/dtoa.c @@ -29,7 +29,6 @@ #include "libc/fmt/internal.h" #include "libc/macros.internal.h" #include "libc/nexgen32e/bsr.h" -#include "libc/str/str.h" #include "third_party/gdtoa/gdtoa.h" /** @@ -294,10 +293,12 @@ int __fmt_dtoa(int (*out)(const char *, void *, size_t), void *arg, int d, if ((flags & FLAGS_ZEROPAD)) { if (sign) __FMT_PUT(sign); sign = 0; - do __FMT_PUT('0'); + do + __FMT_PUT('0'); while (--width > 0); } else - do __FMT_PUT(' '); + do + __FMT_PUT(' '); while (--width > 0); } if (sign) __FMT_PUT(sign); @@ -409,10 +410,12 @@ int __fmt_dtoa(int (*out)(const char *, void *, size_t), void *arg, int d, if ((flags & FLAGS_ZEROPAD)) { if (sign) __FMT_PUT(sign); sign = 0; - do __FMT_PUT('0'); + do + __FMT_PUT('0'); while (--width > 0); } else - do __FMT_PUT(' '); + do + __FMT_PUT(' '); while (--width > 0); } if (sign) __FMT_PUT(sign); @@ -482,14 +485,16 @@ int __fmt_dtoa(int (*out)(const char *, void *, size_t), void *arg, int d, } if ((width -= prec1) > 0 && !(flags & FLAGS_LEFT) && !(flags & FLAGS_ZEROPAD)) { - do __FMT_PUT(' '); + do + __FMT_PUT(' '); while (--width > 0); } if (sign) __FMT_PUT(sign); __FMT_PUT('0'); __FMT_PUT(alphabet[17]); if ((flags & FLAGS_ZEROPAD) && width > 0 && !(flags & FLAGS_LEFT)) { - do __FMT_PUT('0'); + do + __FMT_PUT('0'); while (--width > 0); } i1 = prec1 & 7; @@ -507,7 +512,8 @@ int __fmt_dtoa(int (*out)(const char *, void *, size_t), void *arg, int d, --prec1; } if ((flags & FLAGS_HASH) && prec > 0) { - do __FMT_PUT(0); + do + __FMT_PUT(0); while (--prec > 0); } } diff --git a/libc/stdio/dumphexc.c b/libc/stdio/dumphexc.c index e714df9ba..c359e10ca 100644 --- a/libc/stdio/dumphexc.c +++ b/libc/stdio/dumphexc.c @@ -17,7 +17,6 @@ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/macros.internal.h" -#include "libc/mem/mem.h" #include "libc/stdio/append.internal.h" #include "libc/stdio/hex.internal.h" #include "libc/str/str.h" diff --git a/libc/stdio/feof.c b/libc/stdio/feof.c index e115f9715..eeca17292 100644 --- a/libc/stdio/feof.c +++ b/libc/stdio/feof.c @@ -16,7 +16,6 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/stdio/lock.h" #include "libc/stdio/stdio.h" /** diff --git a/libc/stdio/ferror.c b/libc/stdio/ferror.c index 22b46d0c0..d11ef64f7 100644 --- a/libc/stdio/ferror.c +++ b/libc/stdio/ferror.c @@ -16,7 +16,6 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/stdio/lock.h" #include "libc/stdio/stdio.h" /** diff --git a/libc/stdio/fflush.c b/libc/stdio/fflush.c index 8f454dde7..5618a8ae4 100644 --- a/libc/stdio/fflush.c +++ b/libc/stdio/fflush.c @@ -16,7 +16,6 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/stdio/lock.h" #include "libc/stdio/stdio.h" /** diff --git a/libc/stdio/fgetc.c b/libc/stdio/fgetc.c index b04afd66c..a1efa1de1 100644 --- a/libc/stdio/fgetc.c +++ b/libc/stdio/fgetc.c @@ -16,7 +16,6 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/stdio/lock.h" #include "libc/stdio/stdio.h" /** diff --git a/libc/stdio/fgetln.c b/libc/stdio/fgetln.c index a131e9dfc..94c5643c9 100644 --- a/libc/stdio/fgetln.c +++ b/libc/stdio/fgetln.c @@ -16,7 +16,6 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/stdio/lock.h" #include "libc/stdio/stdio.h" /** diff --git a/libc/stdio/fgets.c b/libc/stdio/fgets.c index 2807ef537..3c6040838 100644 --- a/libc/stdio/fgets.c +++ b/libc/stdio/fgets.c @@ -16,7 +16,6 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/stdio/lock.h" #include "libc/stdio/stdio.h" /** diff --git a/libc/stdio/fgetwc.c b/libc/stdio/fgetwc.c index d7e1e41f8..ca5e7a8f6 100644 --- a/libc/stdio/fgetwc.c +++ b/libc/stdio/fgetwc.c @@ -16,7 +16,6 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/stdio/lock.h" #include "libc/stdio/stdio.h" /** diff --git a/libc/stdio/fgetws.c b/libc/stdio/fgetws.c index 3c96e30d9..999a769a7 100644 --- a/libc/stdio/fgetws.c +++ b/libc/stdio/fgetws.c @@ -16,7 +16,6 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/stdio/lock.h" #include "libc/stdio/stdio.h" /** diff --git a/libc/stdio/fileno.c b/libc/stdio/fileno.c index e739d1cb5..294becdbf 100644 --- a/libc/stdio/fileno.c +++ b/libc/stdio/fileno.c @@ -16,7 +16,6 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/stdio/lock.h" #include "libc/stdio/stdio.h" #include "libc/sysv/errfuns.h" diff --git a/libc/stdio/flockfile.c b/libc/stdio/flockfile.c index f1a537aeb..a1c678804 100644 --- a/libc/stdio/flockfile.c +++ b/libc/stdio/flockfile.c @@ -16,7 +16,6 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/stdio/lock.h" #include "libc/stdio/stdio.h" /** diff --git a/libc/stdio/flushlbf.c b/libc/stdio/flushlbf.c index 2df178c2a..ea5c6f4b6 100644 --- a/libc/stdio/flushlbf.c +++ b/libc/stdio/flushlbf.c @@ -20,7 +20,6 @@ #include "libc/intrin/pthread.h" #include "libc/intrin/spinlock.h" #include "libc/stdio/fflush.internal.h" -#include "libc/stdio/lock.h" #include "libc/stdio/stdio.h" #include "libc/stdio/stdio_ext.h" diff --git a/libc/stdio/fprintf.c b/libc/stdio/fprintf.c index 796394dc7..939a6cd69 100644 --- a/libc/stdio/fprintf.c +++ b/libc/stdio/fprintf.c @@ -16,7 +16,6 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/stdio/lock.h" #include "libc/stdio/stdio.h" /** diff --git a/libc/stdio/fputc.c b/libc/stdio/fputc.c index faf8af218..9a12c0e4b 100644 --- a/libc/stdio/fputc.c +++ b/libc/stdio/fputc.c @@ -16,7 +16,6 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/stdio/lock.h" #include "libc/stdio/stdio.h" /** diff --git a/libc/stdio/fputs.c b/libc/stdio/fputs.c index 85bf483e6..aef211a86 100644 --- a/libc/stdio/fputs.c +++ b/libc/stdio/fputs.c @@ -16,7 +16,6 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/stdio/lock.h" #include "libc/stdio/stdio.h" /** diff --git a/libc/stdio/fputwc.c b/libc/stdio/fputwc.c index 44afd3e04..e87b9e46b 100644 --- a/libc/stdio/fputwc.c +++ b/libc/stdio/fputwc.c @@ -16,7 +16,6 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/stdio/lock.h" #include "libc/stdio/stdio.h" /** diff --git a/libc/stdio/fputws.c b/libc/stdio/fputws.c index e93151095..b1a0ddf87 100644 --- a/libc/stdio/fputws.c +++ b/libc/stdio/fputws.c @@ -16,7 +16,6 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/stdio/lock.h" #include "libc/stdio/stdio.h" /** diff --git a/libc/stdio/fread.c b/libc/stdio/fread.c index f926a9517..d8e8c1c18 100644 --- a/libc/stdio/fread.c +++ b/libc/stdio/fread.c @@ -16,7 +16,6 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/stdio/lock.h" #include "libc/stdio/stdio.h" /** diff --git a/libc/stdio/freopen.c b/libc/stdio/freopen.c index 8799d6775..1099e79b8 100644 --- a/libc/stdio/freopen.c +++ b/libc/stdio/freopen.c @@ -17,7 +17,6 @@ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/calls/calls.h" -#include "libc/stdio/lock.h" #include "libc/stdio/stdio.h" #include "libc/sysv/consts/f.h" #include "libc/sysv/consts/fd.h" diff --git a/libc/stdio/fseeko.c b/libc/stdio/fseeko.c index b29b98c30..abd3c5f91 100644 --- a/libc/stdio/fseeko.c +++ b/libc/stdio/fseeko.c @@ -16,7 +16,6 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/stdio/lock.h" #include "libc/stdio/stdio.h" /** diff --git a/libc/stdio/ftello.c b/libc/stdio/ftello.c index 7ce952ca2..407e77a41 100644 --- a/libc/stdio/ftello.c +++ b/libc/stdio/ftello.c @@ -20,7 +20,6 @@ #include "libc/errno.h" #include "libc/runtime/runtime.h" #include "libc/stdio/internal.h" -#include "libc/stdio/lock.h" #include "libc/stdio/stdio.h" #include "libc/sysv/consts/o.h" diff --git a/libc/stdio/fwrite.c b/libc/stdio/fwrite.c index 4522b636b..44d786743 100644 --- a/libc/stdio/fwrite.c +++ b/libc/stdio/fwrite.c @@ -16,7 +16,6 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/stdio/lock.h" #include "libc/stdio/stdio.h" /** diff --git a/libc/stdio/getdelim.c b/libc/stdio/getdelim.c index 055c22ead..1bfffabfb 100644 --- a/libc/stdio/getdelim.c +++ b/libc/stdio/getdelim.c @@ -16,7 +16,6 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/stdio/lock.h" #include "libc/stdio/stdio.h" /** diff --git a/libc/stdio/getdelim_unlocked.c b/libc/stdio/getdelim_unlocked.c index 88409ce0b..3314c4379 100644 --- a/libc/stdio/getdelim_unlocked.c +++ b/libc/stdio/getdelim_unlocked.c @@ -18,7 +18,6 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/calls/calls.h" #include "libc/errno.h" -#include "libc/mem/mem.h" #include "libc/stdio/stdio.h" #include "libc/str/str.h" #include "libc/sysv/consts/o.h" diff --git a/libc/stdio/kvappendf.c b/libc/stdio/kvappendf.c index 58d87af2a..e14ea82ce 100644 --- a/libc/stdio/kvappendf.c +++ b/libc/stdio/kvappendf.c @@ -17,7 +17,6 @@ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/assert.h" -#include "libc/dce.h" #include "libc/intrin/kprintf.h" #include "libc/macros.internal.h" #include "libc/mem/mem.h" diff --git a/libc/stdio/lock.h b/libc/stdio/lock.h deleted file mode 100644 index fe38e179d..000000000 --- a/libc/stdio/lock.h +++ /dev/null @@ -1,25 +0,0 @@ -#ifndef COSMOPOLITAN_LIBC_STDIO_LOCK_H_ -#define COSMOPOLITAN_LIBC_STDIO_LOCK_H_ -#include "libc/intrin/nopl.h" -#include "libc/nexgen32e/threaded.h" -#include "libc/stdio/stdio.h" -#if !(__ASSEMBLER__ + __LINKER__ + 0) -COSMOPOLITAN_C_START_ - -void flockfile(FILE *) paramsnonnull(); -void funlockfile(FILE *) paramsnonnull(); -int ftrylockfile(FILE *) paramsnonnull(); - -#ifdef _NOPL1 -#define flockfile(f) _NOPL1("__threadcalls", flockfile, f) -#define funlockfile(f) _NOPL1("__threadcalls", funlockfile, f) -#define ftrylockfile(f) _NOPL1("__threadcalls", ftrylockfile, f) -#else -#define flockfile(f) (__threaded ? flockfile(f) : 0) -#define funlockfile(f) (__threaded ? funlockfile(f) : 0) -#define ftrylockfile(f) (__threaded ? ftrylockfile(f) : 0) -#endif - -COSMOPOLITAN_C_END_ -#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ -#endif /* COSMOPOLITAN_LIBC_STDIO_LOCK_H_ */ diff --git a/libc/stdio/mkdtemp.c b/libc/stdio/mkdtemp.c index 98f00c39b..6a9639420 100644 --- a/libc/stdio/mkdtemp.c +++ b/libc/stdio/mkdtemp.c @@ -38,11 +38,10 @@ * @raise EINVAL if template didn't end with XXXXXX */ char *mkdtemp(char *template) { - unsigned x; - int i, j, n; + int i, j, n, x; if ((n = strlen(template)) >= 6 && !memcmp(template + n - 6, "XXXXXX", 6)) { + x = rand64(); for (i = 0; i < 10; ++i) { - x = rand64(); for (j = 0; j < 6; ++j) { template[n - 6 + j] = "0123456789abcdefghijklmnopqrstuvwxyz"[x % 36]; x /= 36; diff --git a/libc/stdio/puts.c b/libc/stdio/puts.c index aafa06732..aac097891 100644 --- a/libc/stdio/puts.c +++ b/libc/stdio/puts.c @@ -16,9 +16,7 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/stdio/lock.h" #include "libc/stdio/stdio.h" -#include "libc/str/str.h" static inline int PutsImpl(const char *s, FILE *f) { size_t n, r; diff --git a/libc/stdio/rewind.c b/libc/stdio/rewind.c index d97050f43..8f655d960 100644 --- a/libc/stdio/rewind.c +++ b/libc/stdio/rewind.c @@ -17,7 +17,6 @@ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/calls/calls.h" -#include "libc/stdio/lock.h" #include "libc/stdio/stdio.h" /** diff --git a/libc/stdio/setvbuf.c b/libc/stdio/setvbuf.c index 1c2aa00eb..d6ba56932 100644 --- a/libc/stdio/setvbuf.c +++ b/libc/stdio/setvbuf.c @@ -16,8 +16,6 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/runtime/runtime.h" -#include "libc/stdio/lock.h" #include "libc/stdio/stdio.h" #include "libc/sysv/errfuns.h" diff --git a/libc/stdio/stdio.h b/libc/stdio/stdio.h index 1b232c0cd..8059adc80 100644 --- a/libc/stdio/stdio.h +++ b/libc/stdio/stdio.h @@ -1,7 +1,10 @@ #ifndef COSMOPOLITAN_LIBC_STDIO_STDIO_H_ #define COSMOPOLITAN_LIBC_STDIO_STDIO_H_ #include "libc/fmt/pflink.h" +#include "libc/intrin/nopl.h" #include "libc/intrin/pthread.h" +#include "libc/nexgen32e/threaded.h" +#include "libc/runtime/symbolic.h" #define _STDIO_H #define L_ctermid 20 @@ -127,6 +130,9 @@ int fwide(FILE *, int); │ cosmopolitan § standard i/o » without mutexes ─╬─│┼ ╚────────────────────────────────────────────────────────────────────────────│*/ +void flockfile(FILE *) paramsnonnull(); +void funlockfile(FILE *) paramsnonnull(); +int ftrylockfile(FILE *) paramsnonnull(); int getc_unlocked(FILE *) paramsnonnull(); int getchar_unlocked(void); int putc_unlocked(int, FILE *) paramsnonnull(); @@ -173,6 +179,16 @@ int vfprintf_unlocked(FILE *, const char *, va_list) #define putc_unlocked(c, f) fputc_unlocked(c, f) #define putwc_unlocked(c, f) fputwc_unlocked(c, f) +#ifdef _NOPL1 +#define flockfile(f) _NOPL1("__threadcalls", flockfile, f) +#define funlockfile(f) _NOPL1("__threadcalls", funlockfile, f) +#define ftrylockfile(f) _NOPL1("__threadcalls", ftrylockfile, f) +#else +#define flockfile(f) (__threaded ? flockfile(f) : 0) +#define funlockfile(f) (__threaded ? funlockfile(f) : 0) +#define ftrylockfile(f) (__threaded ? ftrylockfile(f) : 0) +#endif + #if defined(__GNUC__) && !defined(__STRICT_ANSI__) /* clang-format off */ #define printf(FMT, ...) (printf)(PFLINK(FMT), ##__VA_ARGS__) @@ -188,6 +204,10 @@ int vfprintf_unlocked(FILE *, const char *, va_list) /* clang-format on */ #endif +#define stdin SYMBOLIC(stdin) +#define stdout SYMBOLIC(stdout) +#define stderr SYMBOLIC(stderr) + COSMOPOLITAN_C_END_ #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ #endif /* COSMOPOLITAN_LIBC_STDIO_STDIO_H_ */ diff --git a/libc/stdio/tmpfile.c b/libc/stdio/tmpfile.c index 7da29c4a0..449d6d291 100644 --- a/libc/stdio/tmpfile.c +++ b/libc/stdio/tmpfile.c @@ -16,60 +16,31 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ +#include "libc/bits/safemacros.internal.h" #include "libc/calls/calls.h" -#include "libc/errno.h" -#include "libc/rand/rand.h" +#include "libc/fmt/fmt.h" +#include "libc/macros.internal.h" #include "libc/runtime/runtime.h" +#include "libc/stdio/stdio.h" #include "libc/stdio/temp.h" #include "libc/str/str.h" -#include "libc/sysv/consts/o.h" /** - * Opens stream backed by anonymous file. - * - * We use $TMPDIR or /tmp to create a temporary file securely, which - * will be unlink()'d before this function returns. The file content - * will be released from disk once fclose() is called. + * Creates a temporary file. * * @see mkostempsm(), kTmpPath - * @asyncsignalsafe - * @threadsafe - * @vforksafe */ FILE *tmpfile(void) { - FILE *f; - unsigned x; - int fd, i, j, e; - char path[PATH_MAX], *p; - p = path; - p = stpcpy(p, kTmpPath); - p = stpcpy(p, "tmp."); - if (program_invocation_short_name && - strlen(program_invocation_short_name) < 128) { - p = stpcpy(p, program_invocation_short_name); - *p++ = '.'; - } - for (i = 0; i < 10; ++i) { - x = rand64(); - for (j = 0; j < 6; ++j) { - p[j] = "0123456789abcdefghijklmnopqrstuvwxyz"[x % 36]; - x /= 36; - } - p[j] = 0; - e = errno; - if ((fd = open(path, O_RDWR | O_CREAT | O_EXCL, 0600)) != -1) { - unlink(path); - if ((f = fdopen(fd, "w+"))) { - return f; - } else { - close(fd); - return 0; - } - } else if (errno == EEXIST) { - errno = e; - } else { - break; + int fd; + char *tmp, *sep, tpl[PATH_MAX]; + tmp = firstnonnull(getenv("TMPDIR"), kTmpPath); + sep = !isempty(tmp) && !endswith(tmp, "/") ? "/" : ""; + if ((snprintf)(tpl, PATH_MAX, "%s%stmp.%s.XXXXXX", tmp, sep, + firstnonnull(program_invocation_short_name, "unknown")) <= + PATH_MAX) { + if ((fd = mkostemps(tpl, 0, 0)) != -1) { + return fdopen(fd, "w+"); } } - return 0; + return NULL; } diff --git a/libc/stdio/ungetc.c b/libc/stdio/ungetc.c index df066d05e..672e9dade 100644 --- a/libc/stdio/ungetc.c +++ b/libc/stdio/ungetc.c @@ -16,7 +16,6 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/stdio/lock.h" #include "libc/stdio/stdio.h" /** diff --git a/libc/stdio/ungetwc.c b/libc/stdio/ungetwc.c index f0c482c9c..3ec9f03df 100644 --- a/libc/stdio/ungetwc.c +++ b/libc/stdio/ungetwc.c @@ -16,7 +16,6 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/stdio/lock.h" #include "libc/stdio/stdio.h" /** diff --git a/libc/stdio/vappendf.c b/libc/stdio/vappendf.c index 6cdf0d7fb..139d6ffeb 100644 --- a/libc/stdio/vappendf.c +++ b/libc/stdio/vappendf.c @@ -17,7 +17,6 @@ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/assert.h" -#include "libc/dce.h" #include "libc/fmt/fmt.h" #include "libc/macros.internal.h" #include "libc/mem/mem.h" diff --git a/libc/stdio/vfprintf.c b/libc/stdio/vfprintf.c index c44db47ea..dc389902b 100644 --- a/libc/stdio/vfprintf.c +++ b/libc/stdio/vfprintf.c @@ -16,7 +16,6 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/stdio/lock.h" #include "libc/stdio/stdio.h" /** diff --git a/libc/str/str.h b/libc/str/str.h index 74a656700..577f1b0c5 100644 --- a/libc/str/str.h +++ b/libc/str/str.h @@ -1,10 +1,11 @@ #ifndef COSMOPOLITAN_LIBC_STR_STR_H_ #define COSMOPOLITAN_LIBC_STR_STR_H_ - -#define INVALID_CODEPOINT 0xfffd - #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ +/*───────────────────────────────────────────────────────────────────────────│─╗ +│ cosmopolitan § characters » usas x3.4-1967 ─╬─│┼ +╚────────────────────────────────────────────────────────────────────────────│─╝ + fourth age telecommunications */ extern const int8_t kHexToInt[256]; extern const uint8_t gperf_downcase[256]; @@ -31,6 +32,36 @@ int toupper(int); int hextoint(int); int cescapec(int); +/*───────────────────────────────────────────────────────────────────────────│─╗ +│ cosmopolitan § characters » thompson-pike encoding ─╬─│┼ +╚────────────────────────────────────────────────────────────────────────────│─╝ + fifth age telecommunications + + 0123456789abcdef + ┌0─ ☺☻♥♦♣♠•◘○◙♂♀♪♫☼┬───Control + └1─►◄↕‼¶§▬↨↑↓→←∟↔▲▼┘ + ┌2─ !"#$%&'()*+,-./┐ + │3 0123456789:;<=>?│ + │4 @ABCDEFGHIJKLMNO├───ASA x3.4-1967 + │5 PQRSTUVWXYZ[\]^_│ + │6 `abcdefghijklmno│ + └7─pqrstuvwxyz{|}~⌂┘ + ┌8─ÇüéâäàåçêëèïîìÄÅ┐ + │9 ÉæÆôöòûùÿÖÜ¢£¥€ƒ├───Thompson-Pike Continuation + │a á¡óúñѪº¿⌐¬½¼¡«»│ (not really characters) + └b─░▒▓│┤╡╢╖╕╣║╗╝╜╛┐┘ + ┌c─└┴┬├─┼╞╟╚╔╩╦╠═╬╧┬───1 Continuation will follow + └d─╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀┘ + ─e─αßΓπΣσμτΦΘΩδ∞φε∩────2 Continuations will follow + f─≡±≥≤⌠⌡÷≈°∙·√ⁿ²■λ + │ ││ │││└┤ + │ ││ │└┤ └───5 Continuations follow (and is negative) + │ │└─┬┘ └─────5 Continuations follow (note: -1=λ┐┐┐┐┐) + └───┬──┘ └────────4 Continuations follow + └──────────────3 Continuations follow */ + +#define INVALID_CODEPOINT 0xfffd + int iswalnum(wint_t); int iswalpha(wint_t); int iswblank(wint_t); @@ -47,6 +78,10 @@ int iswseparator(wint_t); wint_t towlower(wint_t); wint_t towupper(wint_t); +/*───────────────────────────────────────────────────────────────────────────│─╗ +│ cosmopolitan § strings ─╬─│┼ +╚────────────────────────────────────────────────────────────────────────────│*/ + void bzero(void *, size_t) memcpyesque; void *memset(void *, int, size_t) memcpyesque; void *memmove(void *, const void *, size_t) memcpyesque; @@ -171,6 +206,10 @@ bool _istext(const void *, size_t) libcesque; bool _isutf8(const void *, size_t) libcesque; bool _escapedos(char16_t *, unsigned, const char16_t *, unsigned) libcesque; +/*───────────────────────────────────────────────────────────────────────────│─╗ +│ cosmopolitan § strings » multibyte ─╬─│┼ +╚────────────────────────────────────────────────────────────────────────────│*/ + typedef unsigned mbstate_t; axdx_t tprecode8to16(char16_t *, size_t, const char *); @@ -217,6 +256,10 @@ typedef const int *wctrans_t; wctrans_t wctrans(const char *); wint_t towctrans(wint_t, wctrans_t); +/*───────────────────────────────────────────────────────────────────────────│─╗ +│ cosmopolitan § strings » system ─╬─│┼ +╚────────────────────────────────────────────────────────────────────────────│*/ + char *strsignal(int) returnsnonnull libcesque; char *strerror(int) returnsnonnull dontthrow nocallback; char *strerrno(int) nosideeffect libcesque; diff --git a/libc/sysv/consts.sh b/libc/sysv/consts.sh index bf6f88b7a..becdfc25c 100755 --- a/libc/sysv/consts.sh +++ b/libc/sysv/consts.sh @@ -1606,8 +1606,6 @@ syscon iff IFF_MASTER 0x0400 0 0 0 0 0 syscon iff IFF_PORTSEL 0x2000 0 0 0 0 0 syscon iff IFF_SLAVE 0x0800 0 0 0 0 0 -syscon misc CLOCKS_PER_SEC 1000000 1000000 0x80 100 100 10000000 - syscon sock SOCK_STREAM 1 1 1 1 1 1 # consensus syscon sock SOCK_DGRAM 2 2 2 2 2 2 # consensus syscon sock SOCK_RAW 3 3 3 3 3 3 # consensus @@ -1618,6 +1616,13 @@ syscon sock SOCK_NONBLOCK 0x0800 0x0800 0x20000000 0x4000 0x20000000 syscon sock SOCK_DCCP 6 0 0 0 0 0 # what is it? syscon sock SOCK_PACKET 10 0 0 0 0 0 # what is it? +syscon misc TH_FIN 1 1 1 1 1 1 # consensus +syscon misc TH_SYN 2 2 2 2 2 2 # consensus +syscon misc TH_RST 4 4 4 4 4 4 # consensus +syscon misc TH_PUSH 8 8 8 8 8 0 # unix consensus +syscon misc TH_URG 32 32 32 32 32 32 # consensus +syscon misc TH_ACK 16 16 16 16 16 16 # consensus + syscon shm SHM_R 0x0100 0x0100 0x0100 0x0100 0x0100 0 # unix consensus syscon shm SHM_RDONLY 0x1000 0x1000 0x1000 0x1000 0x1000 0 # unix consensus syscon shm SHM_RND 0x2000 0x2000 0x2000 0x2000 0x2000 0 # unix consensus @@ -1663,6 +1668,23 @@ syscon misc RPM_PCO_ADD 1 1 1 1 1 0 # unix consensus syscon misc RPM_PCO_CHANGE 2 2 2 2 2 0 # unix consensus syscon misc RPM_PCO_SETGLOBAL 3 3 3 3 3 0 # unix consensus +syscon misc _XOPEN_IOV_MAX 0x10 0x10 0x10 0x10 0x10 0 # unix consensus +syscon misc _XOPEN_ENH_I18N 1 1 -1 -1 -1 0 +syscon misc _XOPEN_UNIX 1 1 -1 -1 -1 0 +syscon misc _XOPEN_NAME_MAX 63 63 63 63 63 63 # forced consensus +syscon misc _XOPEN_PATH_MAX 255 255 255 255 255 255 # forced consensus +syscon misc _XOPEN_VERSION 700 600 0 0 0 0 +syscon misc _XOPEN_SOURCE 700 0 0 0 0 0 + +syscon misc NL_CAT_LOCALE 1 1 1 1 1 0 # unix consensus +syscon misc NL_MSGMAX 0x7fffffff 0x7fff 0x7fff 0x7fff 0x7fff 0 # bsd consensus +syscon misc NL_SETMAX 0x7fffffff 255 255 255 255 0 # bsd consensus +syscon misc NL_ARGMAX 0x1000 9 0x1000 9 9 0 +syscon misc NL_LANGMAX 0x0800 14 31 14 14 0 +syscon misc NL_TEXTMAX 0x7fffffff 0x0800 0x0800 255 255 0 +syscon misc NL_NMAX 0x7fffffff 1 1 0 0 0 +syscon misc NL_SETD 1 1 0 1 1 0 + syscon misc FSETLOCKING_QUERY 0 0 0 0 0 0 # consensus syscon misc FSETLOCKING_BYCALLER 2 0 0 0 0 0 syscon misc FSETLOCKING_INTERNAL 1 0 0 0 0 0 @@ -2103,6 +2125,437 @@ syscon nr __NR_io_uring_register 0x01ab 0xfff 0xfff 0xfff 0xfff 0xff syscon nr __NR_pledge 0xfff 0xfff 0xfff 0x006c 0xfff 0xfff syscon nr __NR_msyscall 0xfff 0xfff 0xfff 0x0025 0xfff 0xfff syscon nr __NR_ktrace 0xfff 0xfff 0x002d 0x002d 0x02d 0xfff +syscon nr __NR_kqueue 0xfff 0x200016a 0x016a 0x010d 0x158 0xfff +syscon nr __NR_kevent 0xfff 0x2000171 0x0230 0x0048 0x1b3 0xfff +syscon nr __NR_revoke 0xfff 0x2000038 0x0038 0x0038 0x038 0xfff +syscon nr __NR_setlogin 0xfff 0x2000032 0x0032 0x0032 0xfff 0xfff +syscon nr __NR_getfh 0xfff 0x20000a1 0x00a1 0x00a1 0x18b 0xfff +syscon nr __NR_chflags 0xfff 0x2000022 0x0022 0x0022 0x022 0xfff +syscon nr __NR_getfsstat 0xfff 0x200015b 0x022d 0x003e 0xfff 0xfff +syscon nr __NR_nfssvc 0xfff 0x200009b 0x009b 0x009b 0x09b 0xfff +syscon nr __NR_adjtime 0xfff 0x200008c 0x008c 0x008c 0x1a5 0xfff +syscon nr __NR_fchflags 0xfff 0x2000023 0x0023 0x0023 0x023 0xfff +syscon nr __NR_seteuid 0xfff 0x20000b7 0x00b7 0x00b7 0xfff 0xfff +syscon nr __NR_setegid 0xfff 0x20000b6 0x00b6 0x00b6 0xfff 0xfff +syscon nr __NR_fpathconf 0xfff 0x20000c0 0x00c0 0x00c0 0x0c0 0xfff +syscon nr __NR_fhopen 0xfff 0x20000f8 0x012a 0x0108 0x18c 0xfff +syscon nr __NR_unmount 0xfff 0x200009f 0x0016 0x0016 0x016 0xfff +syscon nr __NR_issetugid 0xfff 0x2000147 0x00fd 0x00fd 0xfff 0xfff +syscon nr __NR_minherit 0xfff 0x20000fa 0x00fa 0x00fa 0x111 0xfff +syscon nr __NR_pathconf 0xfff 0x20000bf 0x00bf 0x00bf 0x0bf 0xfff +syscon nr __NR_sysctl 0xfff 0x20000ca 0xfff 0x00ca 0x0ca 0xfff +syscon nr __NR_ntp_adjtime 0xfff 0x200020f 0x00b0 0xfff 0x0b0 0xfff +syscon nr __NR_ntp_gettime 0xfff 0x2000210 0x00f8 0xfff 0x1c0 0xfff +syscon nr __NR_shm_unlink 0xfff 0x200010b 0x01e3 0xfff 0xfff 0xfff +syscon nr __NR_shm_open 0xfff 0x200010a 0x01e2 0xfff 0xfff 0xfff +syscon nr __NR_aio_read 0xfff 0x200013e 0x013e 0xfff 0x192 0xfff +syscon nr __NR_aio_suspend 0xfff 0x200013b 0x013b 0xfff 0x1b6 0xfff +syscon nr __NR_aio_cancel 0xfff 0x200013c 0x013c 0xfff 0x18f 0xfff +syscon nr __NR_aio_fsync 0xfff 0x2000139 0x01d1 0xfff 0x191 0xfff +syscon nr __NR_aio_error 0xfff 0x200013d 0x013d 0xfff 0x190 0xfff +syscon nr __NR_aio_return 0xfff 0x200013a 0x013a 0xfff 0x193 0xfff +syscon nr __NR_aio_write 0xfff 0x200013f 0x013f 0xfff 0x195 0xfff +syscon nr __NR_aio_waitcomplete 0xfff 0xfff 0x0167 0xfff 0xfff 0xfff +syscon nr __NR_aio_suspend_nocancel 0xfff 0x20001a5 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_aio_mlock 0xfff 0xfff 0x021f 0xfff 0xfff 0xfff +syscon nr __NR_sigwait 0xfff 0x200014a 0x01ad 0xfff 0xfff 0xfff +syscon nr __NR_undelete 0xfff 0x20000cd 0x00cd 0xfff 0x0cd 0xfff +syscon nr __NR_getlogin 0xfff 0x2000031 0x0031 0xfff 0xfff 0xfff +syscon nr __NR_getdtablesize 0xfff 0x2000059 0x0059 0xfff 0xfff 0xfff +syscon nr __NR_setauid 0xfff 0x2000162 0x01c0 0xfff 0xfff 0xfff +syscon nr __NR_audit 0xfff 0x200015e 0x01bd 0xfff 0xfff 0xfff +syscon nr __NR_auditctl 0xfff 0x2000167 0x01c5 0xfff 0xfff 0xfff +syscon nr __NR_getaudit_addr 0xfff 0x2000165 0x01c3 0xfff 0xfff 0xfff +syscon nr __NR_getdirentries 0xfff 0x2000158 0x022a 0xfff 0xfff 0xfff +syscon nr __NR_lio_listio 0xfff 0x2000140 0x0140 0xfff 0x196 0xfff +syscon nr __NR_setaudit_addr 0xfff 0x2000166 0x01c4 0xfff 0xfff 0xfff +syscon nr __NR_getauid 0xfff 0x2000161 0x01bf 0xfff 0xfff 0xfff +syscon nr __NR_semsys 0xfff 0x20000fb 0x00a9 0xfff 0xfff 0xfff +syscon nr __NR_auditon 0xfff 0x200015f 0x01be 0xfff 0xfff 0xfff +syscon nr __NR_msgsys 0xfff 0x20000fc 0x00aa 0xfff 0xfff 0xfff +syscon nr __NR_shmsys 0xfff 0x20000fd 0x00ab 0xfff 0xfff 0xfff +syscon nr __NR_fhstat 0xfff 0xfff 0x0229 0x0126 0x1c3 0xfff +syscon nr __NR_chflagsat 0xfff 0xfff 0x021c 0x006b 0xfff 0xfff +syscon nr __NR_profil 0xfff 0xfff 0x002c 0x002c 0x02c 0xfff +syscon nr __NR_fhstatfs 0xfff 0xfff 0x022e 0x0041 0xfff 0xfff +syscon nr __NR_utrace 0xfff 0xfff 0x014f 0x00d1 0x132 0xfff +syscon nr __NR_closefrom 0xfff 0xfff 0x01fd 0x011f 0xfff 0xfff +syscon nr __NR_pthread_markcancel 0xfff 0x200014c 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_pthread_kill 0xfff 0x2000148 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_pthread_fchdir 0xfff 0x200015d 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_pthread_sigmask 0xfff 0x2000149 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_pthread_chdir 0xfff 0x200015c 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_pthread_canceled 0xfff 0x200014d 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_disable_threadsignal 0xfff 0x200014b 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_abort_with_payload 0xfff 0x2000209 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_accept_nocancel 0xfff 0x2000194 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_access_extended 0xfff 0x200011c 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_audit_session_join 0xfff 0x20001ad 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_audit_session_port 0xfff 0x20001b0 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_audit_session_self 0xfff 0x20001ac 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_bsdthread_ctl 0xfff 0x20001de 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_bsdthread_terminate 0xfff 0x2000169 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_change_fdguard_np 0xfff 0x20001bc 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_chmod_extended 0xfff 0x200011a 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_clonefileat 0xfff 0x20001ce 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_close_nocancel 0xfff 0x200018f 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_coalition 0xfff 0x20001ca 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_coalition_info 0xfff 0x20001cb 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_connect_nocancel 0xfff 0x2000199 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_connectx 0xfff 0x20001bf 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_copyfile 0xfff 0x20000e3 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_csops 0xfff 0x20000a9 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_csops_audittoken 0xfff 0x20000aa 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_csrctl 0xfff 0x20001e3 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_delete 0xfff 0x20000e2 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_disconnectx 0xfff 0x20001c0 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_exchangedata 0xfff 0x20000df 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_fchmod_extended 0xfff 0x200011b 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_fclonefileat 0xfff 0x2000205 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_fcntl_nocancel 0xfff 0x2000196 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_ffsctl 0xfff 0x20000f5 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_fgetattrlist 0xfff 0x20000e4 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_fileport_makefd 0xfff 0x20001af 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_fileport_makeport 0xfff 0x20001ae 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_fmount 0xfff 0x200020e 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_fs_snapshot 0xfff 0x2000206 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_fsctl 0xfff 0x20000f2 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_fsetattrlist 0xfff 0x20000e5 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_fstat_extended 0xfff 0x2000119 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_fsync_nocancel 0xfff 0x2000198 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_getattrlist 0xfff 0x20000dc 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_getattrlistat 0xfff 0x20001dc 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_getattrlistbulk 0xfff 0x20001cd 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_getdirentriesattr 0xfff 0x20000de 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_gethostuuid 0xfff 0x200008e 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_getsgroups 0xfff 0x2000120 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_getwgroups 0xfff 0x2000122 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_grab_pgo_data 0xfff 0x20001ed 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_guarded_close_np 0xfff 0x20001ba 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_guarded_kqueue_np 0xfff 0x20001bb 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_guarded_open_np 0xfff 0x20001b9 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_guarded_pwrite_np 0xfff 0x20001e6 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_guarded_write_np 0xfff 0x20001e5 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_guarded_writev_np 0xfff 0x20001e7 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_identitysvc 0xfff 0x2000125 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_initgroups 0xfff 0x20000f3 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_iopolicysys 0xfff 0x2000142 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_kas_info 0xfff 0x20001b7 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_kdebug_trace 0xfff 0x20000b3 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_kdebug_trace_string 0xfff 0x20000b2 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_kdebug_typefilter 0xfff 0x20000b1 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_kevent_id 0xfff 0x2000177 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_kevent_qos 0xfff 0x2000176 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_ledger 0xfff 0x2000175 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_lstat_extended 0xfff 0x2000156 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_memorystatus_control 0xfff 0x20001b8 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_memorystatus_get_level 0xfff 0x20001c5 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_microstackshot 0xfff 0x20001ec 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_mkdir_extended 0xfff 0x2000124 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_mkfifo_extended 0xfff 0x2000123 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_modwatch 0xfff 0x20000e9 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_mremap_encrypted 0xfff 0x20001e9 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_msgrcv_nocancel 0xfff 0x20001a3 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_msgsnd_nocancel 0xfff 0x20001a2 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_msync_nocancel 0xfff 0x2000195 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_necp_client_action 0xfff 0x20001f6 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_necp_match_policy 0xfff 0x20001cc 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_necp_open 0xfff 0x20001f5 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_necp_session_action 0xfff 0x200020b 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_necp_session_open 0xfff 0x200020a 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_net_qos_guideline 0xfff 0x200020d 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_netagent_trigger 0xfff 0x20001ea 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_nfsclnt 0xfff 0x20000f7 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_open_dprotected_np 0xfff 0x20000d8 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_open_extended 0xfff 0x2000115 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_open_nocancel 0xfff 0x200018e 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_openat_nocancel 0xfff 0x20001d0 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_openbyid_np 0xfff 0x20001df 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_os_fault_with_payload 0xfff 0x2000211 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_peeloff 0xfff 0x20001c1 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_persona 0xfff 0x20001ee 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_pid_hibernate 0xfff 0x20001b3 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_pid_resume 0xfff 0x20001b2 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_pid_shutdown_sockets 0xfff 0x20001b4 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_pid_suspend 0xfff 0x20001b1 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_poll_nocancel 0xfff 0x20001a1 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_pread_nocancel 0xfff 0x200019e 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_proc_info 0xfff 0x2000150 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_proc_rlimit_control 0xfff 0x20001be 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_proc_trace_log 0xfff 0x20001dd 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_proc_uuid_policy 0xfff 0x20001c4 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_process_policy 0xfff 0x2000143 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_pselect_nocancel 0xfff 0x200018b 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_psynch_cvbroad 0xfff 0x200012f 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_psynch_cvclrprepost 0xfff 0x2000138 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_psynch_cvsignal 0xfff 0x2000130 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_psynch_mutexdrop 0xfff 0x200012e 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_psynch_mutexwait 0xfff 0x200012d 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_psynch_rw_downgrade 0xfff 0x200012b 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_psynch_rw_longrdlock 0xfff 0x2000129 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_psynch_rw_rdlock 0xfff 0x2000132 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_psynch_rw_unlock 0xfff 0x2000134 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_psynch_rw_unlock2 0xfff 0x2000135 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_psynch_rw_upgrade 0xfff 0x200012c 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_psynch_rw_wrlock 0xfff 0x2000133 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_psynch_rw_yieldwrlock 0xfff 0x200012a 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_pwrite_nocancel 0xfff 0x200019f 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_read_nocancel 0xfff 0x200018c 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_readv_nocancel 0xfff 0x200019b 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_recvfrom_nocancel 0xfff 0x2000193 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_recvmsg_nocancel 0xfff 0x2000191 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_recvmsg_x 0xfff 0x20001e0 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_renameatx_np 0xfff 0x20001e8 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_searchfs 0xfff 0x20000e1 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_select_nocancel 0xfff 0x2000197 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_sem_close 0xfff 0x200010d 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_sem_open 0xfff 0x200010c 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_sem_post 0xfff 0x2000111 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_sem_trywait 0xfff 0x2000110 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_sem_unlink 0xfff 0x200010e 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_sem_wait 0xfff 0x200010f 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_sem_wait_nocancel 0xfff 0x20001a4 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_sendmsg_nocancel 0xfff 0x2000192 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_sendmsg_x 0xfff 0x20001e1 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_sendto_nocancel 0xfff 0x200019d 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_setattrlist 0xfff 0x20000dd 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_setattrlistat 0xfff 0x200020c 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_setprivexec 0xfff 0x2000098 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_setsgroups 0xfff 0x200011f 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_settid 0xfff 0x200011d 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_settid_with_pid 0xfff 0x2000137 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_setwgroups 0xfff 0x2000121 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_sfi_ctl 0xfff 0x20001c8 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_sfi_pidctl 0xfff 0x20001c9 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_shared_region_check_np 0xfff 0x2000126 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_sigsuspend_nocancel 0xfff 0x200019a 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_socket_delegate 0xfff 0x20001c2 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_stat_extended 0xfff 0x2000155 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_sysctlbyname 0xfff 0x2000112 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_system_override 0xfff 0x20001c6 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_telemetry 0xfff 0x20001c3 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_terminate_with_payload 0xfff 0x2000208 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_thread_selfcounts 0xfff 0x20000ba 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_thread_selfid 0xfff 0x2000174 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_thread_selfusage 0xfff 0x20001e2 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_ulock_wait 0xfff 0x2000203 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_ulock_wake 0xfff 0x2000204 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_umask_extended 0xfff 0x2000116 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_usrctl 0xfff 0x20001bd 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_vfs_purge 0xfff 0x20001c7 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_vm_pressure_monitor 0xfff 0x2000128 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_wait4_nocancel 0xfff 0x2000190 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_waitevent 0xfff 0x20000e8 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_waitid_nocancel 0xfff 0x20001a0 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_watchevent 0xfff 0x20000e7 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_work_interval_ctl 0xfff 0x20001f3 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_workq_kernreturn 0xfff 0x2000170 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_workq_open 0xfff 0x200016f 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_write_nocancel 0xfff 0x200018d 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_writev_nocancel 0xfff 0x200019c 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_abort2 0xfff 0xfff 0x01cf 0xfff 0xfff 0xfff +syscon nr __NR_afs3_syscall 0xfff 0xfff 0x0179 0xfff 0xfff 0xfff +syscon nr __NR_bindat 0xfff 0xfff 0x021a 0xfff 0xfff 0xfff +syscon nr __NR_break 0xfff 0xfff 0x0011 0xfff 0xfff 0xfff +syscon nr __NR_cap_enter 0xfff 0xfff 0x0204 0xfff 0xfff 0xfff +syscon nr __NR_cap_fcntls_get 0xfff 0xfff 0x0219 0xfff 0xfff 0xfff +syscon nr __NR_cap_fcntls_limit 0xfff 0xfff 0x0218 0xfff 0xfff 0xfff +syscon nr __NR_cap_getmode 0xfff 0xfff 0x0205 0xfff 0xfff 0xfff +syscon nr __NR_cap_ioctls_get 0xfff 0xfff 0x0217 0xfff 0xfff 0xfff +syscon nr __NR_cap_ioctls_limit 0xfff 0xfff 0x0216 0xfff 0xfff 0xfff +syscon nr __NR_cap_rights_limit 0xfff 0xfff 0x0215 0xfff 0xfff 0xfff +syscon nr __NR_clock_getcpuclockid2 0xfff 0xfff 0x00f7 0xfff 0x1e2 0xfff +syscon nr __NR_connectat 0xfff 0xfff 0x021b 0xfff 0xfff 0xfff +syscon nr __NR_cpuset 0xfff 0xfff 0x01e4 0xfff 0xfff 0xfff +syscon nr __NR_cpuset_getdomain 0xfff 0xfff 0x0231 0xfff 0xfff 0xfff +syscon nr __NR_cpuset_getid 0xfff 0xfff 0x01e6 0xfff 0xfff 0xfff +syscon nr __NR_cpuset_setdomain 0xfff 0xfff 0x0232 0xfff 0xfff 0xfff +syscon nr __NR_cpuset_setid 0xfff 0xfff 0x01e5 0xfff 0xfff 0xfff +syscon nr __NR_eaccess 0xfff 0xfff 0x0178 0xfff 0xfff 0xfff +syscon nr __NR_extattr_delete_fd 0xfff 0xfff 0x0175 0xfff 0x16e 0xfff +syscon nr __NR_extattr_delete_file 0xfff 0xfff 0x0166 0xfff 0x16b 0xfff +syscon nr __NR_extattr_delete_link 0xfff 0xfff 0x019e 0xfff 0x171 0xfff +syscon nr __NR_extattr_get_fd 0xfff 0xfff 0x0174 0xfff 0x16d 0xfff +syscon nr __NR_extattr_get_file 0xfff 0xfff 0x0165 0xfff 0x16a 0xfff +syscon nr __NR_extattr_get_link 0xfff 0xfff 0x019d 0xfff 0x170 0xfff +syscon nr __NR_extattr_list_fd 0xfff 0xfff 0x01b5 0xfff 0x172 0xfff +syscon nr __NR_extattr_list_file 0xfff 0xfff 0x01b6 0xfff 0x173 0xfff +syscon nr __NR_extattr_list_link 0xfff 0xfff 0x01b7 0xfff 0x174 0xfff +syscon nr __NR_extattr_set_fd 0xfff 0xfff 0x0173 0xfff 0x16c 0xfff +syscon nr __NR_extattr_set_file 0xfff 0xfff 0x0164 0xfff 0x169 0xfff +syscon nr __NR_extattr_set_link 0xfff 0xfff 0x019c 0xfff 0x16f 0xfff +syscon nr __NR_extattrctl 0xfff 0xfff 0x0163 0xfff 0x168 0xfff +syscon nr __NR_fexecve 0xfff 0xfff 0x01ec 0xfff 0x1d1 0xfff +syscon nr __NR_ffclock_getcounter 0xfff 0xfff 0x00f1 0xfff 0xfff 0xfff +syscon nr __NR_ffclock_getestimate 0xfff 0xfff 0x00f3 0xfff 0xfff 0xfff +syscon nr __NR_ffclock_setestimate 0xfff 0xfff 0x00f2 0xfff 0xfff 0xfff +syscon nr __NR_fhlink 0xfff 0xfff 0x0235 0xfff 0xfff 0xfff +syscon nr __NR_fhlinkat 0xfff 0xfff 0x0236 0xfff 0xfff 0xfff +syscon nr __NR_fhreadlink 0xfff 0xfff 0x0237 0xfff 0xfff 0xfff +syscon nr __NR_getaudit 0xfff 0xfff 0x01c1 0xfff 0xfff 0xfff +syscon nr __NR_getcontext 0xfff 0xfff 0x01a5 0xfff 0x133 0xfff +syscon nr __NR_getfhat 0xfff 0xfff 0x0234 0xfff 0xfff 0xfff +syscon nr __NR_gethostid 0xfff 0xfff 0x008e 0xfff 0xfff 0xfff +syscon nr __NR_getkerninfo 0xfff 0xfff 0x003f 0xfff 0xfff 0xfff +syscon nr __NR_getloginclass 0xfff 0xfff 0x020b 0xfff 0xfff 0xfff +syscon nr __NR_getpagesize 0xfff 0xfff 0x0040 0xfff 0xfff 0xfff +syscon nr __NR_gssd_syscall 0xfff 0xfff 0x01f9 0xfff 0xfff 0xfff +syscon nr __NR_jail 0xfff 0xfff 0x0152 0xfff 0xfff 0xfff +syscon nr __NR_jail_attach 0xfff 0xfff 0x01b4 0xfff 0xfff 0xfff +syscon nr __NR_jail_get 0xfff 0xfff 0x01fa 0xfff 0xfff 0xfff +syscon nr __NR_jail_remove 0xfff 0xfff 0x01fc 0xfff 0xfff 0xfff +syscon nr __NR_jail_set 0xfff 0xfff 0x01fb 0xfff 0xfff 0xfff +syscon nr __NR_kenv 0xfff 0xfff 0x0186 0xfff 0xfff 0xfff +syscon nr __NR_kldfind 0xfff 0xfff 0x0132 0xfff 0xfff 0xfff +syscon nr __NR_kldfirstmod 0xfff 0xfff 0x0135 0xfff 0xfff 0xfff +syscon nr __NR_kldload 0xfff 0xfff 0x0130 0xfff 0xfff 0xfff +syscon nr __NR_kldnext 0xfff 0xfff 0x0133 0xfff 0xfff 0xfff +syscon nr __NR_kldstat 0xfff 0xfff 0x0134 0xfff 0xfff 0xfff +syscon nr __NR_kldsym 0xfff 0xfff 0x0151 0xfff 0xfff 0xfff +syscon nr __NR_kldunload 0xfff 0xfff 0x0131 0xfff 0xfff 0xfff +syscon nr __NR_kldunloadf 0xfff 0xfff 0x01bc 0xfff 0xfff 0xfff +syscon nr __NR_kmq_notify 0xfff 0xfff 0x01cd 0xfff 0xfff 0xfff +syscon nr __NR_kmq_setattr 0xfff 0xfff 0x01ca 0xfff 0xfff 0xfff +syscon nr __NR_kmq_timedreceive 0xfff 0xfff 0x01cb 0xfff 0xfff 0xfff +syscon nr __NR_kmq_timedsend 0xfff 0xfff 0x01cc 0xfff 0xfff 0xfff +syscon nr __NR_kmq_unlink 0xfff 0xfff 0x01ce 0xfff 0xfff 0xfff +syscon nr __NR_ksem_close 0xfff 0xfff 0x0190 0xfff 0xfff 0xfff +syscon nr __NR_ksem_destroy 0xfff 0xfff 0x0198 0xfff 0xfff 0xfff +syscon nr __NR_ksem_getvalue 0xfff 0xfff 0x0197 0xfff 0xfff 0xfff +syscon nr __NR_ksem_init 0xfff 0xfff 0x0194 0xfff 0xfff 0xfff +syscon nr __NR_ksem_open 0xfff 0xfff 0x0195 0xfff 0xfff 0xfff +syscon nr __NR_ksem_post 0xfff 0xfff 0x0191 0xfff 0xfff 0xfff +syscon nr __NR_ksem_timedwait 0xfff 0xfff 0x01b9 0xfff 0xfff 0xfff +syscon nr __NR_ksem_trywait 0xfff 0xfff 0x0193 0xfff 0xfff 0xfff +syscon nr __NR_ksem_unlink 0xfff 0xfff 0x0196 0xfff 0xfff 0xfff +syscon nr __NR_ksem_wait 0xfff 0xfff 0x0192 0xfff 0xfff 0xfff +syscon nr __NR_ktimer_create 0xfff 0xfff 0x00eb 0xfff 0xfff 0xfff +syscon nr __NR_ktimer_delete 0xfff 0xfff 0x00ec 0xfff 0xfff 0xfff +syscon nr __NR_ktimer_getoverrun 0xfff 0xfff 0x00ef 0xfff 0xfff 0xfff +syscon nr __NR_ktimer_gettime 0xfff 0xfff 0x00ee 0xfff 0xfff 0xfff +syscon nr __NR_ktimer_settime 0xfff 0xfff 0x00ed 0xfff 0xfff 0xfff +syscon nr __NR_lchflags 0xfff 0xfff 0x0187 0xfff 0x130 0xfff +syscon nr __NR_lchmod 0xfff 0xfff 0x0112 0xfff 0x112 0xfff +syscon nr __NR_lgetfh 0xfff 0xfff 0x00a0 0xfff 0xfff 0xfff +syscon nr __NR_lpathconf 0xfff 0xfff 0x0201 0xfff 0x1f3 0xfff +syscon nr __NR_lutimes 0xfff 0xfff 0x0114 0xfff 0x1a8 0xfff +syscon nr __NR_mac_syscall 0xfff 0xfff 0x018a 0xfff 0xfff 0xfff +syscon nr __NR_modfind 0xfff 0xfff 0x012f 0xfff 0xfff 0xfff +syscon nr __NR_modfnext 0xfff 0xfff 0x012e 0xfff 0xfff 0xfff +syscon nr __NR_modnext 0xfff 0xfff 0x012c 0xfff 0xfff 0xfff +syscon nr __NR_modstat 0xfff 0xfff 0x012d 0xfff 0xfff 0xfff +syscon nr __NR_nfstat 0xfff 0xfff 0x0117 0xfff 0xfff 0xfff +syscon nr __NR_nlm_syscall 0xfff 0xfff 0x009a 0xfff 0xfff 0xfff +syscon nr __NR_nlstat 0xfff 0xfff 0x0118 0xfff 0xfff 0xfff +syscon nr __NR_nmount 0xfff 0xfff 0x017a 0xfff 0xfff 0xfff +syscon nr __NR_nnpfs_syscall 0xfff 0xfff 0x0153 0xfff 0xfff 0xfff +syscon nr __NR_nstat 0xfff 0xfff 0x0116 0xfff 0xfff 0xfff +syscon nr __NR_pdfork 0xfff 0xfff 0x0206 0xfff 0xfff 0xfff +syscon nr __NR_pdgetpid 0xfff 0xfff 0x0208 0xfff 0xfff 0xfff +syscon nr __NR_pdkill 0xfff 0xfff 0x0207 0xfff 0xfff 0xfff +syscon nr __NR_posix_openpt 0xfff 0xfff 0x01f8 0xfff 0xfff 0xfff +syscon nr __NR_procctl 0xfff 0xfff 0x0220 0xfff 0xfff 0xfff +syscon nr __NR_psynch_cvwait 0xfff 0x2000131 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_quota 0xfff 0xfff 0x0095 0xfff 0xfff 0xfff +syscon nr __NR_rctl_add_rule 0xfff 0xfff 0x0210 0xfff 0xfff 0xfff +syscon nr __NR_rctl_get_limits 0xfff 0xfff 0x020f 0xfff 0xfff 0xfff +syscon nr __NR_rctl_get_racct 0xfff 0xfff 0x020d 0xfff 0xfff 0xfff +syscon nr __NR_rctl_get_rules 0xfff 0xfff 0x020e 0xfff 0xfff 0xfff +syscon nr __NR_rctl_remove_rule 0xfff 0xfff 0x0211 0xfff 0xfff 0xfff +syscon nr __NR_recv 0xfff 0xfff 0x0066 0xfff 0xfff 0xfff +syscon nr __NR_rfork 0xfff 0xfff 0x00fb 0xfff 0xfff 0xfff +syscon nr __NR_rtprio 0xfff 0xfff 0x00a6 0xfff 0xfff 0xfff +syscon nr __NR_rtprio_thread 0xfff 0xfff 0x01d2 0xfff 0xfff 0xfff +syscon nr __NR_send 0xfff 0xfff 0x0065 0xfff 0xfff 0xfff +syscon nr __NR_setaudit 0xfff 0xfff 0x01c2 0xfff 0xfff 0xfff +syscon nr __NR_setcontext 0xfff 0xfff 0x01a6 0xfff 0x134 0xfff +syscon nr __NR_setfib 0xfff 0xfff 0x00af 0xfff 0xfff 0xfff +syscon nr __NR_sethostid 0xfff 0xfff 0x008f 0xfff 0xfff 0xfff +syscon nr __NR_setloginclass 0xfff 0xfff 0x020c 0xfff 0xfff 0xfff +syscon nr __NR_sigblock 0xfff 0xfff 0x006d 0xfff 0xfff 0xfff +syscon nr __NR_sigqueue 0xfff 0xfff 0x01c8 0xfff 0xfff 0xfff +syscon nr __NR_sigsetmask 0xfff 0xfff 0x006e 0xfff 0xfff 0xfff +syscon nr __NR_sigstack 0xfff 0xfff 0x0070 0xfff 0xfff 0xfff +syscon nr __NR_sigvec 0xfff 0xfff 0x006c 0xfff 0xfff 0xfff +syscon nr __NR_sigwaitinfo 0xfff 0xfff 0x015a 0xfff 0xfff 0xfff +syscon nr __NR_sstk 0xfff 0xfff 0x0046 0xfff 0xfff 0xfff +syscon nr __NR_swapcontext 0xfff 0xfff 0x01a7 0xfff 0xfff 0xfff +syscon nr __NR_thr_create 0xfff 0xfff 0x01ae 0xfff 0xfff 0xfff +syscon nr __NR_thr_exit 0xfff 0xfff 0x01af 0xfff 0xfff 0xfff +syscon nr __NR_thr_kill 0xfff 0xfff 0x01b1 0xfff 0xfff 0xfff +syscon nr __NR_thr_kill2 0xfff 0xfff 0x01e1 0xfff 0xfff 0xfff +syscon nr __NR_thr_self 0xfff 0xfff 0x01b0 0xfff 0xfff 0xfff +syscon nr __NR_thr_set_name 0xfff 0xfff 0x01d0 0xfff 0xfff 0xfff +syscon nr __NR_thr_suspend 0xfff 0xfff 0x01ba 0xfff 0xfff 0xfff +syscon nr __NR_thr_wake 0xfff 0xfff 0x01bb 0xfff 0xfff 0xfff +syscon nr __NR_uuidgen 0xfff 0xfff 0x0188 0xfff 0x163 0xfff +syscon nr __NR_vadvise 0xfff 0xfff 0x0048 0xfff 0xfff 0xfff +syscon nr __NR_wait 0xfff 0xfff 0x0054 0xfff 0xfff 0xfff +syscon nr __NR_wait6 0xfff 0xfff 0x0214 0xfff 0x1e1 0xfff +syscon nr __NR_yield 0xfff 0xfff 0x0141 0xfff 0xfff 0xfff +syscon nr __NR_tfork 0xfff 0xfff 0xfff 0x0008 0xfff 0xfff +syscon nr __NR_thrsleep 0xfff 0xfff 0xfff 0x005e 0xfff 0xfff +syscon nr __NR_thrwakeup 0xfff 0xfff 0xfff 0x012d 0xfff 0xfff +syscon nr __NR_threxit 0xfff 0xfff 0xfff 0x012e 0xfff 0xfff +syscon nr __NR_thrsigdivert 0xfff 0xfff 0xfff 0x012f 0xfff 0xfff +syscon nr __NR_set_tcb 0xfff 0xfff 0xfff 0x0149 0xfff 0xfff +syscon nr __NR_get_tcb 0xfff 0xfff 0xfff 0x014a 0xfff 0xfff +syscon nr __NR_adjfreq 0xfff 0xfff 0xfff 0x0131 0xfff 0xfff +syscon nr __NR_getdtablecount 0xfff 0xfff 0xfff 0x0012 0xfff 0xfff +syscon nr __NR_getlogin_r 0xfff 0xfff 0xfff 0x008d 0xfff 0xfff +syscon nr __NR_getrtable 0xfff 0xfff 0xfff 0x0137 0xfff 0xfff +syscon nr __NR_getthrid 0xfff 0xfff 0xfff 0x012b 0xfff 0xfff +syscon nr __NR_kbind 0xfff 0xfff 0xfff 0x0056 0xfff 0xfff +syscon nr __NR_mquery 0xfff 0xfff 0xfff 0x011e 0xfff 0xfff +syscon nr __NR_obreak 0xfff 0xfff 0xfff 0x0011 0x011 0xfff +syscon nr __NR_sendsyslog 0xfff 0xfff 0xfff 0x0070 0xfff 0xfff +syscon nr __NR_setrtable 0xfff 0xfff 0xfff 0x0136 0xfff 0xfff +syscon nr __NR_swapctl 0xfff 0xfff 0xfff 0x00c1 0x10f 0xfff +syscon nr __NR_thrkill 0xfff 0xfff 0xfff 0x0077 0xfff 0xfff +syscon nr __NR_unveil 0xfff 0xfff 0xfff 0x0072 0xfff 0xfff +syscon nr __NR_mac_get_link 0xfff 0x2000180 0x019a 0xfff 0xfff 0xfff +syscon nr __NR_mac_set_link 0xfff 0x2000181 0x019b 0xfff 0xfff 0xfff +syscon nr __NR_mac_get_fd 0xfff 0x2000184 0x0182 0xfff 0xfff 0xfff +syscon nr __NR_mac_get_file 0xfff 0x200017e 0x0183 0xfff 0xfff 0xfff +syscon nr __NR_mac_get_proc 0xfff 0x2000182 0x0180 0xfff 0xfff 0xfff +syscon nr __NR_mac_set_fd 0xfff 0x2000185 0x0184 0xfff 0xfff 0xfff +syscon nr __NR_mac_get_pid 0xfff 0x2000186 0x0199 0xfff 0xfff 0xfff +syscon nr __NR_mac_set_proc 0xfff 0x2000183 0x0181 0xfff 0xfff 0xfff +syscon nr __NR_mac_set_file 0xfff 0x200017f 0x0185 0xfff 0xfff 0xfff +syscon nr __NR_mac_execve 0xfff 0x200017c 0x019f 0xfff 0xfff 0xfff +syscon nr __NR_acl_get_link 0xfff 0xfff 0x01a9 0xfff 0xfff 0xfff +syscon nr __NR_sigwait_nocancel 0xfff 0x20001a6 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_cap_rights_get 0xfff 0xfff 0x0203 0xfff 0xfff 0xfff +syscon nr __NR_semwait_signal 0xfff 0x200014e 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_acl_set_link 0xfff 0xfff 0x01aa 0xfff 0xfff 0xfff +syscon nr __NR_acl_set_fd 0xfff 0xfff 0x015e 0xfff 0xfff 0xfff +syscon nr __NR_old_semwait_signal 0xfff 0x2000172 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_setugid 0xfff 0xfff 0x0176 0xfff 0xfff 0xfff +syscon nr __NR_acl_aclcheck_fd 0xfff 0xfff 0x0162 0xfff 0xfff 0xfff +syscon nr __NR_acl_get_fd 0xfff 0xfff 0x015d 0xfff 0xfff 0xfff +syscon nr __NR___sysctl 0xfff 0xfff 0x00ca 0xfff 0xfff 0xfff +syscon nr __NR_mac_getfsstat 0xfff 0x20001aa 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_mac_get_mount 0xfff 0x20001a9 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_acl_delete_link 0xfff 0xfff 0x01ab 0xfff 0xfff 0xfff +syscon nr __NR_mac_mount 0xfff 0x20001a8 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_acl_get_file 0xfff 0xfff 0x015b 0xfff 0xfff 0xfff +syscon nr __NR_acl_aclcheck_file 0xfff 0xfff 0x0161 0xfff 0xfff 0xfff +syscon nr __NR_acl_delete_fd 0xfff 0xfff 0x0160 0xfff 0xfff 0xfff +syscon nr __NR_acl_aclcheck_link 0xfff 0xfff 0x01ac 0xfff 0xfff 0xfff +syscon nr __NR___mac_syscall 0xfff 0x200017d 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_acl_set_file 0xfff 0xfff 0x015c 0xfff 0xfff 0xfff +syscon nr __NR_acl_delete_file 0xfff 0xfff 0x015f 0xfff 0xfff 0xfff +syscon nr __NR_syscall 0xfff 0xfff 0xfff 0x00c6 0xfff 0xfff +syscon nr __NR__umtx_op 0xfff 0xfff 0x01c6 0xfff 0xfff 0xfff +syscon nr __NR_semwait_signal_nocancel 0xfff 0x20001a7 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_old_semwait_signal_nocancel 0xfff 0x2000173 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_sctp_peeloff 0xfff 0xfff 0x01d7 0xfff 0xfff 0xfff +syscon nr __NR_sctp_generic_recvmsg 0xfff 0xfff 0x01da 0xfff 0xfff 0xfff +syscon nr __NR_sctp_generic_sendmsg 0xfff 0xfff 0x01d8 0xfff 0xfff 0xfff +syscon nr __NR_sctp_generic_sendmsg_iov 0xfff 0xfff 0x01d9 0xfff 0xfff 0xfff +syscon nr __NR_shared_region_map_and_slide_np 0xfff 0x20001b6 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_guarded_open_dprotected_np 0xfff 0x20001e4 0xfff 0xfff 0xfff 0xfff +syscon nr __NR_stack_snapshot_with_config 0xfff 0x20001eb 0xfff 0xfff 0xfff 0xfff # unilateral undocumented errnos # @@ -2240,6 +2693,44 @@ syscon icmp6 ICMP6_ROUTER_RENUMBERING 138 138 138 138 138 0 # unix syscon icmp6 ICMP6_RR_RESULT_FLAGS_FORBIDDEN 0x0100 0x0100 0x0100 0x0100 0x0100 0 # unix consensus syscon icmp6 ICMP6_RR_RESULT_FLAGS_OOB 0x0200 0x0200 0x0200 0x0200 0x0200 0 # unix consensus +# man fanotify(7) +syscon fan FAN_CLASS_NOTIF 0 0 0 0 0 0 # consensus +syscon fan FAN_ACCESS 1 0 0 0 0 0 +syscon fan FAN_ACCESS_PERM 0x020000 0 0 0 0 0 +syscon fan FAN_ALLOW 1 0 0 0 0 0 +syscon fan FAN_ALL_CLASS_BITS 12 0 0 0 0 0 +syscon fan FAN_ALL_EVENTS 59 0 0 0 0 0 +syscon fan FAN_ALL_INIT_FLAGS 63 0 0 0 0 0 +syscon fan FAN_ALL_MARK_FLAGS 255 0 0 0 0 0 +syscon fan FAN_ALL_OUTGOING_EVENTS 0x03403b 0 0 0 0 0 +syscon fan FAN_ALL_PERM_EVENTS 0x030000 0 0 0 0 0 +syscon fan FAN_CLASS_CONTENT 4 0 0 0 0 0 +syscon fan FAN_CLASS_PRE_CONTENT 8 0 0 0 0 0 +syscon fan FAN_CLOEXEC 1 0 0 0 0 0 +syscon fan FAN_CLOSE 24 0 0 0 0 0 +syscon fan FAN_CLOSE_NOWRITE 0x10 0 0 0 0 0 +syscon fan FAN_CLOSE_WRITE 8 0 0 0 0 0 +syscon fan FAN_DENY 2 0 0 0 0 0 +syscon fan FAN_EVENT_METADATA_LEN 24 0 0 0 0 0 +syscon fan FAN_EVENT_ON_CHILD 0x08000000 0 0 0 0 0 +syscon fan FAN_MARK_ADD 1 0 0 0 0 0 +syscon fan FAN_MARK_DONT_FOLLOW 4 0 0 0 0 0 +syscon fan FAN_MARK_FLUSH 0x80 0 0 0 0 0 +syscon fan FAN_MARK_IGNORED_MASK 0x20 0 0 0 0 0 +syscon fan FAN_MARK_IGNORED_SURV_MODIFY 0x40 0 0 0 0 0 +syscon fan FAN_MARK_MOUNT 0x10 0 0 0 0 0 +syscon fan FAN_MARK_ONLYDIR 8 0 0 0 0 0 +syscon fan FAN_MARK_REMOVE 2 0 0 0 0 0 +syscon fan FAN_MODIFY 2 0 0 0 0 0 +syscon fan FAN_NOFD -1 0 0 0 0 0 +syscon fan FAN_NONBLOCK 2 0 0 0 0 0 +syscon fan FAN_ONDIR 0x40000000 0 0 0 0 0 +syscon fan FAN_OPEN 0x20 0 0 0 0 0 +syscon fan FAN_OPEN_PERM 0x010000 0 0 0 0 0 +syscon fan FAN_Q_OVERFLOW 0x4000 0 0 0 0 0 +syscon fan FAN_UNLIMITED_MARKS 0x20 0 0 0 0 0 +syscon fan FAN_UNLIMITED_QUEUE 0x10 0 0 0 0 0 + syscon misc FIFOTYPE 54 54 54 54 54 0 # unix consensus syscon misc GRPQUOTA 1 1 1 1 1 0 # unix consensus syscon misc IF_NAMESIZE 0x10 0x10 0x10 0x10 0x10 0 # unix consensus @@ -2352,6 +2843,101 @@ syscon baud B3000000 0x100d 0 0 0 0 0 syscon baud B3500000 0x100e 0 0 0 0 0 syscon baud B4000000 0x100f 0 0 0 0 0 +syscon misc ALLOW_MEDIUM_REMOVAL 30 0 0 0 0 0 +syscon misc ASU 0 2 2 2 2 0 # bsd consensus +syscon misc ATF_NETMASK 0x20 0 0 0 0 0 +syscon misc AXSIG 0 0x10 0x10 0x10 0x10 0 # bsd consensus +syscon misc BITSPERBYTE 8 0 0 0 0 0 +syscon misc BLANK_CHECK 8 0 0 0 0 0 +syscon misc CHANGE_DEFINITION 0x40 0 0 0 0 0 +syscon misc CHARBITS 8 0 0 0 0 0 +syscon misc CHECK_CONDITION 1 0 0 0 0 0 +syscon misc CONDITION_GOOD 2 0 0 0 0 0 +syscon misc DATA_PROTECT 7 0 0 0 0 0 +syscon misc DELAYTIMER_MAX 0x7fffffff 0 0 0 0 0 +syscon misc DMAXEXP 0x0400 0 0 0 0 0 +syscon misc DMINEXP -1021 0 0 0 0 0 +syscon misc DOUBLEBITS 0x40 0 0 0 0 0 +syscon misc ERA_D_FMT 0x02002e 46 46 0 0 0 +syscon misc ERA_D_T_FMT 0x020030 47 47 0 0 0 +syscon misc ERA_T_FMT 0x020031 48 48 0 0 0 + +syscon misc FANOTIFY_METADATA_VERSION 3 0 0 0 0 0 +syscon misc FAPPEND 0x0400 8 8 8 8 0 # bsd consensus +syscon misc FASYNC 0x2000 0x40 0x40 0x40 0x40 0 # bsd consensus +syscon misc FFSYNC 0x101000 0x80 0x80 0x80 0x80 0 # bsd consensus +syscon misc FILENAME_MAX 0x1000 0x0400 0x0400 0x0400 0x0400 0 # bsd consensus +syscon misc FIOGETOWN 0x8903 0x4004667b 0x4004667b 0x4004667b 0x4004667b 0 # bsd consensus +syscon misc FIOSETOWN 0x8901 0x8004667c 0x8004667c 0x8004667c 0x8004667c 0 # bsd consensus +syscon misc FMAXEXP 0x80 0 0 0 0 0 +syscon misc FMINEXP -125 0 0 0 0 0 +syscon misc FNDELAY 0x0800 4 4 4 4 0 # bsd consensus +syscon misc FNONBLOCK 0x0800 4 4 4 4 0 # bsd consensus +syscon misc FOPEN_MAX 0x10 20 20 20 20 0 # bsd consensus +syscon misc FORMAT_UNIT 4 0 0 0 0 0 +syscon misc HARDWARE_ERROR 4 0 0 0 0 0 +syscon misc HEAD_OF_QUEUE_TAG 33 0 0 0 0 0 +syscon misc IGMP_MEMBERSHIP_QUERY 17 0 0 0 0 0 +syscon misc ILLEGAL_REQUEST 5 0 0 0 0 0 +syscon misc INITIATE_RECOVERY 15 0 0 0 0 0 +syscon misc INITIATOR_ERROR 5 0 0 0 0 0 +syscon misc INQUIRY 18 0 0 0 0 0 +syscon misc MAXHOSTNAMELEN 0x40 0x0100 0x0100 0x0100 0x0100 0 # bsd consensus +syscon misc MAXPATHLEN 255 255 255 255 255 255 # forced consensus +syscon misc MAXSYMLINKS 20 0x20 0x20 0x20 0x20 0 # bsd consensus +syscon misc MESSAGE_REJECT 7 0 0 0 0 0 +syscon misc MISCOMPARE 14 0 0 0 0 0 +syscon misc MOVE_MEDIUM 165 0 0 0 0 0 +syscon misc MTCOMPRESSION 0x20 0 0 0 0 0 +syscon misc MTFSFM 11 0 0 0 0 0 +syscon misc MTLOCK 28 0 0 0 0 0 +syscon misc MTMKPART 34 0 0 0 0 0 +syscon misc MTRAS1 14 0 0 0 0 0 +syscon misc MTRAS3 0x10 0 0 0 0 0 +syscon misc MTSETBLK 20 0 0 0 0 0 +syscon misc MTSETDENSITY 21 0 0 0 0 0 +syscon misc MTSETDRVBUFFER 24 0 0 0 0 0 +syscon misc MTSETPART 33 0 0 0 0 0 +syscon misc MTUNLOAD 31 0 0 0 0 0 +syscon misc MTUNLOCK 29 0 0 0 0 0 +syscon misc NCARGS 0x020000 0x040000 0x040000 0x040000 0x040000 0 # bsd consensus +syscon misc NGREG 23 0 0 0 0 0 +syscon misc NOGROUP -1 0xffff 0xffff 0xffff 0xffff 0 # bsd consensus +syscon misc ORDERED_QUEUE_TAG 34 0 0 0 0 0 +syscon misc ORIG_RAX 15 0 0 0 0 0 +syscon misc PRE_FETCH 52 0 0 0 0 0 +syscon misc QUEUE_FULL 20 0 0 0 0 0 +syscon misc REASSIGN_BLOCKS 7 0 0 0 0 0 +syscon misc RECEIVE_DIAGNOSTIC 28 0 0 0 0 0 +syscon misc RECOVERED_ERROR 1 0 0 0 0 0 +syscon misc RECOVER_BUFFERED_DATA 20 0 0 0 0 0 +syscon misc RELEASE_RECOVERY 0x10 0 0 0 0 0 +syscon misc REQUEST_SENSE 3 0 0 0 0 0 +syscon misc RESERVATION_CONFLICT 12 0 0 0 0 0 +syscon misc RESERVE 22 0 0 0 0 0 +syscon misc RESERVE_10 86 0 0 0 0 0 +syscon misc RESTORE_POINTERS 3 0 0 0 0 0 +syscon misc REZERO_UNIT 1 0 0 0 0 0 +syscon misc RE_DUP_MAX 0x7fff 255 255 255 255 0 # bsd consensus +syscon misc RTCF_DOREDIRECT 0x01000000 0 0 0 0 0 +syscon misc SAVE_POINTERS 2 0 0 0 0 0 +syscon misc SEM_VALUE_MAX 0x7fffffff 0x7fff 0x7fffffff 0xffffffff 0xffffffff 0 +syscon misc SEM_INFO 19 0 11 0 0 0 +syscon misc SEM_STAT 18 0 10 0 0 0 + +syscon misc SHMLBA 0 0x1000 0x1000 0x1000 0x1000 0 # bsd consensus +syscon misc SIMPLE_QUEUE_TAG 0x20 0 0 0 0 0 +syscon misc SPACE 17 0 0 0 0 0 +syscon misc START_STOP 27 0 0 0 0 0 +syscon misc STATUS_MASK 62 0 0 0 0 0 +syscon misc SWAP_FLAG_DISCARD 0x010000 0 0 0 0 0 +syscon misc SYNCHRONIZE_CACHE 53 0 0 0 0 0 +syscon misc UNIT_ATTENTION 6 0 0 0 0 0 +syscon misc UPDATE_BLOCK 61 0 0 0 0 0 +syscon misc UT_HOSTSIZE 0x0100 0x10 0 0x0100 0x0100 0 +syscon misc UT_LINESIZE 0x20 8 0 8 8 0 +syscon misc UT_NAMESIZE 0x20 8 0 0x20 0x20 0 + syscon misc WEOF 0xffffffff -1 -1 -1 -1 -1 # bsd consensus (win fake) syscon misc _LINUX_QUOTA_VERSION 2 0 0 0 0 0 syscon misc _SEM_SEMUN_UNDEFINED 1 0 0 0 0 0 @@ -2370,4 +2956,90 @@ syscon misc UL_SETFSIZE 2 2 2 0 0 0 syscon misc XATTR_CREATE 1 2 0 0 0 0 syscon misc XATTR_REPLACE 2 4 0 0 0 0 +syscon misc ACCOUNTING 9 9 0 0 0 0 +syscon misc AHZ 100 0x40 0 0x40 0x40 0 +syscon misc ALT_DIGITS 0x02002f 49 49 0 0 0 +syscon misc AM_STR 0x020026 5 5 4 4 0 +syscon misc B460800 0x1004 0 0x070800 0 0 0 +syscon misc B921600 0x1007 0 0x0e1000 0 0 0 +syscon misc BOOT_TIME 2 2 1 0 0 0 +syscon misc CHARCLASS_NAME_MAX 0x0800 14 14 0 0 0 +syscon misc CLOCKS_PER_SEC 1000000 1000000 0x80 100 100 10000000 +syscon misc CODESET 14 0 0 51 51 0 +syscon misc COLL_WEIGHTS_MAX 255 2 10 2 2 0 +syscon misc CPU_SETSIZE 0x0400 0 0x0100 0 0 0 +syscon misc CRNCYSTR 0x04000f 56 56 50 50 0 +syscon misc CRTSCTS 0x80000000 0x030000 0x030000 0x010000 0x010000 0 +syscon misc CSTATUS 0 20 20 255 255 0 +syscon misc DEAD_PROCESS 8 8 7 0 0 0 +syscon misc FNM_NOSYS -1 -1 -1 2 2 0 +syscon misc INIT_PROCESS 5 5 5 0 0 0 +syscon misc MQ_PRIO_MAX 0x8000 0 0x40 0 0 0 +syscon misc MTERASE 13 0 12 9 9 0 +syscon misc MTLOAD 30 0 19 0 0 0 +syscon misc MTRETEN 9 0 0 8 8 0 +syscon misc NEW_TIME 3 4 3 0 0 0 +syscon misc NFDBITS 0x40 0x20 0x40 0x20 0x20 0 +syscon misc NGROUPS 0x010000 0x10 0x0400 0x10 0x10 0 +syscon misc NGROUPS_MAX 0x010000 0x10 0x03ff 0x10 0x10 0 +syscon misc NOEXPR 0x050001 53 53 49 49 0 +syscon misc NOFILE 0x0100 0x0100 0x40 0x40 0x40 0 +syscon misc NOSTR 0x050003 55 55 48 48 0 +syscon misc OLD_TIME 4 3 2 0 0 0 +syscon misc PM_STR 0x020027 6 6 5 5 0 +syscon misc RADIXCHAR 0x010000 50 50 44 44 0 +syscon misc RUN_LVL 1 1 0 0 0 0 +syscon misc STA_RONLY 0xff00 0 0xff00 0 0 0 +syscon misc SYMLOOP_MAX 0 0 0 0x20 0x20 0 +syscon misc THOUSEP 0x010001 51 51 45 45 0 +syscon misc TIME_UTC 1 0 1 0 0 0 +syscon misc TMP_MAX 0x03a2f8 0x1269ae40 0x1269ae40 0x7fffffff 0x7fffffff 0 +syscon misc TSS_DTOR_ITERATIONS 0 0 4 0 0 0 +syscon misc TTY_NAME_MAX 0x20 0 0 260 260 0 +syscon misc UIO_MAXIOV 0x0400 0 0 0x0400 0x0400 0 +syscon misc USER_PROCESS 7 7 4 0 0 0 +syscon misc YESEXPR 0x050000 52 52 47 47 0 +syscon misc YESSTR 0x050002 54 54 46 46 0 + +# man inotify(7) +syscon in IN_LOOPBACKNET 127 127 127 127 127 0 # unix consensus +syscon in IN_ACCESS 1 0 0 0 0 0 +syscon in IN_ALL_EVENTS 0x0fff 0 0 0 0 0 +syscon in IN_ATTRIB 4 0 0 0 0 0 +syscon in IN_CLOEXEC 0x080000 0 0 0 0 0 +syscon in IN_CLOSE 24 0 0 0 0 0 +syscon in IN_CLOSE_NOWRITE 0x10 0 0 0 0 0 +syscon in IN_CLOSE_WRITE 8 0 0 0 0 0 +syscon in IN_CREATE 0x0100 0 0 0 0 0 +syscon in IN_DELETE 0x0200 0 0 0 0 0 +syscon in IN_DELETE_SELF 0x0400 0 0 0 0 0 +syscon in IN_DONT_FOLLOW 0x02000000 0 0 0 0 0 +syscon in IN_EXCL_UNLINK 0x04000000 0 0 0 0 0 +syscon in IN_IGNORED 0x8000 0 0 0 0 0 +syscon in IN_ISDIR 0x40000000 0 0 0 0 0 +syscon in IN_MASK_ADD 0x20000000 0 0 0 0 0 +syscon in IN_MODIFY 2 0 0 0 0 0 +syscon in IN_MOVE 192 0 0 0 0 0 +syscon in IN_MOVED_FROM 0x40 0 0 0 0 0 +syscon in IN_MOVED_TO 0x80 0 0 0 0 0 +syscon in IN_MOVE_SELF 0x0800 0 0 0 0 0 +syscon in IN_NONBLOCK 0x0800 0 0 0 0 0 +syscon in IN_ONESHOT 0x80000000 0 0 0 0 0 +syscon in IN_ONLYDIR 0x01000000 0 0 0 0 0 +syscon in IN_OPEN 0x20 0 0 0 0 0 +syscon in IN_Q_OVERFLOW 0x4000 0 0 0 0 0 +syscon in IN_UNMOUNT 0x2000 0 0 0 0 0 + +syscon nd ND_RA_FLAG_MANAGED 0x80 0x80 0x80 0x80 0x80 0x80 # consensus +syscon nd ND_RA_FLAG_OTHER 0x40 0x40 0x40 0x40 0x40 0x40 # consensus +syscon nd ND_NA_FLAG_OVERRIDE 0x20 0x20 0x20 0x20 0x20 0x20000000 # unix consensus +syscon nd ND_NA_FLAG_ROUTER 0x80 0x80 0x80 0x80 0x80 0x80000000 # unix consensus +syscon nd ND_NA_FLAG_SOLICITED 0x40 0x40 0x40 0x40 0x40 0x40000000 # unix consensus +syscon nd ND_NEIGHBOR_ADVERT 136 136 136 136 136 0 # unix consensus +syscon nd ND_NEIGHBOR_SOLICIT 135 135 135 135 135 0 # unix consensus +syscon nd ND_REDIRECT 137 137 137 137 137 0 # unix consensus +syscon nd ND_ROUTER_ADVERT 134 134 134 134 134 0 # unix consensus +syscon nd ND_ROUTER_SOLICIT 133 133 133 133 133 0 # unix consensus +syscon nd ND_RA_FLAG_HOME_AGENT 0x20 0 0 0 0 0x20 # bsd consensus + # https://youtu.be/GUQUD3IMbb4?t=85 diff --git a/libc/sysv/consts/ACCOUNTING.S b/libc/sysv/consts/ACCOUNTING.S new file mode 100644 index 000000000..5c6c3e907 --- /dev/null +++ b/libc/sysv/consts/ACCOUNTING.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,ACCOUNTING,9,9,0,0,0,0 diff --git a/libc/sysv/consts/AHZ.S b/libc/sysv/consts/AHZ.S new file mode 100644 index 000000000..314873265 --- /dev/null +++ b/libc/sysv/consts/AHZ.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,AHZ,100,0x40,0,0x40,0x40,0 diff --git a/libc/sysv/consts/ALLOW_MEDIUM_REMOVAL.S b/libc/sysv/consts/ALLOW_MEDIUM_REMOVAL.S new file mode 100644 index 000000000..5d97501a8 --- /dev/null +++ b/libc/sysv/consts/ALLOW_MEDIUM_REMOVAL.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,ALLOW_MEDIUM_REMOVAL,30,0,0,0,0,0 diff --git a/libc/sysv/consts/ALT_DIGITS.S b/libc/sysv/consts/ALT_DIGITS.S new file mode 100644 index 000000000..d10c7e339 --- /dev/null +++ b/libc/sysv/consts/ALT_DIGITS.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,ALT_DIGITS,0x02002f,49,49,0,0,0 diff --git a/libc/sysv/consts/AM_STR.S b/libc/sysv/consts/AM_STR.S new file mode 100644 index 000000000..4b75a3d96 --- /dev/null +++ b/libc/sysv/consts/AM_STR.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,AM_STR,0x020026,5,5,4,4,0 diff --git a/libc/sysv/consts/ASU.S b/libc/sysv/consts/ASU.S new file mode 100644 index 000000000..0e50957d9 --- /dev/null +++ b/libc/sysv/consts/ASU.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,ASU,0,2,2,2,2,0 diff --git a/libc/sysv/consts/ATF_NETMASK.S b/libc/sysv/consts/ATF_NETMASK.S new file mode 100644 index 000000000..8f60a3b20 --- /dev/null +++ b/libc/sysv/consts/ATF_NETMASK.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,ATF_NETMASK,0x20,0,0,0,0,0 diff --git a/libc/sysv/consts/AXSIG.S b/libc/sysv/consts/AXSIG.S new file mode 100644 index 000000000..0c9dbf9ce --- /dev/null +++ b/libc/sysv/consts/AXSIG.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,AXSIG,0,0x10,0x10,0x10,0x10,0 diff --git a/libc/sysv/consts/B460800.S b/libc/sysv/consts/B460800.S new file mode 100644 index 000000000..c8bcd1f69 --- /dev/null +++ b/libc/sysv/consts/B460800.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,B460800,0x1004,0,0x070800,0,0,0 diff --git a/libc/sysv/consts/B921600.S b/libc/sysv/consts/B921600.S new file mode 100644 index 000000000..9f878fbc3 --- /dev/null +++ b/libc/sysv/consts/B921600.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,B921600,0x1007,0,0x0e1000,0,0,0 diff --git a/libc/sysv/consts/BITSPERBYTE.S b/libc/sysv/consts/BITSPERBYTE.S new file mode 100644 index 000000000..f0c75c2f5 --- /dev/null +++ b/libc/sysv/consts/BITSPERBYTE.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,BITSPERBYTE,8,0,0,0,0,0 diff --git a/libc/sysv/consts/BLANK_CHECK.S b/libc/sysv/consts/BLANK_CHECK.S new file mode 100644 index 000000000..161ee9eae --- /dev/null +++ b/libc/sysv/consts/BLANK_CHECK.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,BLANK_CHECK,8,0,0,0,0,0 diff --git a/libc/sysv/consts/BOOT_TIME.S b/libc/sysv/consts/BOOT_TIME.S new file mode 100644 index 000000000..606029cc9 --- /dev/null +++ b/libc/sysv/consts/BOOT_TIME.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,BOOT_TIME,2,2,1,0,0,0 diff --git a/libc/sysv/consts/CHANGE_DEFINITION.S b/libc/sysv/consts/CHANGE_DEFINITION.S new file mode 100644 index 000000000..98f06897a --- /dev/null +++ b/libc/sysv/consts/CHANGE_DEFINITION.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,CHANGE_DEFINITION,0x40,0,0,0,0,0 diff --git a/libc/sysv/consts/CHARBITS.S b/libc/sysv/consts/CHARBITS.S new file mode 100644 index 000000000..02067d9d2 --- /dev/null +++ b/libc/sysv/consts/CHARBITS.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,CHARBITS,8,0,0,0,0,0 diff --git a/libc/sysv/consts/CHARCLASS_NAME_MAX.S b/libc/sysv/consts/CHARCLASS_NAME_MAX.S new file mode 100644 index 000000000..df1a54569 --- /dev/null +++ b/libc/sysv/consts/CHARCLASS_NAME_MAX.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,CHARCLASS_NAME_MAX,0x0800,14,14,0,0,0 diff --git a/libc/sysv/consts/CHECK_CONDITION.S b/libc/sysv/consts/CHECK_CONDITION.S new file mode 100644 index 000000000..be9a73d38 --- /dev/null +++ b/libc/sysv/consts/CHECK_CONDITION.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,CHECK_CONDITION,1,0,0,0,0,0 diff --git a/libc/sysv/consts/CODESET.S b/libc/sysv/consts/CODESET.S new file mode 100644 index 000000000..a62e23910 --- /dev/null +++ b/libc/sysv/consts/CODESET.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,CODESET,14,0,0,51,51,0 diff --git a/libc/sysv/consts/COLL_WEIGHTS_MAX.S b/libc/sysv/consts/COLL_WEIGHTS_MAX.S new file mode 100644 index 000000000..5b098ae50 --- /dev/null +++ b/libc/sysv/consts/COLL_WEIGHTS_MAX.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,COLL_WEIGHTS_MAX,255,2,10,2,2,0 diff --git a/libc/sysv/consts/CONDITION_GOOD.S b/libc/sysv/consts/CONDITION_GOOD.S new file mode 100644 index 000000000..b230a36f3 --- /dev/null +++ b/libc/sysv/consts/CONDITION_GOOD.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,CONDITION_GOOD,2,0,0,0,0,0 diff --git a/libc/sysv/consts/CPU_SETSIZE.S b/libc/sysv/consts/CPU_SETSIZE.S new file mode 100644 index 000000000..00ffde286 --- /dev/null +++ b/libc/sysv/consts/CPU_SETSIZE.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,CPU_SETSIZE,0x0400,0,0x0100,0,0,0 diff --git a/libc/sysv/consts/CRNCYSTR.S b/libc/sysv/consts/CRNCYSTR.S new file mode 100644 index 000000000..592091174 --- /dev/null +++ b/libc/sysv/consts/CRNCYSTR.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,CRNCYSTR,0x04000f,56,56,50,50,0 diff --git a/libc/sysv/consts/CRTSCTS.S b/libc/sysv/consts/CRTSCTS.S new file mode 100644 index 000000000..c8f2f3ab4 --- /dev/null +++ b/libc/sysv/consts/CRTSCTS.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,CRTSCTS,0x80000000,0x030000,0x030000,0x010000,0x010000,0 diff --git a/libc/sysv/consts/CSTATUS.S b/libc/sysv/consts/CSTATUS.S new file mode 100644 index 000000000..a421eeb77 --- /dev/null +++ b/libc/sysv/consts/CSTATUS.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,CSTATUS,0,20,20,255,255,0 diff --git a/libc/sysv/consts/DATA_PROTECT.S b/libc/sysv/consts/DATA_PROTECT.S new file mode 100644 index 000000000..6ef791da5 --- /dev/null +++ b/libc/sysv/consts/DATA_PROTECT.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,DATA_PROTECT,7,0,0,0,0,0 diff --git a/libc/sysv/consts/DEAD_PROCESS.S b/libc/sysv/consts/DEAD_PROCESS.S new file mode 100644 index 000000000..83c24dfa9 --- /dev/null +++ b/libc/sysv/consts/DEAD_PROCESS.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,DEAD_PROCESS,8,8,7,0,0,0 diff --git a/libc/sysv/consts/DELAYTIMER_MAX.S b/libc/sysv/consts/DELAYTIMER_MAX.S new file mode 100644 index 000000000..72d0f0fca --- /dev/null +++ b/libc/sysv/consts/DELAYTIMER_MAX.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,DELAYTIMER_MAX,0x7fffffff,0,0,0,0,0 diff --git a/libc/sysv/consts/DMAXEXP.S b/libc/sysv/consts/DMAXEXP.S new file mode 100644 index 000000000..5d73ec260 --- /dev/null +++ b/libc/sysv/consts/DMAXEXP.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,DMAXEXP,0x0400,0,0,0,0,0 diff --git a/libc/sysv/consts/DMINEXP.S b/libc/sysv/consts/DMINEXP.S new file mode 100644 index 000000000..58caa7e10 --- /dev/null +++ b/libc/sysv/consts/DMINEXP.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,DMINEXP,-1021,0,0,0,0,0 diff --git a/libc/sysv/consts/DOUBLEBITS.S b/libc/sysv/consts/DOUBLEBITS.S new file mode 100644 index 000000000..51c57b25a --- /dev/null +++ b/libc/sysv/consts/DOUBLEBITS.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,DOUBLEBITS,0x40,0,0,0,0,0 diff --git a/libc/sysv/consts/ERA_D_FMT.S b/libc/sysv/consts/ERA_D_FMT.S new file mode 100644 index 000000000..9d8c952fd --- /dev/null +++ b/libc/sysv/consts/ERA_D_FMT.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,ERA_D_FMT,0x02002e,46,46,0,0,0 diff --git a/libc/sysv/consts/ERA_D_T_FMT.S b/libc/sysv/consts/ERA_D_T_FMT.S new file mode 100644 index 000000000..c5fb1850c --- /dev/null +++ b/libc/sysv/consts/ERA_D_T_FMT.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,ERA_D_T_FMT,0x020030,47,47,0,0,0 diff --git a/libc/sysv/consts/ERA_T_FMT.S b/libc/sysv/consts/ERA_T_FMT.S new file mode 100644 index 000000000..8f798bc2d --- /dev/null +++ b/libc/sysv/consts/ERA_T_FMT.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,ERA_T_FMT,0x020031,48,48,0,0,0 diff --git a/libc/sysv/consts/FANOTIFY_METADATA_VERSION.S b/libc/sysv/consts/FANOTIFY_METADATA_VERSION.S new file mode 100644 index 000000000..7f4c8e52f --- /dev/null +++ b/libc/sysv/consts/FANOTIFY_METADATA_VERSION.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,FANOTIFY_METADATA_VERSION,3,0,0,0,0,0 diff --git a/libc/sysv/consts/FAN_ACCESS.S b/libc/sysv/consts/FAN_ACCESS.S new file mode 100644 index 000000000..89fcb5d5b --- /dev/null +++ b/libc/sysv/consts/FAN_ACCESS.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon fan,FAN_ACCESS,1,0,0,0,0,0 diff --git a/libc/sysv/consts/FAN_ACCESS_PERM.S b/libc/sysv/consts/FAN_ACCESS_PERM.S new file mode 100644 index 000000000..7e8fa5829 --- /dev/null +++ b/libc/sysv/consts/FAN_ACCESS_PERM.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon fan,FAN_ACCESS_PERM,0x020000,0,0,0,0,0 diff --git a/libc/sysv/consts/FAN_ALLOW.S b/libc/sysv/consts/FAN_ALLOW.S new file mode 100644 index 000000000..f294cad05 --- /dev/null +++ b/libc/sysv/consts/FAN_ALLOW.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon fan,FAN_ALLOW,1,0,0,0,0,0 diff --git a/libc/sysv/consts/FAN_ALL_CLASS_BITS.S b/libc/sysv/consts/FAN_ALL_CLASS_BITS.S new file mode 100644 index 000000000..2733d9160 --- /dev/null +++ b/libc/sysv/consts/FAN_ALL_CLASS_BITS.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon fan,FAN_ALL_CLASS_BITS,12,0,0,0,0,0 diff --git a/libc/sysv/consts/FAN_ALL_EVENTS.S b/libc/sysv/consts/FAN_ALL_EVENTS.S new file mode 100644 index 000000000..d8f503fb4 --- /dev/null +++ b/libc/sysv/consts/FAN_ALL_EVENTS.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon fan,FAN_ALL_EVENTS,59,0,0,0,0,0 diff --git a/libc/sysv/consts/FAN_ALL_INIT_FLAGS.S b/libc/sysv/consts/FAN_ALL_INIT_FLAGS.S new file mode 100644 index 000000000..d215b8653 --- /dev/null +++ b/libc/sysv/consts/FAN_ALL_INIT_FLAGS.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon fan,FAN_ALL_INIT_FLAGS,63,0,0,0,0,0 diff --git a/libc/sysv/consts/FAN_ALL_MARK_FLAGS.S b/libc/sysv/consts/FAN_ALL_MARK_FLAGS.S new file mode 100644 index 000000000..047be670d --- /dev/null +++ b/libc/sysv/consts/FAN_ALL_MARK_FLAGS.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon fan,FAN_ALL_MARK_FLAGS,255,0,0,0,0,0 diff --git a/libc/sysv/consts/FAN_ALL_OUTGOING_EVENTS.S b/libc/sysv/consts/FAN_ALL_OUTGOING_EVENTS.S new file mode 100644 index 000000000..4c06cbabf --- /dev/null +++ b/libc/sysv/consts/FAN_ALL_OUTGOING_EVENTS.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon fan,FAN_ALL_OUTGOING_EVENTS,0x03403b,0,0,0,0,0 diff --git a/libc/sysv/consts/FAN_ALL_PERM_EVENTS.S b/libc/sysv/consts/FAN_ALL_PERM_EVENTS.S new file mode 100644 index 000000000..ef60a71fe --- /dev/null +++ b/libc/sysv/consts/FAN_ALL_PERM_EVENTS.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon fan,FAN_ALL_PERM_EVENTS,0x030000,0,0,0,0,0 diff --git a/libc/sysv/consts/FAN_CLASS_CONTENT.S b/libc/sysv/consts/FAN_CLASS_CONTENT.S new file mode 100644 index 000000000..dca9d6575 --- /dev/null +++ b/libc/sysv/consts/FAN_CLASS_CONTENT.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon fan,FAN_CLASS_CONTENT,4,0,0,0,0,0 diff --git a/libc/sysv/consts/FAN_CLASS_NOTIF.S b/libc/sysv/consts/FAN_CLASS_NOTIF.S new file mode 100644 index 000000000..1f44737f1 --- /dev/null +++ b/libc/sysv/consts/FAN_CLASS_NOTIF.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon fan,FAN_CLASS_NOTIF,0,0,0,0,0,0 diff --git a/libc/sysv/consts/FAN_CLASS_PRE_CONTENT.S b/libc/sysv/consts/FAN_CLASS_PRE_CONTENT.S new file mode 100644 index 000000000..577119f46 --- /dev/null +++ b/libc/sysv/consts/FAN_CLASS_PRE_CONTENT.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon fan,FAN_CLASS_PRE_CONTENT,8,0,0,0,0,0 diff --git a/libc/sysv/consts/FAN_CLOEXEC.S b/libc/sysv/consts/FAN_CLOEXEC.S new file mode 100644 index 000000000..8ff5eae74 --- /dev/null +++ b/libc/sysv/consts/FAN_CLOEXEC.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon fan,FAN_CLOEXEC,1,0,0,0,0,0 diff --git a/libc/sysv/consts/FAN_CLOSE.S b/libc/sysv/consts/FAN_CLOSE.S new file mode 100644 index 000000000..193fb9a32 --- /dev/null +++ b/libc/sysv/consts/FAN_CLOSE.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon fan,FAN_CLOSE,24,0,0,0,0,0 diff --git a/libc/sysv/consts/FAN_CLOSE_NOWRITE.S b/libc/sysv/consts/FAN_CLOSE_NOWRITE.S new file mode 100644 index 000000000..35107a492 --- /dev/null +++ b/libc/sysv/consts/FAN_CLOSE_NOWRITE.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon fan,FAN_CLOSE_NOWRITE,0x10,0,0,0,0,0 diff --git a/libc/sysv/consts/FAN_CLOSE_WRITE.S b/libc/sysv/consts/FAN_CLOSE_WRITE.S new file mode 100644 index 000000000..84072b67e --- /dev/null +++ b/libc/sysv/consts/FAN_CLOSE_WRITE.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon fan,FAN_CLOSE_WRITE,8,0,0,0,0,0 diff --git a/libc/sysv/consts/FAN_DENY.S b/libc/sysv/consts/FAN_DENY.S new file mode 100644 index 000000000..3a1c42a47 --- /dev/null +++ b/libc/sysv/consts/FAN_DENY.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon fan,FAN_DENY,2,0,0,0,0,0 diff --git a/libc/sysv/consts/FAN_EVENT_METADATA_LEN.S b/libc/sysv/consts/FAN_EVENT_METADATA_LEN.S new file mode 100644 index 000000000..f2bc6b874 --- /dev/null +++ b/libc/sysv/consts/FAN_EVENT_METADATA_LEN.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon fan,FAN_EVENT_METADATA_LEN,24,0,0,0,0,0 diff --git a/libc/sysv/consts/FAN_EVENT_ON_CHILD.S b/libc/sysv/consts/FAN_EVENT_ON_CHILD.S new file mode 100644 index 000000000..26f5ac795 --- /dev/null +++ b/libc/sysv/consts/FAN_EVENT_ON_CHILD.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon fan,FAN_EVENT_ON_CHILD,0x08000000,0,0,0,0,0 diff --git a/libc/sysv/consts/FAN_MARK_ADD.S b/libc/sysv/consts/FAN_MARK_ADD.S new file mode 100644 index 000000000..590607b2c --- /dev/null +++ b/libc/sysv/consts/FAN_MARK_ADD.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon fan,FAN_MARK_ADD,1,0,0,0,0,0 diff --git a/libc/sysv/consts/FAN_MARK_DONT_FOLLOW.S b/libc/sysv/consts/FAN_MARK_DONT_FOLLOW.S new file mode 100644 index 000000000..619e88df7 --- /dev/null +++ b/libc/sysv/consts/FAN_MARK_DONT_FOLLOW.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon fan,FAN_MARK_DONT_FOLLOW,4,0,0,0,0,0 diff --git a/libc/sysv/consts/FAN_MARK_FLUSH.S b/libc/sysv/consts/FAN_MARK_FLUSH.S new file mode 100644 index 000000000..012bb5a2e --- /dev/null +++ b/libc/sysv/consts/FAN_MARK_FLUSH.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon fan,FAN_MARK_FLUSH,0x80,0,0,0,0,0 diff --git a/libc/sysv/consts/FAN_MARK_IGNORED_MASK.S b/libc/sysv/consts/FAN_MARK_IGNORED_MASK.S new file mode 100644 index 000000000..46cb2e497 --- /dev/null +++ b/libc/sysv/consts/FAN_MARK_IGNORED_MASK.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon fan,FAN_MARK_IGNORED_MASK,0x20,0,0,0,0,0 diff --git a/libc/sysv/consts/FAN_MARK_IGNORED_SURV_MODIFY.S b/libc/sysv/consts/FAN_MARK_IGNORED_SURV_MODIFY.S new file mode 100644 index 000000000..ed99e04b0 --- /dev/null +++ b/libc/sysv/consts/FAN_MARK_IGNORED_SURV_MODIFY.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon fan,FAN_MARK_IGNORED_SURV_MODIFY,0x40,0,0,0,0,0 diff --git a/libc/sysv/consts/FAN_MARK_MOUNT.S b/libc/sysv/consts/FAN_MARK_MOUNT.S new file mode 100644 index 000000000..2a1977196 --- /dev/null +++ b/libc/sysv/consts/FAN_MARK_MOUNT.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon fan,FAN_MARK_MOUNT,0x10,0,0,0,0,0 diff --git a/libc/sysv/consts/FAN_MARK_ONLYDIR.S b/libc/sysv/consts/FAN_MARK_ONLYDIR.S new file mode 100644 index 000000000..949b25813 --- /dev/null +++ b/libc/sysv/consts/FAN_MARK_ONLYDIR.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon fan,FAN_MARK_ONLYDIR,8,0,0,0,0,0 diff --git a/libc/sysv/consts/FAN_MARK_REMOVE.S b/libc/sysv/consts/FAN_MARK_REMOVE.S new file mode 100644 index 000000000..0334f89e7 --- /dev/null +++ b/libc/sysv/consts/FAN_MARK_REMOVE.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon fan,FAN_MARK_REMOVE,2,0,0,0,0,0 diff --git a/libc/sysv/consts/FAN_MODIFY.S b/libc/sysv/consts/FAN_MODIFY.S new file mode 100644 index 000000000..20a44d32f --- /dev/null +++ b/libc/sysv/consts/FAN_MODIFY.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon fan,FAN_MODIFY,2,0,0,0,0,0 diff --git a/libc/sysv/consts/FAN_NOFD.S b/libc/sysv/consts/FAN_NOFD.S new file mode 100644 index 000000000..e2899bd33 --- /dev/null +++ b/libc/sysv/consts/FAN_NOFD.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon fan,FAN_NOFD,-1,0,0,0,0,0 diff --git a/libc/sysv/consts/FAN_NONBLOCK.S b/libc/sysv/consts/FAN_NONBLOCK.S new file mode 100644 index 000000000..3e3e9ec30 --- /dev/null +++ b/libc/sysv/consts/FAN_NONBLOCK.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon fan,FAN_NONBLOCK,2,0,0,0,0,0 diff --git a/libc/sysv/consts/FAN_ONDIR.S b/libc/sysv/consts/FAN_ONDIR.S new file mode 100644 index 000000000..1f9189b71 --- /dev/null +++ b/libc/sysv/consts/FAN_ONDIR.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon fan,FAN_ONDIR,0x40000000,0,0,0,0,0 diff --git a/libc/sysv/consts/FAN_OPEN.S b/libc/sysv/consts/FAN_OPEN.S new file mode 100644 index 000000000..165b117aa --- /dev/null +++ b/libc/sysv/consts/FAN_OPEN.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon fan,FAN_OPEN,0x20,0,0,0,0,0 diff --git a/libc/sysv/consts/FAN_OPEN_PERM.S b/libc/sysv/consts/FAN_OPEN_PERM.S new file mode 100644 index 000000000..d94632491 --- /dev/null +++ b/libc/sysv/consts/FAN_OPEN_PERM.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon fan,FAN_OPEN_PERM,0x010000,0,0,0,0,0 diff --git a/libc/sysv/consts/FAN_Q_OVERFLOW.S b/libc/sysv/consts/FAN_Q_OVERFLOW.S new file mode 100644 index 000000000..7bb0af489 --- /dev/null +++ b/libc/sysv/consts/FAN_Q_OVERFLOW.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon fan,FAN_Q_OVERFLOW,0x4000,0,0,0,0,0 diff --git a/libc/sysv/consts/FAN_UNLIMITED_MARKS.S b/libc/sysv/consts/FAN_UNLIMITED_MARKS.S new file mode 100644 index 000000000..a9e0433b5 --- /dev/null +++ b/libc/sysv/consts/FAN_UNLIMITED_MARKS.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon fan,FAN_UNLIMITED_MARKS,0x20,0,0,0,0,0 diff --git a/libc/sysv/consts/FAN_UNLIMITED_QUEUE.S b/libc/sysv/consts/FAN_UNLIMITED_QUEUE.S new file mode 100644 index 000000000..38952f046 --- /dev/null +++ b/libc/sysv/consts/FAN_UNLIMITED_QUEUE.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon fan,FAN_UNLIMITED_QUEUE,0x10,0,0,0,0,0 diff --git a/libc/sysv/consts/FAPPEND.S b/libc/sysv/consts/FAPPEND.S new file mode 100644 index 000000000..426994b5c --- /dev/null +++ b/libc/sysv/consts/FAPPEND.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,FAPPEND,0x0400,8,8,8,8,0 diff --git a/libc/sysv/consts/FASYNC.S b/libc/sysv/consts/FASYNC.S new file mode 100644 index 000000000..9b4bb05cc --- /dev/null +++ b/libc/sysv/consts/FASYNC.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,FASYNC,0x2000,0x40,0x40,0x40,0x40,0 diff --git a/libc/sysv/consts/FFSYNC.S b/libc/sysv/consts/FFSYNC.S new file mode 100644 index 000000000..c20c4f5bb --- /dev/null +++ b/libc/sysv/consts/FFSYNC.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,FFSYNC,0x101000,0x80,0x80,0x80,0x80,0 diff --git a/libc/sysv/consts/FILENAME_MAX.S b/libc/sysv/consts/FILENAME_MAX.S new file mode 100644 index 000000000..ee712eff9 --- /dev/null +++ b/libc/sysv/consts/FILENAME_MAX.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,FILENAME_MAX,0x1000,0x0400,0x0400,0x0400,0x0400,0 diff --git a/libc/sysv/consts/FIOGETOWN.S b/libc/sysv/consts/FIOGETOWN.S new file mode 100644 index 000000000..c67f67264 --- /dev/null +++ b/libc/sysv/consts/FIOGETOWN.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,FIOGETOWN,0x8903,0x4004667b,0x4004667b,0x4004667b,0x4004667b,0 diff --git a/libc/sysv/consts/FIOSETOWN.S b/libc/sysv/consts/FIOSETOWN.S new file mode 100644 index 000000000..669c57ecd --- /dev/null +++ b/libc/sysv/consts/FIOSETOWN.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,FIOSETOWN,0x8901,0x8004667c,0x8004667c,0x8004667c,0x8004667c,0 diff --git a/libc/sysv/consts/FMAXEXP.S b/libc/sysv/consts/FMAXEXP.S new file mode 100644 index 000000000..55fb20036 --- /dev/null +++ b/libc/sysv/consts/FMAXEXP.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,FMAXEXP,0x80,0,0,0,0,0 diff --git a/libc/sysv/consts/FMINEXP.S b/libc/sysv/consts/FMINEXP.S new file mode 100644 index 000000000..150bca9e2 --- /dev/null +++ b/libc/sysv/consts/FMINEXP.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,FMINEXP,-125,0,0,0,0,0 diff --git a/libc/sysv/consts/FNDELAY.S b/libc/sysv/consts/FNDELAY.S new file mode 100644 index 000000000..74d7685a5 --- /dev/null +++ b/libc/sysv/consts/FNDELAY.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,FNDELAY,0x0800,4,4,4,4,0 diff --git a/libc/sysv/consts/FNM_NOSYS.S b/libc/sysv/consts/FNM_NOSYS.S new file mode 100644 index 000000000..dfc67da49 --- /dev/null +++ b/libc/sysv/consts/FNM_NOSYS.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,FNM_NOSYS,-1,-1,-1,2,2,0 diff --git a/libc/sysv/consts/FNONBLOCK.S b/libc/sysv/consts/FNONBLOCK.S new file mode 100644 index 000000000..d0e38749e --- /dev/null +++ b/libc/sysv/consts/FNONBLOCK.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,FNONBLOCK,0x0800,4,4,4,4,0 diff --git a/libc/sysv/consts/FOPEN_MAX.S b/libc/sysv/consts/FOPEN_MAX.S new file mode 100644 index 000000000..6f97fb15b --- /dev/null +++ b/libc/sysv/consts/FOPEN_MAX.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,FOPEN_MAX,0x10,20,20,20,20,0 diff --git a/libc/sysv/consts/FORMAT_UNIT.S b/libc/sysv/consts/FORMAT_UNIT.S new file mode 100644 index 000000000..50e342f1d --- /dev/null +++ b/libc/sysv/consts/FORMAT_UNIT.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,FORMAT_UNIT,4,0,0,0,0,0 diff --git a/libc/sysv/consts/HARDWARE_ERROR.S b/libc/sysv/consts/HARDWARE_ERROR.S new file mode 100644 index 000000000..42e1dc3d5 --- /dev/null +++ b/libc/sysv/consts/HARDWARE_ERROR.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,HARDWARE_ERROR,4,0,0,0,0,0 diff --git a/libc/sysv/consts/HEAD_OF_QUEUE_TAG.S b/libc/sysv/consts/HEAD_OF_QUEUE_TAG.S new file mode 100644 index 000000000..317dcfe74 --- /dev/null +++ b/libc/sysv/consts/HEAD_OF_QUEUE_TAG.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,HEAD_OF_QUEUE_TAG,33,0,0,0,0,0 diff --git a/libc/sysv/consts/IGMP_MEMBERSHIP_QUERY.S b/libc/sysv/consts/IGMP_MEMBERSHIP_QUERY.S new file mode 100644 index 000000000..b0199a997 --- /dev/null +++ b/libc/sysv/consts/IGMP_MEMBERSHIP_QUERY.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,IGMP_MEMBERSHIP_QUERY,17,0,0,0,0,0 diff --git a/libc/sysv/consts/ILLEGAL_REQUEST.S b/libc/sysv/consts/ILLEGAL_REQUEST.S new file mode 100644 index 000000000..8499d0492 --- /dev/null +++ b/libc/sysv/consts/ILLEGAL_REQUEST.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,ILLEGAL_REQUEST,5,0,0,0,0,0 diff --git a/libc/sysv/consts/INITIATE_RECOVERY.S b/libc/sysv/consts/INITIATE_RECOVERY.S new file mode 100644 index 000000000..986a59f78 --- /dev/null +++ b/libc/sysv/consts/INITIATE_RECOVERY.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,INITIATE_RECOVERY,15,0,0,0,0,0 diff --git a/libc/sysv/consts/INITIATOR_ERROR.S b/libc/sysv/consts/INITIATOR_ERROR.S new file mode 100644 index 000000000..441781290 --- /dev/null +++ b/libc/sysv/consts/INITIATOR_ERROR.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,INITIATOR_ERROR,5,0,0,0,0,0 diff --git a/libc/sysv/consts/INIT_PROCESS.S b/libc/sysv/consts/INIT_PROCESS.S new file mode 100644 index 000000000..85334fa5d --- /dev/null +++ b/libc/sysv/consts/INIT_PROCESS.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,INIT_PROCESS,5,5,5,0,0,0 diff --git a/libc/sysv/consts/INQUIRY.S b/libc/sysv/consts/INQUIRY.S new file mode 100644 index 000000000..c8562025a --- /dev/null +++ b/libc/sysv/consts/INQUIRY.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,INQUIRY,18,0,0,0,0,0 diff --git a/libc/sysv/consts/IN_ACCESS.S b/libc/sysv/consts/IN_ACCESS.S new file mode 100644 index 000000000..a23dfe77e --- /dev/null +++ b/libc/sysv/consts/IN_ACCESS.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon in,IN_ACCESS,1,0,0,0,0,0 diff --git a/libc/sysv/consts/IN_ALL_EVENTS.S b/libc/sysv/consts/IN_ALL_EVENTS.S new file mode 100644 index 000000000..57a44f852 --- /dev/null +++ b/libc/sysv/consts/IN_ALL_EVENTS.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon in,IN_ALL_EVENTS,0x0fff,0,0,0,0,0 diff --git a/libc/sysv/consts/IN_ATTRIB.S b/libc/sysv/consts/IN_ATTRIB.S new file mode 100644 index 000000000..bc5a3b6f0 --- /dev/null +++ b/libc/sysv/consts/IN_ATTRIB.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon in,IN_ATTRIB,4,0,0,0,0,0 diff --git a/libc/sysv/consts/IN_CLOEXEC.S b/libc/sysv/consts/IN_CLOEXEC.S new file mode 100644 index 000000000..f482a6c01 --- /dev/null +++ b/libc/sysv/consts/IN_CLOEXEC.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon in,IN_CLOEXEC,0x080000,0,0,0,0,0 diff --git a/libc/sysv/consts/IN_CLOSE.S b/libc/sysv/consts/IN_CLOSE.S new file mode 100644 index 000000000..c209e9479 --- /dev/null +++ b/libc/sysv/consts/IN_CLOSE.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon in,IN_CLOSE,24,0,0,0,0,0 diff --git a/libc/sysv/consts/IN_CLOSE_NOWRITE.S b/libc/sysv/consts/IN_CLOSE_NOWRITE.S new file mode 100644 index 000000000..32e949220 --- /dev/null +++ b/libc/sysv/consts/IN_CLOSE_NOWRITE.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon in,IN_CLOSE_NOWRITE,0x10,0,0,0,0,0 diff --git a/libc/sysv/consts/IN_CLOSE_WRITE.S b/libc/sysv/consts/IN_CLOSE_WRITE.S new file mode 100644 index 000000000..09b3d0ad5 --- /dev/null +++ b/libc/sysv/consts/IN_CLOSE_WRITE.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon in,IN_CLOSE_WRITE,8,0,0,0,0,0 diff --git a/libc/sysv/consts/IN_CREATE.S b/libc/sysv/consts/IN_CREATE.S new file mode 100644 index 000000000..3e7a2af52 --- /dev/null +++ b/libc/sysv/consts/IN_CREATE.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon in,IN_CREATE,0x0100,0,0,0,0,0 diff --git a/libc/sysv/consts/IN_DELETE.S b/libc/sysv/consts/IN_DELETE.S new file mode 100644 index 000000000..d9ed0eb9c --- /dev/null +++ b/libc/sysv/consts/IN_DELETE.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon in,IN_DELETE,0x0200,0,0,0,0,0 diff --git a/libc/sysv/consts/IN_DELETE_SELF.S b/libc/sysv/consts/IN_DELETE_SELF.S new file mode 100644 index 000000000..cd736d454 --- /dev/null +++ b/libc/sysv/consts/IN_DELETE_SELF.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon in,IN_DELETE_SELF,0x0400,0,0,0,0,0 diff --git a/libc/sysv/consts/IN_DONT_FOLLOW.S b/libc/sysv/consts/IN_DONT_FOLLOW.S new file mode 100644 index 000000000..097df0182 --- /dev/null +++ b/libc/sysv/consts/IN_DONT_FOLLOW.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon in,IN_DONT_FOLLOW,0x02000000,0,0,0,0,0 diff --git a/libc/sysv/consts/IN_EXCL_UNLINK.S b/libc/sysv/consts/IN_EXCL_UNLINK.S new file mode 100644 index 000000000..983c24e1f --- /dev/null +++ b/libc/sysv/consts/IN_EXCL_UNLINK.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon in,IN_EXCL_UNLINK,0x04000000,0,0,0,0,0 diff --git a/libc/sysv/consts/IN_IGNORED.S b/libc/sysv/consts/IN_IGNORED.S new file mode 100644 index 000000000..1b7a4bcac --- /dev/null +++ b/libc/sysv/consts/IN_IGNORED.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon in,IN_IGNORED,0x8000,0,0,0,0,0 diff --git a/libc/sysv/consts/IN_ISDIR.S b/libc/sysv/consts/IN_ISDIR.S new file mode 100644 index 000000000..8c4a52805 --- /dev/null +++ b/libc/sysv/consts/IN_ISDIR.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon in,IN_ISDIR,0x40000000,0,0,0,0,0 diff --git a/libc/sysv/consts/IN_LOOPBACKNET.S b/libc/sysv/consts/IN_LOOPBACKNET.S new file mode 100644 index 000000000..e0d6df868 --- /dev/null +++ b/libc/sysv/consts/IN_LOOPBACKNET.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon in,IN_LOOPBACKNET,127,127,127,127,127,0 diff --git a/libc/sysv/consts/IN_MASK_ADD.S b/libc/sysv/consts/IN_MASK_ADD.S new file mode 100644 index 000000000..1d56ed541 --- /dev/null +++ b/libc/sysv/consts/IN_MASK_ADD.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon in,IN_MASK_ADD,0x20000000,0,0,0,0,0 diff --git a/libc/sysv/consts/IN_MODIFY.S b/libc/sysv/consts/IN_MODIFY.S new file mode 100644 index 000000000..73368174e --- /dev/null +++ b/libc/sysv/consts/IN_MODIFY.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon in,IN_MODIFY,2,0,0,0,0,0 diff --git a/libc/sysv/consts/IN_MOVE.S b/libc/sysv/consts/IN_MOVE.S new file mode 100644 index 000000000..5c60a3dc0 --- /dev/null +++ b/libc/sysv/consts/IN_MOVE.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon in,IN_MOVE,192,0,0,0,0,0 diff --git a/libc/sysv/consts/IN_MOVED_FROM.S b/libc/sysv/consts/IN_MOVED_FROM.S new file mode 100644 index 000000000..24617c940 --- /dev/null +++ b/libc/sysv/consts/IN_MOVED_FROM.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon in,IN_MOVED_FROM,0x40,0,0,0,0,0 diff --git a/libc/sysv/consts/IN_MOVED_TO.S b/libc/sysv/consts/IN_MOVED_TO.S new file mode 100644 index 000000000..af253567e --- /dev/null +++ b/libc/sysv/consts/IN_MOVED_TO.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon in,IN_MOVED_TO,0x80,0,0,0,0,0 diff --git a/libc/sysv/consts/IN_MOVE_SELF.S b/libc/sysv/consts/IN_MOVE_SELF.S new file mode 100644 index 000000000..5b22a412a --- /dev/null +++ b/libc/sysv/consts/IN_MOVE_SELF.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon in,IN_MOVE_SELF,0x0800,0,0,0,0,0 diff --git a/libc/sysv/consts/IN_NONBLOCK.S b/libc/sysv/consts/IN_NONBLOCK.S new file mode 100644 index 000000000..0cb3e9418 --- /dev/null +++ b/libc/sysv/consts/IN_NONBLOCK.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon in,IN_NONBLOCK,0x0800,0,0,0,0,0 diff --git a/libc/sysv/consts/IN_ONESHOT.S b/libc/sysv/consts/IN_ONESHOT.S new file mode 100644 index 000000000..561c7858a --- /dev/null +++ b/libc/sysv/consts/IN_ONESHOT.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon in,IN_ONESHOT,0x80000000,0,0,0,0,0 diff --git a/libc/sysv/consts/IN_ONLYDIR.S b/libc/sysv/consts/IN_ONLYDIR.S new file mode 100644 index 000000000..e21856837 --- /dev/null +++ b/libc/sysv/consts/IN_ONLYDIR.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon in,IN_ONLYDIR,0x01000000,0,0,0,0,0 diff --git a/libc/sysv/consts/IN_OPEN.S b/libc/sysv/consts/IN_OPEN.S new file mode 100644 index 000000000..be07d13fc --- /dev/null +++ b/libc/sysv/consts/IN_OPEN.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon in,IN_OPEN,0x20,0,0,0,0,0 diff --git a/libc/sysv/consts/IN_Q_OVERFLOW.S b/libc/sysv/consts/IN_Q_OVERFLOW.S new file mode 100644 index 000000000..ed71b58b9 --- /dev/null +++ b/libc/sysv/consts/IN_Q_OVERFLOW.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon in,IN_Q_OVERFLOW,0x4000,0,0,0,0,0 diff --git a/libc/sysv/consts/IN_UNMOUNT.S b/libc/sysv/consts/IN_UNMOUNT.S new file mode 100644 index 000000000..84777c8d2 --- /dev/null +++ b/libc/sysv/consts/IN_UNMOUNT.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon in,IN_UNMOUNT,0x2000,0,0,0,0,0 diff --git a/libc/sysv/consts/MAXHOSTNAMELEN.S b/libc/sysv/consts/MAXHOSTNAMELEN.S new file mode 100644 index 000000000..b1d9d3373 --- /dev/null +++ b/libc/sysv/consts/MAXHOSTNAMELEN.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,MAXHOSTNAMELEN,0x40,0x0100,0x0100,0x0100,0x0100,0 diff --git a/libc/sysv/consts/MAXPATHLEN.S b/libc/sysv/consts/MAXPATHLEN.S new file mode 100644 index 000000000..dcb569a09 --- /dev/null +++ b/libc/sysv/consts/MAXPATHLEN.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,MAXPATHLEN,255,255,255,255,255,255 diff --git a/libc/sysv/consts/MAXSYMLINKS.S b/libc/sysv/consts/MAXSYMLINKS.S new file mode 100644 index 000000000..40b39c9ab --- /dev/null +++ b/libc/sysv/consts/MAXSYMLINKS.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,MAXSYMLINKS,20,0x20,0x20,0x20,0x20,0 diff --git a/libc/sysv/consts/MESSAGE_REJECT.S b/libc/sysv/consts/MESSAGE_REJECT.S new file mode 100644 index 000000000..f4fddc8fc --- /dev/null +++ b/libc/sysv/consts/MESSAGE_REJECT.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,MESSAGE_REJECT,7,0,0,0,0,0 diff --git a/libc/sysv/consts/MISCOMPARE.S b/libc/sysv/consts/MISCOMPARE.S new file mode 100644 index 000000000..a72b51a70 --- /dev/null +++ b/libc/sysv/consts/MISCOMPARE.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,MISCOMPARE,14,0,0,0,0,0 diff --git a/libc/sysv/consts/MOVE_MEDIUM.S b/libc/sysv/consts/MOVE_MEDIUM.S new file mode 100644 index 000000000..57a8a932a --- /dev/null +++ b/libc/sysv/consts/MOVE_MEDIUM.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,MOVE_MEDIUM,165,0,0,0,0,0 diff --git a/libc/sysv/consts/MQ_PRIO_MAX.S b/libc/sysv/consts/MQ_PRIO_MAX.S new file mode 100644 index 000000000..aad6c50ed --- /dev/null +++ b/libc/sysv/consts/MQ_PRIO_MAX.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,MQ_PRIO_MAX,0x8000,0,0x40,0,0,0 diff --git a/libc/sysv/consts/MTCOMPRESSION.S b/libc/sysv/consts/MTCOMPRESSION.S new file mode 100644 index 000000000..1a814496b --- /dev/null +++ b/libc/sysv/consts/MTCOMPRESSION.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,MTCOMPRESSION,0x20,0,0,0,0,0 diff --git a/libc/sysv/consts/MTERASE.S b/libc/sysv/consts/MTERASE.S new file mode 100644 index 000000000..a347daba8 --- /dev/null +++ b/libc/sysv/consts/MTERASE.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,MTERASE,13,0,12,9,9,0 diff --git a/libc/sysv/consts/MTFSFM.S b/libc/sysv/consts/MTFSFM.S new file mode 100644 index 000000000..7880c0681 --- /dev/null +++ b/libc/sysv/consts/MTFSFM.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,MTFSFM,11,0,0,0,0,0 diff --git a/libc/sysv/consts/MTLOAD.S b/libc/sysv/consts/MTLOAD.S new file mode 100644 index 000000000..d1583229c --- /dev/null +++ b/libc/sysv/consts/MTLOAD.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,MTLOAD,30,0,19,0,0,0 diff --git a/libc/sysv/consts/MTLOCK.S b/libc/sysv/consts/MTLOCK.S new file mode 100644 index 000000000..396fc0eca --- /dev/null +++ b/libc/sysv/consts/MTLOCK.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,MTLOCK,28,0,0,0,0,0 diff --git a/libc/sysv/consts/MTMKPART.S b/libc/sysv/consts/MTMKPART.S new file mode 100644 index 000000000..1fc64f720 --- /dev/null +++ b/libc/sysv/consts/MTMKPART.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,MTMKPART,34,0,0,0,0,0 diff --git a/libc/sysv/consts/MTRAS1.S b/libc/sysv/consts/MTRAS1.S new file mode 100644 index 000000000..a662fdbb8 --- /dev/null +++ b/libc/sysv/consts/MTRAS1.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,MTRAS1,14,0,0,0,0,0 diff --git a/libc/sysv/consts/MTRAS3.S b/libc/sysv/consts/MTRAS3.S new file mode 100644 index 000000000..206e548a7 --- /dev/null +++ b/libc/sysv/consts/MTRAS3.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,MTRAS3,0x10,0,0,0,0,0 diff --git a/libc/sysv/consts/MTRETEN.S b/libc/sysv/consts/MTRETEN.S new file mode 100644 index 000000000..70226a035 --- /dev/null +++ b/libc/sysv/consts/MTRETEN.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,MTRETEN,9,0,0,8,8,0 diff --git a/libc/sysv/consts/MTSETBLK.S b/libc/sysv/consts/MTSETBLK.S new file mode 100644 index 000000000..34d679426 --- /dev/null +++ b/libc/sysv/consts/MTSETBLK.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,MTSETBLK,20,0,0,0,0,0 diff --git a/libc/sysv/consts/MTSETDENSITY.S b/libc/sysv/consts/MTSETDENSITY.S new file mode 100644 index 000000000..a887eb2ec --- /dev/null +++ b/libc/sysv/consts/MTSETDENSITY.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,MTSETDENSITY,21,0,0,0,0,0 diff --git a/libc/sysv/consts/MTSETDRVBUFFER.S b/libc/sysv/consts/MTSETDRVBUFFER.S new file mode 100644 index 000000000..1d2342bc4 --- /dev/null +++ b/libc/sysv/consts/MTSETDRVBUFFER.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,MTSETDRVBUFFER,24,0,0,0,0,0 diff --git a/libc/sysv/consts/MTSETPART.S b/libc/sysv/consts/MTSETPART.S new file mode 100644 index 000000000..276172486 --- /dev/null +++ b/libc/sysv/consts/MTSETPART.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,MTSETPART,33,0,0,0,0,0 diff --git a/libc/sysv/consts/MTUNLOAD.S b/libc/sysv/consts/MTUNLOAD.S new file mode 100644 index 000000000..3bca9a290 --- /dev/null +++ b/libc/sysv/consts/MTUNLOAD.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,MTUNLOAD,31,0,0,0,0,0 diff --git a/libc/sysv/consts/MTUNLOCK.S b/libc/sysv/consts/MTUNLOCK.S new file mode 100644 index 000000000..b9defed0f --- /dev/null +++ b/libc/sysv/consts/MTUNLOCK.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,MTUNLOCK,29,0,0,0,0,0 diff --git a/libc/sysv/consts/NCARGS.S b/libc/sysv/consts/NCARGS.S new file mode 100644 index 000000000..e4d176f23 --- /dev/null +++ b/libc/sysv/consts/NCARGS.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,NCARGS,0x020000,0x040000,0x040000,0x040000,0x040000,0 diff --git a/libc/sysv/consts/ND_NA_FLAG_OVERRIDE.S b/libc/sysv/consts/ND_NA_FLAG_OVERRIDE.S new file mode 100644 index 000000000..31100452c --- /dev/null +++ b/libc/sysv/consts/ND_NA_FLAG_OVERRIDE.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nd,ND_NA_FLAG_OVERRIDE,0x20,0x20,0x20,0x20,0x20,0x20000000 diff --git a/libc/sysv/consts/ND_NA_FLAG_ROUTER.S b/libc/sysv/consts/ND_NA_FLAG_ROUTER.S new file mode 100644 index 000000000..9e3b2386c --- /dev/null +++ b/libc/sysv/consts/ND_NA_FLAG_ROUTER.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nd,ND_NA_FLAG_ROUTER,0x80,0x80,0x80,0x80,0x80,0x80000000 diff --git a/libc/sysv/consts/ND_NA_FLAG_SOLICITED.S b/libc/sysv/consts/ND_NA_FLAG_SOLICITED.S new file mode 100644 index 000000000..a269ca432 --- /dev/null +++ b/libc/sysv/consts/ND_NA_FLAG_SOLICITED.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nd,ND_NA_FLAG_SOLICITED,0x40,0x40,0x40,0x40,0x40,0x40000000 diff --git a/libc/sysv/consts/ND_NEIGHBOR_ADVERT.S b/libc/sysv/consts/ND_NEIGHBOR_ADVERT.S new file mode 100644 index 000000000..ea844d6fb --- /dev/null +++ b/libc/sysv/consts/ND_NEIGHBOR_ADVERT.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nd,ND_NEIGHBOR_ADVERT,136,136,136,136,136,0 diff --git a/libc/sysv/consts/ND_NEIGHBOR_SOLICIT.S b/libc/sysv/consts/ND_NEIGHBOR_SOLICIT.S new file mode 100644 index 000000000..6e9cf9967 --- /dev/null +++ b/libc/sysv/consts/ND_NEIGHBOR_SOLICIT.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nd,ND_NEIGHBOR_SOLICIT,135,135,135,135,135,0 diff --git a/libc/sysv/consts/ND_RA_FLAG_HOME_AGENT.S b/libc/sysv/consts/ND_RA_FLAG_HOME_AGENT.S new file mode 100644 index 000000000..b5474435a --- /dev/null +++ b/libc/sysv/consts/ND_RA_FLAG_HOME_AGENT.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nd,ND_RA_FLAG_HOME_AGENT,0x20,0,0,0,0,0x20 diff --git a/libc/sysv/consts/ND_RA_FLAG_MANAGED.S b/libc/sysv/consts/ND_RA_FLAG_MANAGED.S new file mode 100644 index 000000000..f82c394a8 --- /dev/null +++ b/libc/sysv/consts/ND_RA_FLAG_MANAGED.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nd,ND_RA_FLAG_MANAGED,0x80,0x80,0x80,0x80,0x80,0x80 diff --git a/libc/sysv/consts/ND_RA_FLAG_OTHER.S b/libc/sysv/consts/ND_RA_FLAG_OTHER.S new file mode 100644 index 000000000..9b6c68a3b --- /dev/null +++ b/libc/sysv/consts/ND_RA_FLAG_OTHER.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nd,ND_RA_FLAG_OTHER,0x40,0x40,0x40,0x40,0x40,0x40 diff --git a/libc/sysv/consts/ND_REDIRECT.S b/libc/sysv/consts/ND_REDIRECT.S new file mode 100644 index 000000000..4644874e1 --- /dev/null +++ b/libc/sysv/consts/ND_REDIRECT.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nd,ND_REDIRECT,137,137,137,137,137,0 diff --git a/libc/sysv/consts/ND_ROUTER_ADVERT.S b/libc/sysv/consts/ND_ROUTER_ADVERT.S new file mode 100644 index 000000000..4ac749441 --- /dev/null +++ b/libc/sysv/consts/ND_ROUTER_ADVERT.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nd,ND_ROUTER_ADVERT,134,134,134,134,134,0 diff --git a/libc/sysv/consts/ND_ROUTER_SOLICIT.S b/libc/sysv/consts/ND_ROUTER_SOLICIT.S new file mode 100644 index 000000000..9b619ccec --- /dev/null +++ b/libc/sysv/consts/ND_ROUTER_SOLICIT.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nd,ND_ROUTER_SOLICIT,133,133,133,133,133,0 diff --git a/libc/sysv/consts/NEW_TIME.S b/libc/sysv/consts/NEW_TIME.S new file mode 100644 index 000000000..36e147905 --- /dev/null +++ b/libc/sysv/consts/NEW_TIME.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,NEW_TIME,3,4,3,0,0,0 diff --git a/libc/sysv/consts/NFDBITS.S b/libc/sysv/consts/NFDBITS.S new file mode 100644 index 000000000..09c290bc7 --- /dev/null +++ b/libc/sysv/consts/NFDBITS.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,NFDBITS,0x40,0x20,0x40,0x20,0x20,0 diff --git a/libc/sysv/consts/NGREG.S b/libc/sysv/consts/NGREG.S new file mode 100644 index 000000000..4fcc715da --- /dev/null +++ b/libc/sysv/consts/NGREG.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,NGREG,23,0,0,0,0,0 diff --git a/libc/sysv/consts/NGROUPS.S b/libc/sysv/consts/NGROUPS.S new file mode 100644 index 000000000..49d27302f --- /dev/null +++ b/libc/sysv/consts/NGROUPS.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,NGROUPS,0x010000,0x10,0x0400,0x10,0x10,0 diff --git a/libc/sysv/consts/NGROUPS_MAX.S b/libc/sysv/consts/NGROUPS_MAX.S new file mode 100644 index 000000000..e1eccd19e --- /dev/null +++ b/libc/sysv/consts/NGROUPS_MAX.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,NGROUPS_MAX,0x010000,0x10,0x03ff,0x10,0x10,0 diff --git a/libc/sysv/consts/NL_ARGMAX.S b/libc/sysv/consts/NL_ARGMAX.S new file mode 100644 index 000000000..8029886e8 --- /dev/null +++ b/libc/sysv/consts/NL_ARGMAX.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,NL_ARGMAX,0x1000,9,0x1000,9,9,0 diff --git a/libc/sysv/consts/NL_CAT_LOCALE.S b/libc/sysv/consts/NL_CAT_LOCALE.S new file mode 100644 index 000000000..b7b0b61fc --- /dev/null +++ b/libc/sysv/consts/NL_CAT_LOCALE.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,NL_CAT_LOCALE,1,1,1,1,1,0 diff --git a/libc/sysv/consts/NL_LANGMAX.S b/libc/sysv/consts/NL_LANGMAX.S new file mode 100644 index 000000000..8668c98d6 --- /dev/null +++ b/libc/sysv/consts/NL_LANGMAX.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,NL_LANGMAX,0x0800,14,31,14,14,0 diff --git a/libc/sysv/consts/NL_MSGMAX.S b/libc/sysv/consts/NL_MSGMAX.S new file mode 100644 index 000000000..92076b3cc --- /dev/null +++ b/libc/sysv/consts/NL_MSGMAX.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,NL_MSGMAX,0x7fffffff,0x7fff,0x7fff,0x7fff,0x7fff,0 diff --git a/libc/sysv/consts/NL_NMAX.S b/libc/sysv/consts/NL_NMAX.S new file mode 100644 index 000000000..b73271b18 --- /dev/null +++ b/libc/sysv/consts/NL_NMAX.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,NL_NMAX,0x7fffffff,1,1,0,0,0 diff --git a/libc/sysv/consts/NL_SETD.S b/libc/sysv/consts/NL_SETD.S new file mode 100644 index 000000000..f7f8b3b79 --- /dev/null +++ b/libc/sysv/consts/NL_SETD.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,NL_SETD,1,1,0,1,1,0 diff --git a/libc/sysv/consts/NL_SETMAX.S b/libc/sysv/consts/NL_SETMAX.S new file mode 100644 index 000000000..49b0c7d5a --- /dev/null +++ b/libc/sysv/consts/NL_SETMAX.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,NL_SETMAX,0x7fffffff,255,255,255,255,0 diff --git a/libc/sysv/consts/NL_TEXTMAX.S b/libc/sysv/consts/NL_TEXTMAX.S new file mode 100644 index 000000000..ae5d3959a --- /dev/null +++ b/libc/sysv/consts/NL_TEXTMAX.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,NL_TEXTMAX,0x7fffffff,0x0800,0x0800,255,255,0 diff --git a/libc/sysv/consts/NOEXPR.S b/libc/sysv/consts/NOEXPR.S new file mode 100644 index 000000000..dda607b42 --- /dev/null +++ b/libc/sysv/consts/NOEXPR.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,NOEXPR,0x050001,53,53,49,49,0 diff --git a/libc/sysv/consts/NOFILE.S b/libc/sysv/consts/NOFILE.S new file mode 100644 index 000000000..443b78c29 --- /dev/null +++ b/libc/sysv/consts/NOFILE.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,NOFILE,0x0100,0x0100,0x40,0x40,0x40,0 diff --git a/libc/sysv/consts/NOGROUP.S b/libc/sysv/consts/NOGROUP.S new file mode 100644 index 000000000..f7db809a0 --- /dev/null +++ b/libc/sysv/consts/NOGROUP.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,NOGROUP,-1,0xffff,0xffff,0xffff,0xffff,0 diff --git a/libc/sysv/consts/NOSTR.S b/libc/sysv/consts/NOSTR.S new file mode 100644 index 000000000..a1e9e29cd --- /dev/null +++ b/libc/sysv/consts/NOSTR.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,NOSTR,0x050003,55,55,48,48,0 diff --git a/libc/sysv/consts/OLD_TIME.S b/libc/sysv/consts/OLD_TIME.S new file mode 100644 index 000000000..7fc2d155e --- /dev/null +++ b/libc/sysv/consts/OLD_TIME.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,OLD_TIME,4,3,2,0,0,0 diff --git a/libc/sysv/consts/ORDERED_QUEUE_TAG.S b/libc/sysv/consts/ORDERED_QUEUE_TAG.S new file mode 100644 index 000000000..a70c7d042 --- /dev/null +++ b/libc/sysv/consts/ORDERED_QUEUE_TAG.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,ORDERED_QUEUE_TAG,34,0,0,0,0,0 diff --git a/libc/sysv/consts/ORIG_RAX.S b/libc/sysv/consts/ORIG_RAX.S new file mode 100644 index 000000000..d9077e080 --- /dev/null +++ b/libc/sysv/consts/ORIG_RAX.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,ORIG_RAX,15,0,0,0,0,0 diff --git a/libc/sysv/consts/PM_STR.S b/libc/sysv/consts/PM_STR.S new file mode 100644 index 000000000..14d6cebd5 --- /dev/null +++ b/libc/sysv/consts/PM_STR.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,PM_STR,0x020027,6,6,5,5,0 diff --git a/libc/sysv/consts/PRE_FETCH.S b/libc/sysv/consts/PRE_FETCH.S new file mode 100644 index 000000000..7d19c4cfe --- /dev/null +++ b/libc/sysv/consts/PRE_FETCH.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,PRE_FETCH,52,0,0,0,0,0 diff --git a/libc/sysv/consts/QUEUE_FULL.S b/libc/sysv/consts/QUEUE_FULL.S new file mode 100644 index 000000000..42cf5b046 --- /dev/null +++ b/libc/sysv/consts/QUEUE_FULL.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,QUEUE_FULL,20,0,0,0,0,0 diff --git a/libc/sysv/consts/RADIXCHAR.S b/libc/sysv/consts/RADIXCHAR.S new file mode 100644 index 000000000..a907fd1fc --- /dev/null +++ b/libc/sysv/consts/RADIXCHAR.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,RADIXCHAR,0x010000,50,50,44,44,0 diff --git a/libc/sysv/consts/REASSIGN_BLOCKS.S b/libc/sysv/consts/REASSIGN_BLOCKS.S new file mode 100644 index 000000000..d5e038195 --- /dev/null +++ b/libc/sysv/consts/REASSIGN_BLOCKS.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,REASSIGN_BLOCKS,7,0,0,0,0,0 diff --git a/libc/sysv/consts/RECEIVE_DIAGNOSTIC.S b/libc/sysv/consts/RECEIVE_DIAGNOSTIC.S new file mode 100644 index 000000000..4b1010d97 --- /dev/null +++ b/libc/sysv/consts/RECEIVE_DIAGNOSTIC.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,RECEIVE_DIAGNOSTIC,28,0,0,0,0,0 diff --git a/libc/sysv/consts/RECOVERED_ERROR.S b/libc/sysv/consts/RECOVERED_ERROR.S new file mode 100644 index 000000000..3774f5f99 --- /dev/null +++ b/libc/sysv/consts/RECOVERED_ERROR.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,RECOVERED_ERROR,1,0,0,0,0,0 diff --git a/libc/sysv/consts/RECOVER_BUFFERED_DATA.S b/libc/sysv/consts/RECOVER_BUFFERED_DATA.S new file mode 100644 index 000000000..71f655622 --- /dev/null +++ b/libc/sysv/consts/RECOVER_BUFFERED_DATA.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,RECOVER_BUFFERED_DATA,20,0,0,0,0,0 diff --git a/libc/sysv/consts/RELEASE_RECOVERY.S b/libc/sysv/consts/RELEASE_RECOVERY.S new file mode 100644 index 000000000..21d4260df --- /dev/null +++ b/libc/sysv/consts/RELEASE_RECOVERY.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,RELEASE_RECOVERY,0x10,0,0,0,0,0 diff --git a/libc/sysv/consts/REQUEST_SENSE.S b/libc/sysv/consts/REQUEST_SENSE.S new file mode 100644 index 000000000..4fc3784d0 --- /dev/null +++ b/libc/sysv/consts/REQUEST_SENSE.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,REQUEST_SENSE,3,0,0,0,0,0 diff --git a/libc/sysv/consts/RESERVATION_CONFLICT.S b/libc/sysv/consts/RESERVATION_CONFLICT.S new file mode 100644 index 000000000..acccfac46 --- /dev/null +++ b/libc/sysv/consts/RESERVATION_CONFLICT.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,RESERVATION_CONFLICT,12,0,0,0,0,0 diff --git a/libc/sysv/consts/RESERVE.S b/libc/sysv/consts/RESERVE.S new file mode 100644 index 000000000..d95570005 --- /dev/null +++ b/libc/sysv/consts/RESERVE.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,RESERVE,22,0,0,0,0,0 diff --git a/libc/sysv/consts/RESERVE_10.S b/libc/sysv/consts/RESERVE_10.S new file mode 100644 index 000000000..57b904233 --- /dev/null +++ b/libc/sysv/consts/RESERVE_10.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,RESERVE_10,86,0,0,0,0,0 diff --git a/libc/sysv/consts/RESTORE_POINTERS.S b/libc/sysv/consts/RESTORE_POINTERS.S new file mode 100644 index 000000000..70c931be4 --- /dev/null +++ b/libc/sysv/consts/RESTORE_POINTERS.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,RESTORE_POINTERS,3,0,0,0,0,0 diff --git a/libc/sysv/consts/REZERO_UNIT.S b/libc/sysv/consts/REZERO_UNIT.S new file mode 100644 index 000000000..45834ce13 --- /dev/null +++ b/libc/sysv/consts/REZERO_UNIT.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,REZERO_UNIT,1,0,0,0,0,0 diff --git a/libc/sysv/consts/RE_DUP_MAX.S b/libc/sysv/consts/RE_DUP_MAX.S new file mode 100644 index 000000000..3a8dd0ef4 --- /dev/null +++ b/libc/sysv/consts/RE_DUP_MAX.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,RE_DUP_MAX,0x7fff,255,255,255,255,0 diff --git a/libc/sysv/consts/RTCF_DOREDIRECT.S b/libc/sysv/consts/RTCF_DOREDIRECT.S new file mode 100644 index 000000000..0fdcdb0f5 --- /dev/null +++ b/libc/sysv/consts/RTCF_DOREDIRECT.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,RTCF_DOREDIRECT,0x01000000,0,0,0,0,0 diff --git a/libc/sysv/consts/RUN_LVL.S b/libc/sysv/consts/RUN_LVL.S new file mode 100644 index 000000000..16e842e68 --- /dev/null +++ b/libc/sysv/consts/RUN_LVL.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,RUN_LVL,1,1,0,0,0,0 diff --git a/libc/sysv/consts/SAVE_POINTERS.S b/libc/sysv/consts/SAVE_POINTERS.S new file mode 100644 index 000000000..9bb07f104 --- /dev/null +++ b/libc/sysv/consts/SAVE_POINTERS.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,SAVE_POINTERS,2,0,0,0,0,0 diff --git a/libc/sysv/consts/SEM_INFO.S b/libc/sysv/consts/SEM_INFO.S new file mode 100644 index 000000000..505d5ac41 --- /dev/null +++ b/libc/sysv/consts/SEM_INFO.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,SEM_INFO,19,0,11,0,0,0 diff --git a/libc/sysv/consts/SEM_STAT.S b/libc/sysv/consts/SEM_STAT.S new file mode 100644 index 000000000..f56d78dfb --- /dev/null +++ b/libc/sysv/consts/SEM_STAT.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,SEM_STAT,18,0,10,0,0,0 diff --git a/libc/sysv/consts/SEM_VALUE_MAX.S b/libc/sysv/consts/SEM_VALUE_MAX.S new file mode 100644 index 000000000..392e908ea --- /dev/null +++ b/libc/sysv/consts/SEM_VALUE_MAX.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,SEM_VALUE_MAX,0x7fffffff,0x7fff,0x7fffffff,0xffffffff,0xffffffff,0 diff --git a/libc/sysv/consts/SHMLBA.S b/libc/sysv/consts/SHMLBA.S new file mode 100644 index 000000000..7f5607cdb --- /dev/null +++ b/libc/sysv/consts/SHMLBA.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,SHMLBA,0,0x1000,0x1000,0x1000,0x1000,0 diff --git a/libc/sysv/consts/SIMPLE_QUEUE_TAG.S b/libc/sysv/consts/SIMPLE_QUEUE_TAG.S new file mode 100644 index 000000000..ebab27b7b --- /dev/null +++ b/libc/sysv/consts/SIMPLE_QUEUE_TAG.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,SIMPLE_QUEUE_TAG,0x20,0,0,0,0,0 diff --git a/libc/sysv/consts/SPACE.S b/libc/sysv/consts/SPACE.S new file mode 100644 index 000000000..524d578c2 --- /dev/null +++ b/libc/sysv/consts/SPACE.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,SPACE,17,0,0,0,0,0 diff --git a/libc/sysv/consts/START_STOP.S b/libc/sysv/consts/START_STOP.S new file mode 100644 index 000000000..12824bea5 --- /dev/null +++ b/libc/sysv/consts/START_STOP.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,START_STOP,27,0,0,0,0,0 diff --git a/libc/sysv/consts/STATUS_MASK.S b/libc/sysv/consts/STATUS_MASK.S new file mode 100644 index 000000000..85ea8426d --- /dev/null +++ b/libc/sysv/consts/STATUS_MASK.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,STATUS_MASK,62,0,0,0,0,0 diff --git a/libc/sysv/consts/STA_RONLY.S b/libc/sysv/consts/STA_RONLY.S new file mode 100644 index 000000000..c18110c3d --- /dev/null +++ b/libc/sysv/consts/STA_RONLY.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,STA_RONLY,0xff00,0,0xff00,0,0,0 diff --git a/libc/sysv/consts/SWAP_FLAG_DISCARD.S b/libc/sysv/consts/SWAP_FLAG_DISCARD.S new file mode 100644 index 000000000..2941ea68e --- /dev/null +++ b/libc/sysv/consts/SWAP_FLAG_DISCARD.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,SWAP_FLAG_DISCARD,0x010000,0,0,0,0,0 diff --git a/libc/sysv/consts/SYMLOOP_MAX.S b/libc/sysv/consts/SYMLOOP_MAX.S new file mode 100644 index 000000000..2906fd59a --- /dev/null +++ b/libc/sysv/consts/SYMLOOP_MAX.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,SYMLOOP_MAX,0,0,0,0x20,0x20,0 diff --git a/libc/sysv/consts/SYNCHRONIZE_CACHE.S b/libc/sysv/consts/SYNCHRONIZE_CACHE.S new file mode 100644 index 000000000..20fc70ef6 --- /dev/null +++ b/libc/sysv/consts/SYNCHRONIZE_CACHE.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,SYNCHRONIZE_CACHE,53,0,0,0,0,0 diff --git a/libc/sysv/consts/THOUSEP.S b/libc/sysv/consts/THOUSEP.S new file mode 100644 index 000000000..61ba68536 --- /dev/null +++ b/libc/sysv/consts/THOUSEP.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,THOUSEP,0x010001,51,51,45,45,0 diff --git a/libc/sysv/consts/TH_ACK.S b/libc/sysv/consts/TH_ACK.S new file mode 100644 index 000000000..1847e2d16 --- /dev/null +++ b/libc/sysv/consts/TH_ACK.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,TH_ACK,16,16,16,16,16,16 diff --git a/libc/sysv/consts/TH_FIN.S b/libc/sysv/consts/TH_FIN.S new file mode 100644 index 000000000..9a6cf38a2 --- /dev/null +++ b/libc/sysv/consts/TH_FIN.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,TH_FIN,1,1,1,1,1,1 diff --git a/libc/sysv/consts/TH_PUSH.S b/libc/sysv/consts/TH_PUSH.S new file mode 100644 index 000000000..574fe9a02 --- /dev/null +++ b/libc/sysv/consts/TH_PUSH.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,TH_PUSH,8,8,8,8,8,0 diff --git a/libc/sysv/consts/TH_RST.S b/libc/sysv/consts/TH_RST.S new file mode 100644 index 000000000..f6a1a6761 --- /dev/null +++ b/libc/sysv/consts/TH_RST.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,TH_RST,4,4,4,4,4,4 diff --git a/libc/sysv/consts/TH_SYN.S b/libc/sysv/consts/TH_SYN.S new file mode 100644 index 000000000..fc133046d --- /dev/null +++ b/libc/sysv/consts/TH_SYN.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,TH_SYN,2,2,2,2,2,2 diff --git a/libc/sysv/consts/TH_URG.S b/libc/sysv/consts/TH_URG.S new file mode 100644 index 000000000..35cead2cb --- /dev/null +++ b/libc/sysv/consts/TH_URG.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,TH_URG,32,32,32,32,32,32 diff --git a/libc/sysv/consts/TIME_UTC.S b/libc/sysv/consts/TIME_UTC.S new file mode 100644 index 000000000..c7432d5c6 --- /dev/null +++ b/libc/sysv/consts/TIME_UTC.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,TIME_UTC,1,0,1,0,0,0 diff --git a/libc/sysv/consts/TMP_MAX.S b/libc/sysv/consts/TMP_MAX.S new file mode 100644 index 000000000..16664f24a --- /dev/null +++ b/libc/sysv/consts/TMP_MAX.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,TMP_MAX,0x03a2f8,0x1269ae40,0x1269ae40,0x7fffffff,0x7fffffff,0 diff --git a/libc/sysv/consts/TSS_DTOR_ITERATIONS.S b/libc/sysv/consts/TSS_DTOR_ITERATIONS.S new file mode 100644 index 000000000..180b58fce --- /dev/null +++ b/libc/sysv/consts/TSS_DTOR_ITERATIONS.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,TSS_DTOR_ITERATIONS,0,0,4,0,0,0 diff --git a/libc/sysv/consts/TTY_NAME_MAX.S b/libc/sysv/consts/TTY_NAME_MAX.S new file mode 100644 index 000000000..01ff94da5 --- /dev/null +++ b/libc/sysv/consts/TTY_NAME_MAX.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,TTY_NAME_MAX,0x20,0,0,260,260,0 diff --git a/libc/sysv/consts/UIO_MAXIOV.S b/libc/sysv/consts/UIO_MAXIOV.S new file mode 100644 index 000000000..fc2eb9409 --- /dev/null +++ b/libc/sysv/consts/UIO_MAXIOV.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,UIO_MAXIOV,0x0400,0,0,0x0400,0x0400,0 diff --git a/libc/sysv/consts/UNIT_ATTENTION.S b/libc/sysv/consts/UNIT_ATTENTION.S new file mode 100644 index 000000000..d6f8ca82b --- /dev/null +++ b/libc/sysv/consts/UNIT_ATTENTION.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,UNIT_ATTENTION,6,0,0,0,0,0 diff --git a/libc/sysv/consts/UPDATE_BLOCK.S b/libc/sysv/consts/UPDATE_BLOCK.S new file mode 100644 index 000000000..abae66afd --- /dev/null +++ b/libc/sysv/consts/UPDATE_BLOCK.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,UPDATE_BLOCK,61,0,0,0,0,0 diff --git a/libc/sysv/consts/USER_PROCESS.S b/libc/sysv/consts/USER_PROCESS.S new file mode 100644 index 000000000..5e019c91f --- /dev/null +++ b/libc/sysv/consts/USER_PROCESS.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,USER_PROCESS,7,7,4,0,0,0 diff --git a/libc/sysv/consts/UT_HOSTSIZE.S b/libc/sysv/consts/UT_HOSTSIZE.S new file mode 100644 index 000000000..b53bad134 --- /dev/null +++ b/libc/sysv/consts/UT_HOSTSIZE.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,UT_HOSTSIZE,0x0100,0x10,0,0x0100,0x0100,0 diff --git a/libc/sysv/consts/UT_LINESIZE.S b/libc/sysv/consts/UT_LINESIZE.S new file mode 100644 index 000000000..86c4b8654 --- /dev/null +++ b/libc/sysv/consts/UT_LINESIZE.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,UT_LINESIZE,0x20,8,0,8,8,0 diff --git a/libc/sysv/consts/UT_NAMESIZE.S b/libc/sysv/consts/UT_NAMESIZE.S new file mode 100644 index 000000000..986bc8ae8 --- /dev/null +++ b/libc/sysv/consts/UT_NAMESIZE.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,UT_NAMESIZE,0x20,8,0,0x20,0x20,0 diff --git a/libc/sysv/consts/YESEXPR.S b/libc/sysv/consts/YESEXPR.S new file mode 100644 index 000000000..66a9e6510 --- /dev/null +++ b/libc/sysv/consts/YESEXPR.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,YESEXPR,0x050000,52,52,47,47,0 diff --git a/libc/sysv/consts/YESSTR.S b/libc/sysv/consts/YESSTR.S new file mode 100644 index 000000000..0735ede4b --- /dev/null +++ b/libc/sysv/consts/YESSTR.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,YESSTR,0x050002,54,54,46,46,0 diff --git a/libc/sysv/consts/_XOPEN_ENH_I18N.S b/libc/sysv/consts/_XOPEN_ENH_I18N.S new file mode 100644 index 000000000..4deccb3d2 --- /dev/null +++ b/libc/sysv/consts/_XOPEN_ENH_I18N.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,_XOPEN_ENH_I18N,1,1,-1,-1,-1,0 diff --git a/libc/sysv/consts/_XOPEN_IOV_MAX.S b/libc/sysv/consts/_XOPEN_IOV_MAX.S new file mode 100644 index 000000000..8917cb87a --- /dev/null +++ b/libc/sysv/consts/_XOPEN_IOV_MAX.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,_XOPEN_IOV_MAX,0x10,0x10,0x10,0x10,0x10,0 diff --git a/libc/sysv/consts/_XOPEN_NAME_MAX.S b/libc/sysv/consts/_XOPEN_NAME_MAX.S new file mode 100644 index 000000000..228828027 --- /dev/null +++ b/libc/sysv/consts/_XOPEN_NAME_MAX.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,_XOPEN_NAME_MAX,63,63,63,63,63,63 diff --git a/libc/sysv/consts/_XOPEN_PATH_MAX.S b/libc/sysv/consts/_XOPEN_PATH_MAX.S new file mode 100644 index 000000000..2a1180087 --- /dev/null +++ b/libc/sysv/consts/_XOPEN_PATH_MAX.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,_XOPEN_PATH_MAX,255,255,255,255,255,255 diff --git a/libc/sysv/consts/_XOPEN_SOURCE.S b/libc/sysv/consts/_XOPEN_SOURCE.S new file mode 100644 index 000000000..aac415294 --- /dev/null +++ b/libc/sysv/consts/_XOPEN_SOURCE.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,_XOPEN_SOURCE,700,0,0,0,0,0 diff --git a/libc/sysv/consts/_XOPEN_UNIX.S b/libc/sysv/consts/_XOPEN_UNIX.S new file mode 100644 index 000000000..892da559b --- /dev/null +++ b/libc/sysv/consts/_XOPEN_UNIX.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,_XOPEN_UNIX,1,1,-1,-1,-1,0 diff --git a/libc/sysv/consts/_XOPEN_VERSION.S b/libc/sysv/consts/_XOPEN_VERSION.S new file mode 100644 index 000000000..20a5261e0 --- /dev/null +++ b/libc/sysv/consts/_XOPEN_VERSION.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon misc,_XOPEN_VERSION,700,600,0,0,0,0 diff --git a/libc/sysv/consts/__NR___mac_syscall.S b/libc/sysv/consts/__NR___mac_syscall.S new file mode 100644 index 000000000..810995d21 --- /dev/null +++ b/libc/sysv/consts/__NR___mac_syscall.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR___mac_syscall,0xfff,0x200017d,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR___sysctl.S b/libc/sysv/consts/__NR___sysctl.S new file mode 100644 index 000000000..254e329f5 --- /dev/null +++ b/libc/sysv/consts/__NR___sysctl.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR___sysctl,0xfff,0xfff,0x00ca,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR__umtx_op.S b/libc/sysv/consts/__NR__umtx_op.S new file mode 100644 index 000000000..69c0c1e4c --- /dev/null +++ b/libc/sysv/consts/__NR__umtx_op.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR__umtx_op,0xfff,0xfff,0x01c6,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_abort2.S b/libc/sysv/consts/__NR_abort2.S new file mode 100644 index 000000000..35009730a --- /dev/null +++ b/libc/sysv/consts/__NR_abort2.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_abort2,0xfff,0xfff,0x01cf,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_abort_with_payload.S b/libc/sysv/consts/__NR_abort_with_payload.S new file mode 100644 index 000000000..56e8f493a --- /dev/null +++ b/libc/sysv/consts/__NR_abort_with_payload.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_abort_with_payload,0xfff,0x2000209,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_accept_nocancel.S b/libc/sysv/consts/__NR_accept_nocancel.S new file mode 100644 index 000000000..f854fa29e --- /dev/null +++ b/libc/sysv/consts/__NR_accept_nocancel.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_accept_nocancel,0xfff,0x2000194,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_access_extended.S b/libc/sysv/consts/__NR_access_extended.S new file mode 100644 index 000000000..d3a3d2a81 --- /dev/null +++ b/libc/sysv/consts/__NR_access_extended.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_access_extended,0xfff,0x200011c,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_acl_aclcheck_fd.S b/libc/sysv/consts/__NR_acl_aclcheck_fd.S new file mode 100644 index 000000000..ab0ffd3bc --- /dev/null +++ b/libc/sysv/consts/__NR_acl_aclcheck_fd.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_acl_aclcheck_fd,0xfff,0xfff,0x0162,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_acl_aclcheck_file.S b/libc/sysv/consts/__NR_acl_aclcheck_file.S new file mode 100644 index 000000000..5da7a3c6b --- /dev/null +++ b/libc/sysv/consts/__NR_acl_aclcheck_file.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_acl_aclcheck_file,0xfff,0xfff,0x0161,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_acl_aclcheck_link.S b/libc/sysv/consts/__NR_acl_aclcheck_link.S new file mode 100644 index 000000000..0925b8a3c --- /dev/null +++ b/libc/sysv/consts/__NR_acl_aclcheck_link.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_acl_aclcheck_link,0xfff,0xfff,0x01ac,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_acl_delete_fd.S b/libc/sysv/consts/__NR_acl_delete_fd.S new file mode 100644 index 000000000..df4ff80bc --- /dev/null +++ b/libc/sysv/consts/__NR_acl_delete_fd.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_acl_delete_fd,0xfff,0xfff,0x0160,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_acl_delete_file.S b/libc/sysv/consts/__NR_acl_delete_file.S new file mode 100644 index 000000000..4a95760c7 --- /dev/null +++ b/libc/sysv/consts/__NR_acl_delete_file.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_acl_delete_file,0xfff,0xfff,0x015f,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_acl_delete_link.S b/libc/sysv/consts/__NR_acl_delete_link.S new file mode 100644 index 000000000..9459e83b3 --- /dev/null +++ b/libc/sysv/consts/__NR_acl_delete_link.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_acl_delete_link,0xfff,0xfff,0x01ab,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_acl_get_fd.S b/libc/sysv/consts/__NR_acl_get_fd.S new file mode 100644 index 000000000..31d8892c9 --- /dev/null +++ b/libc/sysv/consts/__NR_acl_get_fd.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_acl_get_fd,0xfff,0xfff,0x015d,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_acl_get_file.S b/libc/sysv/consts/__NR_acl_get_file.S new file mode 100644 index 000000000..07cdf89da --- /dev/null +++ b/libc/sysv/consts/__NR_acl_get_file.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_acl_get_file,0xfff,0xfff,0x015b,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_acl_get_link.S b/libc/sysv/consts/__NR_acl_get_link.S new file mode 100644 index 000000000..4c0f21d93 --- /dev/null +++ b/libc/sysv/consts/__NR_acl_get_link.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_acl_get_link,0xfff,0xfff,0x01a9,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_acl_set_fd.S b/libc/sysv/consts/__NR_acl_set_fd.S new file mode 100644 index 000000000..37a002652 --- /dev/null +++ b/libc/sysv/consts/__NR_acl_set_fd.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_acl_set_fd,0xfff,0xfff,0x015e,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_acl_set_file.S b/libc/sysv/consts/__NR_acl_set_file.S new file mode 100644 index 000000000..e136b1c66 --- /dev/null +++ b/libc/sysv/consts/__NR_acl_set_file.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_acl_set_file,0xfff,0xfff,0x015c,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_acl_set_link.S b/libc/sysv/consts/__NR_acl_set_link.S new file mode 100644 index 000000000..347732a26 --- /dev/null +++ b/libc/sysv/consts/__NR_acl_set_link.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_acl_set_link,0xfff,0xfff,0x01aa,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_adjfreq.S b/libc/sysv/consts/__NR_adjfreq.S new file mode 100644 index 000000000..84bcbb40b --- /dev/null +++ b/libc/sysv/consts/__NR_adjfreq.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_adjfreq,0xfff,0xfff,0xfff,0x0131,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_adjtime.S b/libc/sysv/consts/__NR_adjtime.S new file mode 100644 index 000000000..d7d901244 --- /dev/null +++ b/libc/sysv/consts/__NR_adjtime.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_adjtime,0xfff,0x200008c,0x008c,0x008c,0x1a5,0xfff diff --git a/libc/sysv/consts/__NR_afs3_syscall.S b/libc/sysv/consts/__NR_afs3_syscall.S new file mode 100644 index 000000000..d68ffcd50 --- /dev/null +++ b/libc/sysv/consts/__NR_afs3_syscall.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_afs3_syscall,0xfff,0xfff,0x0179,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_aio_cancel.S b/libc/sysv/consts/__NR_aio_cancel.S new file mode 100644 index 000000000..2ce6eefa5 --- /dev/null +++ b/libc/sysv/consts/__NR_aio_cancel.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_aio_cancel,0xfff,0x200013c,0x013c,0xfff,0x18f,0xfff diff --git a/libc/sysv/consts/__NR_aio_error.S b/libc/sysv/consts/__NR_aio_error.S new file mode 100644 index 000000000..532dd2e9a --- /dev/null +++ b/libc/sysv/consts/__NR_aio_error.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_aio_error,0xfff,0x200013d,0x013d,0xfff,0x190,0xfff diff --git a/libc/sysv/consts/__NR_aio_fsync.S b/libc/sysv/consts/__NR_aio_fsync.S new file mode 100644 index 000000000..76813330b --- /dev/null +++ b/libc/sysv/consts/__NR_aio_fsync.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_aio_fsync,0xfff,0x2000139,0x01d1,0xfff,0x191,0xfff diff --git a/libc/sysv/consts/__NR_aio_mlock.S b/libc/sysv/consts/__NR_aio_mlock.S new file mode 100644 index 000000000..235724e64 --- /dev/null +++ b/libc/sysv/consts/__NR_aio_mlock.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_aio_mlock,0xfff,0xfff,0x021f,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_aio_read.S b/libc/sysv/consts/__NR_aio_read.S new file mode 100644 index 000000000..141ad6fc0 --- /dev/null +++ b/libc/sysv/consts/__NR_aio_read.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_aio_read,0xfff,0x200013e,0x013e,0xfff,0x192,0xfff diff --git a/libc/sysv/consts/__NR_aio_return.S b/libc/sysv/consts/__NR_aio_return.S new file mode 100644 index 000000000..89a015961 --- /dev/null +++ b/libc/sysv/consts/__NR_aio_return.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_aio_return,0xfff,0x200013a,0x013a,0xfff,0x193,0xfff diff --git a/libc/sysv/consts/__NR_aio_suspend.S b/libc/sysv/consts/__NR_aio_suspend.S new file mode 100644 index 000000000..fc0466ab5 --- /dev/null +++ b/libc/sysv/consts/__NR_aio_suspend.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_aio_suspend,0xfff,0x200013b,0x013b,0xfff,0x1b6,0xfff diff --git a/libc/sysv/consts/__NR_aio_suspend_nocancel.S b/libc/sysv/consts/__NR_aio_suspend_nocancel.S new file mode 100644 index 000000000..dff9f6639 --- /dev/null +++ b/libc/sysv/consts/__NR_aio_suspend_nocancel.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_aio_suspend_nocancel,0xfff,0x20001a5,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_aio_waitcomplete.S b/libc/sysv/consts/__NR_aio_waitcomplete.S new file mode 100644 index 000000000..d5082785e --- /dev/null +++ b/libc/sysv/consts/__NR_aio_waitcomplete.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_aio_waitcomplete,0xfff,0xfff,0x0167,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_aio_write.S b/libc/sysv/consts/__NR_aio_write.S new file mode 100644 index 000000000..6344addda --- /dev/null +++ b/libc/sysv/consts/__NR_aio_write.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_aio_write,0xfff,0x200013f,0x013f,0xfff,0x195,0xfff diff --git a/libc/sysv/consts/__NR_audit.S b/libc/sysv/consts/__NR_audit.S new file mode 100644 index 000000000..70c7a819e --- /dev/null +++ b/libc/sysv/consts/__NR_audit.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_audit,0xfff,0x200015e,0x01bd,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_audit_session_join.S b/libc/sysv/consts/__NR_audit_session_join.S new file mode 100644 index 000000000..7bcb69c71 --- /dev/null +++ b/libc/sysv/consts/__NR_audit_session_join.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_audit_session_join,0xfff,0x20001ad,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_audit_session_port.S b/libc/sysv/consts/__NR_audit_session_port.S new file mode 100644 index 000000000..714878c8f --- /dev/null +++ b/libc/sysv/consts/__NR_audit_session_port.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_audit_session_port,0xfff,0x20001b0,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_audit_session_self.S b/libc/sysv/consts/__NR_audit_session_self.S new file mode 100644 index 000000000..4cad76847 --- /dev/null +++ b/libc/sysv/consts/__NR_audit_session_self.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_audit_session_self,0xfff,0x20001ac,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_auditctl.S b/libc/sysv/consts/__NR_auditctl.S new file mode 100644 index 000000000..86e2f81bf --- /dev/null +++ b/libc/sysv/consts/__NR_auditctl.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_auditctl,0xfff,0x2000167,0x01c5,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_auditon.S b/libc/sysv/consts/__NR_auditon.S new file mode 100644 index 000000000..1eede75d8 --- /dev/null +++ b/libc/sysv/consts/__NR_auditon.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_auditon,0xfff,0x200015f,0x01be,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_bindat.S b/libc/sysv/consts/__NR_bindat.S new file mode 100644 index 000000000..9f17b5488 --- /dev/null +++ b/libc/sysv/consts/__NR_bindat.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_bindat,0xfff,0xfff,0x021a,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_break.S b/libc/sysv/consts/__NR_break.S new file mode 100644 index 000000000..1029fca9d --- /dev/null +++ b/libc/sysv/consts/__NR_break.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_break,0xfff,0xfff,0x0011,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_bsdthread_ctl.S b/libc/sysv/consts/__NR_bsdthread_ctl.S new file mode 100644 index 000000000..ca000a96a --- /dev/null +++ b/libc/sysv/consts/__NR_bsdthread_ctl.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_bsdthread_ctl,0xfff,0x20001de,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_bsdthread_terminate.S b/libc/sysv/consts/__NR_bsdthread_terminate.S new file mode 100644 index 000000000..2646dc6fc --- /dev/null +++ b/libc/sysv/consts/__NR_bsdthread_terminate.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_bsdthread_terminate,0xfff,0x2000169,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_cap_enter.S b/libc/sysv/consts/__NR_cap_enter.S new file mode 100644 index 000000000..a9b96fb43 --- /dev/null +++ b/libc/sysv/consts/__NR_cap_enter.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_cap_enter,0xfff,0xfff,0x0204,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_cap_fcntls_get.S b/libc/sysv/consts/__NR_cap_fcntls_get.S new file mode 100644 index 000000000..7f4de6107 --- /dev/null +++ b/libc/sysv/consts/__NR_cap_fcntls_get.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_cap_fcntls_get,0xfff,0xfff,0x0219,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_cap_fcntls_limit.S b/libc/sysv/consts/__NR_cap_fcntls_limit.S new file mode 100644 index 000000000..762117d52 --- /dev/null +++ b/libc/sysv/consts/__NR_cap_fcntls_limit.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_cap_fcntls_limit,0xfff,0xfff,0x0218,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_cap_getmode.S b/libc/sysv/consts/__NR_cap_getmode.S new file mode 100644 index 000000000..50dcb8a79 --- /dev/null +++ b/libc/sysv/consts/__NR_cap_getmode.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_cap_getmode,0xfff,0xfff,0x0205,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_cap_ioctls_get.S b/libc/sysv/consts/__NR_cap_ioctls_get.S new file mode 100644 index 000000000..550de2904 --- /dev/null +++ b/libc/sysv/consts/__NR_cap_ioctls_get.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_cap_ioctls_get,0xfff,0xfff,0x0217,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_cap_ioctls_limit.S b/libc/sysv/consts/__NR_cap_ioctls_limit.S new file mode 100644 index 000000000..554a4a8f0 --- /dev/null +++ b/libc/sysv/consts/__NR_cap_ioctls_limit.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_cap_ioctls_limit,0xfff,0xfff,0x0216,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_cap_rights_get.S b/libc/sysv/consts/__NR_cap_rights_get.S new file mode 100644 index 000000000..3ffc228ec --- /dev/null +++ b/libc/sysv/consts/__NR_cap_rights_get.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_cap_rights_get,0xfff,0xfff,0x0203,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_cap_rights_limit.S b/libc/sysv/consts/__NR_cap_rights_limit.S new file mode 100644 index 000000000..785b457c7 --- /dev/null +++ b/libc/sysv/consts/__NR_cap_rights_limit.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_cap_rights_limit,0xfff,0xfff,0x0215,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_change_fdguard_np.S b/libc/sysv/consts/__NR_change_fdguard_np.S new file mode 100644 index 000000000..8069c6b99 --- /dev/null +++ b/libc/sysv/consts/__NR_change_fdguard_np.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_change_fdguard_np,0xfff,0x20001bc,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_chflags.S b/libc/sysv/consts/__NR_chflags.S new file mode 100644 index 000000000..4da171edc --- /dev/null +++ b/libc/sysv/consts/__NR_chflags.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_chflags,0xfff,0x2000022,0x0022,0x0022,0x022,0xfff diff --git a/libc/sysv/consts/__NR_chflagsat.S b/libc/sysv/consts/__NR_chflagsat.S new file mode 100644 index 000000000..17c82a0ea --- /dev/null +++ b/libc/sysv/consts/__NR_chflagsat.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_chflagsat,0xfff,0xfff,0x021c,0x006b,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_chmod_extended.S b/libc/sysv/consts/__NR_chmod_extended.S new file mode 100644 index 000000000..eb275938a --- /dev/null +++ b/libc/sysv/consts/__NR_chmod_extended.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_chmod_extended,0xfff,0x200011a,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_clock_getcpuclockid2.S b/libc/sysv/consts/__NR_clock_getcpuclockid2.S new file mode 100644 index 000000000..3f70f32db --- /dev/null +++ b/libc/sysv/consts/__NR_clock_getcpuclockid2.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_clock_getcpuclockid2,0xfff,0xfff,0x00f7,0xfff,0x1e2,0xfff diff --git a/libc/sysv/consts/__NR_clonefileat.S b/libc/sysv/consts/__NR_clonefileat.S new file mode 100644 index 000000000..33435a557 --- /dev/null +++ b/libc/sysv/consts/__NR_clonefileat.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_clonefileat,0xfff,0x20001ce,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_close_nocancel.S b/libc/sysv/consts/__NR_close_nocancel.S new file mode 100644 index 000000000..c328230b2 --- /dev/null +++ b/libc/sysv/consts/__NR_close_nocancel.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_close_nocancel,0xfff,0x200018f,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_closefrom.S b/libc/sysv/consts/__NR_closefrom.S new file mode 100644 index 000000000..66f210f09 --- /dev/null +++ b/libc/sysv/consts/__NR_closefrom.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_closefrom,0xfff,0xfff,0x01fd,0x011f,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_coalition.S b/libc/sysv/consts/__NR_coalition.S new file mode 100644 index 000000000..9e5e03cca --- /dev/null +++ b/libc/sysv/consts/__NR_coalition.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_coalition,0xfff,0x20001ca,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_coalition_info.S b/libc/sysv/consts/__NR_coalition_info.S new file mode 100644 index 000000000..8d6566feb --- /dev/null +++ b/libc/sysv/consts/__NR_coalition_info.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_coalition_info,0xfff,0x20001cb,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_connect_nocancel.S b/libc/sysv/consts/__NR_connect_nocancel.S new file mode 100644 index 000000000..be367bde0 --- /dev/null +++ b/libc/sysv/consts/__NR_connect_nocancel.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_connect_nocancel,0xfff,0x2000199,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_connectat.S b/libc/sysv/consts/__NR_connectat.S new file mode 100644 index 000000000..bc68f3817 --- /dev/null +++ b/libc/sysv/consts/__NR_connectat.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_connectat,0xfff,0xfff,0x021b,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_connectx.S b/libc/sysv/consts/__NR_connectx.S new file mode 100644 index 000000000..b01b19366 --- /dev/null +++ b/libc/sysv/consts/__NR_connectx.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_connectx,0xfff,0x20001bf,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_copyfile.S b/libc/sysv/consts/__NR_copyfile.S new file mode 100644 index 000000000..946a0e32c --- /dev/null +++ b/libc/sysv/consts/__NR_copyfile.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_copyfile,0xfff,0x20000e3,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_cpuset.S b/libc/sysv/consts/__NR_cpuset.S new file mode 100644 index 000000000..5933a92cc --- /dev/null +++ b/libc/sysv/consts/__NR_cpuset.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_cpuset,0xfff,0xfff,0x01e4,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_cpuset_getdomain.S b/libc/sysv/consts/__NR_cpuset_getdomain.S new file mode 100644 index 000000000..6862b2d12 --- /dev/null +++ b/libc/sysv/consts/__NR_cpuset_getdomain.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_cpuset_getdomain,0xfff,0xfff,0x0231,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_cpuset_getid.S b/libc/sysv/consts/__NR_cpuset_getid.S new file mode 100644 index 000000000..e2d9e7fcc --- /dev/null +++ b/libc/sysv/consts/__NR_cpuset_getid.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_cpuset_getid,0xfff,0xfff,0x01e6,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_cpuset_setdomain.S b/libc/sysv/consts/__NR_cpuset_setdomain.S new file mode 100644 index 000000000..1b00e4fde --- /dev/null +++ b/libc/sysv/consts/__NR_cpuset_setdomain.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_cpuset_setdomain,0xfff,0xfff,0x0232,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_cpuset_setid.S b/libc/sysv/consts/__NR_cpuset_setid.S new file mode 100644 index 000000000..54593297c --- /dev/null +++ b/libc/sysv/consts/__NR_cpuset_setid.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_cpuset_setid,0xfff,0xfff,0x01e5,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_csops.S b/libc/sysv/consts/__NR_csops.S new file mode 100644 index 000000000..ff17c2021 --- /dev/null +++ b/libc/sysv/consts/__NR_csops.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_csops,0xfff,0x20000a9,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_csops_audittoken.S b/libc/sysv/consts/__NR_csops_audittoken.S new file mode 100644 index 000000000..8a3aa6bc8 --- /dev/null +++ b/libc/sysv/consts/__NR_csops_audittoken.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_csops_audittoken,0xfff,0x20000aa,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_csrctl.S b/libc/sysv/consts/__NR_csrctl.S new file mode 100644 index 000000000..f80df7696 --- /dev/null +++ b/libc/sysv/consts/__NR_csrctl.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_csrctl,0xfff,0x20001e3,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_delete.S b/libc/sysv/consts/__NR_delete.S new file mode 100644 index 000000000..da2368c63 --- /dev/null +++ b/libc/sysv/consts/__NR_delete.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_delete,0xfff,0x20000e2,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_disable_threadsignal.S b/libc/sysv/consts/__NR_disable_threadsignal.S new file mode 100644 index 000000000..082332b6a --- /dev/null +++ b/libc/sysv/consts/__NR_disable_threadsignal.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_disable_threadsignal,0xfff,0x200014b,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_disconnectx.S b/libc/sysv/consts/__NR_disconnectx.S new file mode 100644 index 000000000..9b1f18762 --- /dev/null +++ b/libc/sysv/consts/__NR_disconnectx.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_disconnectx,0xfff,0x20001c0,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_eaccess.S b/libc/sysv/consts/__NR_eaccess.S new file mode 100644 index 000000000..53c349a6c --- /dev/null +++ b/libc/sysv/consts/__NR_eaccess.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_eaccess,0xfff,0xfff,0x0178,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_exchangedata.S b/libc/sysv/consts/__NR_exchangedata.S new file mode 100644 index 000000000..62d4e376f --- /dev/null +++ b/libc/sysv/consts/__NR_exchangedata.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_exchangedata,0xfff,0x20000df,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_extattr_delete_fd.S b/libc/sysv/consts/__NR_extattr_delete_fd.S new file mode 100644 index 000000000..a914725c8 --- /dev/null +++ b/libc/sysv/consts/__NR_extattr_delete_fd.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_extattr_delete_fd,0xfff,0xfff,0x0175,0xfff,0x16e,0xfff diff --git a/libc/sysv/consts/__NR_extattr_delete_file.S b/libc/sysv/consts/__NR_extattr_delete_file.S new file mode 100644 index 000000000..864e4757f --- /dev/null +++ b/libc/sysv/consts/__NR_extattr_delete_file.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_extattr_delete_file,0xfff,0xfff,0x0166,0xfff,0x16b,0xfff diff --git a/libc/sysv/consts/__NR_extattr_delete_link.S b/libc/sysv/consts/__NR_extattr_delete_link.S new file mode 100644 index 000000000..cc9a381c7 --- /dev/null +++ b/libc/sysv/consts/__NR_extattr_delete_link.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_extattr_delete_link,0xfff,0xfff,0x019e,0xfff,0x171,0xfff diff --git a/libc/sysv/consts/__NR_extattr_get_fd.S b/libc/sysv/consts/__NR_extattr_get_fd.S new file mode 100644 index 000000000..692e80c14 --- /dev/null +++ b/libc/sysv/consts/__NR_extattr_get_fd.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_extattr_get_fd,0xfff,0xfff,0x0174,0xfff,0x16d,0xfff diff --git a/libc/sysv/consts/__NR_extattr_get_file.S b/libc/sysv/consts/__NR_extattr_get_file.S new file mode 100644 index 000000000..86271650b --- /dev/null +++ b/libc/sysv/consts/__NR_extattr_get_file.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_extattr_get_file,0xfff,0xfff,0x0165,0xfff,0x16a,0xfff diff --git a/libc/sysv/consts/__NR_extattr_get_link.S b/libc/sysv/consts/__NR_extattr_get_link.S new file mode 100644 index 000000000..48e377e47 --- /dev/null +++ b/libc/sysv/consts/__NR_extattr_get_link.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_extattr_get_link,0xfff,0xfff,0x019d,0xfff,0x170,0xfff diff --git a/libc/sysv/consts/__NR_extattr_list_fd.S b/libc/sysv/consts/__NR_extattr_list_fd.S new file mode 100644 index 000000000..0756351d9 --- /dev/null +++ b/libc/sysv/consts/__NR_extattr_list_fd.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_extattr_list_fd,0xfff,0xfff,0x01b5,0xfff,0x172,0xfff diff --git a/libc/sysv/consts/__NR_extattr_list_file.S b/libc/sysv/consts/__NR_extattr_list_file.S new file mode 100644 index 000000000..c41d71f12 --- /dev/null +++ b/libc/sysv/consts/__NR_extattr_list_file.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_extattr_list_file,0xfff,0xfff,0x01b6,0xfff,0x173,0xfff diff --git a/libc/sysv/consts/__NR_extattr_list_link.S b/libc/sysv/consts/__NR_extattr_list_link.S new file mode 100644 index 000000000..5c99e3c8c --- /dev/null +++ b/libc/sysv/consts/__NR_extattr_list_link.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_extattr_list_link,0xfff,0xfff,0x01b7,0xfff,0x174,0xfff diff --git a/libc/sysv/consts/__NR_extattr_set_fd.S b/libc/sysv/consts/__NR_extattr_set_fd.S new file mode 100644 index 000000000..8cfdf7bdf --- /dev/null +++ b/libc/sysv/consts/__NR_extattr_set_fd.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_extattr_set_fd,0xfff,0xfff,0x0173,0xfff,0x16c,0xfff diff --git a/libc/sysv/consts/__NR_extattr_set_file.S b/libc/sysv/consts/__NR_extattr_set_file.S new file mode 100644 index 000000000..c310aeaa6 --- /dev/null +++ b/libc/sysv/consts/__NR_extattr_set_file.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_extattr_set_file,0xfff,0xfff,0x0164,0xfff,0x169,0xfff diff --git a/libc/sysv/consts/__NR_extattr_set_link.S b/libc/sysv/consts/__NR_extattr_set_link.S new file mode 100644 index 000000000..d7d12f69b --- /dev/null +++ b/libc/sysv/consts/__NR_extattr_set_link.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_extattr_set_link,0xfff,0xfff,0x019c,0xfff,0x16f,0xfff diff --git a/libc/sysv/consts/__NR_extattrctl.S b/libc/sysv/consts/__NR_extattrctl.S new file mode 100644 index 000000000..a545d0265 --- /dev/null +++ b/libc/sysv/consts/__NR_extattrctl.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_extattrctl,0xfff,0xfff,0x0163,0xfff,0x168,0xfff diff --git a/libc/sysv/consts/__NR_fchflags.S b/libc/sysv/consts/__NR_fchflags.S new file mode 100644 index 000000000..99205ed78 --- /dev/null +++ b/libc/sysv/consts/__NR_fchflags.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_fchflags,0xfff,0x2000023,0x0023,0x0023,0x023,0xfff diff --git a/libc/sysv/consts/__NR_fchmod_extended.S b/libc/sysv/consts/__NR_fchmod_extended.S new file mode 100644 index 000000000..1fac5522d --- /dev/null +++ b/libc/sysv/consts/__NR_fchmod_extended.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_fchmod_extended,0xfff,0x200011b,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_fclonefileat.S b/libc/sysv/consts/__NR_fclonefileat.S new file mode 100644 index 000000000..18b7b465b --- /dev/null +++ b/libc/sysv/consts/__NR_fclonefileat.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_fclonefileat,0xfff,0x2000205,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_fcntl_nocancel.S b/libc/sysv/consts/__NR_fcntl_nocancel.S new file mode 100644 index 000000000..6c53432c6 --- /dev/null +++ b/libc/sysv/consts/__NR_fcntl_nocancel.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_fcntl_nocancel,0xfff,0x2000196,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_fexecve.S b/libc/sysv/consts/__NR_fexecve.S new file mode 100644 index 000000000..863eda8c0 --- /dev/null +++ b/libc/sysv/consts/__NR_fexecve.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_fexecve,0xfff,0xfff,0x01ec,0xfff,0x1d1,0xfff diff --git a/libc/sysv/consts/__NR_ffclock_getcounter.S b/libc/sysv/consts/__NR_ffclock_getcounter.S new file mode 100644 index 000000000..d728162c2 --- /dev/null +++ b/libc/sysv/consts/__NR_ffclock_getcounter.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_ffclock_getcounter,0xfff,0xfff,0x00f1,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_ffclock_getestimate.S b/libc/sysv/consts/__NR_ffclock_getestimate.S new file mode 100644 index 000000000..6ac10c1d3 --- /dev/null +++ b/libc/sysv/consts/__NR_ffclock_getestimate.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_ffclock_getestimate,0xfff,0xfff,0x00f3,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_ffclock_setestimate.S b/libc/sysv/consts/__NR_ffclock_setestimate.S new file mode 100644 index 000000000..35134d77e --- /dev/null +++ b/libc/sysv/consts/__NR_ffclock_setestimate.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_ffclock_setestimate,0xfff,0xfff,0x00f2,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_ffsctl.S b/libc/sysv/consts/__NR_ffsctl.S new file mode 100644 index 000000000..e00d7544d --- /dev/null +++ b/libc/sysv/consts/__NR_ffsctl.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_ffsctl,0xfff,0x20000f5,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_fgetattrlist.S b/libc/sysv/consts/__NR_fgetattrlist.S new file mode 100644 index 000000000..050f68474 --- /dev/null +++ b/libc/sysv/consts/__NR_fgetattrlist.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_fgetattrlist,0xfff,0x20000e4,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_fhlink.S b/libc/sysv/consts/__NR_fhlink.S new file mode 100644 index 000000000..24450072b --- /dev/null +++ b/libc/sysv/consts/__NR_fhlink.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_fhlink,0xfff,0xfff,0x0235,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_fhlinkat.S b/libc/sysv/consts/__NR_fhlinkat.S new file mode 100644 index 000000000..a9a3a344b --- /dev/null +++ b/libc/sysv/consts/__NR_fhlinkat.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_fhlinkat,0xfff,0xfff,0x0236,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_fhopen.S b/libc/sysv/consts/__NR_fhopen.S new file mode 100644 index 000000000..22eeb5c84 --- /dev/null +++ b/libc/sysv/consts/__NR_fhopen.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_fhopen,0xfff,0x20000f8,0x012a,0x0108,0x18c,0xfff diff --git a/libc/sysv/consts/__NR_fhreadlink.S b/libc/sysv/consts/__NR_fhreadlink.S new file mode 100644 index 000000000..7f2997782 --- /dev/null +++ b/libc/sysv/consts/__NR_fhreadlink.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_fhreadlink,0xfff,0xfff,0x0237,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_fhstat.S b/libc/sysv/consts/__NR_fhstat.S new file mode 100644 index 000000000..65ecea128 --- /dev/null +++ b/libc/sysv/consts/__NR_fhstat.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_fhstat,0xfff,0xfff,0x0229,0x0126,0x1c3,0xfff diff --git a/libc/sysv/consts/__NR_fhstatfs.S b/libc/sysv/consts/__NR_fhstatfs.S new file mode 100644 index 000000000..546126189 --- /dev/null +++ b/libc/sysv/consts/__NR_fhstatfs.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_fhstatfs,0xfff,0xfff,0x022e,0x0041,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_fileport_makefd.S b/libc/sysv/consts/__NR_fileport_makefd.S new file mode 100644 index 000000000..1a5cdd7b4 --- /dev/null +++ b/libc/sysv/consts/__NR_fileport_makefd.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_fileport_makefd,0xfff,0x20001af,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_fileport_makeport.S b/libc/sysv/consts/__NR_fileport_makeport.S new file mode 100644 index 000000000..c04943389 --- /dev/null +++ b/libc/sysv/consts/__NR_fileport_makeport.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_fileport_makeport,0xfff,0x20001ae,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_fmount.S b/libc/sysv/consts/__NR_fmount.S new file mode 100644 index 000000000..162455073 --- /dev/null +++ b/libc/sysv/consts/__NR_fmount.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_fmount,0xfff,0x200020e,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_fpathconf.S b/libc/sysv/consts/__NR_fpathconf.S new file mode 100644 index 000000000..f8004f3bb --- /dev/null +++ b/libc/sysv/consts/__NR_fpathconf.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_fpathconf,0xfff,0x20000c0,0x00c0,0x00c0,0x0c0,0xfff diff --git a/libc/sysv/consts/__NR_fs_snapshot.S b/libc/sysv/consts/__NR_fs_snapshot.S new file mode 100644 index 000000000..15d50345d --- /dev/null +++ b/libc/sysv/consts/__NR_fs_snapshot.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_fs_snapshot,0xfff,0x2000206,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_fsctl.S b/libc/sysv/consts/__NR_fsctl.S new file mode 100644 index 000000000..8a5b98c0e --- /dev/null +++ b/libc/sysv/consts/__NR_fsctl.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_fsctl,0xfff,0x20000f2,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_fsetattrlist.S b/libc/sysv/consts/__NR_fsetattrlist.S new file mode 100644 index 000000000..79822fed5 --- /dev/null +++ b/libc/sysv/consts/__NR_fsetattrlist.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_fsetattrlist,0xfff,0x20000e5,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_fstat_extended.S b/libc/sysv/consts/__NR_fstat_extended.S new file mode 100644 index 000000000..8877a6739 --- /dev/null +++ b/libc/sysv/consts/__NR_fstat_extended.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_fstat_extended,0xfff,0x2000119,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_fsync_nocancel.S b/libc/sysv/consts/__NR_fsync_nocancel.S new file mode 100644 index 000000000..ef9acfe21 --- /dev/null +++ b/libc/sysv/consts/__NR_fsync_nocancel.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_fsync_nocancel,0xfff,0x2000198,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_get_tcb.S b/libc/sysv/consts/__NR_get_tcb.S new file mode 100644 index 000000000..ab430793a --- /dev/null +++ b/libc/sysv/consts/__NR_get_tcb.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_get_tcb,0xfff,0xfff,0xfff,0x014a,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_getattrlist.S b/libc/sysv/consts/__NR_getattrlist.S new file mode 100644 index 000000000..2ddcafac5 --- /dev/null +++ b/libc/sysv/consts/__NR_getattrlist.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_getattrlist,0xfff,0x20000dc,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_getattrlistat.S b/libc/sysv/consts/__NR_getattrlistat.S new file mode 100644 index 000000000..b1668176a --- /dev/null +++ b/libc/sysv/consts/__NR_getattrlistat.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_getattrlistat,0xfff,0x20001dc,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_getattrlistbulk.S b/libc/sysv/consts/__NR_getattrlistbulk.S new file mode 100644 index 000000000..6c16c3367 --- /dev/null +++ b/libc/sysv/consts/__NR_getattrlistbulk.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_getattrlistbulk,0xfff,0x20001cd,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_getaudit.S b/libc/sysv/consts/__NR_getaudit.S new file mode 100644 index 000000000..0bfbae3f4 --- /dev/null +++ b/libc/sysv/consts/__NR_getaudit.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_getaudit,0xfff,0xfff,0x01c1,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_getaudit_addr.S b/libc/sysv/consts/__NR_getaudit_addr.S new file mode 100644 index 000000000..fd6082e49 --- /dev/null +++ b/libc/sysv/consts/__NR_getaudit_addr.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_getaudit_addr,0xfff,0x2000165,0x01c3,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_getauid.S b/libc/sysv/consts/__NR_getauid.S new file mode 100644 index 000000000..0eb2a13eb --- /dev/null +++ b/libc/sysv/consts/__NR_getauid.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_getauid,0xfff,0x2000161,0x01bf,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_getcontext.S b/libc/sysv/consts/__NR_getcontext.S new file mode 100644 index 000000000..be4eaee5b --- /dev/null +++ b/libc/sysv/consts/__NR_getcontext.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_getcontext,0xfff,0xfff,0x01a5,0xfff,0x133,0xfff diff --git a/libc/sysv/consts/__NR_getdirentries.S b/libc/sysv/consts/__NR_getdirentries.S new file mode 100644 index 000000000..28e597a38 --- /dev/null +++ b/libc/sysv/consts/__NR_getdirentries.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_getdirentries,0xfff,0x2000158,0x022a,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_getdirentriesattr.S b/libc/sysv/consts/__NR_getdirentriesattr.S new file mode 100644 index 000000000..a2377e0fd --- /dev/null +++ b/libc/sysv/consts/__NR_getdirentriesattr.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_getdirentriesattr,0xfff,0x20000de,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_getdtablecount.S b/libc/sysv/consts/__NR_getdtablecount.S new file mode 100644 index 000000000..bccd7e80b --- /dev/null +++ b/libc/sysv/consts/__NR_getdtablecount.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_getdtablecount,0xfff,0xfff,0xfff,0x0012,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_getdtablesize.S b/libc/sysv/consts/__NR_getdtablesize.S new file mode 100644 index 000000000..9a18199f3 --- /dev/null +++ b/libc/sysv/consts/__NR_getdtablesize.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_getdtablesize,0xfff,0x2000059,0x0059,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_getfh.S b/libc/sysv/consts/__NR_getfh.S new file mode 100644 index 000000000..b23cde496 --- /dev/null +++ b/libc/sysv/consts/__NR_getfh.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_getfh,0xfff,0x20000a1,0x00a1,0x00a1,0x18b,0xfff diff --git a/libc/sysv/consts/__NR_getfhat.S b/libc/sysv/consts/__NR_getfhat.S new file mode 100644 index 000000000..3c90fbd23 --- /dev/null +++ b/libc/sysv/consts/__NR_getfhat.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_getfhat,0xfff,0xfff,0x0234,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_getfsstat.S b/libc/sysv/consts/__NR_getfsstat.S new file mode 100644 index 000000000..2f2474cf2 --- /dev/null +++ b/libc/sysv/consts/__NR_getfsstat.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_getfsstat,0xfff,0x200015b,0x022d,0x003e,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_gethostid.S b/libc/sysv/consts/__NR_gethostid.S new file mode 100644 index 000000000..b609d1e7e --- /dev/null +++ b/libc/sysv/consts/__NR_gethostid.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_gethostid,0xfff,0xfff,0x008e,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_gethostuuid.S b/libc/sysv/consts/__NR_gethostuuid.S new file mode 100644 index 000000000..57ea08519 --- /dev/null +++ b/libc/sysv/consts/__NR_gethostuuid.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_gethostuuid,0xfff,0x200008e,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_getkerninfo.S b/libc/sysv/consts/__NR_getkerninfo.S new file mode 100644 index 000000000..83649f688 --- /dev/null +++ b/libc/sysv/consts/__NR_getkerninfo.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_getkerninfo,0xfff,0xfff,0x003f,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_getlogin.S b/libc/sysv/consts/__NR_getlogin.S new file mode 100644 index 000000000..f6ad9f938 --- /dev/null +++ b/libc/sysv/consts/__NR_getlogin.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_getlogin,0xfff,0x2000031,0x0031,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_getlogin_r.S b/libc/sysv/consts/__NR_getlogin_r.S new file mode 100644 index 000000000..d076b710e --- /dev/null +++ b/libc/sysv/consts/__NR_getlogin_r.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_getlogin_r,0xfff,0xfff,0xfff,0x008d,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_getloginclass.S b/libc/sysv/consts/__NR_getloginclass.S new file mode 100644 index 000000000..d2ddd4bdb --- /dev/null +++ b/libc/sysv/consts/__NR_getloginclass.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_getloginclass,0xfff,0xfff,0x020b,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_getpagesize.S b/libc/sysv/consts/__NR_getpagesize.S new file mode 100644 index 000000000..e7b69e31e --- /dev/null +++ b/libc/sysv/consts/__NR_getpagesize.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_getpagesize,0xfff,0xfff,0x0040,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_getrtable.S b/libc/sysv/consts/__NR_getrtable.S new file mode 100644 index 000000000..bcb5330eb --- /dev/null +++ b/libc/sysv/consts/__NR_getrtable.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_getrtable,0xfff,0xfff,0xfff,0x0137,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_getsgroups.S b/libc/sysv/consts/__NR_getsgroups.S new file mode 100644 index 000000000..3d498f8c4 --- /dev/null +++ b/libc/sysv/consts/__NR_getsgroups.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_getsgroups,0xfff,0x2000120,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_getthrid.S b/libc/sysv/consts/__NR_getthrid.S new file mode 100644 index 000000000..153b4ac32 --- /dev/null +++ b/libc/sysv/consts/__NR_getthrid.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_getthrid,0xfff,0xfff,0xfff,0x012b,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_getwgroups.S b/libc/sysv/consts/__NR_getwgroups.S new file mode 100644 index 000000000..24f0a1525 --- /dev/null +++ b/libc/sysv/consts/__NR_getwgroups.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_getwgroups,0xfff,0x2000122,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_grab_pgo_data.S b/libc/sysv/consts/__NR_grab_pgo_data.S new file mode 100644 index 000000000..41062175f --- /dev/null +++ b/libc/sysv/consts/__NR_grab_pgo_data.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_grab_pgo_data,0xfff,0x20001ed,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_gssd_syscall.S b/libc/sysv/consts/__NR_gssd_syscall.S new file mode 100644 index 000000000..3c2a28e41 --- /dev/null +++ b/libc/sysv/consts/__NR_gssd_syscall.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_gssd_syscall,0xfff,0xfff,0x01f9,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_guarded_close_np.S b/libc/sysv/consts/__NR_guarded_close_np.S new file mode 100644 index 000000000..0a1148764 --- /dev/null +++ b/libc/sysv/consts/__NR_guarded_close_np.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_guarded_close_np,0xfff,0x20001ba,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_guarded_kqueue_np.S b/libc/sysv/consts/__NR_guarded_kqueue_np.S new file mode 100644 index 000000000..ec2721b20 --- /dev/null +++ b/libc/sysv/consts/__NR_guarded_kqueue_np.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_guarded_kqueue_np,0xfff,0x20001bb,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_guarded_open_dprotected_np.S b/libc/sysv/consts/__NR_guarded_open_dprotected_np.S new file mode 100644 index 000000000..d6edd8985 --- /dev/null +++ b/libc/sysv/consts/__NR_guarded_open_dprotected_np.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_guarded_open_dprotected_np,0xfff,0x20001e4,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_guarded_open_np.S b/libc/sysv/consts/__NR_guarded_open_np.S new file mode 100644 index 000000000..5f7db9487 --- /dev/null +++ b/libc/sysv/consts/__NR_guarded_open_np.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_guarded_open_np,0xfff,0x20001b9,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_guarded_pwrite_np.S b/libc/sysv/consts/__NR_guarded_pwrite_np.S new file mode 100644 index 000000000..ba815c05c --- /dev/null +++ b/libc/sysv/consts/__NR_guarded_pwrite_np.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_guarded_pwrite_np,0xfff,0x20001e6,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_guarded_write_np.S b/libc/sysv/consts/__NR_guarded_write_np.S new file mode 100644 index 000000000..393a59061 --- /dev/null +++ b/libc/sysv/consts/__NR_guarded_write_np.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_guarded_write_np,0xfff,0x20001e5,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_guarded_writev_np.S b/libc/sysv/consts/__NR_guarded_writev_np.S new file mode 100644 index 000000000..3038e3629 --- /dev/null +++ b/libc/sysv/consts/__NR_guarded_writev_np.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_guarded_writev_np,0xfff,0x20001e7,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_identitysvc.S b/libc/sysv/consts/__NR_identitysvc.S new file mode 100644 index 000000000..f21b81b15 --- /dev/null +++ b/libc/sysv/consts/__NR_identitysvc.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_identitysvc,0xfff,0x2000125,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_initgroups.S b/libc/sysv/consts/__NR_initgroups.S new file mode 100644 index 000000000..16ab23a58 --- /dev/null +++ b/libc/sysv/consts/__NR_initgroups.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_initgroups,0xfff,0x20000f3,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_iopolicysys.S b/libc/sysv/consts/__NR_iopolicysys.S new file mode 100644 index 000000000..54bf16447 --- /dev/null +++ b/libc/sysv/consts/__NR_iopolicysys.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_iopolicysys,0xfff,0x2000142,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_issetugid.S b/libc/sysv/consts/__NR_issetugid.S new file mode 100644 index 000000000..bd0a2d504 --- /dev/null +++ b/libc/sysv/consts/__NR_issetugid.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_issetugid,0xfff,0x2000147,0x00fd,0x00fd,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_jail.S b/libc/sysv/consts/__NR_jail.S new file mode 100644 index 000000000..c99973fd8 --- /dev/null +++ b/libc/sysv/consts/__NR_jail.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_jail,0xfff,0xfff,0x0152,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_jail_attach.S b/libc/sysv/consts/__NR_jail_attach.S new file mode 100644 index 000000000..115c8b770 --- /dev/null +++ b/libc/sysv/consts/__NR_jail_attach.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_jail_attach,0xfff,0xfff,0x01b4,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_jail_get.S b/libc/sysv/consts/__NR_jail_get.S new file mode 100644 index 000000000..6b86e9e6e --- /dev/null +++ b/libc/sysv/consts/__NR_jail_get.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_jail_get,0xfff,0xfff,0x01fa,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_jail_remove.S b/libc/sysv/consts/__NR_jail_remove.S new file mode 100644 index 000000000..ed695c7e9 --- /dev/null +++ b/libc/sysv/consts/__NR_jail_remove.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_jail_remove,0xfff,0xfff,0x01fc,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_jail_set.S b/libc/sysv/consts/__NR_jail_set.S new file mode 100644 index 000000000..3d55fbe9d --- /dev/null +++ b/libc/sysv/consts/__NR_jail_set.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_jail_set,0xfff,0xfff,0x01fb,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_kas_info.S b/libc/sysv/consts/__NR_kas_info.S new file mode 100644 index 000000000..a84c92cae --- /dev/null +++ b/libc/sysv/consts/__NR_kas_info.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_kas_info,0xfff,0x20001b7,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_kbind.S b/libc/sysv/consts/__NR_kbind.S new file mode 100644 index 000000000..9b3cb1d0e --- /dev/null +++ b/libc/sysv/consts/__NR_kbind.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_kbind,0xfff,0xfff,0xfff,0x0056,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_kdebug_trace.S b/libc/sysv/consts/__NR_kdebug_trace.S new file mode 100644 index 000000000..0e57d7536 --- /dev/null +++ b/libc/sysv/consts/__NR_kdebug_trace.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_kdebug_trace,0xfff,0x20000b3,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_kdebug_trace_string.S b/libc/sysv/consts/__NR_kdebug_trace_string.S new file mode 100644 index 000000000..384300459 --- /dev/null +++ b/libc/sysv/consts/__NR_kdebug_trace_string.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_kdebug_trace_string,0xfff,0x20000b2,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_kdebug_typefilter.S b/libc/sysv/consts/__NR_kdebug_typefilter.S new file mode 100644 index 000000000..27a1a551d --- /dev/null +++ b/libc/sysv/consts/__NR_kdebug_typefilter.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_kdebug_typefilter,0xfff,0x20000b1,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_kenv.S b/libc/sysv/consts/__NR_kenv.S new file mode 100644 index 000000000..1412e1125 --- /dev/null +++ b/libc/sysv/consts/__NR_kenv.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_kenv,0xfff,0xfff,0x0186,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_kevent.S b/libc/sysv/consts/__NR_kevent.S new file mode 100644 index 000000000..2f74ea20d --- /dev/null +++ b/libc/sysv/consts/__NR_kevent.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_kevent,0xfff,0x2000171,0x0230,0x0048,0x1b3,0xfff diff --git a/libc/sysv/consts/__NR_kevent_id.S b/libc/sysv/consts/__NR_kevent_id.S new file mode 100644 index 000000000..2ef048ce5 --- /dev/null +++ b/libc/sysv/consts/__NR_kevent_id.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_kevent_id,0xfff,0x2000177,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_kevent_qos.S b/libc/sysv/consts/__NR_kevent_qos.S new file mode 100644 index 000000000..3e0f80f2d --- /dev/null +++ b/libc/sysv/consts/__NR_kevent_qos.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_kevent_qos,0xfff,0x2000176,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_kldfind.S b/libc/sysv/consts/__NR_kldfind.S new file mode 100644 index 000000000..e41062f50 --- /dev/null +++ b/libc/sysv/consts/__NR_kldfind.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_kldfind,0xfff,0xfff,0x0132,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_kldfirstmod.S b/libc/sysv/consts/__NR_kldfirstmod.S new file mode 100644 index 000000000..cd7e14b63 --- /dev/null +++ b/libc/sysv/consts/__NR_kldfirstmod.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_kldfirstmod,0xfff,0xfff,0x0135,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_kldload.S b/libc/sysv/consts/__NR_kldload.S new file mode 100644 index 000000000..59b2c60ed --- /dev/null +++ b/libc/sysv/consts/__NR_kldload.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_kldload,0xfff,0xfff,0x0130,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_kldnext.S b/libc/sysv/consts/__NR_kldnext.S new file mode 100644 index 000000000..ce9a5bf23 --- /dev/null +++ b/libc/sysv/consts/__NR_kldnext.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_kldnext,0xfff,0xfff,0x0133,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_kldstat.S b/libc/sysv/consts/__NR_kldstat.S new file mode 100644 index 000000000..4c8b46ae6 --- /dev/null +++ b/libc/sysv/consts/__NR_kldstat.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_kldstat,0xfff,0xfff,0x0134,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_kldsym.S b/libc/sysv/consts/__NR_kldsym.S new file mode 100644 index 000000000..fc650f529 --- /dev/null +++ b/libc/sysv/consts/__NR_kldsym.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_kldsym,0xfff,0xfff,0x0151,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_kldunload.S b/libc/sysv/consts/__NR_kldunload.S new file mode 100644 index 000000000..81e55d102 --- /dev/null +++ b/libc/sysv/consts/__NR_kldunload.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_kldunload,0xfff,0xfff,0x0131,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_kldunloadf.S b/libc/sysv/consts/__NR_kldunloadf.S new file mode 100644 index 000000000..20792bf45 --- /dev/null +++ b/libc/sysv/consts/__NR_kldunloadf.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_kldunloadf,0xfff,0xfff,0x01bc,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_kmq_notify.S b/libc/sysv/consts/__NR_kmq_notify.S new file mode 100644 index 000000000..138cf3fd1 --- /dev/null +++ b/libc/sysv/consts/__NR_kmq_notify.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_kmq_notify,0xfff,0xfff,0x01cd,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_kmq_setattr.S b/libc/sysv/consts/__NR_kmq_setattr.S new file mode 100644 index 000000000..dbb1d115d --- /dev/null +++ b/libc/sysv/consts/__NR_kmq_setattr.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_kmq_setattr,0xfff,0xfff,0x01ca,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_kmq_timedreceive.S b/libc/sysv/consts/__NR_kmq_timedreceive.S new file mode 100644 index 000000000..bb768dcca --- /dev/null +++ b/libc/sysv/consts/__NR_kmq_timedreceive.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_kmq_timedreceive,0xfff,0xfff,0x01cb,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_kmq_timedsend.S b/libc/sysv/consts/__NR_kmq_timedsend.S new file mode 100644 index 000000000..34fecec49 --- /dev/null +++ b/libc/sysv/consts/__NR_kmq_timedsend.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_kmq_timedsend,0xfff,0xfff,0x01cc,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_kmq_unlink.S b/libc/sysv/consts/__NR_kmq_unlink.S new file mode 100644 index 000000000..1e6483f92 --- /dev/null +++ b/libc/sysv/consts/__NR_kmq_unlink.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_kmq_unlink,0xfff,0xfff,0x01ce,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_kqueue.S b/libc/sysv/consts/__NR_kqueue.S new file mode 100644 index 000000000..3108e58e9 --- /dev/null +++ b/libc/sysv/consts/__NR_kqueue.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_kqueue,0xfff,0x200016a,0x016a,0x010d,0x158,0xfff diff --git a/libc/sysv/consts/__NR_ksem_close.S b/libc/sysv/consts/__NR_ksem_close.S new file mode 100644 index 000000000..779b9f162 --- /dev/null +++ b/libc/sysv/consts/__NR_ksem_close.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_ksem_close,0xfff,0xfff,0x0190,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_ksem_destroy.S b/libc/sysv/consts/__NR_ksem_destroy.S new file mode 100644 index 000000000..efe5a7d33 --- /dev/null +++ b/libc/sysv/consts/__NR_ksem_destroy.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_ksem_destroy,0xfff,0xfff,0x0198,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_ksem_getvalue.S b/libc/sysv/consts/__NR_ksem_getvalue.S new file mode 100644 index 000000000..47b17c461 --- /dev/null +++ b/libc/sysv/consts/__NR_ksem_getvalue.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_ksem_getvalue,0xfff,0xfff,0x0197,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_ksem_init.S b/libc/sysv/consts/__NR_ksem_init.S new file mode 100644 index 000000000..42abd1928 --- /dev/null +++ b/libc/sysv/consts/__NR_ksem_init.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_ksem_init,0xfff,0xfff,0x0194,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_ksem_open.S b/libc/sysv/consts/__NR_ksem_open.S new file mode 100644 index 000000000..fe27b3711 --- /dev/null +++ b/libc/sysv/consts/__NR_ksem_open.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_ksem_open,0xfff,0xfff,0x0195,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_ksem_post.S b/libc/sysv/consts/__NR_ksem_post.S new file mode 100644 index 000000000..6b058a9d8 --- /dev/null +++ b/libc/sysv/consts/__NR_ksem_post.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_ksem_post,0xfff,0xfff,0x0191,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_ksem_timedwait.S b/libc/sysv/consts/__NR_ksem_timedwait.S new file mode 100644 index 000000000..482a1f833 --- /dev/null +++ b/libc/sysv/consts/__NR_ksem_timedwait.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_ksem_timedwait,0xfff,0xfff,0x01b9,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_ksem_trywait.S b/libc/sysv/consts/__NR_ksem_trywait.S new file mode 100644 index 000000000..9aae27aa2 --- /dev/null +++ b/libc/sysv/consts/__NR_ksem_trywait.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_ksem_trywait,0xfff,0xfff,0x0193,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_ksem_unlink.S b/libc/sysv/consts/__NR_ksem_unlink.S new file mode 100644 index 000000000..3c17c10c9 --- /dev/null +++ b/libc/sysv/consts/__NR_ksem_unlink.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_ksem_unlink,0xfff,0xfff,0x0196,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_ksem_wait.S b/libc/sysv/consts/__NR_ksem_wait.S new file mode 100644 index 000000000..2b6fb7adb --- /dev/null +++ b/libc/sysv/consts/__NR_ksem_wait.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_ksem_wait,0xfff,0xfff,0x0192,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_ktimer_create.S b/libc/sysv/consts/__NR_ktimer_create.S new file mode 100644 index 000000000..3b6a4921e --- /dev/null +++ b/libc/sysv/consts/__NR_ktimer_create.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_ktimer_create,0xfff,0xfff,0x00eb,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_ktimer_delete.S b/libc/sysv/consts/__NR_ktimer_delete.S new file mode 100644 index 000000000..59e18bfcc --- /dev/null +++ b/libc/sysv/consts/__NR_ktimer_delete.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_ktimer_delete,0xfff,0xfff,0x00ec,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_ktimer_getoverrun.S b/libc/sysv/consts/__NR_ktimer_getoverrun.S new file mode 100644 index 000000000..3338a81a0 --- /dev/null +++ b/libc/sysv/consts/__NR_ktimer_getoverrun.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_ktimer_getoverrun,0xfff,0xfff,0x00ef,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_ktimer_gettime.S b/libc/sysv/consts/__NR_ktimer_gettime.S new file mode 100644 index 000000000..2647b56b5 --- /dev/null +++ b/libc/sysv/consts/__NR_ktimer_gettime.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_ktimer_gettime,0xfff,0xfff,0x00ee,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_ktimer_settime.S b/libc/sysv/consts/__NR_ktimer_settime.S new file mode 100644 index 000000000..babd9dcde --- /dev/null +++ b/libc/sysv/consts/__NR_ktimer_settime.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_ktimer_settime,0xfff,0xfff,0x00ed,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_lchflags.S b/libc/sysv/consts/__NR_lchflags.S new file mode 100644 index 000000000..857dba90f --- /dev/null +++ b/libc/sysv/consts/__NR_lchflags.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_lchflags,0xfff,0xfff,0x0187,0xfff,0x130,0xfff diff --git a/libc/sysv/consts/__NR_lchmod.S b/libc/sysv/consts/__NR_lchmod.S new file mode 100644 index 000000000..6119e37f7 --- /dev/null +++ b/libc/sysv/consts/__NR_lchmod.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_lchmod,0xfff,0xfff,0x0112,0xfff,0x112,0xfff diff --git a/libc/sysv/consts/__NR_ledger.S b/libc/sysv/consts/__NR_ledger.S new file mode 100644 index 000000000..fcd200a69 --- /dev/null +++ b/libc/sysv/consts/__NR_ledger.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_ledger,0xfff,0x2000175,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_lgetfh.S b/libc/sysv/consts/__NR_lgetfh.S new file mode 100644 index 000000000..b290b8333 --- /dev/null +++ b/libc/sysv/consts/__NR_lgetfh.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_lgetfh,0xfff,0xfff,0x00a0,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_lio_listio.S b/libc/sysv/consts/__NR_lio_listio.S new file mode 100644 index 000000000..bd168cf7d --- /dev/null +++ b/libc/sysv/consts/__NR_lio_listio.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_lio_listio,0xfff,0x2000140,0x0140,0xfff,0x196,0xfff diff --git a/libc/sysv/consts/__NR_lpathconf.S b/libc/sysv/consts/__NR_lpathconf.S new file mode 100644 index 000000000..7a075dfc8 --- /dev/null +++ b/libc/sysv/consts/__NR_lpathconf.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_lpathconf,0xfff,0xfff,0x0201,0xfff,0x1f3,0xfff diff --git a/libc/sysv/consts/__NR_lstat_extended.S b/libc/sysv/consts/__NR_lstat_extended.S new file mode 100644 index 000000000..b03e8c2ed --- /dev/null +++ b/libc/sysv/consts/__NR_lstat_extended.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_lstat_extended,0xfff,0x2000156,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_lutimes.S b/libc/sysv/consts/__NR_lutimes.S new file mode 100644 index 000000000..738ff9bcd --- /dev/null +++ b/libc/sysv/consts/__NR_lutimes.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_lutimes,0xfff,0xfff,0x0114,0xfff,0x1a8,0xfff diff --git a/libc/sysv/consts/__NR_mac_execve.S b/libc/sysv/consts/__NR_mac_execve.S new file mode 100644 index 000000000..78cf46d86 --- /dev/null +++ b/libc/sysv/consts/__NR_mac_execve.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_mac_execve,0xfff,0x200017c,0x019f,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_mac_get_fd.S b/libc/sysv/consts/__NR_mac_get_fd.S new file mode 100644 index 000000000..d6f9cb931 --- /dev/null +++ b/libc/sysv/consts/__NR_mac_get_fd.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_mac_get_fd,0xfff,0x2000184,0x0182,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_mac_get_file.S b/libc/sysv/consts/__NR_mac_get_file.S new file mode 100644 index 000000000..3d8a33545 --- /dev/null +++ b/libc/sysv/consts/__NR_mac_get_file.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_mac_get_file,0xfff,0x200017e,0x0183,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_mac_get_link.S b/libc/sysv/consts/__NR_mac_get_link.S new file mode 100644 index 000000000..95e4e9c04 --- /dev/null +++ b/libc/sysv/consts/__NR_mac_get_link.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_mac_get_link,0xfff,0x2000180,0x019a,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_mac_get_mount.S b/libc/sysv/consts/__NR_mac_get_mount.S new file mode 100644 index 000000000..37d9c78ed --- /dev/null +++ b/libc/sysv/consts/__NR_mac_get_mount.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_mac_get_mount,0xfff,0x20001a9,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_mac_get_pid.S b/libc/sysv/consts/__NR_mac_get_pid.S new file mode 100644 index 000000000..a5ebea8e9 --- /dev/null +++ b/libc/sysv/consts/__NR_mac_get_pid.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_mac_get_pid,0xfff,0x2000186,0x0199,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_mac_get_proc.S b/libc/sysv/consts/__NR_mac_get_proc.S new file mode 100644 index 000000000..7cf5582b3 --- /dev/null +++ b/libc/sysv/consts/__NR_mac_get_proc.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_mac_get_proc,0xfff,0x2000182,0x0180,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_mac_getfsstat.S b/libc/sysv/consts/__NR_mac_getfsstat.S new file mode 100644 index 000000000..8c6d1147e --- /dev/null +++ b/libc/sysv/consts/__NR_mac_getfsstat.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_mac_getfsstat,0xfff,0x20001aa,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_mac_mount.S b/libc/sysv/consts/__NR_mac_mount.S new file mode 100644 index 000000000..ebbe2f449 --- /dev/null +++ b/libc/sysv/consts/__NR_mac_mount.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_mac_mount,0xfff,0x20001a8,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_mac_set_fd.S b/libc/sysv/consts/__NR_mac_set_fd.S new file mode 100644 index 000000000..cccbca9a3 --- /dev/null +++ b/libc/sysv/consts/__NR_mac_set_fd.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_mac_set_fd,0xfff,0x2000185,0x0184,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_mac_set_file.S b/libc/sysv/consts/__NR_mac_set_file.S new file mode 100644 index 000000000..633e11bcb --- /dev/null +++ b/libc/sysv/consts/__NR_mac_set_file.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_mac_set_file,0xfff,0x200017f,0x0185,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_mac_set_link.S b/libc/sysv/consts/__NR_mac_set_link.S new file mode 100644 index 000000000..162f69101 --- /dev/null +++ b/libc/sysv/consts/__NR_mac_set_link.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_mac_set_link,0xfff,0x2000181,0x019b,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_mac_set_proc.S b/libc/sysv/consts/__NR_mac_set_proc.S new file mode 100644 index 000000000..968b9eae7 --- /dev/null +++ b/libc/sysv/consts/__NR_mac_set_proc.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_mac_set_proc,0xfff,0x2000183,0x0181,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_mac_syscall.S b/libc/sysv/consts/__NR_mac_syscall.S new file mode 100644 index 000000000..ded0ec548 --- /dev/null +++ b/libc/sysv/consts/__NR_mac_syscall.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_mac_syscall,0xfff,0xfff,0x018a,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_memorystatus_control.S b/libc/sysv/consts/__NR_memorystatus_control.S new file mode 100644 index 000000000..be05d239a --- /dev/null +++ b/libc/sysv/consts/__NR_memorystatus_control.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_memorystatus_control,0xfff,0x20001b8,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_memorystatus_get_level.S b/libc/sysv/consts/__NR_memorystatus_get_level.S new file mode 100644 index 000000000..f6b92be34 --- /dev/null +++ b/libc/sysv/consts/__NR_memorystatus_get_level.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_memorystatus_get_level,0xfff,0x20001c5,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_microstackshot.S b/libc/sysv/consts/__NR_microstackshot.S new file mode 100644 index 000000000..bec8cb25c --- /dev/null +++ b/libc/sysv/consts/__NR_microstackshot.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_microstackshot,0xfff,0x20001ec,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_minherit.S b/libc/sysv/consts/__NR_minherit.S new file mode 100644 index 000000000..ec4c9a5e5 --- /dev/null +++ b/libc/sysv/consts/__NR_minherit.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_minherit,0xfff,0x20000fa,0x00fa,0x00fa,0x111,0xfff diff --git a/libc/sysv/consts/__NR_mkdir_extended.S b/libc/sysv/consts/__NR_mkdir_extended.S new file mode 100644 index 000000000..e25b27b49 --- /dev/null +++ b/libc/sysv/consts/__NR_mkdir_extended.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_mkdir_extended,0xfff,0x2000124,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_mkfifo_extended.S b/libc/sysv/consts/__NR_mkfifo_extended.S new file mode 100644 index 000000000..174a84266 --- /dev/null +++ b/libc/sysv/consts/__NR_mkfifo_extended.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_mkfifo_extended,0xfff,0x2000123,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_modfind.S b/libc/sysv/consts/__NR_modfind.S new file mode 100644 index 000000000..8165339cd --- /dev/null +++ b/libc/sysv/consts/__NR_modfind.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_modfind,0xfff,0xfff,0x012f,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_modfnext.S b/libc/sysv/consts/__NR_modfnext.S new file mode 100644 index 000000000..9564a335d --- /dev/null +++ b/libc/sysv/consts/__NR_modfnext.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_modfnext,0xfff,0xfff,0x012e,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_modnext.S b/libc/sysv/consts/__NR_modnext.S new file mode 100644 index 000000000..6edb7923c --- /dev/null +++ b/libc/sysv/consts/__NR_modnext.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_modnext,0xfff,0xfff,0x012c,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_modstat.S b/libc/sysv/consts/__NR_modstat.S new file mode 100644 index 000000000..bc5e1a589 --- /dev/null +++ b/libc/sysv/consts/__NR_modstat.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_modstat,0xfff,0xfff,0x012d,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_modwatch.S b/libc/sysv/consts/__NR_modwatch.S new file mode 100644 index 000000000..18e3d4bfc --- /dev/null +++ b/libc/sysv/consts/__NR_modwatch.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_modwatch,0xfff,0x20000e9,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_mquery.S b/libc/sysv/consts/__NR_mquery.S new file mode 100644 index 000000000..ed0be3293 --- /dev/null +++ b/libc/sysv/consts/__NR_mquery.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_mquery,0xfff,0xfff,0xfff,0x011e,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_mremap_encrypted.S b/libc/sysv/consts/__NR_mremap_encrypted.S new file mode 100644 index 000000000..efb15e030 --- /dev/null +++ b/libc/sysv/consts/__NR_mremap_encrypted.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_mremap_encrypted,0xfff,0x20001e9,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_msgrcv_nocancel.S b/libc/sysv/consts/__NR_msgrcv_nocancel.S new file mode 100644 index 000000000..5d02784a5 --- /dev/null +++ b/libc/sysv/consts/__NR_msgrcv_nocancel.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_msgrcv_nocancel,0xfff,0x20001a3,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_msgsnd_nocancel.S b/libc/sysv/consts/__NR_msgsnd_nocancel.S new file mode 100644 index 000000000..ba3fada21 --- /dev/null +++ b/libc/sysv/consts/__NR_msgsnd_nocancel.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_msgsnd_nocancel,0xfff,0x20001a2,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_msgsys.S b/libc/sysv/consts/__NR_msgsys.S new file mode 100644 index 000000000..17174177d --- /dev/null +++ b/libc/sysv/consts/__NR_msgsys.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_msgsys,0xfff,0x20000fc,0x00aa,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_msync_nocancel.S b/libc/sysv/consts/__NR_msync_nocancel.S new file mode 100644 index 000000000..996b3071c --- /dev/null +++ b/libc/sysv/consts/__NR_msync_nocancel.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_msync_nocancel,0xfff,0x2000195,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_necp_client_action.S b/libc/sysv/consts/__NR_necp_client_action.S new file mode 100644 index 000000000..5988cc34e --- /dev/null +++ b/libc/sysv/consts/__NR_necp_client_action.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_necp_client_action,0xfff,0x20001f6,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_necp_match_policy.S b/libc/sysv/consts/__NR_necp_match_policy.S new file mode 100644 index 000000000..809121c85 --- /dev/null +++ b/libc/sysv/consts/__NR_necp_match_policy.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_necp_match_policy,0xfff,0x20001cc,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_necp_open.S b/libc/sysv/consts/__NR_necp_open.S new file mode 100644 index 000000000..44e54d97f --- /dev/null +++ b/libc/sysv/consts/__NR_necp_open.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_necp_open,0xfff,0x20001f5,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_necp_session_action.S b/libc/sysv/consts/__NR_necp_session_action.S new file mode 100644 index 000000000..f22f91243 --- /dev/null +++ b/libc/sysv/consts/__NR_necp_session_action.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_necp_session_action,0xfff,0x200020b,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_necp_session_open.S b/libc/sysv/consts/__NR_necp_session_open.S new file mode 100644 index 000000000..c05c7a236 --- /dev/null +++ b/libc/sysv/consts/__NR_necp_session_open.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_necp_session_open,0xfff,0x200020a,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_net_qos_guideline.S b/libc/sysv/consts/__NR_net_qos_guideline.S new file mode 100644 index 000000000..67b5577e8 --- /dev/null +++ b/libc/sysv/consts/__NR_net_qos_guideline.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_net_qos_guideline,0xfff,0x200020d,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_netagent_trigger.S b/libc/sysv/consts/__NR_netagent_trigger.S new file mode 100644 index 000000000..7ecd5fa6d --- /dev/null +++ b/libc/sysv/consts/__NR_netagent_trigger.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_netagent_trigger,0xfff,0x20001ea,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_nfsclnt.S b/libc/sysv/consts/__NR_nfsclnt.S new file mode 100644 index 000000000..4f94bbfdc --- /dev/null +++ b/libc/sysv/consts/__NR_nfsclnt.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_nfsclnt,0xfff,0x20000f7,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_nfssvc.S b/libc/sysv/consts/__NR_nfssvc.S new file mode 100644 index 000000000..678e65b97 --- /dev/null +++ b/libc/sysv/consts/__NR_nfssvc.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_nfssvc,0xfff,0x200009b,0x009b,0x009b,0x09b,0xfff diff --git a/libc/sysv/consts/__NR_nfstat.S b/libc/sysv/consts/__NR_nfstat.S new file mode 100644 index 000000000..a9abdf9c6 --- /dev/null +++ b/libc/sysv/consts/__NR_nfstat.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_nfstat,0xfff,0xfff,0x0117,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_nlm_syscall.S b/libc/sysv/consts/__NR_nlm_syscall.S new file mode 100644 index 000000000..3ea89bf44 --- /dev/null +++ b/libc/sysv/consts/__NR_nlm_syscall.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_nlm_syscall,0xfff,0xfff,0x009a,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_nlstat.S b/libc/sysv/consts/__NR_nlstat.S new file mode 100644 index 000000000..5bc35e363 --- /dev/null +++ b/libc/sysv/consts/__NR_nlstat.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_nlstat,0xfff,0xfff,0x0118,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_nmount.S b/libc/sysv/consts/__NR_nmount.S new file mode 100644 index 000000000..7dd0915e9 --- /dev/null +++ b/libc/sysv/consts/__NR_nmount.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_nmount,0xfff,0xfff,0x017a,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_nnpfs_syscall.S b/libc/sysv/consts/__NR_nnpfs_syscall.S new file mode 100644 index 000000000..30ae7f51e --- /dev/null +++ b/libc/sysv/consts/__NR_nnpfs_syscall.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_nnpfs_syscall,0xfff,0xfff,0x0153,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_nstat.S b/libc/sysv/consts/__NR_nstat.S new file mode 100644 index 000000000..5f6d07437 --- /dev/null +++ b/libc/sysv/consts/__NR_nstat.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_nstat,0xfff,0xfff,0x0116,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_ntp_adjtime.S b/libc/sysv/consts/__NR_ntp_adjtime.S new file mode 100644 index 000000000..0a0387d98 --- /dev/null +++ b/libc/sysv/consts/__NR_ntp_adjtime.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_ntp_adjtime,0xfff,0x200020f,0x00b0,0xfff,0x0b0,0xfff diff --git a/libc/sysv/consts/__NR_ntp_gettime.S b/libc/sysv/consts/__NR_ntp_gettime.S new file mode 100644 index 000000000..35440256e --- /dev/null +++ b/libc/sysv/consts/__NR_ntp_gettime.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_ntp_gettime,0xfff,0x2000210,0x00f8,0xfff,0x1c0,0xfff diff --git a/libc/sysv/consts/__NR_obreak.S b/libc/sysv/consts/__NR_obreak.S new file mode 100644 index 000000000..0c5159931 --- /dev/null +++ b/libc/sysv/consts/__NR_obreak.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_obreak,0xfff,0xfff,0xfff,0x0011,0x011,0xfff diff --git a/libc/sysv/consts/__NR_old_semwait_signal.S b/libc/sysv/consts/__NR_old_semwait_signal.S new file mode 100644 index 000000000..7ed5d0180 --- /dev/null +++ b/libc/sysv/consts/__NR_old_semwait_signal.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_old_semwait_signal,0xfff,0x2000172,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_old_semwait_signal_nocancel.S b/libc/sysv/consts/__NR_old_semwait_signal_nocancel.S new file mode 100644 index 000000000..180c00e50 --- /dev/null +++ b/libc/sysv/consts/__NR_old_semwait_signal_nocancel.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_old_semwait_signal_nocancel,0xfff,0x2000173,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_open_dprotected_np.S b/libc/sysv/consts/__NR_open_dprotected_np.S new file mode 100644 index 000000000..ff9faa0de --- /dev/null +++ b/libc/sysv/consts/__NR_open_dprotected_np.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_open_dprotected_np,0xfff,0x20000d8,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_open_extended.S b/libc/sysv/consts/__NR_open_extended.S new file mode 100644 index 000000000..92e2e6c38 --- /dev/null +++ b/libc/sysv/consts/__NR_open_extended.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_open_extended,0xfff,0x2000115,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_open_nocancel.S b/libc/sysv/consts/__NR_open_nocancel.S new file mode 100644 index 000000000..f1b0917cd --- /dev/null +++ b/libc/sysv/consts/__NR_open_nocancel.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_open_nocancel,0xfff,0x200018e,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_openat_nocancel.S b/libc/sysv/consts/__NR_openat_nocancel.S new file mode 100644 index 000000000..2277857db --- /dev/null +++ b/libc/sysv/consts/__NR_openat_nocancel.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_openat_nocancel,0xfff,0x20001d0,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_openbyid_np.S b/libc/sysv/consts/__NR_openbyid_np.S new file mode 100644 index 000000000..0a0e63b7a --- /dev/null +++ b/libc/sysv/consts/__NR_openbyid_np.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_openbyid_np,0xfff,0x20001df,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_os_fault_with_payload.S b/libc/sysv/consts/__NR_os_fault_with_payload.S new file mode 100644 index 000000000..e934ca8f2 --- /dev/null +++ b/libc/sysv/consts/__NR_os_fault_with_payload.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_os_fault_with_payload,0xfff,0x2000211,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_pathconf.S b/libc/sysv/consts/__NR_pathconf.S new file mode 100644 index 000000000..8adcef14d --- /dev/null +++ b/libc/sysv/consts/__NR_pathconf.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_pathconf,0xfff,0x20000bf,0x00bf,0x00bf,0x0bf,0xfff diff --git a/libc/sysv/consts/__NR_pdfork.S b/libc/sysv/consts/__NR_pdfork.S new file mode 100644 index 000000000..0dffaa717 --- /dev/null +++ b/libc/sysv/consts/__NR_pdfork.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_pdfork,0xfff,0xfff,0x0206,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_pdgetpid.S b/libc/sysv/consts/__NR_pdgetpid.S new file mode 100644 index 000000000..40641f250 --- /dev/null +++ b/libc/sysv/consts/__NR_pdgetpid.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_pdgetpid,0xfff,0xfff,0x0208,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_pdkill.S b/libc/sysv/consts/__NR_pdkill.S new file mode 100644 index 000000000..9fe46f6b2 --- /dev/null +++ b/libc/sysv/consts/__NR_pdkill.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_pdkill,0xfff,0xfff,0x0207,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_peeloff.S b/libc/sysv/consts/__NR_peeloff.S new file mode 100644 index 000000000..fb0e7fde5 --- /dev/null +++ b/libc/sysv/consts/__NR_peeloff.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_peeloff,0xfff,0x20001c1,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_persona.S b/libc/sysv/consts/__NR_persona.S new file mode 100644 index 000000000..add76381d --- /dev/null +++ b/libc/sysv/consts/__NR_persona.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_persona,0xfff,0x20001ee,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_pid_hibernate.S b/libc/sysv/consts/__NR_pid_hibernate.S new file mode 100644 index 000000000..8605a6e0a --- /dev/null +++ b/libc/sysv/consts/__NR_pid_hibernate.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_pid_hibernate,0xfff,0x20001b3,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_pid_resume.S b/libc/sysv/consts/__NR_pid_resume.S new file mode 100644 index 000000000..7c9ecf01b --- /dev/null +++ b/libc/sysv/consts/__NR_pid_resume.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_pid_resume,0xfff,0x20001b2,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_pid_shutdown_sockets.S b/libc/sysv/consts/__NR_pid_shutdown_sockets.S new file mode 100644 index 000000000..b1c2bdaf2 --- /dev/null +++ b/libc/sysv/consts/__NR_pid_shutdown_sockets.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_pid_shutdown_sockets,0xfff,0x20001b4,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_pid_suspend.S b/libc/sysv/consts/__NR_pid_suspend.S new file mode 100644 index 000000000..3b63c61ca --- /dev/null +++ b/libc/sysv/consts/__NR_pid_suspend.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_pid_suspend,0xfff,0x20001b1,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_poll_nocancel.S b/libc/sysv/consts/__NR_poll_nocancel.S new file mode 100644 index 000000000..c58de5746 --- /dev/null +++ b/libc/sysv/consts/__NR_poll_nocancel.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_poll_nocancel,0xfff,0x20001a1,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_posix_openpt.S b/libc/sysv/consts/__NR_posix_openpt.S new file mode 100644 index 000000000..536ed8c52 --- /dev/null +++ b/libc/sysv/consts/__NR_posix_openpt.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_posix_openpt,0xfff,0xfff,0x01f8,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_pread_nocancel.S b/libc/sysv/consts/__NR_pread_nocancel.S new file mode 100644 index 000000000..038614697 --- /dev/null +++ b/libc/sysv/consts/__NR_pread_nocancel.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_pread_nocancel,0xfff,0x200019e,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_proc_info.S b/libc/sysv/consts/__NR_proc_info.S new file mode 100644 index 000000000..85a75ac67 --- /dev/null +++ b/libc/sysv/consts/__NR_proc_info.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_proc_info,0xfff,0x2000150,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_proc_rlimit_control.S b/libc/sysv/consts/__NR_proc_rlimit_control.S new file mode 100644 index 000000000..a9b6c34a8 --- /dev/null +++ b/libc/sysv/consts/__NR_proc_rlimit_control.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_proc_rlimit_control,0xfff,0x20001be,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_proc_trace_log.S b/libc/sysv/consts/__NR_proc_trace_log.S new file mode 100644 index 000000000..caa15a540 --- /dev/null +++ b/libc/sysv/consts/__NR_proc_trace_log.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_proc_trace_log,0xfff,0x20001dd,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_proc_uuid_policy.S b/libc/sysv/consts/__NR_proc_uuid_policy.S new file mode 100644 index 000000000..703df3312 --- /dev/null +++ b/libc/sysv/consts/__NR_proc_uuid_policy.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_proc_uuid_policy,0xfff,0x20001c4,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_procctl.S b/libc/sysv/consts/__NR_procctl.S new file mode 100644 index 000000000..1d77a70c6 --- /dev/null +++ b/libc/sysv/consts/__NR_procctl.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_procctl,0xfff,0xfff,0x0220,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_process_policy.S b/libc/sysv/consts/__NR_process_policy.S new file mode 100644 index 000000000..0d82eca70 --- /dev/null +++ b/libc/sysv/consts/__NR_process_policy.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_process_policy,0xfff,0x2000143,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_profil.S b/libc/sysv/consts/__NR_profil.S new file mode 100644 index 000000000..6b85ed903 --- /dev/null +++ b/libc/sysv/consts/__NR_profil.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_profil,0xfff,0xfff,0x002c,0x002c,0x02c,0xfff diff --git a/libc/sysv/consts/__NR_pselect_nocancel.S b/libc/sysv/consts/__NR_pselect_nocancel.S new file mode 100644 index 000000000..4781b6f72 --- /dev/null +++ b/libc/sysv/consts/__NR_pselect_nocancel.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_pselect_nocancel,0xfff,0x200018b,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_psynch_cvbroad.S b/libc/sysv/consts/__NR_psynch_cvbroad.S new file mode 100644 index 000000000..831e0fc23 --- /dev/null +++ b/libc/sysv/consts/__NR_psynch_cvbroad.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_psynch_cvbroad,0xfff,0x200012f,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_psynch_cvclrprepost.S b/libc/sysv/consts/__NR_psynch_cvclrprepost.S new file mode 100644 index 000000000..155c8e41a --- /dev/null +++ b/libc/sysv/consts/__NR_psynch_cvclrprepost.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_psynch_cvclrprepost,0xfff,0x2000138,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_psynch_cvsignal.S b/libc/sysv/consts/__NR_psynch_cvsignal.S new file mode 100644 index 000000000..9485288bc --- /dev/null +++ b/libc/sysv/consts/__NR_psynch_cvsignal.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_psynch_cvsignal,0xfff,0x2000130,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_psynch_cvwait.S b/libc/sysv/consts/__NR_psynch_cvwait.S new file mode 100644 index 000000000..838028922 --- /dev/null +++ b/libc/sysv/consts/__NR_psynch_cvwait.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_psynch_cvwait,0xfff,0x2000131,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_psynch_mutexdrop.S b/libc/sysv/consts/__NR_psynch_mutexdrop.S new file mode 100644 index 000000000..fda6498a3 --- /dev/null +++ b/libc/sysv/consts/__NR_psynch_mutexdrop.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_psynch_mutexdrop,0xfff,0x200012e,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_psynch_mutexwait.S b/libc/sysv/consts/__NR_psynch_mutexwait.S new file mode 100644 index 000000000..8735e6f38 --- /dev/null +++ b/libc/sysv/consts/__NR_psynch_mutexwait.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_psynch_mutexwait,0xfff,0x200012d,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_psynch_rw_downgrade.S b/libc/sysv/consts/__NR_psynch_rw_downgrade.S new file mode 100644 index 000000000..e1b6b679e --- /dev/null +++ b/libc/sysv/consts/__NR_psynch_rw_downgrade.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_psynch_rw_downgrade,0xfff,0x200012b,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_psynch_rw_longrdlock.S b/libc/sysv/consts/__NR_psynch_rw_longrdlock.S new file mode 100644 index 000000000..89d9a1cbc --- /dev/null +++ b/libc/sysv/consts/__NR_psynch_rw_longrdlock.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_psynch_rw_longrdlock,0xfff,0x2000129,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_psynch_rw_rdlock.S b/libc/sysv/consts/__NR_psynch_rw_rdlock.S new file mode 100644 index 000000000..e509262ac --- /dev/null +++ b/libc/sysv/consts/__NR_psynch_rw_rdlock.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_psynch_rw_rdlock,0xfff,0x2000132,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_psynch_rw_unlock.S b/libc/sysv/consts/__NR_psynch_rw_unlock.S new file mode 100644 index 000000000..db4921e24 --- /dev/null +++ b/libc/sysv/consts/__NR_psynch_rw_unlock.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_psynch_rw_unlock,0xfff,0x2000134,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_psynch_rw_unlock2.S b/libc/sysv/consts/__NR_psynch_rw_unlock2.S new file mode 100644 index 000000000..03137523d --- /dev/null +++ b/libc/sysv/consts/__NR_psynch_rw_unlock2.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_psynch_rw_unlock2,0xfff,0x2000135,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_psynch_rw_upgrade.S b/libc/sysv/consts/__NR_psynch_rw_upgrade.S new file mode 100644 index 000000000..07cb79b78 --- /dev/null +++ b/libc/sysv/consts/__NR_psynch_rw_upgrade.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_psynch_rw_upgrade,0xfff,0x200012c,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_psynch_rw_wrlock.S b/libc/sysv/consts/__NR_psynch_rw_wrlock.S new file mode 100644 index 000000000..ed535dad3 --- /dev/null +++ b/libc/sysv/consts/__NR_psynch_rw_wrlock.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_psynch_rw_wrlock,0xfff,0x2000133,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_psynch_rw_yieldwrlock.S b/libc/sysv/consts/__NR_psynch_rw_yieldwrlock.S new file mode 100644 index 000000000..43049f2d6 --- /dev/null +++ b/libc/sysv/consts/__NR_psynch_rw_yieldwrlock.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_psynch_rw_yieldwrlock,0xfff,0x200012a,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_pthread_canceled.S b/libc/sysv/consts/__NR_pthread_canceled.S new file mode 100644 index 000000000..db21c137d --- /dev/null +++ b/libc/sysv/consts/__NR_pthread_canceled.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_pthread_canceled,0xfff,0x200014d,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_pthread_chdir.S b/libc/sysv/consts/__NR_pthread_chdir.S new file mode 100644 index 000000000..9cb6b6ae3 --- /dev/null +++ b/libc/sysv/consts/__NR_pthread_chdir.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_pthread_chdir,0xfff,0x200015c,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_pthread_fchdir.S b/libc/sysv/consts/__NR_pthread_fchdir.S new file mode 100644 index 000000000..6879cec6f --- /dev/null +++ b/libc/sysv/consts/__NR_pthread_fchdir.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_pthread_fchdir,0xfff,0x200015d,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_pthread_kill.S b/libc/sysv/consts/__NR_pthread_kill.S new file mode 100644 index 000000000..364d8e630 --- /dev/null +++ b/libc/sysv/consts/__NR_pthread_kill.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_pthread_kill,0xfff,0x2000148,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_pthread_markcancel.S b/libc/sysv/consts/__NR_pthread_markcancel.S new file mode 100644 index 000000000..b98c6ddf0 --- /dev/null +++ b/libc/sysv/consts/__NR_pthread_markcancel.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_pthread_markcancel,0xfff,0x200014c,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_pthread_sigmask.S b/libc/sysv/consts/__NR_pthread_sigmask.S new file mode 100644 index 000000000..082b103f0 --- /dev/null +++ b/libc/sysv/consts/__NR_pthread_sigmask.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_pthread_sigmask,0xfff,0x2000149,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_pwrite_nocancel.S b/libc/sysv/consts/__NR_pwrite_nocancel.S new file mode 100644 index 000000000..bdfb4f1a4 --- /dev/null +++ b/libc/sysv/consts/__NR_pwrite_nocancel.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_pwrite_nocancel,0xfff,0x200019f,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_quota.S b/libc/sysv/consts/__NR_quota.S new file mode 100644 index 000000000..78da1a55e --- /dev/null +++ b/libc/sysv/consts/__NR_quota.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_quota,0xfff,0xfff,0x0095,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_rctl_add_rule.S b/libc/sysv/consts/__NR_rctl_add_rule.S new file mode 100644 index 000000000..9b1b71165 --- /dev/null +++ b/libc/sysv/consts/__NR_rctl_add_rule.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_rctl_add_rule,0xfff,0xfff,0x0210,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_rctl_get_limits.S b/libc/sysv/consts/__NR_rctl_get_limits.S new file mode 100644 index 000000000..f1e4510fa --- /dev/null +++ b/libc/sysv/consts/__NR_rctl_get_limits.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_rctl_get_limits,0xfff,0xfff,0x020f,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_rctl_get_racct.S b/libc/sysv/consts/__NR_rctl_get_racct.S new file mode 100644 index 000000000..ebc497a49 --- /dev/null +++ b/libc/sysv/consts/__NR_rctl_get_racct.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_rctl_get_racct,0xfff,0xfff,0x020d,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_rctl_get_rules.S b/libc/sysv/consts/__NR_rctl_get_rules.S new file mode 100644 index 000000000..8d9133ca0 --- /dev/null +++ b/libc/sysv/consts/__NR_rctl_get_rules.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_rctl_get_rules,0xfff,0xfff,0x020e,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_rctl_remove_rule.S b/libc/sysv/consts/__NR_rctl_remove_rule.S new file mode 100644 index 000000000..557e26209 --- /dev/null +++ b/libc/sysv/consts/__NR_rctl_remove_rule.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_rctl_remove_rule,0xfff,0xfff,0x0211,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_read_nocancel.S b/libc/sysv/consts/__NR_read_nocancel.S new file mode 100644 index 000000000..a62c34bf9 --- /dev/null +++ b/libc/sysv/consts/__NR_read_nocancel.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_read_nocancel,0xfff,0x200018c,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_readv_nocancel.S b/libc/sysv/consts/__NR_readv_nocancel.S new file mode 100644 index 000000000..bdecd444b --- /dev/null +++ b/libc/sysv/consts/__NR_readv_nocancel.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_readv_nocancel,0xfff,0x200019b,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_recv.S b/libc/sysv/consts/__NR_recv.S new file mode 100644 index 000000000..0bcb742a6 --- /dev/null +++ b/libc/sysv/consts/__NR_recv.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_recv,0xfff,0xfff,0x0066,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_recvfrom_nocancel.S b/libc/sysv/consts/__NR_recvfrom_nocancel.S new file mode 100644 index 000000000..fc216c0d6 --- /dev/null +++ b/libc/sysv/consts/__NR_recvfrom_nocancel.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_recvfrom_nocancel,0xfff,0x2000193,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_recvmsg_nocancel.S b/libc/sysv/consts/__NR_recvmsg_nocancel.S new file mode 100644 index 000000000..3a4bfc6d0 --- /dev/null +++ b/libc/sysv/consts/__NR_recvmsg_nocancel.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_recvmsg_nocancel,0xfff,0x2000191,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_recvmsg_x.S b/libc/sysv/consts/__NR_recvmsg_x.S new file mode 100644 index 000000000..1b9563af2 --- /dev/null +++ b/libc/sysv/consts/__NR_recvmsg_x.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_recvmsg_x,0xfff,0x20001e0,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_renameatx_np.S b/libc/sysv/consts/__NR_renameatx_np.S new file mode 100644 index 000000000..3c227a9f0 --- /dev/null +++ b/libc/sysv/consts/__NR_renameatx_np.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_renameatx_np,0xfff,0x20001e8,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_revoke.S b/libc/sysv/consts/__NR_revoke.S new file mode 100644 index 000000000..1dae74860 --- /dev/null +++ b/libc/sysv/consts/__NR_revoke.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_revoke,0xfff,0x2000038,0x0038,0x0038,0x038,0xfff diff --git a/libc/sysv/consts/__NR_rfork.S b/libc/sysv/consts/__NR_rfork.S new file mode 100644 index 000000000..a3aa92576 --- /dev/null +++ b/libc/sysv/consts/__NR_rfork.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_rfork,0xfff,0xfff,0x00fb,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_rtprio.S b/libc/sysv/consts/__NR_rtprio.S new file mode 100644 index 000000000..0f40d3ccf --- /dev/null +++ b/libc/sysv/consts/__NR_rtprio.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_rtprio,0xfff,0xfff,0x00a6,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_rtprio_thread.S b/libc/sysv/consts/__NR_rtprio_thread.S new file mode 100644 index 000000000..7acc130b7 --- /dev/null +++ b/libc/sysv/consts/__NR_rtprio_thread.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_rtprio_thread,0xfff,0xfff,0x01d2,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_sctp_generic_recvmsg.S b/libc/sysv/consts/__NR_sctp_generic_recvmsg.S new file mode 100644 index 000000000..9bf42553f --- /dev/null +++ b/libc/sysv/consts/__NR_sctp_generic_recvmsg.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_sctp_generic_recvmsg,0xfff,0xfff,0x01da,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_sctp_generic_sendmsg.S b/libc/sysv/consts/__NR_sctp_generic_sendmsg.S new file mode 100644 index 000000000..c30266fbc --- /dev/null +++ b/libc/sysv/consts/__NR_sctp_generic_sendmsg.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_sctp_generic_sendmsg,0xfff,0xfff,0x01d8,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_sctp_generic_sendmsg_iov.S b/libc/sysv/consts/__NR_sctp_generic_sendmsg_iov.S new file mode 100644 index 000000000..729af0dc4 --- /dev/null +++ b/libc/sysv/consts/__NR_sctp_generic_sendmsg_iov.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_sctp_generic_sendmsg_iov,0xfff,0xfff,0x01d9,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_sctp_peeloff.S b/libc/sysv/consts/__NR_sctp_peeloff.S new file mode 100644 index 000000000..737d97f78 --- /dev/null +++ b/libc/sysv/consts/__NR_sctp_peeloff.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_sctp_peeloff,0xfff,0xfff,0x01d7,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_searchfs.S b/libc/sysv/consts/__NR_searchfs.S new file mode 100644 index 000000000..6a5f282c7 --- /dev/null +++ b/libc/sysv/consts/__NR_searchfs.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_searchfs,0xfff,0x20000e1,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_select_nocancel.S b/libc/sysv/consts/__NR_select_nocancel.S new file mode 100644 index 000000000..eeca7ec63 --- /dev/null +++ b/libc/sysv/consts/__NR_select_nocancel.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_select_nocancel,0xfff,0x2000197,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_sem_close.S b/libc/sysv/consts/__NR_sem_close.S new file mode 100644 index 000000000..2b44a0826 --- /dev/null +++ b/libc/sysv/consts/__NR_sem_close.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_sem_close,0xfff,0x200010d,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_sem_open.S b/libc/sysv/consts/__NR_sem_open.S new file mode 100644 index 000000000..ec83486f6 --- /dev/null +++ b/libc/sysv/consts/__NR_sem_open.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_sem_open,0xfff,0x200010c,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_sem_post.S b/libc/sysv/consts/__NR_sem_post.S new file mode 100644 index 000000000..a09cb6f63 --- /dev/null +++ b/libc/sysv/consts/__NR_sem_post.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_sem_post,0xfff,0x2000111,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_sem_trywait.S b/libc/sysv/consts/__NR_sem_trywait.S new file mode 100644 index 000000000..d6e59a8f9 --- /dev/null +++ b/libc/sysv/consts/__NR_sem_trywait.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_sem_trywait,0xfff,0x2000110,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_sem_unlink.S b/libc/sysv/consts/__NR_sem_unlink.S new file mode 100644 index 000000000..c89f35cd7 --- /dev/null +++ b/libc/sysv/consts/__NR_sem_unlink.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_sem_unlink,0xfff,0x200010e,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_sem_wait.S b/libc/sysv/consts/__NR_sem_wait.S new file mode 100644 index 000000000..69014467e --- /dev/null +++ b/libc/sysv/consts/__NR_sem_wait.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_sem_wait,0xfff,0x200010f,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_sem_wait_nocancel.S b/libc/sysv/consts/__NR_sem_wait_nocancel.S new file mode 100644 index 000000000..70be96dcf --- /dev/null +++ b/libc/sysv/consts/__NR_sem_wait_nocancel.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_sem_wait_nocancel,0xfff,0x20001a4,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_semsys.S b/libc/sysv/consts/__NR_semsys.S new file mode 100644 index 000000000..1cf854f6f --- /dev/null +++ b/libc/sysv/consts/__NR_semsys.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_semsys,0xfff,0x20000fb,0x00a9,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_semwait_signal.S b/libc/sysv/consts/__NR_semwait_signal.S new file mode 100644 index 000000000..4116ed08c --- /dev/null +++ b/libc/sysv/consts/__NR_semwait_signal.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_semwait_signal,0xfff,0x200014e,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_semwait_signal_nocancel.S b/libc/sysv/consts/__NR_semwait_signal_nocancel.S new file mode 100644 index 000000000..3c37b2355 --- /dev/null +++ b/libc/sysv/consts/__NR_semwait_signal_nocancel.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_semwait_signal_nocancel,0xfff,0x20001a7,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_send.S b/libc/sysv/consts/__NR_send.S new file mode 100644 index 000000000..cb98901b5 --- /dev/null +++ b/libc/sysv/consts/__NR_send.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_send,0xfff,0xfff,0x0065,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_sendmsg_nocancel.S b/libc/sysv/consts/__NR_sendmsg_nocancel.S new file mode 100644 index 000000000..aa17e512b --- /dev/null +++ b/libc/sysv/consts/__NR_sendmsg_nocancel.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_sendmsg_nocancel,0xfff,0x2000192,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_sendmsg_x.S b/libc/sysv/consts/__NR_sendmsg_x.S new file mode 100644 index 000000000..8e7874a5c --- /dev/null +++ b/libc/sysv/consts/__NR_sendmsg_x.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_sendmsg_x,0xfff,0x20001e1,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_sendsyslog.S b/libc/sysv/consts/__NR_sendsyslog.S new file mode 100644 index 000000000..8fd30b341 --- /dev/null +++ b/libc/sysv/consts/__NR_sendsyslog.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_sendsyslog,0xfff,0xfff,0xfff,0x0070,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_sendto_nocancel.S b/libc/sysv/consts/__NR_sendto_nocancel.S new file mode 100644 index 000000000..aac1058eb --- /dev/null +++ b/libc/sysv/consts/__NR_sendto_nocancel.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_sendto_nocancel,0xfff,0x200019d,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_set_tcb.S b/libc/sysv/consts/__NR_set_tcb.S new file mode 100644 index 000000000..70a3cb95e --- /dev/null +++ b/libc/sysv/consts/__NR_set_tcb.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_set_tcb,0xfff,0xfff,0xfff,0x0149,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_setattrlist.S b/libc/sysv/consts/__NR_setattrlist.S new file mode 100644 index 000000000..933f9f67d --- /dev/null +++ b/libc/sysv/consts/__NR_setattrlist.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_setattrlist,0xfff,0x20000dd,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_setattrlistat.S b/libc/sysv/consts/__NR_setattrlistat.S new file mode 100644 index 000000000..7a2cc34ae --- /dev/null +++ b/libc/sysv/consts/__NR_setattrlistat.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_setattrlistat,0xfff,0x200020c,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_setaudit.S b/libc/sysv/consts/__NR_setaudit.S new file mode 100644 index 000000000..4af3a95bd --- /dev/null +++ b/libc/sysv/consts/__NR_setaudit.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_setaudit,0xfff,0xfff,0x01c2,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_setaudit_addr.S b/libc/sysv/consts/__NR_setaudit_addr.S new file mode 100644 index 000000000..a7c76d214 --- /dev/null +++ b/libc/sysv/consts/__NR_setaudit_addr.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_setaudit_addr,0xfff,0x2000166,0x01c4,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_setauid.S b/libc/sysv/consts/__NR_setauid.S new file mode 100644 index 000000000..32bf66d3b --- /dev/null +++ b/libc/sysv/consts/__NR_setauid.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_setauid,0xfff,0x2000162,0x01c0,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_setcontext.S b/libc/sysv/consts/__NR_setcontext.S new file mode 100644 index 000000000..a7b156775 --- /dev/null +++ b/libc/sysv/consts/__NR_setcontext.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_setcontext,0xfff,0xfff,0x01a6,0xfff,0x134,0xfff diff --git a/libc/sysv/consts/__NR_setegid.S b/libc/sysv/consts/__NR_setegid.S new file mode 100644 index 000000000..684291b6f --- /dev/null +++ b/libc/sysv/consts/__NR_setegid.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_setegid,0xfff,0x20000b6,0x00b6,0x00b6,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_seteuid.S b/libc/sysv/consts/__NR_seteuid.S new file mode 100644 index 000000000..7b6d092e2 --- /dev/null +++ b/libc/sysv/consts/__NR_seteuid.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_seteuid,0xfff,0x20000b7,0x00b7,0x00b7,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_setfib.S b/libc/sysv/consts/__NR_setfib.S new file mode 100644 index 000000000..4e17c2892 --- /dev/null +++ b/libc/sysv/consts/__NR_setfib.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_setfib,0xfff,0xfff,0x00af,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_sethostid.S b/libc/sysv/consts/__NR_sethostid.S new file mode 100644 index 000000000..5f00d6108 --- /dev/null +++ b/libc/sysv/consts/__NR_sethostid.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_sethostid,0xfff,0xfff,0x008f,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_setlogin.S b/libc/sysv/consts/__NR_setlogin.S new file mode 100644 index 000000000..c611abf21 --- /dev/null +++ b/libc/sysv/consts/__NR_setlogin.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_setlogin,0xfff,0x2000032,0x0032,0x0032,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_setloginclass.S b/libc/sysv/consts/__NR_setloginclass.S new file mode 100644 index 000000000..788ecfe22 --- /dev/null +++ b/libc/sysv/consts/__NR_setloginclass.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_setloginclass,0xfff,0xfff,0x020c,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_setprivexec.S b/libc/sysv/consts/__NR_setprivexec.S new file mode 100644 index 000000000..98cf6a4e0 --- /dev/null +++ b/libc/sysv/consts/__NR_setprivexec.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_setprivexec,0xfff,0x2000098,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_setrtable.S b/libc/sysv/consts/__NR_setrtable.S new file mode 100644 index 000000000..105e134bd --- /dev/null +++ b/libc/sysv/consts/__NR_setrtable.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_setrtable,0xfff,0xfff,0xfff,0x0136,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_setsgroups.S b/libc/sysv/consts/__NR_setsgroups.S new file mode 100644 index 000000000..3cccb8025 --- /dev/null +++ b/libc/sysv/consts/__NR_setsgroups.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_setsgroups,0xfff,0x200011f,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_settid.S b/libc/sysv/consts/__NR_settid.S new file mode 100644 index 000000000..a503d1108 --- /dev/null +++ b/libc/sysv/consts/__NR_settid.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_settid,0xfff,0x200011d,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_settid_with_pid.S b/libc/sysv/consts/__NR_settid_with_pid.S new file mode 100644 index 000000000..7eac35fd7 --- /dev/null +++ b/libc/sysv/consts/__NR_settid_with_pid.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_settid_with_pid,0xfff,0x2000137,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_setugid.S b/libc/sysv/consts/__NR_setugid.S new file mode 100644 index 000000000..bff48880c --- /dev/null +++ b/libc/sysv/consts/__NR_setugid.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_setugid,0xfff,0xfff,0x0176,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_setwgroups.S b/libc/sysv/consts/__NR_setwgroups.S new file mode 100644 index 000000000..8eba918a6 --- /dev/null +++ b/libc/sysv/consts/__NR_setwgroups.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_setwgroups,0xfff,0x2000121,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_sfi_ctl.S b/libc/sysv/consts/__NR_sfi_ctl.S new file mode 100644 index 000000000..a3fc48e04 --- /dev/null +++ b/libc/sysv/consts/__NR_sfi_ctl.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_sfi_ctl,0xfff,0x20001c8,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_sfi_pidctl.S b/libc/sysv/consts/__NR_sfi_pidctl.S new file mode 100644 index 000000000..d07915085 --- /dev/null +++ b/libc/sysv/consts/__NR_sfi_pidctl.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_sfi_pidctl,0xfff,0x20001c9,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_shared_region_check_np.S b/libc/sysv/consts/__NR_shared_region_check_np.S new file mode 100644 index 000000000..df81c227b --- /dev/null +++ b/libc/sysv/consts/__NR_shared_region_check_np.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_shared_region_check_np,0xfff,0x2000126,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_shared_region_map_and_slide_np.S b/libc/sysv/consts/__NR_shared_region_map_and_slide_np.S new file mode 100644 index 000000000..2070082ba --- /dev/null +++ b/libc/sysv/consts/__NR_shared_region_map_and_slide_np.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_shared_region_map_and_slide_np,0xfff,0x20001b6,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_shm_open.S b/libc/sysv/consts/__NR_shm_open.S new file mode 100644 index 000000000..d305b2cff --- /dev/null +++ b/libc/sysv/consts/__NR_shm_open.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_shm_open,0xfff,0x200010a,0x01e2,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_shm_unlink.S b/libc/sysv/consts/__NR_shm_unlink.S new file mode 100644 index 000000000..40b7f2988 --- /dev/null +++ b/libc/sysv/consts/__NR_shm_unlink.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_shm_unlink,0xfff,0x200010b,0x01e3,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_shmsys.S b/libc/sysv/consts/__NR_shmsys.S new file mode 100644 index 000000000..0df8a304a --- /dev/null +++ b/libc/sysv/consts/__NR_shmsys.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_shmsys,0xfff,0x20000fd,0x00ab,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_sigblock.S b/libc/sysv/consts/__NR_sigblock.S new file mode 100644 index 000000000..cc8d4aa08 --- /dev/null +++ b/libc/sysv/consts/__NR_sigblock.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_sigblock,0xfff,0xfff,0x006d,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_sigqueue.S b/libc/sysv/consts/__NR_sigqueue.S new file mode 100644 index 000000000..4fda7f126 --- /dev/null +++ b/libc/sysv/consts/__NR_sigqueue.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_sigqueue,0xfff,0xfff,0x01c8,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_sigsetmask.S b/libc/sysv/consts/__NR_sigsetmask.S new file mode 100644 index 000000000..93975d953 --- /dev/null +++ b/libc/sysv/consts/__NR_sigsetmask.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_sigsetmask,0xfff,0xfff,0x006e,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_sigstack.S b/libc/sysv/consts/__NR_sigstack.S new file mode 100644 index 000000000..57e0060fd --- /dev/null +++ b/libc/sysv/consts/__NR_sigstack.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_sigstack,0xfff,0xfff,0x0070,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_sigsuspend_nocancel.S b/libc/sysv/consts/__NR_sigsuspend_nocancel.S new file mode 100644 index 000000000..8a0e4f4e6 --- /dev/null +++ b/libc/sysv/consts/__NR_sigsuspend_nocancel.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_sigsuspend_nocancel,0xfff,0x200019a,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_sigvec.S b/libc/sysv/consts/__NR_sigvec.S new file mode 100644 index 000000000..9e06c6563 --- /dev/null +++ b/libc/sysv/consts/__NR_sigvec.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_sigvec,0xfff,0xfff,0x006c,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_sigwait.S b/libc/sysv/consts/__NR_sigwait.S new file mode 100644 index 000000000..0565054df --- /dev/null +++ b/libc/sysv/consts/__NR_sigwait.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_sigwait,0xfff,0x200014a,0x01ad,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_sigwait_nocancel.S b/libc/sysv/consts/__NR_sigwait_nocancel.S new file mode 100644 index 000000000..4b45521ac --- /dev/null +++ b/libc/sysv/consts/__NR_sigwait_nocancel.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_sigwait_nocancel,0xfff,0x20001a6,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_sigwaitinfo.S b/libc/sysv/consts/__NR_sigwaitinfo.S new file mode 100644 index 000000000..d1b7f9528 --- /dev/null +++ b/libc/sysv/consts/__NR_sigwaitinfo.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_sigwaitinfo,0xfff,0xfff,0x015a,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_socket_delegate.S b/libc/sysv/consts/__NR_socket_delegate.S new file mode 100644 index 000000000..26f854ebb --- /dev/null +++ b/libc/sysv/consts/__NR_socket_delegate.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_socket_delegate,0xfff,0x20001c2,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_sstk.S b/libc/sysv/consts/__NR_sstk.S new file mode 100644 index 000000000..75da6caef --- /dev/null +++ b/libc/sysv/consts/__NR_sstk.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_sstk,0xfff,0xfff,0x0046,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_stack_snapshot_with_config.S b/libc/sysv/consts/__NR_stack_snapshot_with_config.S new file mode 100644 index 000000000..455b38e54 --- /dev/null +++ b/libc/sysv/consts/__NR_stack_snapshot_with_config.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_stack_snapshot_with_config,0xfff,0x20001eb,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_stat_extended.S b/libc/sysv/consts/__NR_stat_extended.S new file mode 100644 index 000000000..b2fb45bce --- /dev/null +++ b/libc/sysv/consts/__NR_stat_extended.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_stat_extended,0xfff,0x2000155,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_swapcontext.S b/libc/sysv/consts/__NR_swapcontext.S new file mode 100644 index 000000000..be61d0a76 --- /dev/null +++ b/libc/sysv/consts/__NR_swapcontext.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_swapcontext,0xfff,0xfff,0x01a7,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_swapctl.S b/libc/sysv/consts/__NR_swapctl.S new file mode 100644 index 000000000..c5ff5affb --- /dev/null +++ b/libc/sysv/consts/__NR_swapctl.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_swapctl,0xfff,0xfff,0xfff,0x00c1,0x10f,0xfff diff --git a/libc/sysv/consts/__NR_syscall.S b/libc/sysv/consts/__NR_syscall.S new file mode 100644 index 000000000..c482d23cc --- /dev/null +++ b/libc/sysv/consts/__NR_syscall.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_syscall,0xfff,0xfff,0xfff,0x00c6,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_sysctl.S b/libc/sysv/consts/__NR_sysctl.S new file mode 100644 index 000000000..541f3b694 --- /dev/null +++ b/libc/sysv/consts/__NR_sysctl.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_sysctl,0xfff,0x20000ca,0xfff,0x00ca,0x0ca,0xfff diff --git a/libc/sysv/consts/__NR_sysctlbyname.S b/libc/sysv/consts/__NR_sysctlbyname.S new file mode 100644 index 000000000..9b56e6435 --- /dev/null +++ b/libc/sysv/consts/__NR_sysctlbyname.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_sysctlbyname,0xfff,0x2000112,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_system_override.S b/libc/sysv/consts/__NR_system_override.S new file mode 100644 index 000000000..9bfe6ba0a --- /dev/null +++ b/libc/sysv/consts/__NR_system_override.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_system_override,0xfff,0x20001c6,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_telemetry.S b/libc/sysv/consts/__NR_telemetry.S new file mode 100644 index 000000000..903fd0526 --- /dev/null +++ b/libc/sysv/consts/__NR_telemetry.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_telemetry,0xfff,0x20001c3,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_terminate_with_payload.S b/libc/sysv/consts/__NR_terminate_with_payload.S new file mode 100644 index 000000000..05da8ac4f --- /dev/null +++ b/libc/sysv/consts/__NR_terminate_with_payload.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_terminate_with_payload,0xfff,0x2000208,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_tfork.S b/libc/sysv/consts/__NR_tfork.S new file mode 100644 index 000000000..6d8d6487f --- /dev/null +++ b/libc/sysv/consts/__NR_tfork.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_tfork,0xfff,0xfff,0xfff,0x0008,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_thr_create.S b/libc/sysv/consts/__NR_thr_create.S new file mode 100644 index 000000000..578761c55 --- /dev/null +++ b/libc/sysv/consts/__NR_thr_create.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_thr_create,0xfff,0xfff,0x01ae,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_thr_exit.S b/libc/sysv/consts/__NR_thr_exit.S new file mode 100644 index 000000000..c5c2e699d --- /dev/null +++ b/libc/sysv/consts/__NR_thr_exit.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_thr_exit,0xfff,0xfff,0x01af,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_thr_kill.S b/libc/sysv/consts/__NR_thr_kill.S new file mode 100644 index 000000000..6c1b7ca99 --- /dev/null +++ b/libc/sysv/consts/__NR_thr_kill.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_thr_kill,0xfff,0xfff,0x01b1,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_thr_kill2.S b/libc/sysv/consts/__NR_thr_kill2.S new file mode 100644 index 000000000..00e9849d0 --- /dev/null +++ b/libc/sysv/consts/__NR_thr_kill2.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_thr_kill2,0xfff,0xfff,0x01e1,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_thr_self.S b/libc/sysv/consts/__NR_thr_self.S new file mode 100644 index 000000000..53c298d26 --- /dev/null +++ b/libc/sysv/consts/__NR_thr_self.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_thr_self,0xfff,0xfff,0x01b0,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_thr_set_name.S b/libc/sysv/consts/__NR_thr_set_name.S new file mode 100644 index 000000000..3421d2d74 --- /dev/null +++ b/libc/sysv/consts/__NR_thr_set_name.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_thr_set_name,0xfff,0xfff,0x01d0,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_thr_suspend.S b/libc/sysv/consts/__NR_thr_suspend.S new file mode 100644 index 000000000..527d493f2 --- /dev/null +++ b/libc/sysv/consts/__NR_thr_suspend.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_thr_suspend,0xfff,0xfff,0x01ba,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_thr_wake.S b/libc/sysv/consts/__NR_thr_wake.S new file mode 100644 index 000000000..0d0cfd881 --- /dev/null +++ b/libc/sysv/consts/__NR_thr_wake.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_thr_wake,0xfff,0xfff,0x01bb,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_thread_selfcounts.S b/libc/sysv/consts/__NR_thread_selfcounts.S new file mode 100644 index 000000000..443f99455 --- /dev/null +++ b/libc/sysv/consts/__NR_thread_selfcounts.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_thread_selfcounts,0xfff,0x20000ba,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_thread_selfid.S b/libc/sysv/consts/__NR_thread_selfid.S new file mode 100644 index 000000000..15c3d7dc6 --- /dev/null +++ b/libc/sysv/consts/__NR_thread_selfid.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_thread_selfid,0xfff,0x2000174,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_thread_selfusage.S b/libc/sysv/consts/__NR_thread_selfusage.S new file mode 100644 index 000000000..eb0dbcd63 --- /dev/null +++ b/libc/sysv/consts/__NR_thread_selfusage.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_thread_selfusage,0xfff,0x20001e2,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_threxit.S b/libc/sysv/consts/__NR_threxit.S new file mode 100644 index 000000000..cd6c55b50 --- /dev/null +++ b/libc/sysv/consts/__NR_threxit.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_threxit,0xfff,0xfff,0xfff,0x012e,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_thrkill.S b/libc/sysv/consts/__NR_thrkill.S new file mode 100644 index 000000000..3bcde5475 --- /dev/null +++ b/libc/sysv/consts/__NR_thrkill.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_thrkill,0xfff,0xfff,0xfff,0x0077,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_thrsigdivert.S b/libc/sysv/consts/__NR_thrsigdivert.S new file mode 100644 index 000000000..5b5168665 --- /dev/null +++ b/libc/sysv/consts/__NR_thrsigdivert.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_thrsigdivert,0xfff,0xfff,0xfff,0x012f,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_thrsleep.S b/libc/sysv/consts/__NR_thrsleep.S new file mode 100644 index 000000000..08c755e1f --- /dev/null +++ b/libc/sysv/consts/__NR_thrsleep.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_thrsleep,0xfff,0xfff,0xfff,0x005e,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_thrwakeup.S b/libc/sysv/consts/__NR_thrwakeup.S new file mode 100644 index 000000000..7a5df278a --- /dev/null +++ b/libc/sysv/consts/__NR_thrwakeup.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_thrwakeup,0xfff,0xfff,0xfff,0x012d,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_ulock_wait.S b/libc/sysv/consts/__NR_ulock_wait.S new file mode 100644 index 000000000..02486f5df --- /dev/null +++ b/libc/sysv/consts/__NR_ulock_wait.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_ulock_wait,0xfff,0x2000203,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_ulock_wake.S b/libc/sysv/consts/__NR_ulock_wake.S new file mode 100644 index 000000000..86d9d89a8 --- /dev/null +++ b/libc/sysv/consts/__NR_ulock_wake.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_ulock_wake,0xfff,0x2000204,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_umask_extended.S b/libc/sysv/consts/__NR_umask_extended.S new file mode 100644 index 000000000..52f32ce0d --- /dev/null +++ b/libc/sysv/consts/__NR_umask_extended.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_umask_extended,0xfff,0x2000116,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_undelete.S b/libc/sysv/consts/__NR_undelete.S new file mode 100644 index 000000000..c8e754e78 --- /dev/null +++ b/libc/sysv/consts/__NR_undelete.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_undelete,0xfff,0x20000cd,0x00cd,0xfff,0x0cd,0xfff diff --git a/libc/sysv/consts/__NR_unmount.S b/libc/sysv/consts/__NR_unmount.S new file mode 100644 index 000000000..d62cec4d0 --- /dev/null +++ b/libc/sysv/consts/__NR_unmount.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_unmount,0xfff,0x200009f,0x0016,0x0016,0x016,0xfff diff --git a/libc/sysv/consts/__NR_unveil.S b/libc/sysv/consts/__NR_unveil.S new file mode 100644 index 000000000..c26275437 --- /dev/null +++ b/libc/sysv/consts/__NR_unveil.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_unveil,0xfff,0xfff,0xfff,0x0072,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_usrctl.S b/libc/sysv/consts/__NR_usrctl.S new file mode 100644 index 000000000..b5e22c6fa --- /dev/null +++ b/libc/sysv/consts/__NR_usrctl.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_usrctl,0xfff,0x20001bd,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_utrace.S b/libc/sysv/consts/__NR_utrace.S new file mode 100644 index 000000000..1c830af55 --- /dev/null +++ b/libc/sysv/consts/__NR_utrace.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_utrace,0xfff,0xfff,0x014f,0x00d1,0x132,0xfff diff --git a/libc/sysv/consts/__NR_uuidgen.S b/libc/sysv/consts/__NR_uuidgen.S new file mode 100644 index 000000000..0dfb36f87 --- /dev/null +++ b/libc/sysv/consts/__NR_uuidgen.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_uuidgen,0xfff,0xfff,0x0188,0xfff,0x163,0xfff diff --git a/libc/sysv/consts/__NR_vadvise.S b/libc/sysv/consts/__NR_vadvise.S new file mode 100644 index 000000000..b1e4863eb --- /dev/null +++ b/libc/sysv/consts/__NR_vadvise.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_vadvise,0xfff,0xfff,0x0048,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_vfs_purge.S b/libc/sysv/consts/__NR_vfs_purge.S new file mode 100644 index 000000000..3c009cea8 --- /dev/null +++ b/libc/sysv/consts/__NR_vfs_purge.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_vfs_purge,0xfff,0x20001c7,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_vm_pressure_monitor.S b/libc/sysv/consts/__NR_vm_pressure_monitor.S new file mode 100644 index 000000000..e5af2f7a8 --- /dev/null +++ b/libc/sysv/consts/__NR_vm_pressure_monitor.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_vm_pressure_monitor,0xfff,0x2000128,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_wait.S b/libc/sysv/consts/__NR_wait.S new file mode 100644 index 000000000..bc5ff24e8 --- /dev/null +++ b/libc/sysv/consts/__NR_wait.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_wait,0xfff,0xfff,0x0054,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_wait4_nocancel.S b/libc/sysv/consts/__NR_wait4_nocancel.S new file mode 100644 index 000000000..b5c0bc406 --- /dev/null +++ b/libc/sysv/consts/__NR_wait4_nocancel.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_wait4_nocancel,0xfff,0x2000190,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_wait6.S b/libc/sysv/consts/__NR_wait6.S new file mode 100644 index 000000000..25f159d1a --- /dev/null +++ b/libc/sysv/consts/__NR_wait6.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_wait6,0xfff,0xfff,0x0214,0xfff,0x1e1,0xfff diff --git a/libc/sysv/consts/__NR_waitevent.S b/libc/sysv/consts/__NR_waitevent.S new file mode 100644 index 000000000..c7d8d5921 --- /dev/null +++ b/libc/sysv/consts/__NR_waitevent.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_waitevent,0xfff,0x20000e8,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_waitid_nocancel.S b/libc/sysv/consts/__NR_waitid_nocancel.S new file mode 100644 index 000000000..2300a006e --- /dev/null +++ b/libc/sysv/consts/__NR_waitid_nocancel.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_waitid_nocancel,0xfff,0x20001a0,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_watchevent.S b/libc/sysv/consts/__NR_watchevent.S new file mode 100644 index 000000000..5e2e33449 --- /dev/null +++ b/libc/sysv/consts/__NR_watchevent.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_watchevent,0xfff,0x20000e7,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_work_interval_ctl.S b/libc/sysv/consts/__NR_work_interval_ctl.S new file mode 100644 index 000000000..b6c07db6d --- /dev/null +++ b/libc/sysv/consts/__NR_work_interval_ctl.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_work_interval_ctl,0xfff,0x20001f3,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_workq_kernreturn.S b/libc/sysv/consts/__NR_workq_kernreturn.S new file mode 100644 index 000000000..0b12e4bf6 --- /dev/null +++ b/libc/sysv/consts/__NR_workq_kernreturn.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_workq_kernreturn,0xfff,0x2000170,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_workq_open.S b/libc/sysv/consts/__NR_workq_open.S new file mode 100644 index 000000000..65f82ae65 --- /dev/null +++ b/libc/sysv/consts/__NR_workq_open.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_workq_open,0xfff,0x200016f,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_write_nocancel.S b/libc/sysv/consts/__NR_write_nocancel.S new file mode 100644 index 000000000..03c496a5e --- /dev/null +++ b/libc/sysv/consts/__NR_write_nocancel.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_write_nocancel,0xfff,0x200018d,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_writev_nocancel.S b/libc/sysv/consts/__NR_writev_nocancel.S new file mode 100644 index 000000000..bfcc2eceb --- /dev/null +++ b/libc/sysv/consts/__NR_writev_nocancel.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_writev_nocancel,0xfff,0x200019c,0xfff,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/__NR_yield.S b/libc/sysv/consts/__NR_yield.S new file mode 100644 index 000000000..74ec8055e --- /dev/null +++ b/libc/sysv/consts/__NR_yield.S @@ -0,0 +1,2 @@ +#include "libc/sysv/consts/syscon.internal.h" +.syscon nr,__NR_yield,0xfff,0xfff,0x0141,0xfff,0xfff,0xfff diff --git a/libc/sysv/consts/fan.h b/libc/sysv/consts/fan.h index 1276490a6..7b4784d44 100644 --- a/libc/sysv/consts/fan.h +++ b/libc/sysv/consts/fan.h @@ -1,41 +1,84 @@ #ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_FAN_H_ #define COSMOPOLITAN_LIBC_SYSV_CONSTS_FAN_H_ +#include "libc/runtime/symbolic.h" -#define FAN_CLASS_NOTIF 0 -#define FAN_ACCESS 1 -#define FAN_ACCESS_PERM 0x020000 -#define FAN_ALLOW 1 -#define FAN_ALL_CLASS_BITS 12 -#define FAN_ALL_EVENTS 59 -#define FAN_ALL_INIT_FLAGS 63 -#define FAN_ALL_MARK_FLAGS 255 -#define FAN_ALL_OUTGOING_EVENTS 0x03403b -#define FAN_ALL_PERM_EVENTS 0x030000 -#define FAN_CLASS_CONTENT 4 -#define FAN_CLASS_PRE_CONTENT 8 -#define FAN_CLOEXEC 1 -#define FAN_CLOSE 24 -#define FAN_CLOSE_NOWRITE 0x10 -#define FAN_CLOSE_WRITE 8 -#define FAN_DENY 2 -#define FAN_EVENT_METADATA_LEN 24 -#define FAN_EVENT_ON_CHILD 0x08000000 -#define FAN_MARK_ADD 1 -#define FAN_MARK_DONT_FOLLOW 4 -#define FAN_MARK_FLUSH 0x80 -#define FAN_MARK_IGNORED_MASK 0x20 -#define FAN_MARK_IGNORED_SURV_MODIFY 0x40 -#define FAN_MARK_MOUNT 0x10 -#define FAN_MARK_ONLYDIR 8 -#define FAN_MARK_REMOVE 2 -#define FAN_MODIFY 2 -#define FAN_NOFD -1 -#define FAN_NONBLOCK 2 -#define FAN_ONDIR 0x40000000 -#define FAN_OPEN 0x20 -#define FAN_OPEN_PERM 0x010000 -#define FAN_Q_OVERFLOW 0x4000 -#define FAN_UNLIMITED_MARKS 0x20 -#define FAN_UNLIMITED_QUEUE 0x10 +#define FAN_ACCESS SYMBOLIC(FAN_ACCESS) +#define FAN_ACCESS_PERM SYMBOLIC(FAN_ACCESS_PERM) +#define FAN_ALLOW SYMBOLIC(FAN_ALLOW) +#define FAN_ALL_CLASS_BITS SYMBOLIC(FAN_ALL_CLASS_BITS) +#define FAN_ALL_EVENTS SYMBOLIC(FAN_ALL_EVENTS) +#define FAN_ALL_INIT_FLAGS SYMBOLIC(FAN_ALL_INIT_FLAGS) +#define FAN_ALL_MARK_FLAGS SYMBOLIC(FAN_ALL_MARK_FLAGS) +#define FAN_ALL_OUTGOING_EVENTS SYMBOLIC(FAN_ALL_OUTGOING_EVENTS) +#define FAN_ALL_PERM_EVENTS SYMBOLIC(FAN_ALL_PERM_EVENTS) +#define FAN_CLASS_CONTENT SYMBOLIC(FAN_CLASS_CONTENT) +#define FAN_CLASS_NOTIF SYMBOLIC(FAN_CLASS_NOTIF) +#define FAN_CLASS_PRE_CONTENT SYMBOLIC(FAN_CLASS_PRE_CONTENT) +#define FAN_CLOEXEC SYMBOLIC(FAN_CLOEXEC) +#define FAN_CLOSE SYMBOLIC(FAN_CLOSE) +#define FAN_CLOSE_NOWRITE SYMBOLIC(FAN_CLOSE_NOWRITE) +#define FAN_CLOSE_WRITE SYMBOLIC(FAN_CLOSE_WRITE) +#define FAN_DENY SYMBOLIC(FAN_DENY) +#define FAN_EVENT_METADATA_LEN SYMBOLIC(FAN_EVENT_METADATA_LEN) +#define FAN_EVENT_ON_CHILD SYMBOLIC(FAN_EVENT_ON_CHILD) +#define FAN_MARK_ADD SYMBOLIC(FAN_MARK_ADD) +#define FAN_MARK_DONT_FOLLOW SYMBOLIC(FAN_MARK_DONT_FOLLOW) +#define FAN_MARK_FLUSH SYMBOLIC(FAN_MARK_FLUSH) +#define FAN_MARK_IGNORED_MASK SYMBOLIC(FAN_MARK_IGNORED_MASK) +#define FAN_MARK_IGNORED_SURV_MODIFY SYMBOLIC(FAN_MARK_IGNORED_SURV_MODIFY) +#define FAN_MARK_MOUNT SYMBOLIC(FAN_MARK_MOUNT) +#define FAN_MARK_ONLYDIR SYMBOLIC(FAN_MARK_ONLYDIR) +#define FAN_MARK_REMOVE SYMBOLIC(FAN_MARK_REMOVE) +#define FAN_MODIFY SYMBOLIC(FAN_MODIFY) +#define FAN_NOFD SYMBOLIC(FAN_NOFD) +#define FAN_NONBLOCK SYMBOLIC(FAN_NONBLOCK) +#define FAN_ONDIR SYMBOLIC(FAN_ONDIR) +#define FAN_OPEN SYMBOLIC(FAN_OPEN) +#define FAN_OPEN_PERM SYMBOLIC(FAN_OPEN_PERM) +#define FAN_Q_OVERFLOW SYMBOLIC(FAN_Q_OVERFLOW) +#define FAN_UNLIMITED_MARKS SYMBOLIC(FAN_UNLIMITED_MARKS) +#define FAN_UNLIMITED_QUEUE SYMBOLIC(FAN_UNLIMITED_QUEUE) +#if !(__ASSEMBLER__ + __LINKER__ + 0) +COSMOPOLITAN_C_START_ + +extern const unsigned int FAN_ACCESS; +extern const unsigned int FAN_ACCESS_PERM; +extern const unsigned int FAN_ALLOW; +extern const unsigned int FAN_ALL_CLASS_BITS; +extern const unsigned int FAN_ALL_EVENTS; +extern const unsigned int FAN_ALL_INIT_FLAGS; +extern const unsigned int FAN_ALL_MARK_FLAGS; +extern const unsigned int FAN_ALL_OUTGOING_EVENTS; +extern const unsigned int FAN_ALL_PERM_EVENTS; +extern const unsigned int FAN_CLASS_CONTENT; +extern const unsigned int FAN_CLASS_NOTIF; +extern const unsigned int FAN_CLASS_PRE_CONTENT; +extern const unsigned int FAN_CLOEXEC; +extern const unsigned int FAN_CLOSE; +extern const unsigned int FAN_CLOSE_NOWRITE; +extern const unsigned int FAN_CLOSE_WRITE; +extern const unsigned int FAN_DENY; +extern const unsigned int FAN_EVENT_METADATA_LEN; +extern const unsigned int FAN_EVENT_ON_CHILD; +extern const unsigned int FAN_MARK_ADD; +extern const unsigned int FAN_MARK_DONT_FOLLOW; +extern const unsigned int FAN_MARK_FLUSH; +extern const unsigned int FAN_MARK_IGNORED_MASK; +extern const unsigned int FAN_MARK_IGNORED_SURV_MODIFY; +extern const unsigned int FAN_MARK_MOUNT; +extern const unsigned int FAN_MARK_ONLYDIR; +extern const unsigned int FAN_MARK_REMOVE; +extern const unsigned int FAN_MODIFY; +extern const unsigned int FAN_NOFD; +extern const unsigned int FAN_NONBLOCK; +extern const unsigned int FAN_ONDIR; +extern const unsigned int FAN_OPEN; +extern const unsigned int FAN_OPEN_PERM; +extern const unsigned int FAN_Q_OVERFLOW; +extern const unsigned int FAN_UNLIMITED_MARKS; +extern const unsigned int FAN_UNLIMITED_QUEUE; + +COSMOPOLITAN_C_END_ +#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ #endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_FAN_H_ */ diff --git a/libc/sysv/consts/in.h b/libc/sysv/consts/in.h index c43ccff39..17416c789 100644 --- a/libc/sysv/consts/in.h +++ b/libc/sysv/consts/in.h @@ -1,31 +1,66 @@ #ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_IN_H_ #define COSMOPOLITAN_LIBC_SYSV_CONSTS_IN_H_ +#include "libc/runtime/symbolic.h" -#define IN_ACCESS 1 -#define IN_ALL_EVENTS 0x0fff -#define IN_ATTRIB 4 -#define IN_CLOEXEC 0x080000 -#define IN_CLOSE 24 -#define IN_CLOSE_NOWRITE 0x10 -#define IN_CLOSE_WRITE 8 -#define IN_CREATE 0x0100 -#define IN_DELETE 0x0200 -#define IN_DELETE_SELF 0x0400 -#define IN_DONT_FOLLOW 0x02000000 -#define IN_EXCL_UNLINK 0x04000000 -#define IN_IGNORED 0x8000 -#define IN_ISDIR 0x40000000 -#define IN_MASK_ADD 0x20000000 -#define IN_MODIFY 2 -#define IN_MOVE 192 -#define IN_MOVED_FROM 0x40 -#define IN_MOVED_TO 0x80 -#define IN_MOVE_SELF 0x0800 -#define IN_NONBLOCK 0x0800 -#define IN_ONESHOT 0x80000000 -#define IN_ONLYDIR 0x01000000 -#define IN_OPEN 0x20 -#define IN_Q_OVERFLOW 0x4000 -#define IN_UNMOUNT 0x2000 +#define IN_ACCESS SYMBOLIC(IN_ACCESS) +#define IN_ALL_EVENTS SYMBOLIC(IN_ALL_EVENTS) +#define IN_ATTRIB SYMBOLIC(IN_ATTRIB) +#define IN_CLOEXEC SYMBOLIC(IN_CLOEXEC) +#define IN_CLOSE SYMBOLIC(IN_CLOSE) +#define IN_CLOSE_NOWRITE SYMBOLIC(IN_CLOSE_NOWRITE) +#define IN_CLOSE_WRITE SYMBOLIC(IN_CLOSE_WRITE) +#define IN_CREATE SYMBOLIC(IN_CREATE) +#define IN_DELETE SYMBOLIC(IN_DELETE) +#define IN_DELETE_SELF SYMBOLIC(IN_DELETE_SELF) +#define IN_DONT_FOLLOW SYMBOLIC(IN_DONT_FOLLOW) +#define IN_EXCL_UNLINK SYMBOLIC(IN_EXCL_UNLINK) +#define IN_IGNORED SYMBOLIC(IN_IGNORED) +#define IN_ISDIR SYMBOLIC(IN_ISDIR) +#define IN_LOOPBACKNET SYMBOLIC(IN_LOOPBACKNET) +#define IN_MASK_ADD SYMBOLIC(IN_MASK_ADD) +#define IN_MODIFY SYMBOLIC(IN_MODIFY) +#define IN_MOVE SYMBOLIC(IN_MOVE) +#define IN_MOVED_FROM SYMBOLIC(IN_MOVED_FROM) +#define IN_MOVED_TO SYMBOLIC(IN_MOVED_TO) +#define IN_MOVE_SELF SYMBOLIC(IN_MOVE_SELF) +#define IN_NONBLOCK SYMBOLIC(IN_NONBLOCK) +#define IN_ONESHOT SYMBOLIC(IN_ONESHOT) +#define IN_ONLYDIR SYMBOLIC(IN_ONLYDIR) +#define IN_OPEN SYMBOLIC(IN_OPEN) +#define IN_Q_OVERFLOW SYMBOLIC(IN_Q_OVERFLOW) +#define IN_UNMOUNT SYMBOLIC(IN_UNMOUNT) +#if !(__ASSEMBLER__ + __LINKER__ + 0) +COSMOPOLITAN_C_START_ + +extern const uint32_t IN_ACCESS; +extern const uint32_t IN_ALL_EVENTS; +extern const uint32_t IN_ATTRIB; +extern const uint32_t IN_CLOEXEC; +extern const uint32_t IN_CLOSE; +extern const uint32_t IN_CLOSE_NOWRITE; +extern const uint32_t IN_CLOSE_WRITE; +extern const uint32_t IN_CREATE; +extern const uint32_t IN_DELETE; +extern const uint32_t IN_DELETE_SELF; +extern const uint32_t IN_DONT_FOLLOW; +extern const uint32_t IN_EXCL_UNLINK; +extern const uint32_t IN_IGNORED; +extern const uint32_t IN_ISDIR; +extern const uint32_t IN_LOOPBACKNET; +extern const uint32_t IN_MASK_ADD; +extern const uint32_t IN_MODIFY; +extern const uint32_t IN_MOVE; +extern const uint32_t IN_MOVED_FROM; +extern const uint32_t IN_MOVED_TO; +extern const uint32_t IN_MOVE_SELF; +extern const uint32_t IN_NONBLOCK; +extern const uint32_t IN_ONESHOT; +extern const uint32_t IN_ONLYDIR; +extern const uint32_t IN_OPEN; +extern const uint32_t IN_Q_OVERFLOW; +extern const uint32_t IN_UNMOUNT; + +COSMOPOLITAN_C_END_ +#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ #endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_IN_H_ */ diff --git a/libc/sysv/consts/inaddr.h b/libc/sysv/consts/inaddr.h index dc6c4c120..08773d6fc 100644 --- a/libc/sysv/consts/inaddr.h +++ b/libc/sysv/consts/inaddr.h @@ -19,6 +19,4 @@ #define INADDR_MAX_LOCAL_GROUP 0xE00000FFu #define INADDR_UNSPEC_GROUP 0xE0000000u -#define IN_LOOPBACKNET 127 - #endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_INADDR_H_ */ diff --git a/libc/sysv/consts/nd.h b/libc/sysv/consts/nd.h new file mode 100644 index 000000000..2777898e9 --- /dev/null +++ b/libc/sysv/consts/nd.h @@ -0,0 +1,34 @@ +#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_ND_H_ +#define COSMOPOLITAN_LIBC_SYSV_CONSTS_ND_H_ +#include "libc/runtime/symbolic.h" + +#define ND_NA_FLAG_OVERRIDE SYMBOLIC(ND_NA_FLAG_OVERRIDE) +#define ND_NA_FLAG_ROUTER SYMBOLIC(ND_NA_FLAG_ROUTER) +#define ND_NA_FLAG_SOLICITED SYMBOLIC(ND_NA_FLAG_SOLICITED) +#define ND_NEIGHBOR_ADVERT SYMBOLIC(ND_NEIGHBOR_ADVERT) +#define ND_NEIGHBOR_SOLICIT SYMBOLIC(ND_NEIGHBOR_SOLICIT) +#define ND_RA_FLAG_HOME_AGENT SYMBOLIC(ND_RA_FLAG_HOME_AGENT) +#define ND_RA_FLAG_MANAGED SYMBOLIC(ND_RA_FLAG_MANAGED) +#define ND_RA_FLAG_OTHER SYMBOLIC(ND_RA_FLAG_OTHER) +#define ND_REDIRECT SYMBOLIC(ND_REDIRECT) +#define ND_ROUTER_ADVERT SYMBOLIC(ND_ROUTER_ADVERT) +#define ND_ROUTER_SOLICIT SYMBOLIC(ND_ROUTER_SOLICIT) + +#if !(__ASSEMBLER__ + __LINKER__ + 0) +COSMOPOLITAN_C_START_ + +extern const long ND_NA_FLAG_OVERRIDE; +extern const long ND_NA_FLAG_ROUTER; +extern const long ND_NA_FLAG_SOLICITED; +extern const long ND_NEIGHBOR_ADVERT; +extern const long ND_NEIGHBOR_SOLICIT; +extern const long ND_RA_FLAG_HOME_AGENT; +extern const long ND_RA_FLAG_MANAGED; +extern const long ND_RA_FLAG_OTHER; +extern const long ND_REDIRECT; +extern const long ND_ROUTER_ADVERT; +extern const long ND_ROUTER_SOLICIT; + +COSMOPOLITAN_C_END_ +#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ +#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_ND_H_ */ diff --git a/libc/sysv/consts/nr.h b/libc/sysv/consts/nr.h index e6607d7ef..c926b9dcc 100644 --- a/libc/sysv/consts/nr.h +++ b/libc/sysv/consts/nr.h @@ -336,340 +336,1207 @@ extern const long __NR_io_uring_register; extern const long __NR_pledge; extern const long __NR_msyscall; extern const long __NR_ktrace; +extern const long __NR_kqueue; +extern const long __NR_kevent; +extern const long __NR_revoke; +extern const long __NR_setlogin; +extern const long __NR_getfh; +extern const long __NR_chflags; +extern const long __NR_getfsstat; +extern const long __NR_nfssvc; +extern const long __NR_adjtime; +extern const long __NR_fchflags; +extern const long __NR_seteuid; +extern const long __NR_setegid; +extern const long __NR_fpathconf; +extern const long __NR_fhopen; +extern const long __NR_unmount; +extern const long __NR_issetugid; +extern const long __NR_minherit; +extern const long __NR_pathconf; +extern const long __NR_sysctl; +extern const long __NR_ntp_adjtime; +extern const long __NR_ntp_gettime; +extern const long __NR_shm_unlink; +extern const long __NR_shm_open; +extern const long __NR_aio_read; +extern const long __NR_aio_suspend; +extern const long __NR_aio_cancel; +extern const long __NR_aio_fsync; +extern const long __NR_aio_error; +extern const long __NR_aio_return; +extern const long __NR_aio_write; +extern const long __NR_aio_waitcomplete; +extern const long __NR_aio_suspend_nocancel; +extern const long __NR_aio_mlock; +extern const long __NR_sigwait; +extern const long __NR_undelete; +extern const long __NR_getlogin; +extern const long __NR_getdtablesize; +extern const long __NR_setauid; +extern const long __NR_audit; +extern const long __NR_auditctl; +extern const long __NR_getaudit_addr; +extern const long __NR_getdirentries; +extern const long __NR_lio_listio; +extern const long __NR_setaudit_addr; +extern const long __NR_getauid; +extern const long __NR_semsys; +extern const long __NR_auditon; +extern const long __NR_msgsys; +extern const long __NR_shmsys; +extern const long __NR_fhstat; +extern const long __NR_chflagsat; +extern const long __NR_profil; +extern const long __NR_fhstatfs; +extern const long __NR_utrace; +extern const long __NR_closefrom; +extern const long __NR_pthread_markcancel; +extern const long __NR_pthread_kill; +extern const long __NR_pthread_fchdir; +extern const long __NR_pthread_sigmask; +extern const long __NR_pthread_chdir; +extern const long __NR_pthread_canceled; +extern const long __NR_disable_threadsignal; +extern const long __NR_abort_with_payload; +extern const long __NR_accept_nocancel; +extern const long __NR_access_extended; +extern const long __NR_audit_session_join; +extern const long __NR_audit_session_port; +extern const long __NR_audit_session_self; +extern const long __NR_bsdthread_ctl; +extern const long __NR_bsdthread_terminate; +extern const long __NR_change_fdguard_np; +extern const long __NR_chmod_extended; +extern const long __NR_clonefileat; +extern const long __NR_close_nocancel; +extern const long __NR_coalition; +extern const long __NR_coalition_info; +extern const long __NR_connect_nocancel; +extern const long __NR_connectx; +extern const long __NR_copyfile; +extern const long __NR_csops; +extern const long __NR_csops_audittoken; +extern const long __NR_csrctl; +extern const long __NR_delete; +extern const long __NR_disconnectx; +extern const long __NR_exchangedata; +extern const long __NR_fchmod_extended; +extern const long __NR_fclonefileat; +extern const long __NR_fcntl_nocancel; +extern const long __NR_ffsctl; +extern const long __NR_fgetattrlist; +extern const long __NR_fileport_makefd; +extern const long __NR_fileport_makeport; +extern const long __NR_fmount; +extern const long __NR_fs_snapshot; +extern const long __NR_fsctl; +extern const long __NR_fsetattrlist; +extern const long __NR_fstat_extended; +extern const long __NR_fsync_nocancel; +extern const long __NR_getattrlist; +extern const long __NR_getattrlistat; +extern const long __NR_getattrlistbulk; +extern const long __NR_getdirentriesattr; +extern const long __NR_gethostuuid; +extern const long __NR_getsgroups; +extern const long __NR_getwgroups; +extern const long __NR_grab_pgo_data; +extern const long __NR_guarded_close_np; +extern const long __NR_guarded_kqueue_np; +extern const long __NR_guarded_open_np; +extern const long __NR_guarded_pwrite_np; +extern const long __NR_guarded_write_np; +extern const long __NR_guarded_writev_np; +extern const long __NR_identitysvc; +extern const long __NR_initgroups; +extern const long __NR_iopolicysys; +extern const long __NR_kas_info; +extern const long __NR_kdebug_trace; +extern const long __NR_kdebug_trace_string; +extern const long __NR_kdebug_typefilter; +extern const long __NR_kevent_id; +extern const long __NR_kevent_qos; +extern const long __NR_ledger; +extern const long __NR_lstat_extended; +extern const long __NR_memorystatus_control; +extern const long __NR_memorystatus_get_level; +extern const long __NR_microstackshot; +extern const long __NR_mkdir_extended; +extern const long __NR_mkfifo_extended; +extern const long __NR_modwatch; +extern const long __NR_mremap_encrypted; +extern const long __NR_msgrcv_nocancel; +extern const long __NR_msgsnd_nocancel; +extern const long __NR_msync_nocancel; +extern const long __NR_necp_client_action; +extern const long __NR_necp_match_policy; +extern const long __NR_necp_open; +extern const long __NR_necp_session_action; +extern const long __NR_necp_session_open; +extern const long __NR_net_qos_guideline; +extern const long __NR_netagent_trigger; +extern const long __NR_nfsclnt; +extern const long __NR_open_dprotected_np; +extern const long __NR_open_extended; +extern const long __NR_open_nocancel; +extern const long __NR_openat_nocancel; +extern const long __NR_openbyid_np; +extern const long __NR_os_fault_with_payload; +extern const long __NR_peeloff; +extern const long __NR_persona; +extern const long __NR_pid_hibernate; +extern const long __NR_pid_resume; +extern const long __NR_pid_shutdown_sockets; +extern const long __NR_pid_suspend; +extern const long __NR_poll_nocancel; +extern const long __NR_pread_nocancel; +extern const long __NR_proc_info; +extern const long __NR_proc_rlimit_control; +extern const long __NR_proc_trace_log; +extern const long __NR_proc_uuid_policy; +extern const long __NR_process_policy; +extern const long __NR_pselect_nocancel; +extern const long __NR_psynch_cvbroad; +extern const long __NR_psynch_cvclrprepost; +extern const long __NR_psynch_cvsignal; +extern const long __NR_psynch_mutexdrop; +extern const long __NR_psynch_mutexwait; +extern const long __NR_psynch_rw_downgrade; +extern const long __NR_psynch_rw_longrdlock; +extern const long __NR_psynch_rw_rdlock; +extern const long __NR_psynch_rw_unlock; +extern const long __NR_psynch_rw_unlock2; +extern const long __NR_psynch_rw_upgrade; +extern const long __NR_psynch_rw_wrlock; +extern const long __NR_psynch_rw_yieldwrlock; +extern const long __NR_pwrite_nocancel; +extern const long __NR_read_nocancel; +extern const long __NR_readv_nocancel; +extern const long __NR_recvfrom_nocancel; +extern const long __NR_recvmsg_nocancel; +extern const long __NR_recvmsg_x; +extern const long __NR_renameatx_np; +extern const long __NR_searchfs; +extern const long __NR_select_nocancel; +extern const long __NR_sem_close; +extern const long __NR_sem_open; +extern const long __NR_sem_post; +extern const long __NR_sem_trywait; +extern const long __NR_sem_unlink; +extern const long __NR_sem_wait; +extern const long __NR_sem_wait_nocancel; +extern const long __NR_sendmsg_nocancel; +extern const long __NR_sendmsg_x; +extern const long __NR_sendto_nocancel; +extern const long __NR_setattrlist; +extern const long __NR_setattrlistat; +extern const long __NR_setprivexec; +extern const long __NR_setsgroups; +extern const long __NR_settid; +extern const long __NR_settid_with_pid; +extern const long __NR_setwgroups; +extern const long __NR_sfi_ctl; +extern const long __NR_sfi_pidctl; +extern const long __NR_shared_region_check_np; +extern const long __NR_sigsuspend_nocancel; +extern const long __NR_socket_delegate; +extern const long __NR_stat_extended; +extern const long __NR_sysctlbyname; +extern const long __NR_system_override; +extern const long __NR_telemetry; +extern const long __NR_terminate_with_payload; +extern const long __NR_thread_selfcounts; +extern const long __NR_thread_selfid; +extern const long __NR_thread_selfusage; +extern const long __NR_ulock_wait; +extern const long __NR_ulock_wake; +extern const long __NR_umask_extended; +extern const long __NR_usrctl; +extern const long __NR_vfs_purge; +extern const long __NR_vm_pressure_monitor; +extern const long __NR_wait4_nocancel; +extern const long __NR_waitevent; +extern const long __NR_waitid_nocancel; +extern const long __NR_watchevent; +extern const long __NR_work_interval_ctl; +extern const long __NR_workq_kernreturn; +extern const long __NR_workq_open; +extern const long __NR_write_nocancel; +extern const long __NR_writev_nocancel; +extern const long __NR_abort2; +extern const long __NR_afs3_syscall; +extern const long __NR_bindat; +extern const long __NR_break; +extern const long __NR_cap_enter; +extern const long __NR_cap_fcntls_get; +extern const long __NR_cap_fcntls_limit; +extern const long __NR_cap_getmode; +extern const long __NR_cap_ioctls_get; +extern const long __NR_cap_ioctls_limit; +extern const long __NR_cap_rights_limit; +extern const long __NR_clock_getcpuclockid2; +extern const long __NR_connectat; +extern const long __NR_cpuset; +extern const long __NR_cpuset_getdomain; +extern const long __NR_cpuset_getid; +extern const long __NR_cpuset_setdomain; +extern const long __NR_cpuset_setid; +extern const long __NR_eaccess; +extern const long __NR_extattr_delete_fd; +extern const long __NR_extattr_delete_file; +extern const long __NR_extattr_delete_link; +extern const long __NR_extattr_get_fd; +extern const long __NR_extattr_get_file; +extern const long __NR_extattr_get_link; +extern const long __NR_extattr_list_fd; +extern const long __NR_extattr_list_file; +extern const long __NR_extattr_list_link; +extern const long __NR_extattr_set_fd; +extern const long __NR_extattr_set_file; +extern const long __NR_extattr_set_link; +extern const long __NR_extattrctl; +extern const long __NR_fexecve; +extern const long __NR_ffclock_getcounter; +extern const long __NR_ffclock_getestimate; +extern const long __NR_ffclock_setestimate; +extern const long __NR_fhlink; +extern const long __NR_fhlinkat; +extern const long __NR_fhreadlink; +extern const long __NR_getaudit; +extern const long __NR_getcontext; +extern const long __NR_getfhat; +extern const long __NR_gethostid; +extern const long __NR_getkerninfo; +extern const long __NR_getloginclass; +extern const long __NR_getpagesize; +extern const long __NR_gssd_syscall; +extern const long __NR_jail; +extern const long __NR_jail_attach; +extern const long __NR_jail_get; +extern const long __NR_jail_remove; +extern const long __NR_jail_set; +extern const long __NR_kenv; +extern const long __NR_kldfind; +extern const long __NR_kldfirstmod; +extern const long __NR_kldload; +extern const long __NR_kldnext; +extern const long __NR_kldstat; +extern const long __NR_kldsym; +extern const long __NR_kldunload; +extern const long __NR_kldunloadf; +extern const long __NR_kmq_notify; +extern const long __NR_kmq_setattr; +extern const long __NR_kmq_timedreceive; +extern const long __NR_kmq_timedsend; +extern const long __NR_kmq_unlink; +extern const long __NR_ksem_close; +extern const long __NR_ksem_destroy; +extern const long __NR_ksem_getvalue; +extern const long __NR_ksem_init; +extern const long __NR_ksem_open; +extern const long __NR_ksem_post; +extern const long __NR_ksem_timedwait; +extern const long __NR_ksem_trywait; +extern const long __NR_ksem_unlink; +extern const long __NR_ksem_wait; +extern const long __NR_ktimer_create; +extern const long __NR_ktimer_delete; +extern const long __NR_ktimer_getoverrun; +extern const long __NR_ktimer_gettime; +extern const long __NR_ktimer_settime; +extern const long __NR_lchflags; +extern const long __NR_lchmod; +extern const long __NR_lgetfh; +extern const long __NR_lpathconf; +extern const long __NR_lutimes; +extern const long __NR_mac_syscall; +extern const long __NR_modfind; +extern const long __NR_modfnext; +extern const long __NR_modnext; +extern const long __NR_modstat; +extern const long __NR_nfstat; +extern const long __NR_nlm_syscall; +extern const long __NR_nlstat; +extern const long __NR_nmount; +extern const long __NR_nnpfs_syscall; +extern const long __NR_nstat; +extern const long __NR_pdfork; +extern const long __NR_pdgetpid; +extern const long __NR_pdkill; +extern const long __NR_posix_openpt; +extern const long __NR_procctl; +extern const long __NR_psynch_cvwait; +extern const long __NR_quota; +extern const long __NR_rctl_add_rule; +extern const long __NR_rctl_get_limits; +extern const long __NR_rctl_get_racct; +extern const long __NR_rctl_get_rules; +extern const long __NR_rctl_remove_rule; +extern const long __NR_recv; +extern const long __NR_rfork; +extern const long __NR_rtprio; +extern const long __NR_rtprio_thread; +extern const long __NR_send; +extern const long __NR_setaudit; +extern const long __NR_setcontext; +extern const long __NR_setfib; +extern const long __NR_sethostid; +extern const long __NR_setloginclass; +extern const long __NR_sigblock; +extern const long __NR_sigqueue; +extern const long __NR_sigsetmask; +extern const long __NR_sigstack; +extern const long __NR_sigvec; +extern const long __NR_sigwaitinfo; +extern const long __NR_sstk; +extern const long __NR_swapcontext; +extern const long __NR_thr_create; +extern const long __NR_thr_exit; +extern const long __NR_thr_kill; +extern const long __NR_thr_kill2; +extern const long __NR_thr_self; +extern const long __NR_thr_set_name; +extern const long __NR_thr_suspend; +extern const long __NR_thr_wake; +extern const long __NR_uuidgen; +extern const long __NR_vadvise; +extern const long __NR_wait; +extern const long __NR_wait6; +extern const long __NR_yield; +extern const long __NR_tfork; +extern const long __NR_thrsleep; +extern const long __NR_thrwakeup; +extern const long __NR_threxit; +extern const long __NR_thrsigdivert; +extern const long __NR_set_tcb; +extern const long __NR_get_tcb; +extern const long __NR_adjfreq; +extern const long __NR_getdtablecount; +extern const long __NR_getlogin_r; +extern const long __NR_getrtable; +extern const long __NR_getthrid; +extern const long __NR_kbind; +extern const long __NR_mquery; +extern const long __NR_obreak; +extern const long __NR_sendsyslog; +extern const long __NR_setrtable; +extern const long __NR_swapctl; +extern const long __NR_thrkill; +extern const long __NR_unveil; +extern const long __NR_mac_get_link; +extern const long __NR_mac_set_link; +extern const long __NR_mac_get_fd; +extern const long __NR_mac_get_file; +extern const long __NR_mac_get_proc; +extern const long __NR_mac_set_fd; +extern const long __NR_mac_get_pid; +extern const long __NR_mac_set_proc; +extern const long __NR_mac_set_file; +extern const long __NR_mac_execve; +extern const long __NR_acl_get_link; +extern const long __NR_sigwait_nocancel; +extern const long __NR_cap_rights_get; +extern const long __NR_semwait_signal; +extern const long __NR_acl_set_link; +extern const long __NR_acl_set_fd; +extern const long __NR_old_semwait_signal; +extern const long __NR_setugid; +extern const long __NR_acl_aclcheck_fd; +extern const long __NR_acl_get_fd; +extern const long __NR___sysctl; +extern const long __NR_mac_getfsstat; +extern const long __NR_mac_get_mount; +extern const long __NR_acl_delete_link; +extern const long __NR_mac_mount; +extern const long __NR_acl_get_file; +extern const long __NR_acl_aclcheck_file; +extern const long __NR_acl_delete_fd; +extern const long __NR_acl_aclcheck_link; +extern const long __NR___mac_syscall; +extern const long __NR_acl_set_file; +extern const long __NR_acl_delete_file; +extern const long __NR_syscall; +extern const long __NR__umtx_op; +extern const long __NR_semwait_signal_nocancel; +extern const long __NR_old_semwait_signal_nocancel; +extern const long __NR_sctp_peeloff; +extern const long __NR_sctp_generic_recvmsg; +extern const long __NR_sctp_generic_sendmsg; +extern const long __NR_sctp_generic_sendmsg_iov; +extern const long __NR_shared_region_map_and_slide_np; +extern const long __NR_guarded_open_dprotected_np; +extern const long __NR_stack_snapshot_with_config; COSMOPOLITAN_C_END_ #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ -#define __NR_exit SYMBOLIC(__NR_exit) -#define __NR_exit_group SYMBOLIC(__NR_exit_group) -#define __NR_read SYMBOLIC(__NR_read) -#define __NR_write SYMBOLIC(__NR_write) -#define __NR_open SYMBOLIC(__NR_open) -#define __NR_close SYMBOLIC(__NR_close) -#define __NR_stat SYMBOLIC(__NR_stat) -#define __NR_fstat SYMBOLIC(__NR_fstat) -#define __NR_lstat SYMBOLIC(__NR_lstat) -#define __NR_poll SYMBOLIC(__NR_poll) -#define __NR_ppoll SYMBOLIC(__NR_ppoll) -#define __NR_lseek SYMBOLIC(__NR_lseek) -#define __NR_mmap SYMBOLIC(__NR_mmap) -#define __NR_msync SYMBOLIC(__NR_msync) -#define __NR_mprotect SYMBOLIC(__NR_mprotect) -#define __NR_munmap SYMBOLIC(__NR_munmap) -#define __NR_sigaction SYMBOLIC(__NR_sigaction) -#define __NR_sigprocmask SYMBOLIC(__NR_sigprocmask) -#define __NR_ioctl SYMBOLIC(__NR_ioctl) -#define __NR_pread SYMBOLIC(__NR_pread) -#define __NR_pwrite SYMBOLIC(__NR_pwrite) -#define __NR_readv SYMBOLIC(__NR_readv) -#define __NR_writev SYMBOLIC(__NR_writev) -#define __NR_access SYMBOLIC(__NR_access) -#define __NR_pipe SYMBOLIC(__NR_pipe) -#define __NR_select SYMBOLIC(__NR_select) -#define __NR_pselect SYMBOLIC(__NR_pselect) -#define __NR_pselect6 SYMBOLIC(__NR_pselect6) -#define __NR_sched_yield SYMBOLIC(__NR_sched_yield) -#define __NR_mremap SYMBOLIC(__NR_mremap) -#define __NR_mincore SYMBOLIC(__NR_mincore) -#define __NR_madvise SYMBOLIC(__NR_madvise) -#define __NR_shmget SYMBOLIC(__NR_shmget) -#define __NR_shmat SYMBOLIC(__NR_shmat) -#define __NR_shmctl SYMBOLIC(__NR_shmctl) -#define __NR_dup SYMBOLIC(__NR_dup) -#define __NR_dup2 SYMBOLIC(__NR_dup2) -#define __NR_pause SYMBOLIC(__NR_pause) -#define __NR_nanosleep SYMBOLIC(__NR_nanosleep) -#define __NR_getitimer SYMBOLIC(__NR_getitimer) -#define __NR_setitimer SYMBOLIC(__NR_setitimer) -#define __NR_alarm SYMBOLIC(__NR_alarm) -#define __NR_getpid SYMBOLIC(__NR_getpid) -#define __NR_sendfile SYMBOLIC(__NR_sendfile) -#define __NR_socket SYMBOLIC(__NR_socket) -#define __NR_connect SYMBOLIC(__NR_connect) -#define __NR_accept SYMBOLIC(__NR_accept) -#define __NR_sendto SYMBOLIC(__NR_sendto) -#define __NR_recvfrom SYMBOLIC(__NR_recvfrom) -#define __NR_sendmsg SYMBOLIC(__NR_sendmsg) -#define __NR_recvmsg SYMBOLIC(__NR_recvmsg) -#define __NR_shutdown SYMBOLIC(__NR_shutdown) -#define __NR_bind SYMBOLIC(__NR_bind) -#define __NR_listen SYMBOLIC(__NR_listen) -#define __NR_getsockname SYMBOLIC(__NR_getsockname) -#define __NR_getpeername SYMBOLIC(__NR_getpeername) -#define __NR_socketpair SYMBOLIC(__NR_socketpair) -#define __NR_setsockopt SYMBOLIC(__NR_setsockopt) -#define __NR_getsockopt SYMBOLIC(__NR_getsockopt) -#define __NR_fork SYMBOLIC(__NR_fork) -#define __NR_vfork SYMBOLIC(__NR_vfork) -#define __NR_posix_spawn SYMBOLIC(__NR_posix_spawn) -#define __NR_execve LITERALLY(0x003b) -#define __NR_wait4 SYMBOLIC(__NR_wait4) -#define __NR_kill SYMBOLIC(__NR_kill) -#define __NR_killpg SYMBOLIC(__NR_killpg) -#define __NR_clone SYMBOLIC(__NR_clone) -#define __NR_tkill SYMBOLIC(__NR_tkill) -#define __NR_futex SYMBOLIC(__NR_futex) -#define __NR_set_robust_list SYMBOLIC(__NR_set_robust_list) -#define __NR_get_robust_list SYMBOLIC(__NR_get_robust_list) -#define __NR_uname SYMBOLIC(__NR_uname) -#define __NR_semget SYMBOLIC(__NR_semget) -#define __NR_semop SYMBOLIC(__NR_semop) -#define __NR_semctl SYMBOLIC(__NR_semctl) -#define __NR_shmdt SYMBOLIC(__NR_shmdt) -#define __NR_msgget SYMBOLIC(__NR_msgget) -#define __NR_msgsnd SYMBOLIC(__NR_msgsnd) -#define __NR_msgrcv SYMBOLIC(__NR_msgrcv) -#define __NR_msgctl SYMBOLIC(__NR_msgctl) -#define __NR_fcntl SYMBOLIC(__NR_fcntl) -#define __NR_flock SYMBOLIC(__NR_flock) -#define __NR_fsync SYMBOLIC(__NR_fsync) -#define __NR_fdatasync SYMBOLIC(__NR_fdatasync) -#define __NR_truncate SYMBOLIC(__NR_truncate) -#define __NR_ftruncate SYMBOLIC(__NR_ftruncate) -#define __NR_getcwd SYMBOLIC(__NR_getcwd) -#define __NR_chdir SYMBOLIC(__NR_chdir) -#define __NR_fchdir SYMBOLIC(__NR_fchdir) -#define __NR_rename SYMBOLIC(__NR_rename) -#define __NR_mkdir SYMBOLIC(__NR_mkdir) -#define __NR_rmdir SYMBOLIC(__NR_rmdir) -#define __NR_creat SYMBOLIC(__NR_creat) -#define __NR_link SYMBOLIC(__NR_link) -#define __NR_unlink SYMBOLIC(__NR_unlink) -#define __NR_symlink SYMBOLIC(__NR_symlink) -#define __NR_readlink SYMBOLIC(__NR_readlink) -#define __NR_chmod SYMBOLIC(__NR_chmod) -#define __NR_fchmod SYMBOLIC(__NR_fchmod) -#define __NR_chown SYMBOLIC(__NR_chown) -#define __NR_fchown SYMBOLIC(__NR_fchown) -#define __NR_lchown SYMBOLIC(__NR_lchown) -#define __NR_umask SYMBOLIC(__NR_umask) -#define __NR_gettimeofday SYMBOLIC(__NR_gettimeofday) -#define __NR_getrlimit SYMBOLIC(__NR_getrlimit) -#define __NR_getrusage SYMBOLIC(__NR_getrusage) -#define __NR_sysinfo SYMBOLIC(__NR_sysinfo) -#define __NR_times SYMBOLIC(__NR_times) -#define __NR_ptrace SYMBOLIC(__NR_ptrace) -#define __NR_syslog SYMBOLIC(__NR_syslog) -#define __NR_getuid SYMBOLIC(__NR_getuid) -#define __NR_getgid SYMBOLIC(__NR_getgid) -#define __NR_getppid SYMBOLIC(__NR_getppid) -#define __NR_getpgrp SYMBOLIC(__NR_getpgrp) -#define __NR_setsid SYMBOLIC(__NR_setsid) -#define __NR_getsid SYMBOLIC(__NR_getsid) -#define __NR_getpgid SYMBOLIC(__NR_getpgid) -#define __NR_setpgid SYMBOLIC(__NR_setpgid) -#define __NR_geteuid SYMBOLIC(__NR_geteuid) -#define __NR_getegid SYMBOLIC(__NR_getegid) -#define __NR_getgroups SYMBOLIC(__NR_getgroups) -#define __NR_setgroups SYMBOLIC(__NR_setgroups) -#define __NR_setreuid SYMBOLIC(__NR_setreuid) -#define __NR_setregid SYMBOLIC(__NR_setregid) -#define __NR_setuid SYMBOLIC(__NR_setuid) -#define __NR_setgid SYMBOLIC(__NR_setgid) -#define __NR_setresuid SYMBOLIC(__NR_setresuid) -#define __NR_setresgid SYMBOLIC(__NR_setresgid) -#define __NR_getresuid SYMBOLIC(__NR_getresuid) -#define __NR_getresgid SYMBOLIC(__NR_getresgid) -#define __NR_sigpending SYMBOLIC(__NR_sigpending) -#define __NR_sigsuspend SYMBOLIC(__NR_sigsuspend) -#define __NR_sigaltstack SYMBOLIC(__NR_sigaltstack) -#define __NR_mknod SYMBOLIC(__NR_mknod) -#define __NR_mknodat SYMBOLIC(__NR_mknodat) -#define __NR_mkfifo SYMBOLIC(__NR_mkfifo) -#define __NR_mkfifoat SYMBOLIC(__NR_mkfifoat) -#define __NR_statfs SYMBOLIC(__NR_statfs) -#define __NR_fstatfs SYMBOLIC(__NR_fstatfs) -#define __NR_getpriority SYMBOLIC(__NR_getpriority) -#define __NR_setpriority SYMBOLIC(__NR_setpriority) -#define __NR_mlock SYMBOLIC(__NR_mlock) -#define __NR_munlock SYMBOLIC(__NR_munlock) -#define __NR_mlockall SYMBOLIC(__NR_mlockall) -#define __NR_munlockall SYMBOLIC(__NR_munlockall) -#define __NR_setrlimit SYMBOLIC(__NR_setrlimit) -#define __NR_chroot SYMBOLIC(__NR_chroot) -#define __NR_sync SYMBOLIC(__NR_sync) -#define __NR_acct SYMBOLIC(__NR_acct) -#define __NR_settimeofday SYMBOLIC(__NR_settimeofday) -#define __NR_mount SYMBOLIC(__NR_mount) -#define __NR_reboot SYMBOLIC(__NR_reboot) -#define __NR_quotactl SYMBOLIC(__NR_quotactl) -#define __NR_setfsuid SYMBOLIC(__NR_setfsuid) -#define __NR_setfsgid SYMBOLIC(__NR_setfsgid) -#define __NR_capget SYMBOLIC(__NR_capget) -#define __NR_capset SYMBOLIC(__NR_capset) -#define __NR_sigtimedwait SYMBOLIC(__NR_sigtimedwait) -#define __NR_rt_sigqueueinfo SYMBOLIC(__NR_rt_sigqueueinfo) -#define __NR_personality SYMBOLIC(__NR_personality) -#define __NR_ustat SYMBOLIC(__NR_ustat) -#define __NR_sysfs SYMBOLIC(__NR_sysfs) -#define __NR_sched_setparam SYMBOLIC(__NR_sched_setparam) -#define __NR_sched_getparam SYMBOLIC(__NR_sched_getparam) -#define __NR_sched_setscheduler SYMBOLIC(__NR_sched_setscheduler) -#define __NR_sched_getscheduler SYMBOLIC(__NR_sched_getscheduler) -#define __NR_sched_get_priority_max SYMBOLIC(__NR_sched_get_priority_max) -#define __NR_sched_get_priority_min SYMBOLIC(__NR_sched_get_priority_min) -#define __NR_sched_rr_get_interval SYMBOLIC(__NR_sched_rr_get_interval) -#define __NR_vhangup SYMBOLIC(__NR_vhangup) -#define __NR_modify_ldt SYMBOLIC(__NR_modify_ldt) -#define __NR_pivot_root SYMBOLIC(__NR_pivot_root) -#define __NR__sysctl SYMBOLIC(__NR__sysctl) -#define __NR_prctl SYMBOLIC(__NR_prctl) -#define __NR_arch_prctl SYMBOLIC(__NR_arch_prctl) -#define __NR_adjtimex SYMBOLIC(__NR_adjtimex) -#define __NR_umount2 SYMBOLIC(__NR_umount2) -#define __NR_swapon SYMBOLIC(__NR_swapon) -#define __NR_swapoff SYMBOLIC(__NR_swapoff) -#define __NR_sethostname SYMBOLIC(__NR_sethostname) -#define __NR_setdomainname SYMBOLIC(__NR_setdomainname) -#define __NR_iopl SYMBOLIC(__NR_iopl) -#define __NR_ioperm SYMBOLIC(__NR_ioperm) -#define __NR_init_module SYMBOLIC(__NR_init_module) -#define __NR_delete_module SYMBOLIC(__NR_delete_module) -#define __NR_gettid SYMBOLIC(__NR_gettid) -#define __NR_readahead SYMBOLIC(__NR_readahead) -#define __NR_setxattr SYMBOLIC(__NR_setxattr) -#define __NR_fsetxattr SYMBOLIC(__NR_fsetxattr) -#define __NR_getxattr SYMBOLIC(__NR_getxattr) -#define __NR_fgetxattr SYMBOLIC(__NR_fgetxattr) -#define __NR_listxattr SYMBOLIC(__NR_listxattr) -#define __NR_flistxattr SYMBOLIC(__NR_flistxattr) -#define __NR_removexattr SYMBOLIC(__NR_removexattr) -#define __NR_fremovexattr SYMBOLIC(__NR_fremovexattr) -#define __NR_lsetxattr SYMBOLIC(__NR_lsetxattr) -#define __NR_lgetxattr SYMBOLIC(__NR_lgetxattr) -#define __NR_llistxattr SYMBOLIC(__NR_llistxattr) -#define __NR_lremovexattr SYMBOLIC(__NR_lremovexattr) -#define __NR_sched_setaffinity SYMBOLIC(__NR_sched_setaffinity) -#define __NR_sched_getaffinity SYMBOLIC(__NR_sched_getaffinity) -#define __NR_cpuset_getaffinity SYMBOLIC(__NR_cpuset_getaffinity) -#define __NR_cpuset_setaffinity SYMBOLIC(__NR_cpuset_setaffinity) -#define __NR_io_setup SYMBOLIC(__NR_io_setup) -#define __NR_io_destroy SYMBOLIC(__NR_io_destroy) -#define __NR_io_getevents SYMBOLIC(__NR_io_getevents) -#define __NR_io_submit SYMBOLIC(__NR_io_submit) -#define __NR_io_cancel SYMBOLIC(__NR_io_cancel) -#define __NR_lookup_dcookie SYMBOLIC(__NR_lookup_dcookie) -#define __NR_epoll_create SYMBOLIC(__NR_epoll_create) -#define __NR_epoll_wait SYMBOLIC(__NR_epoll_wait) -#define __NR_epoll_ctl SYMBOLIC(__NR_epoll_ctl) -#define __NR_getdents SYMBOLIC(__NR_getdents) -#define __NR_set_tid_address SYMBOLIC(__NR_set_tid_address) -#define __NR_restart_syscall SYMBOLIC(__NR_restart_syscall) -#define __NR_semtimedop SYMBOLIC(__NR_semtimedop) -#define __NR_fadvise SYMBOLIC(__NR_fadvise) -#define __NR_timer_create SYMBOLIC(__NR_timer_create) -#define __NR_timer_settime SYMBOLIC(__NR_timer_settime) -#define __NR_timer_gettime SYMBOLIC(__NR_timer_gettime) -#define __NR_timer_getoverrun SYMBOLIC(__NR_timer_getoverrun) -#define __NR_timer_delete SYMBOLIC(__NR_timer_delete) -#define __NR_clock_settime SYMBOLIC(__NR_clock_settime) -#define __NR_clock_gettime SYMBOLIC(__NR_clock_gettime) -#define __NR_clock_getres SYMBOLIC(__NR_clock_getres) -#define __NR_clock_nanosleep SYMBOLIC(__NR_clock_nanosleep) -#define __NR_tgkill SYMBOLIC(__NR_tgkill) -#define __NR_mbind SYMBOLIC(__NR_mbind) -#define __NR_set_mempolicy SYMBOLIC(__NR_set_mempolicy) -#define __NR_get_mempolicy SYMBOLIC(__NR_get_mempolicy) -#define __NR_mq_open SYMBOLIC(__NR_mq_open) -#define __NR_mq_unlink SYMBOLIC(__NR_mq_unlink) -#define __NR_mq_timedsend SYMBOLIC(__NR_mq_timedsend) -#define __NR_mq_timedreceive SYMBOLIC(__NR_mq_timedreceive) -#define __NR_mq_notify SYMBOLIC(__NR_mq_notify) -#define __NR_mq_getsetattr SYMBOLIC(__NR_mq_getsetattr) -#define __NR_kexec_load SYMBOLIC(__NR_kexec_load) -#define __NR_waitid SYMBOLIC(__NR_waitid) -#define __NR_add_key SYMBOLIC(__NR_add_key) -#define __NR_request_key SYMBOLIC(__NR_request_key) -#define __NR_keyctl SYMBOLIC(__NR_keyctl) -#define __NR_ioprio_set SYMBOLIC(__NR_ioprio_set) -#define __NR_ioprio_get SYMBOLIC(__NR_ioprio_get) -#define __NR_inotify_init SYMBOLIC(__NR_inotify_init) -#define __NR_inotify_add_watch SYMBOLIC(__NR_inotify_add_watch) -#define __NR_inotify_rm_watch SYMBOLIC(__NR_inotify_rm_watch) -#define __NR_openat SYMBOLIC(__NR_openat) -#define __NR_mkdirat SYMBOLIC(__NR_mkdirat) -#define __NR_fchownat SYMBOLIC(__NR_fchownat) -#define __NR_utime SYMBOLIC(__NR_utime) -#define __NR_utimes SYMBOLIC(__NR_utimes) -#define __NR_futimesat SYMBOLIC(__NR_futimesat) -#define __NR_futimes SYMBOLIC(__NR_futimes) -#define __NR_futimens SYMBOLIC(__NR_futimens) -#define __NR_fstatat SYMBOLIC(__NR_fstatat) -#define __NR_unlinkat SYMBOLIC(__NR_unlinkat) -#define __NR_renameat SYMBOLIC(__NR_renameat) -#define __NR_linkat SYMBOLIC(__NR_linkat) -#define __NR_symlinkat SYMBOLIC(__NR_symlinkat) -#define __NR_readlinkat SYMBOLIC(__NR_readlinkat) -#define __NR_fchmodat SYMBOLIC(__NR_fchmodat) -#define __NR_faccessat SYMBOLIC(__NR_faccessat) -#define __NR_unshare SYMBOLIC(__NR_unshare) -#define __NR_splice SYMBOLIC(__NR_splice) -#define __NR_tee SYMBOLIC(__NR_tee) -#define __NR_sync_file_range SYMBOLIC(__NR_sync_file_range) -#define __NR_vmsplice SYMBOLIC(__NR_vmsplice) -#define __NR_migrate_pages SYMBOLIC(__NR_migrate_pages) -#define __NR_move_pages SYMBOLIC(__NR_move_pages) -#define __NR_preadv SYMBOLIC(__NR_preadv) -#define __NR_pwritev SYMBOLIC(__NR_pwritev) -#define __NR_utimensat SYMBOLIC(__NR_utimensat) -#define __NR_fallocate SYMBOLIC(__NR_fallocate) -#define __NR_posix_fallocate SYMBOLIC(__NR_posix_fallocate) -#define __NR_accept4 SYMBOLIC(__NR_accept4) -#define __NR_dup3 SYMBOLIC(__NR_dup3) -#define __NR_pipe2 SYMBOLIC(__NR_pipe2) -#define __NR_epoll_pwait SYMBOLIC(__NR_epoll_pwait) -#define __NR_epoll_create1 SYMBOLIC(__NR_epoll_create1) -#define __NR_perf_event_open SYMBOLIC(__NR_perf_event_open) -#define __NR_inotify_init1 SYMBOLIC(__NR_inotify_init1) -#define __NR_rt_tgsigqueueinfo SYMBOLIC(__NR_rt_tgsigqueueinfo) -#define __NR_signalfd SYMBOLIC(__NR_signalfd) -#define __NR_signalfd4 SYMBOLIC(__NR_signalfd4) -#define __NR_eventfd SYMBOLIC(__NR_eventfd) -#define __NR_eventfd2 SYMBOLIC(__NR_eventfd2) -#define __NR_timerfd_create SYMBOLIC(__NR_timerfd_create) -#define __NR_timerfd_settime SYMBOLIC(__NR_timerfd_settime) -#define __NR_timerfd_gettime SYMBOLIC(__NR_timerfd_gettime) -#define __NR_recvmmsg SYMBOLIC(__NR_recvmmsg) -#define __NR_fanotify_init SYMBOLIC(__NR_fanotify_init) -#define __NR_fanotify_mark SYMBOLIC(__NR_fanotify_mark) -#define __NR_prlimit SYMBOLIC(__NR_prlimit) -#define __NR_name_to_handle_at SYMBOLIC(__NR_name_to_handle_at) -#define __NR_open_by_handle_at SYMBOLIC(__NR_open_by_handle_at) -#define __NR_clock_adjtime SYMBOLIC(__NR_clock_adjtime) -#define __NR_syncfs SYMBOLIC(__NR_syncfs) -#define __NR_sendmmsg SYMBOLIC(__NR_sendmmsg) -#define __NR_setns SYMBOLIC(__NR_setns) -#define __NR_getcpu SYMBOLIC(__NR_getcpu) -#define __NR_process_vm_readv SYMBOLIC(__NR_process_vm_readv) -#define __NR_process_vm_writev SYMBOLIC(__NR_process_vm_writev) -#define __NR_kcmp SYMBOLIC(__NR_kcmp) -#define __NR_finit_module SYMBOLIC(__NR_finit_module) -#define __NR_sched_setattr SYMBOLIC(__NR_sched_setattr) -#define __NR_sched_getattr SYMBOLIC(__NR_sched_getattr) -#define __NR_renameat2 SYMBOLIC(__NR_renameat2) -#define __NR_seccomp SYMBOLIC(__NR_seccomp) -#define __NR_getrandom SYMBOLIC(__NR_getrandom) -#define __NR_memfd_create SYMBOLIC(__NR_memfd_create) -#define __NR_kexec_file_load SYMBOLIC(__NR_kexec_file_load) -#define __NR_bpf SYMBOLIC(__NR_bpf) -#define __NR_execveat SYMBOLIC(__NR_execveat) -#define __NR_userfaultfd SYMBOLIC(__NR_userfaultfd) -#define __NR_membarrier SYMBOLIC(__NR_membarrier) -#define __NR_mlock2 SYMBOLIC(__NR_mlock2) -#define __NR_copy_file_range SYMBOLIC(__NR_copy_file_range) -#define __NR_preadv2 SYMBOLIC(__NR_preadv2) -#define __NR_pwritev2 SYMBOLIC(__NR_pwritev2) -#define __NR_pkey_mprotect SYMBOLIC(__NR_pkey_mprotect) -#define __NR_pkey_alloc SYMBOLIC(__NR_pkey_alloc) -#define __NR_pkey_free SYMBOLIC(__NR_pkey_free) -#define __NR_statx SYMBOLIC(__NR_statx) -#define __NR_io_pgetevents SYMBOLIC(__NR_io_pgetevents) -#define __NR_rseq SYMBOLIC(__NR_rseq) -#define __NR_pidfd_send_signal SYMBOLIC(__NR_pidfd_send_signal) -#define __NR_io_uring_setup SYMBOLIC(__NR_io_uring_setup) -#define __NR_io_uring_enter SYMBOLIC(__NR_io_uring_enter) -#define __NR_pledge SYMBOLIC(__NR_pledge) -#define __NR_msyscall SYMBOLIC(__NR_msyscall) -#define __NR_ktrace SYMBOLIC(__NR_ktrace) +#define __NR_exit SYMBOLIC(__NR_exit) +#define __NR_exit_group SYMBOLIC(__NR_exit_group) +#define __NR_read SYMBOLIC(__NR_read) +#define __NR_write SYMBOLIC(__NR_write) +#define __NR_open SYMBOLIC(__NR_open) +#define __NR_close SYMBOLIC(__NR_close) +#define __NR_stat SYMBOLIC(__NR_stat) +#define __NR_fstat SYMBOLIC(__NR_fstat) +#define __NR_lstat SYMBOLIC(__NR_lstat) +#define __NR_poll SYMBOLIC(__NR_poll) +#define __NR_ppoll SYMBOLIC(__NR_ppoll) +#define __NR_lseek SYMBOLIC(__NR_lseek) +#define __NR_mmap SYMBOLIC(__NR_mmap) +#define __NR_msync SYMBOLIC(__NR_msync) +#define __NR_mprotect SYMBOLIC(__NR_mprotect) +#define __NR_munmap SYMBOLIC(__NR_munmap) +#define __NR_sigaction SYMBOLIC(__NR_sigaction) +#define __NR_sigprocmask SYMBOLIC(__NR_sigprocmask) +#define __NR_ioctl SYMBOLIC(__NR_ioctl) +#define __NR_pread SYMBOLIC(__NR_pread) +#define __NR_pwrite SYMBOLIC(__NR_pwrite) +#define __NR_readv SYMBOLIC(__NR_readv) +#define __NR_writev SYMBOLIC(__NR_writev) +#define __NR_access SYMBOLIC(__NR_access) +#define __NR_pipe SYMBOLIC(__NR_pipe) +#define __NR_select SYMBOLIC(__NR_select) +#define __NR_pselect SYMBOLIC(__NR_pselect) +#define __NR_pselect6 SYMBOLIC(__NR_pselect6) +#define __NR_sched_yield SYMBOLIC(__NR_sched_yield) +#define __NR_mremap SYMBOLIC(__NR_mremap) +#define __NR_mincore SYMBOLIC(__NR_mincore) +#define __NR_madvise SYMBOLIC(__NR_madvise) +#define __NR_shmget SYMBOLIC(__NR_shmget) +#define __NR_shmat SYMBOLIC(__NR_shmat) +#define __NR_shmctl SYMBOLIC(__NR_shmctl) +#define __NR_dup SYMBOLIC(__NR_dup) +#define __NR_dup2 SYMBOLIC(__NR_dup2) +#define __NR_pause SYMBOLIC(__NR_pause) +#define __NR_nanosleep SYMBOLIC(__NR_nanosleep) +#define __NR_getitimer SYMBOLIC(__NR_getitimer) +#define __NR_setitimer SYMBOLIC(__NR_setitimer) +#define __NR_alarm SYMBOLIC(__NR_alarm) +#define __NR_getpid SYMBOLIC(__NR_getpid) +#define __NR_sendfile SYMBOLIC(__NR_sendfile) +#define __NR_socket SYMBOLIC(__NR_socket) +#define __NR_connect SYMBOLIC(__NR_connect) +#define __NR_accept SYMBOLIC(__NR_accept) +#define __NR_sendto SYMBOLIC(__NR_sendto) +#define __NR_recvfrom SYMBOLIC(__NR_recvfrom) +#define __NR_sendmsg SYMBOLIC(__NR_sendmsg) +#define __NR_recvmsg SYMBOLIC(__NR_recvmsg) +#define __NR_shutdown SYMBOLIC(__NR_shutdown) +#define __NR_bind SYMBOLIC(__NR_bind) +#define __NR_listen SYMBOLIC(__NR_listen) +#define __NR_getsockname SYMBOLIC(__NR_getsockname) +#define __NR_getpeername SYMBOLIC(__NR_getpeername) +#define __NR_socketpair SYMBOLIC(__NR_socketpair) +#define __NR_setsockopt SYMBOLIC(__NR_setsockopt) +#define __NR_getsockopt SYMBOLIC(__NR_getsockopt) +#define __NR_fork SYMBOLIC(__NR_fork) +#define __NR_vfork SYMBOLIC(__NR_vfork) +#define __NR_posix_spawn SYMBOLIC(__NR_posix_spawn) +#define __NR_execve LITERALLY(0x003b) +#define __NR_wait4 SYMBOLIC(__NR_wait4) +#define __NR_kill SYMBOLIC(__NR_kill) +#define __NR_killpg SYMBOLIC(__NR_killpg) +#define __NR_clone SYMBOLIC(__NR_clone) +#define __NR_tkill SYMBOLIC(__NR_tkill) +#define __NR_futex SYMBOLIC(__NR_futex) +#define __NR_set_robust_list SYMBOLIC(__NR_set_robust_list) +#define __NR_get_robust_list SYMBOLIC(__NR_get_robust_list) +#define __NR_uname SYMBOLIC(__NR_uname) +#define __NR_semget SYMBOLIC(__NR_semget) +#define __NR_semop SYMBOLIC(__NR_semop) +#define __NR_semctl SYMBOLIC(__NR_semctl) +#define __NR_shmdt SYMBOLIC(__NR_shmdt) +#define __NR_msgget SYMBOLIC(__NR_msgget) +#define __NR_msgsnd SYMBOLIC(__NR_msgsnd) +#define __NR_msgrcv SYMBOLIC(__NR_msgrcv) +#define __NR_msgctl SYMBOLIC(__NR_msgctl) +#define __NR_fcntl SYMBOLIC(__NR_fcntl) +#define __NR_flock SYMBOLIC(__NR_flock) +#define __NR_fsync SYMBOLIC(__NR_fsync) +#define __NR_fdatasync SYMBOLIC(__NR_fdatasync) +#define __NR_truncate SYMBOLIC(__NR_truncate) +#define __NR_ftruncate SYMBOLIC(__NR_ftruncate) +#define __NR_getcwd SYMBOLIC(__NR_getcwd) +#define __NR_chdir SYMBOLIC(__NR_chdir) +#define __NR_fchdir SYMBOLIC(__NR_fchdir) +#define __NR_rename SYMBOLIC(__NR_rename) +#define __NR_mkdir SYMBOLIC(__NR_mkdir) +#define __NR_rmdir SYMBOLIC(__NR_rmdir) +#define __NR_creat SYMBOLIC(__NR_creat) +#define __NR_link SYMBOLIC(__NR_link) +#define __NR_unlink SYMBOLIC(__NR_unlink) +#define __NR_symlink SYMBOLIC(__NR_symlink) +#define __NR_readlink SYMBOLIC(__NR_readlink) +#define __NR_chmod SYMBOLIC(__NR_chmod) +#define __NR_fchmod SYMBOLIC(__NR_fchmod) +#define __NR_chown SYMBOLIC(__NR_chown) +#define __NR_fchown SYMBOLIC(__NR_fchown) +#define __NR_lchown SYMBOLIC(__NR_lchown) +#define __NR_umask SYMBOLIC(__NR_umask) +#define __NR_gettimeofday SYMBOLIC(__NR_gettimeofday) +#define __NR_getrlimit SYMBOLIC(__NR_getrlimit) +#define __NR_getrusage SYMBOLIC(__NR_getrusage) +#define __NR_sysinfo SYMBOLIC(__NR_sysinfo) +#define __NR_times SYMBOLIC(__NR_times) +#define __NR_ptrace SYMBOLIC(__NR_ptrace) +#define __NR_syslog SYMBOLIC(__NR_syslog) +#define __NR_getuid SYMBOLIC(__NR_getuid) +#define __NR_getgid SYMBOLIC(__NR_getgid) +#define __NR_getppid SYMBOLIC(__NR_getppid) +#define __NR_getpgrp SYMBOLIC(__NR_getpgrp) +#define __NR_setsid SYMBOLIC(__NR_setsid) +#define __NR_getsid SYMBOLIC(__NR_getsid) +#define __NR_getpgid SYMBOLIC(__NR_getpgid) +#define __NR_setpgid SYMBOLIC(__NR_setpgid) +#define __NR_geteuid SYMBOLIC(__NR_geteuid) +#define __NR_getegid SYMBOLIC(__NR_getegid) +#define __NR_getgroups SYMBOLIC(__NR_getgroups) +#define __NR_setgroups SYMBOLIC(__NR_setgroups) +#define __NR_setreuid SYMBOLIC(__NR_setreuid) +#define __NR_setregid SYMBOLIC(__NR_setregid) +#define __NR_setuid SYMBOLIC(__NR_setuid) +#define __NR_setgid SYMBOLIC(__NR_setgid) +#define __NR_setresuid SYMBOLIC(__NR_setresuid) +#define __NR_setresgid SYMBOLIC(__NR_setresgid) +#define __NR_getresuid SYMBOLIC(__NR_getresuid) +#define __NR_getresgid SYMBOLIC(__NR_getresgid) +#define __NR_sigpending SYMBOLIC(__NR_sigpending) +#define __NR_sigsuspend SYMBOLIC(__NR_sigsuspend) +#define __NR_sigaltstack SYMBOLIC(__NR_sigaltstack) +#define __NR_mknod SYMBOLIC(__NR_mknod) +#define __NR_mknodat SYMBOLIC(__NR_mknodat) +#define __NR_mkfifo SYMBOLIC(__NR_mkfifo) +#define __NR_mkfifoat SYMBOLIC(__NR_mkfifoat) +#define __NR_statfs SYMBOLIC(__NR_statfs) +#define __NR_fstatfs SYMBOLIC(__NR_fstatfs) +#define __NR_getpriority SYMBOLIC(__NR_getpriority) +#define __NR_setpriority SYMBOLIC(__NR_setpriority) +#define __NR_mlock SYMBOLIC(__NR_mlock) +#define __NR_munlock SYMBOLIC(__NR_munlock) +#define __NR_mlockall SYMBOLIC(__NR_mlockall) +#define __NR_munlockall SYMBOLIC(__NR_munlockall) +#define __NR_setrlimit SYMBOLIC(__NR_setrlimit) +#define __NR_chroot SYMBOLIC(__NR_chroot) +#define __NR_sync SYMBOLIC(__NR_sync) +#define __NR_acct SYMBOLIC(__NR_acct) +#define __NR_settimeofday SYMBOLIC(__NR_settimeofday) +#define __NR_mount SYMBOLIC(__NR_mount) +#define __NR_reboot SYMBOLIC(__NR_reboot) +#define __NR_quotactl SYMBOLIC(__NR_quotactl) +#define __NR_setfsuid SYMBOLIC(__NR_setfsuid) +#define __NR_setfsgid SYMBOLIC(__NR_setfsgid) +#define __NR_capget SYMBOLIC(__NR_capget) +#define __NR_capset SYMBOLIC(__NR_capset) +#define __NR_sigtimedwait SYMBOLIC(__NR_sigtimedwait) +#define __NR_rt_sigqueueinfo SYMBOLIC(__NR_rt_sigqueueinfo) +#define __NR_personality SYMBOLIC(__NR_personality) +#define __NR_ustat SYMBOLIC(__NR_ustat) +#define __NR_sysfs SYMBOLIC(__NR_sysfs) +#define __NR_sched_setparam SYMBOLIC(__NR_sched_setparam) +#define __NR_sched_getparam SYMBOLIC(__NR_sched_getparam) +#define __NR_sched_setscheduler SYMBOLIC(__NR_sched_setscheduler) +#define __NR_sched_getscheduler SYMBOLIC(__NR_sched_getscheduler) +#define __NR_sched_get_priority_max SYMBOLIC(__NR_sched_get_priority_max) +#define __NR_sched_get_priority_min SYMBOLIC(__NR_sched_get_priority_min) +#define __NR_sched_rr_get_interval SYMBOLIC(__NR_sched_rr_get_interval) +#define __NR_vhangup SYMBOLIC(__NR_vhangup) +#define __NR_modify_ldt SYMBOLIC(__NR_modify_ldt) +#define __NR_pivot_root SYMBOLIC(__NR_pivot_root) +#define __NR__sysctl SYMBOLIC(__NR__sysctl) +#define __NR_prctl SYMBOLIC(__NR_prctl) +#define __NR_arch_prctl SYMBOLIC(__NR_arch_prctl) +#define __NR_adjtimex SYMBOLIC(__NR_adjtimex) +#define __NR_umount2 SYMBOLIC(__NR_umount2) +#define __NR_swapon SYMBOLIC(__NR_swapon) +#define __NR_swapoff SYMBOLIC(__NR_swapoff) +#define __NR_sethostname SYMBOLIC(__NR_sethostname) +#define __NR_setdomainname SYMBOLIC(__NR_setdomainname) +#define __NR_iopl SYMBOLIC(__NR_iopl) +#define __NR_ioperm SYMBOLIC(__NR_ioperm) +#define __NR_init_module SYMBOLIC(__NR_init_module) +#define __NR_delete_module SYMBOLIC(__NR_delete_module) +#define __NR_gettid SYMBOLIC(__NR_gettid) +#define __NR_readahead SYMBOLIC(__NR_readahead) +#define __NR_setxattr SYMBOLIC(__NR_setxattr) +#define __NR_fsetxattr SYMBOLIC(__NR_fsetxattr) +#define __NR_getxattr SYMBOLIC(__NR_getxattr) +#define __NR_fgetxattr SYMBOLIC(__NR_fgetxattr) +#define __NR_listxattr SYMBOLIC(__NR_listxattr) +#define __NR_flistxattr SYMBOLIC(__NR_flistxattr) +#define __NR_removexattr SYMBOLIC(__NR_removexattr) +#define __NR_fremovexattr SYMBOLIC(__NR_fremovexattr) +#define __NR_lsetxattr SYMBOLIC(__NR_lsetxattr) +#define __NR_lgetxattr SYMBOLIC(__NR_lgetxattr) +#define __NR_llistxattr SYMBOLIC(__NR_llistxattr) +#define __NR_lremovexattr SYMBOLIC(__NR_lremovexattr) +#define __NR_sched_setaffinity SYMBOLIC(__NR_sched_setaffinity) +#define __NR_sched_getaffinity SYMBOLIC(__NR_sched_getaffinity) +#define __NR_cpuset_getaffinity SYMBOLIC(__NR_cpuset_getaffinity) +#define __NR_cpuset_setaffinity SYMBOLIC(__NR_cpuset_setaffinity) +#define __NR_io_setup SYMBOLIC(__NR_io_setup) +#define __NR_io_destroy SYMBOLIC(__NR_io_destroy) +#define __NR_io_getevents SYMBOLIC(__NR_io_getevents) +#define __NR_io_submit SYMBOLIC(__NR_io_submit) +#define __NR_io_cancel SYMBOLIC(__NR_io_cancel) +#define __NR_lookup_dcookie SYMBOLIC(__NR_lookup_dcookie) +#define __NR_epoll_create SYMBOLIC(__NR_epoll_create) +#define __NR_epoll_wait SYMBOLIC(__NR_epoll_wait) +#define __NR_epoll_ctl SYMBOLIC(__NR_epoll_ctl) +#define __NR_getdents SYMBOLIC(__NR_getdents) +#define __NR_set_tid_address SYMBOLIC(__NR_set_tid_address) +#define __NR_restart_syscall SYMBOLIC(__NR_restart_syscall) +#define __NR_semtimedop SYMBOLIC(__NR_semtimedop) +#define __NR_fadvise SYMBOLIC(__NR_fadvise) +#define __NR_timer_create SYMBOLIC(__NR_timer_create) +#define __NR_timer_settime SYMBOLIC(__NR_timer_settime) +#define __NR_timer_gettime SYMBOLIC(__NR_timer_gettime) +#define __NR_timer_getoverrun SYMBOLIC(__NR_timer_getoverrun) +#define __NR_timer_delete SYMBOLIC(__NR_timer_delete) +#define __NR_clock_settime SYMBOLIC(__NR_clock_settime) +#define __NR_clock_gettime SYMBOLIC(__NR_clock_gettime) +#define __NR_clock_getres SYMBOLIC(__NR_clock_getres) +#define __NR_clock_nanosleep SYMBOLIC(__NR_clock_nanosleep) +#define __NR_tgkill SYMBOLIC(__NR_tgkill) +#define __NR_mbind SYMBOLIC(__NR_mbind) +#define __NR_set_mempolicy SYMBOLIC(__NR_set_mempolicy) +#define __NR_get_mempolicy SYMBOLIC(__NR_get_mempolicy) +#define __NR_mq_open SYMBOLIC(__NR_mq_open) +#define __NR_mq_unlink SYMBOLIC(__NR_mq_unlink) +#define __NR_mq_timedsend SYMBOLIC(__NR_mq_timedsend) +#define __NR_mq_timedreceive SYMBOLIC(__NR_mq_timedreceive) +#define __NR_mq_notify SYMBOLIC(__NR_mq_notify) +#define __NR_mq_getsetattr SYMBOLIC(__NR_mq_getsetattr) +#define __NR_kexec_load SYMBOLIC(__NR_kexec_load) +#define __NR_waitid SYMBOLIC(__NR_waitid) +#define __NR_add_key SYMBOLIC(__NR_add_key) +#define __NR_request_key SYMBOLIC(__NR_request_key) +#define __NR_keyctl SYMBOLIC(__NR_keyctl) +#define __NR_ioprio_set SYMBOLIC(__NR_ioprio_set) +#define __NR_ioprio_get SYMBOLIC(__NR_ioprio_get) +#define __NR_inotify_init SYMBOLIC(__NR_inotify_init) +#define __NR_inotify_add_watch SYMBOLIC(__NR_inotify_add_watch) +#define __NR_inotify_rm_watch SYMBOLIC(__NR_inotify_rm_watch) +#define __NR_openat SYMBOLIC(__NR_openat) +#define __NR_mkdirat SYMBOLIC(__NR_mkdirat) +#define __NR_fchownat SYMBOLIC(__NR_fchownat) +#define __NR_utime SYMBOLIC(__NR_utime) +#define __NR_utimes SYMBOLIC(__NR_utimes) +#define __NR_futimesat SYMBOLIC(__NR_futimesat) +#define __NR_futimes SYMBOLIC(__NR_futimes) +#define __NR_futimens SYMBOLIC(__NR_futimens) +#define __NR_fstatat SYMBOLIC(__NR_fstatat) +#define __NR_unlinkat SYMBOLIC(__NR_unlinkat) +#define __NR_renameat SYMBOLIC(__NR_renameat) +#define __NR_linkat SYMBOLIC(__NR_linkat) +#define __NR_symlinkat SYMBOLIC(__NR_symlinkat) +#define __NR_readlinkat SYMBOLIC(__NR_readlinkat) +#define __NR_fchmodat SYMBOLIC(__NR_fchmodat) +#define __NR_faccessat SYMBOLIC(__NR_faccessat) +#define __NR_unshare SYMBOLIC(__NR_unshare) +#define __NR_splice SYMBOLIC(__NR_splice) +#define __NR_tee SYMBOLIC(__NR_tee) +#define __NR_sync_file_range SYMBOLIC(__NR_sync_file_range) +#define __NR_vmsplice SYMBOLIC(__NR_vmsplice) +#define __NR_migrate_pages SYMBOLIC(__NR_migrate_pages) +#define __NR_move_pages SYMBOLIC(__NR_move_pages) +#define __NR_preadv SYMBOLIC(__NR_preadv) +#define __NR_pwritev SYMBOLIC(__NR_pwritev) +#define __NR_utimensat SYMBOLIC(__NR_utimensat) +#define __NR_fallocate SYMBOLIC(__NR_fallocate) +#define __NR_posix_fallocate SYMBOLIC(__NR_posix_fallocate) +#define __NR_accept4 SYMBOLIC(__NR_accept4) +#define __NR_dup3 SYMBOLIC(__NR_dup3) +#define __NR_pipe2 SYMBOLIC(__NR_pipe2) +#define __NR_epoll_pwait SYMBOLIC(__NR_epoll_pwait) +#define __NR_epoll_create1 SYMBOLIC(__NR_epoll_create1) +#define __NR_perf_event_open SYMBOLIC(__NR_perf_event_open) +#define __NR_inotify_init1 SYMBOLIC(__NR_inotify_init1) +#define __NR_rt_tgsigqueueinfo SYMBOLIC(__NR_rt_tgsigqueueinfo) +#define __NR_signalfd SYMBOLIC(__NR_signalfd) +#define __NR_signalfd4 SYMBOLIC(__NR_signalfd4) +#define __NR_eventfd SYMBOLIC(__NR_eventfd) +#define __NR_eventfd2 SYMBOLIC(__NR_eventfd2) +#define __NR_timerfd_create SYMBOLIC(__NR_timerfd_create) +#define __NR_timerfd_settime SYMBOLIC(__NR_timerfd_settime) +#define __NR_timerfd_gettime SYMBOLIC(__NR_timerfd_gettime) +#define __NR_recvmmsg SYMBOLIC(__NR_recvmmsg) +#define __NR_fanotify_init SYMBOLIC(__NR_fanotify_init) +#define __NR_fanotify_mark SYMBOLIC(__NR_fanotify_mark) +#define __NR_prlimit SYMBOLIC(__NR_prlimit) +#define __NR_name_to_handle_at SYMBOLIC(__NR_name_to_handle_at) +#define __NR_open_by_handle_at SYMBOLIC(__NR_open_by_handle_at) +#define __NR_clock_adjtime SYMBOLIC(__NR_clock_adjtime) +#define __NR_syncfs SYMBOLIC(__NR_syncfs) +#define __NR_sendmmsg SYMBOLIC(__NR_sendmmsg) +#define __NR_setns SYMBOLIC(__NR_setns) +#define __NR_getcpu SYMBOLIC(__NR_getcpu) +#define __NR_process_vm_readv SYMBOLIC(__NR_process_vm_readv) +#define __NR_process_vm_writev SYMBOLIC(__NR_process_vm_writev) +#define __NR_kcmp SYMBOLIC(__NR_kcmp) +#define __NR_finit_module SYMBOLIC(__NR_finit_module) +#define __NR_sched_setattr SYMBOLIC(__NR_sched_setattr) +#define __NR_sched_getattr SYMBOLIC(__NR_sched_getattr) +#define __NR_renameat2 SYMBOLIC(__NR_renameat2) +#define __NR_seccomp SYMBOLIC(__NR_seccomp) +#define __NR_getrandom SYMBOLIC(__NR_getrandom) +#define __NR_memfd_create SYMBOLIC(__NR_memfd_create) +#define __NR_kexec_file_load SYMBOLIC(__NR_kexec_file_load) +#define __NR_bpf SYMBOLIC(__NR_bpf) +#define __NR_execveat SYMBOLIC(__NR_execveat) +#define __NR_userfaultfd SYMBOLIC(__NR_userfaultfd) +#define __NR_membarrier SYMBOLIC(__NR_membarrier) +#define __NR_mlock2 SYMBOLIC(__NR_mlock2) +#define __NR_copy_file_range SYMBOLIC(__NR_copy_file_range) +#define __NR_preadv2 SYMBOLIC(__NR_preadv2) +#define __NR_pwritev2 SYMBOLIC(__NR_pwritev2) +#define __NR_pkey_mprotect SYMBOLIC(__NR_pkey_mprotect) +#define __NR_pkey_alloc SYMBOLIC(__NR_pkey_alloc) +#define __NR_pkey_free SYMBOLIC(__NR_pkey_free) +#define __NR_statx SYMBOLIC(__NR_statx) +#define __NR_io_pgetevents SYMBOLIC(__NR_io_pgetevents) +#define __NR_rseq SYMBOLIC(__NR_rseq) +#define __NR_pidfd_send_signal SYMBOLIC(__NR_pidfd_send_signal) +#define __NR_io_uring_setup SYMBOLIC(__NR_io_uring_setup) +#define __NR_io_uring_enter SYMBOLIC(__NR_io_uring_enter) +#define __NR_pledge SYMBOLIC(__NR_pledge) +#define __NR_msyscall SYMBOLIC(__NR_msyscall) +#define __NR_ktrace SYMBOLIC(__NR_ktrace) +#define __NR_kqueue SYMBOLIC(__NR_kqueue) +#define __NR_kevent SYMBOLIC(__NR_kevent) +#define __NR_revoke SYMBOLIC(__NR_revoke) +#define __NR_setlogin SYMBOLIC(__NR_setlogin) +#define __NR_getfh SYMBOLIC(__NR_getfh) +#define __NR_chflags SYMBOLIC(__NR_chflags) +#define __NR_getfsstat SYMBOLIC(__NR_getfsstat) +#define __NR_nfssvc SYMBOLIC(__NR_nfssvc) +#define __NR_adjtime SYMBOLIC(__NR_adjtime) +#define __NR_fchflags SYMBOLIC(__NR_fchflags) +#define __NR_seteuid SYMBOLIC(__NR_seteuid) +#define __NR_setegid SYMBOLIC(__NR_setegid) +#define __NR_fpathconf SYMBOLIC(__NR_fpathconf) +#define __NR_fhopen SYMBOLIC(__NR_fhopen) +#define __NR_unmount SYMBOLIC(__NR_unmount) +#define __NR_issetugid SYMBOLIC(__NR_issetugid) +#define __NR_minherit SYMBOLIC(__NR_minherit) +#define __NR_pathconf SYMBOLIC(__NR_pathconf) +#define __NR_sysctl SYMBOLIC(__NR_sysctl) +#define __NR_ntp_adjtime SYMBOLIC(__NR_ntp_adjtime) +#define __NR_ntp_gettime SYMBOLIC(__NR_ntp_gettime) +#define __NR_shm_unlink SYMBOLIC(__NR_shm_unlink) +#define __NR_shm_open SYMBOLIC(__NR_shm_open) +#define __NR_aio_read SYMBOLIC(__NR_aio_read) +#define __NR_aio_suspend SYMBOLIC(__NR_aio_suspend) +#define __NR_aio_cancel SYMBOLIC(__NR_aio_cancel) +#define __NR_aio_fsync SYMBOLIC(__NR_aio_fsync) +#define __NR_aio_error SYMBOLIC(__NR_aio_error) +#define __NR_aio_return SYMBOLIC(__NR_aio_return) +#define __NR_aio_write SYMBOLIC(__NR_aio_write) +#define __NR_aio_waitcomplete SYMBOLIC(__NR_aio_waitcomplete) +#define __NR_aio_suspend_nocancel SYMBOLIC(__NR_aio_suspend_nocancel) +#define __NR_aio_mlock SYMBOLIC(__NR_aio_mlock) +#define __NR_sigwait SYMBOLIC(__NR_sigwait) +#define __NR_undelete SYMBOLIC(__NR_undelete) +#define __NR_getlogin SYMBOLIC(__NR_getlogin) +#define __NR_getdtablesize SYMBOLIC(__NR_getdtablesize) +#define __NR_setauid SYMBOLIC(__NR_setauid) +#define __NR_audit SYMBOLIC(__NR_audit) +#define __NR_auditctl SYMBOLIC(__NR_auditctl) +#define __NR_getaudit_addr SYMBOLIC(__NR_getaudit_addr) +#define __NR_getdirentries SYMBOLIC(__NR_getdirentries) +#define __NR_lio_listio SYMBOLIC(__NR_lio_listio) +#define __NR_setaudit_addr SYMBOLIC(__NR_setaudit_addr) +#define __NR_getauid SYMBOLIC(__NR_getauid) +#define __NR_semsys SYMBOLIC(__NR_semsys) +#define __NR_auditon SYMBOLIC(__NR_auditon) +#define __NR_msgsys SYMBOLIC(__NR_msgsys) +#define __NR_shmsys SYMBOLIC(__NR_shmsys) +#define __NR_fhstat SYMBOLIC(__NR_fhstat) +#define __NR_chflagsat SYMBOLIC(__NR_chflagsat) +#define __NR_profil SYMBOLIC(__NR_profil) +#define __NR_fhstatfs SYMBOLIC(__NR_fhstatfs) +#define __NR_utrace SYMBOLIC(__NR_utrace) +#define __NR_closefrom SYMBOLIC(__NR_closefrom) +#define __NR_pthread_markcancel SYMBOLIC(__NR_pthread_markcancel) +#define __NR_pthread_kill SYMBOLIC(__NR_pthread_kill) +#define __NR_pthread_fchdir SYMBOLIC(__NR_pthread_fchdir) +#define __NR_pthread_sigmask SYMBOLIC(__NR_pthread_sigmask) +#define __NR_pthread_chdir SYMBOLIC(__NR_pthread_chdir) +#define __NR_pthread_canceled SYMBOLIC(__NR_pthread_canceled) +#define __NR_disable_threadsignal SYMBOLIC(__NR_disable_threadsignal) +#define __NR_abort_with_payload SYMBOLIC(__NR_abort_with_payload) +#define __NR_accept_nocancel SYMBOLIC(__NR_accept_nocancel) +#define __NR_access_extended SYMBOLIC(__NR_access_extended) +#define __NR_audit_session_join SYMBOLIC(__NR_audit_session_join) +#define __NR_audit_session_port SYMBOLIC(__NR_audit_session_port) +#define __NR_audit_session_self SYMBOLIC(__NR_audit_session_self) +#define __NR_bsdthread_ctl SYMBOLIC(__NR_bsdthread_ctl) +#define __NR_bsdthread_register SYMBOLIC(__NR_bsdthread_register) +#define __NR_bsdthread_terminate SYMBOLIC(__NR_bsdthread_terminate) +#define __NR_change_fdguard_np SYMBOLIC(__NR_change_fdguard_np) +#define __NR_chmod_extended SYMBOLIC(__NR_chmod_extended) +#define __NR_clonefileat SYMBOLIC(__NR_clonefileat) +#define __NR_close_nocancel SYMBOLIC(__NR_close_nocancel) +#define __NR_coalition SYMBOLIC(__NR_coalition) +#define __NR_coalition_info SYMBOLIC(__NR_coalition_info) +#define __NR_connect_nocancel SYMBOLIC(__NR_connect_nocancel) +#define __NR_connectx SYMBOLIC(__NR_connectx) +#define __NR_copyfile SYMBOLIC(__NR_copyfile) +#define __NR_csops SYMBOLIC(__NR_csops) +#define __NR_csops_audittoken SYMBOLIC(__NR_csops_audittoken) +#define __NR_csrctl SYMBOLIC(__NR_csrctl) +#define __NR_delete SYMBOLIC(__NR_delete) +#define __NR_disconnectx SYMBOLIC(__NR_disconnectx) +#define __NR_exchangedata SYMBOLIC(__NR_exchangedata) +#define __NR_fchmod_extended SYMBOLIC(__NR_fchmod_extended) +#define __NR_fclonefileat SYMBOLIC(__NR_fclonefileat) +#define __NR_fcntl_nocancel SYMBOLIC(__NR_fcntl_nocancel) +#define __NR_ffsctl SYMBOLIC(__NR_ffsctl) +#define __NR_fgetattrlist SYMBOLIC(__NR_fgetattrlist) +#define __NR_fileport_makefd SYMBOLIC(__NR_fileport_makefd) +#define __NR_fileport_makeport SYMBOLIC(__NR_fileport_makeport) +#define __NR_fmount SYMBOLIC(__NR_fmount) +#define __NR_fs_snapshot SYMBOLIC(__NR_fs_snapshot) +#define __NR_fsctl SYMBOLIC(__NR_fsctl) +#define __NR_fsetattrlist SYMBOLIC(__NR_fsetattrlist) +#define __NR_fstat_extended SYMBOLIC(__NR_fstat_extended) +#define __NR_fsync_nocancel SYMBOLIC(__NR_fsync_nocancel) +#define __NR_getattrlist SYMBOLIC(__NR_getattrlist) +#define __NR_getattrlistat SYMBOLIC(__NR_getattrlistat) +#define __NR_getattrlistbulk SYMBOLIC(__NR_getattrlistbulk) +#define __NR_getdirentriesattr SYMBOLIC(__NR_getdirentriesattr) +#define __NR_gethostuuid SYMBOLIC(__NR_gethostuuid) +#define __NR_getsgroups SYMBOLIC(__NR_getsgroups) +#define __NR_getwgroups SYMBOLIC(__NR_getwgroups) +#define __NR_grab_pgo_data SYMBOLIC(__NR_grab_pgo_data) +#define __NR_guarded_close_np SYMBOLIC(__NR_guarded_close_np) +#define __NR_guarded_kqueue_np SYMBOLIC(__NR_guarded_kqueue_np) +#define __NR_guarded_open_np SYMBOLIC(__NR_guarded_open_np) +#define __NR_guarded_pwrite_np SYMBOLIC(__NR_guarded_pwrite_np) +#define __NR_guarded_write_np SYMBOLIC(__NR_guarded_write_np) +#define __NR_guarded_writev_np SYMBOLIC(__NR_guarded_writev_np) +#define __NR_identitysvc SYMBOLIC(__NR_identitysvc) +#define __NR_initgroups SYMBOLIC(__NR_initgroups) +#define __NR_iopolicysys SYMBOLIC(__NR_iopolicysys) +#define __NR_kas_info SYMBOLIC(__NR_kas_info) +#define __NR_kdebug_trace SYMBOLIC(__NR_kdebug_trace) +#define __NR_kdebug_trace_string SYMBOLIC(__NR_kdebug_trace_string) +#define __NR_kdebug_typefilter SYMBOLIC(__NR_kdebug_typefilter) +#define __NR_kevent_id SYMBOLIC(__NR_kevent_id) +#define __NR_kevent_qos SYMBOLIC(__NR_kevent_qos) +#define __NR_ledger SYMBOLIC(__NR_ledger) +#define __NR_lstat_extended SYMBOLIC(__NR_lstat_extended) +#define __NR_memorystatus_control SYMBOLIC(__NR_memorystatus_control) +#define __NR_memorystatus_get_level SYMBOLIC(__NR_memorystatus_get_level) +#define __NR_microstackshot SYMBOLIC(__NR_microstackshot) +#define __NR_mkdir_extended SYMBOLIC(__NR_mkdir_extended) +#define __NR_mkfifo_extended SYMBOLIC(__NR_mkfifo_extended) +#define __NR_modwatch SYMBOLIC(__NR_modwatch) +#define __NR_mremap_encrypted SYMBOLIC(__NR_mremap_encrypted) +#define __NR_msgrcv_nocancel SYMBOLIC(__NR_msgrcv_nocancel) +#define __NR_msgsnd_nocancel SYMBOLIC(__NR_msgsnd_nocancel) +#define __NR_msync_nocancel SYMBOLIC(__NR_msync_nocancel) +#define __NR_necp_client_action SYMBOLIC(__NR_necp_client_action) +#define __NR_necp_match_policy SYMBOLIC(__NR_necp_match_policy) +#define __NR_necp_open SYMBOLIC(__NR_necp_open) +#define __NR_necp_session_action SYMBOLIC(__NR_necp_session_action) +#define __NR_necp_session_open SYMBOLIC(__NR_necp_session_open) +#define __NR_net_qos_guideline SYMBOLIC(__NR_net_qos_guideline) +#define __NR_netagent_trigger SYMBOLIC(__NR_netagent_trigger) +#define __NR_nfsclnt SYMBOLIC(__NR_nfsclnt) +#define __NR_open_dprotected_np SYMBOLIC(__NR_open_dprotected_np) +#define __NR_open_extended SYMBOLIC(__NR_open_extended) +#define __NR_open_nocancel SYMBOLIC(__NR_open_nocancel) +#define __NR_openat_nocancel SYMBOLIC(__NR_openat_nocancel) +#define __NR_openbyid_np SYMBOLIC(__NR_openbyid_np) +#define __NR_os_fault_with_payload SYMBOLIC(__NR_os_fault_with_payload) +#define __NR_peeloff SYMBOLIC(__NR_peeloff) +#define __NR_persona SYMBOLIC(__NR_persona) +#define __NR_pid_hibernate SYMBOLIC(__NR_pid_hibernate) +#define __NR_pid_resume SYMBOLIC(__NR_pid_resume) +#define __NR_pid_shutdown_sockets SYMBOLIC(__NR_pid_shutdown_sockets) +#define __NR_pid_suspend SYMBOLIC(__NR_pid_suspend) +#define __NR_poll_nocancel SYMBOLIC(__NR_poll_nocancel) +#define __NR_pread_nocancel SYMBOLIC(__NR_pread_nocancel) +#define __NR_proc_info SYMBOLIC(__NR_proc_info) +#define __NR_proc_rlimit_control SYMBOLIC(__NR_proc_rlimit_control) +#define __NR_proc_trace_log SYMBOLIC(__NR_proc_trace_log) +#define __NR_proc_uuid_policy SYMBOLIC(__NR_proc_uuid_policy) +#define __NR_process_policy SYMBOLIC(__NR_process_policy) +#define __NR_pselect_nocancel SYMBOLIC(__NR_pselect_nocancel) +#define __NR_psynch_cvbroad SYMBOLIC(__NR_psynch_cvbroad) +#define __NR_psynch_cvclrprepost SYMBOLIC(__NR_psynch_cvclrprepost) +#define __NR_psynch_cvsignal SYMBOLIC(__NR_psynch_cvsignal) +#define __NR_psynch_mutexdrop SYMBOLIC(__NR_psynch_mutexdrop) +#define __NR_psynch_mutexwait SYMBOLIC(__NR_psynch_mutexwait) +#define __NR_psynch_rw_downgrade SYMBOLIC(__NR_psynch_rw_downgrade) +#define __NR_psynch_rw_longrdlock SYMBOLIC(__NR_psynch_rw_longrdlock) +#define __NR_psynch_rw_rdlock SYMBOLIC(__NR_psynch_rw_rdlock) +#define __NR_psynch_rw_unlock SYMBOLIC(__NR_psynch_rw_unlock) +#define __NR_psynch_rw_unlock2 SYMBOLIC(__NR_psynch_rw_unlock2) +#define __NR_psynch_rw_upgrade SYMBOLIC(__NR_psynch_rw_upgrade) +#define __NR_psynch_rw_wrlock SYMBOLIC(__NR_psynch_rw_wrlock) +#define __NR_psynch_rw_yieldwrlock SYMBOLIC(__NR_psynch_rw_yieldwrlock) +#define __NR_pwrite_nocancel SYMBOLIC(__NR_pwrite_nocancel) +#define __NR_read_nocancel SYMBOLIC(__NR_read_nocancel) +#define __NR_readv_nocancel SYMBOLIC(__NR_readv_nocancel) +#define __NR_recvfrom_nocancel SYMBOLIC(__NR_recvfrom_nocancel) +#define __NR_recvmsg_nocancel SYMBOLIC(__NR_recvmsg_nocancel) +#define __NR_recvmsg_x SYMBOLIC(__NR_recvmsg_x) +#define __NR_renameatx_np SYMBOLIC(__NR_renameatx_np) +#define __NR_searchfs SYMBOLIC(__NR_searchfs) +#define __NR_select_nocancel SYMBOLIC(__NR_select_nocancel) +#define __NR_sem_close SYMBOLIC(__NR_sem_close) +#define __NR_sem_open SYMBOLIC(__NR_sem_open) +#define __NR_sem_post SYMBOLIC(__NR_sem_post) +#define __NR_sem_trywait SYMBOLIC(__NR_sem_trywait) +#define __NR_sem_unlink SYMBOLIC(__NR_sem_unlink) +#define __NR_sem_wait SYMBOLIC(__NR_sem_wait) +#define __NR_sem_wait_nocancel SYMBOLIC(__NR_sem_wait_nocancel) +#define __NR_sendmsg_nocancel SYMBOLIC(__NR_sendmsg_nocancel) +#define __NR_sendmsg_x SYMBOLIC(__NR_sendmsg_x) +#define __NR_sendto_nocancel SYMBOLIC(__NR_sendto_nocancel) +#define __NR_setattrlist SYMBOLIC(__NR_setattrlist) +#define __NR_setattrlistat SYMBOLIC(__NR_setattrlistat) +#define __NR_setprivexec SYMBOLIC(__NR_setprivexec) +#define __NR_setsgroups SYMBOLIC(__NR_setsgroups) +#define __NR_settid SYMBOLIC(__NR_settid) +#define __NR_settid_with_pid SYMBOLIC(__NR_settid_with_pid) +#define __NR_setwgroups SYMBOLIC(__NR_setwgroups) +#define __NR_sfi_ctl SYMBOLIC(__NR_sfi_ctl) +#define __NR_sfi_pidctl SYMBOLIC(__NR_sfi_pidctl) +#define __NR_shared_region_check_np SYMBOLIC(__NR_shared_region_check_np) +#define __NR_sigsuspend_nocancel SYMBOLIC(__NR_sigsuspend_nocancel) +#define __NR_socket_delegate SYMBOLIC(__NR_socket_delegate) +#define __NR_stat_extended SYMBOLIC(__NR_stat_extended) +#define __NR_sysctlbyname SYMBOLIC(__NR_sysctlbyname) +#define __NR_system_override SYMBOLIC(__NR_system_override) +#define __NR_telemetry SYMBOLIC(__NR_telemetry) +#define __NR_terminate_with_payload SYMBOLIC(__NR_terminate_with_payload) +#define __NR_thread_selfcounts SYMBOLIC(__NR_thread_selfcounts) +#define __NR_thread_selfid SYMBOLIC(__NR_thread_selfid) +#define __NR_thread_selfusage SYMBOLIC(__NR_thread_selfusage) +#define __NR_ulock_wait SYMBOLIC(__NR_ulock_wait) +#define __NR_ulock_wake SYMBOLIC(__NR_ulock_wake) +#define __NR_umask_extended SYMBOLIC(__NR_umask_extended) +#define __NR_usrctl SYMBOLIC(__NR_usrctl) +#define __NR_vfs_purge SYMBOLIC(__NR_vfs_purge) +#define __NR_vm_pressure_monitor SYMBOLIC(__NR_vm_pressure_monitor) +#define __NR_wait4_nocancel SYMBOLIC(__NR_wait4_nocancel) +#define __NR_waitevent SYMBOLIC(__NR_waitevent) +#define __NR_waitid_nocancel SYMBOLIC(__NR_waitid_nocancel) +#define __NR_watchevent SYMBOLIC(__NR_watchevent) +#define __NR_work_interval_ctl SYMBOLIC(__NR_work_interval_ctl) +#define __NR_workq_kernreturn SYMBOLIC(__NR_workq_kernreturn) +#define __NR_workq_open SYMBOLIC(__NR_workq_open) +#define __NR_write_nocancel SYMBOLIC(__NR_write_nocancel) +#define __NR_writev_nocancel SYMBOLIC(__NR_writev_nocancel) +#define __NR_abort2 SYMBOLIC(__NR_abort2) +#define __NR_afs3_syscall SYMBOLIC(__NR_afs3_syscall) +#define __NR_bindat SYMBOLIC(__NR_bindat) +#define __NR_break SYMBOLIC(__NR_break) +#define __NR_cap_enter SYMBOLIC(__NR_cap_enter) +#define __NR_cap_fcntls_get SYMBOLIC(__NR_cap_fcntls_get) +#define __NR_cap_fcntls_limit SYMBOLIC(__NR_cap_fcntls_limit) +#define __NR_cap_getmode SYMBOLIC(__NR_cap_getmode) +#define __NR_cap_ioctls_get SYMBOLIC(__NR_cap_ioctls_get) +#define __NR_cap_ioctls_limit SYMBOLIC(__NR_cap_ioctls_limit) +#define __NR_cap_rights_limit SYMBOLIC(__NR_cap_rights_limit) +#define __NR_clock_getcpuclockid2 SYMBOLIC(__NR_clock_getcpuclockid2) +#define __NR_connectat SYMBOLIC(__NR_connectat) +#define __NR_cpuset SYMBOLIC(__NR_cpuset) +#define __NR_cpuset_getdomain SYMBOLIC(__NR_cpuset_getdomain) +#define __NR_cpuset_getid SYMBOLIC(__NR_cpuset_getid) +#define __NR_cpuset_setdomain SYMBOLIC(__NR_cpuset_setdomain) +#define __NR_cpuset_setid SYMBOLIC(__NR_cpuset_setid) +#define __NR_eaccess SYMBOLIC(__NR_eaccess) +#define __NR_extattr_delete_fd SYMBOLIC(__NR_extattr_delete_fd) +#define __NR_extattr_delete_file SYMBOLIC(__NR_extattr_delete_file) +#define __NR_extattr_delete_link SYMBOLIC(__NR_extattr_delete_link) +#define __NR_extattr_get_fd SYMBOLIC(__NR_extattr_get_fd) +#define __NR_extattr_get_file SYMBOLIC(__NR_extattr_get_file) +#define __NR_extattr_get_link SYMBOLIC(__NR_extattr_get_link) +#define __NR_extattr_list_fd SYMBOLIC(__NR_extattr_list_fd) +#define __NR_extattr_list_file SYMBOLIC(__NR_extattr_list_file) +#define __NR_extattr_list_link SYMBOLIC(__NR_extattr_list_link) +#define __NR_extattr_set_fd SYMBOLIC(__NR_extattr_set_fd) +#define __NR_extattr_set_file SYMBOLIC(__NR_extattr_set_file) +#define __NR_extattr_set_link SYMBOLIC(__NR_extattr_set_link) +#define __NR_extattrctl SYMBOLIC(__NR_extattrctl) +#define __NR_fexecve SYMBOLIC(__NR_fexecve) +#define __NR_ffclock_getcounter SYMBOLIC(__NR_ffclock_getcounter) +#define __NR_ffclock_getestimate SYMBOLIC(__NR_ffclock_getestimate) +#define __NR_ffclock_setestimate SYMBOLIC(__NR_ffclock_setestimate) +#define __NR_fhlink SYMBOLIC(__NR_fhlink) +#define __NR_fhlinkat SYMBOLIC(__NR_fhlinkat) +#define __NR_fhreadlink SYMBOLIC(__NR_fhreadlink) +#define __NR_getaudit SYMBOLIC(__NR_getaudit) +#define __NR_getcontext SYMBOLIC(__NR_getcontext) +#define __NR_getfhat SYMBOLIC(__NR_getfhat) +#define __NR_gethostid SYMBOLIC(__NR_gethostid) +#define __NR_getkerninfo SYMBOLIC(__NR_getkerninfo) +#define __NR_getloginclass SYMBOLIC(__NR_getloginclass) +#define __NR_getpagesize SYMBOLIC(__NR_getpagesize) +#define __NR_gssd_syscall SYMBOLIC(__NR_gssd_syscall) +#define __NR_jail SYMBOLIC(__NR_jail) +#define __NR_jail_attach SYMBOLIC(__NR_jail_attach) +#define __NR_jail_get SYMBOLIC(__NR_jail_get) +#define __NR_jail_remove SYMBOLIC(__NR_jail_remove) +#define __NR_jail_set SYMBOLIC(__NR_jail_set) +#define __NR_kenv SYMBOLIC(__NR_kenv) +#define __NR_kldfind SYMBOLIC(__NR_kldfind) +#define __NR_kldfirstmod SYMBOLIC(__NR_kldfirstmod) +#define __NR_kldload SYMBOLIC(__NR_kldload) +#define __NR_kldnext SYMBOLIC(__NR_kldnext) +#define __NR_kldstat SYMBOLIC(__NR_kldstat) +#define __NR_kldsym SYMBOLIC(__NR_kldsym) +#define __NR_kldunload SYMBOLIC(__NR_kldunload) +#define __NR_kldunloadf SYMBOLIC(__NR_kldunloadf) +#define __NR_kmq_notify SYMBOLIC(__NR_kmq_notify) +#define __NR_kmq_setattr SYMBOLIC(__NR_kmq_setattr) +#define __NR_kmq_timedreceive SYMBOLIC(__NR_kmq_timedreceive) +#define __NR_kmq_timedsend SYMBOLIC(__NR_kmq_timedsend) +#define __NR_kmq_unlink SYMBOLIC(__NR_kmq_unlink) +#define __NR_ksem_close SYMBOLIC(__NR_ksem_close) +#define __NR_ksem_destroy SYMBOLIC(__NR_ksem_destroy) +#define __NR_ksem_getvalue SYMBOLIC(__NR_ksem_getvalue) +#define __NR_ksem_init SYMBOLIC(__NR_ksem_init) +#define __NR_ksem_open SYMBOLIC(__NR_ksem_open) +#define __NR_ksem_post SYMBOLIC(__NR_ksem_post) +#define __NR_ksem_timedwait SYMBOLIC(__NR_ksem_timedwait) +#define __NR_ksem_trywait SYMBOLIC(__NR_ksem_trywait) +#define __NR_ksem_unlink SYMBOLIC(__NR_ksem_unlink) +#define __NR_ksem_wait SYMBOLIC(__NR_ksem_wait) +#define __NR_ktimer_create SYMBOLIC(__NR_ktimer_create) +#define __NR_ktimer_delete SYMBOLIC(__NR_ktimer_delete) +#define __NR_ktimer_getoverrun SYMBOLIC(__NR_ktimer_getoverrun) +#define __NR_ktimer_gettime SYMBOLIC(__NR_ktimer_gettime) +#define __NR_ktimer_settime SYMBOLIC(__NR_ktimer_settime) +#define __NR_lchflags SYMBOLIC(__NR_lchflags) +#define __NR_lchmod SYMBOLIC(__NR_lchmod) +#define __NR_lgetfh SYMBOLIC(__NR_lgetfh) +#define __NR_lpathconf SYMBOLIC(__NR_lpathconf) +#define __NR_lutimes SYMBOLIC(__NR_lutimes) +#define __NR_mac_syscall SYMBOLIC(__NR_mac_syscall) +#define __NR_modfind SYMBOLIC(__NR_modfind) +#define __NR_modfnext SYMBOLIC(__NR_modfnext) +#define __NR_modnext SYMBOLIC(__NR_modnext) +#define __NR_modstat SYMBOLIC(__NR_modstat) +#define __NR_nfstat SYMBOLIC(__NR_nfstat) +#define __NR_nlm_syscall SYMBOLIC(__NR_nlm_syscall) +#define __NR_nlstat SYMBOLIC(__NR_nlstat) +#define __NR_nmount SYMBOLIC(__NR_nmount) +#define __NR_nnpfs_syscall SYMBOLIC(__NR_nnpfs_syscall) +#define __NR_nstat SYMBOLIC(__NR_nstat) +#define __NR_pdfork SYMBOLIC(__NR_pdfork) +#define __NR_pdgetpid SYMBOLIC(__NR_pdgetpid) +#define __NR_pdkill SYMBOLIC(__NR_pdkill) +#define __NR_posix_openpt SYMBOLIC(__NR_posix_openpt) +#define __NR_procctl SYMBOLIC(__NR_procctl) +#define __NR_psynch_cvwait SYMBOLIC(__NR_psynch_cvwait) +#define __NR_quota SYMBOLIC(__NR_quota) +#define __NR_rctl_add_rule SYMBOLIC(__NR_rctl_add_rule) +#define __NR_rctl_get_limits SYMBOLIC(__NR_rctl_get_limits) +#define __NR_rctl_get_racct SYMBOLIC(__NR_rctl_get_racct) +#define __NR_rctl_get_rules SYMBOLIC(__NR_rctl_get_rules) +#define __NR_rctl_remove_rule SYMBOLIC(__NR_rctl_remove_rule) +#define __NR_recv SYMBOLIC(__NR_recv) +#define __NR_rfork SYMBOLIC(__NR_rfork) +#define __NR_rtprio SYMBOLIC(__NR_rtprio) +#define __NR_rtprio_thread SYMBOLIC(__NR_rtprio_thread) +#define __NR_send SYMBOLIC(__NR_send) +#define __NR_setaudit SYMBOLIC(__NR_setaudit) +#define __NR_setcontext SYMBOLIC(__NR_setcontext) +#define __NR_setfib SYMBOLIC(__NR_setfib) +#define __NR_sethostid SYMBOLIC(__NR_sethostid) +#define __NR_setloginclass SYMBOLIC(__NR_setloginclass) +#define __NR_sigblock SYMBOLIC(__NR_sigblock) +#define __NR_sigqueue SYMBOLIC(__NR_sigqueue) +#define __NR_sigsetmask SYMBOLIC(__NR_sigsetmask) +#define __NR_sigstack SYMBOLIC(__NR_sigstack) +#define __NR_sigvec SYMBOLIC(__NR_sigvec) +#define __NR_sigwaitinfo SYMBOLIC(__NR_sigwaitinfo) +#define __NR_sstk SYMBOLIC(__NR_sstk) +#define __NR_swapcontext SYMBOLIC(__NR_swapcontext) +#define __NR_thr_create SYMBOLIC(__NR_thr_create) +#define __NR_thr_exit SYMBOLIC(__NR_thr_exit) +#define __NR_thr_kill SYMBOLIC(__NR_thr_kill) +#define __NR_thr_kill2 SYMBOLIC(__NR_thr_kill2) +#define __NR_thr_self SYMBOLIC(__NR_thr_self) +#define __NR_thr_set_name SYMBOLIC(__NR_thr_set_name) +#define __NR_thr_suspend SYMBOLIC(__NR_thr_suspend) +#define __NR_thr_wake SYMBOLIC(__NR_thr_wake) +#define __NR_uuidgen SYMBOLIC(__NR_uuidgen) +#define __NR_vadvise SYMBOLIC(__NR_vadvise) +#define __NR_wait SYMBOLIC(__NR_wait) +#define __NR_wait6 SYMBOLIC(__NR_wait6) +#define __NR_yield SYMBOLIC(__NR_yield) +#define __NR_tfork SYMBOLIC(__NR_tfork) +#define __NR_thrsleep SYMBOLIC(__NR_thrsleep) +#define __NR_thrwakeup SYMBOLIC(__NR_thrwakeup) +#define __NR_threxit SYMBOLIC(__NR_threxit) +#define __NR_thrsigdivert SYMBOLIC(__NR_thrsigdivert) +#define __NR_set_tcb SYMBOLIC(__NR_set_tcb) +#define __NR_get_tcb SYMBOLIC(__NR_get_tcb) +#define __NR_adjfreq SYMBOLIC(__NR_adjfreq) +#define __NR_getdtablecount SYMBOLIC(__NR_getdtablecount) +#define __NR_getlogin_r SYMBOLIC(__NR_getlogin_r) +#define __NR_getrtable SYMBOLIC(__NR_getrtable) +#define __NR_getthrid SYMBOLIC(__NR_getthrid) +#define __NR_kbind SYMBOLIC(__NR_kbind) +#define __NR_mquery SYMBOLIC(__NR_mquery) +#define __NR_obreak SYMBOLIC(__NR_obreak) +#define __NR_sendsyslog SYMBOLIC(__NR_sendsyslog) +#define __NR_setrtable SYMBOLIC(__NR_setrtable) +#define __NR_swapctl SYMBOLIC(__NR_swapctl) +#define __NR_thrkill SYMBOLIC(__NR_thrkill) +#define __NR_unveil SYMBOLIC(__NR_unveil) +#define __NR_mac_get_link SYMBOLIC(__NR_mac_get_link) +#define __NR_mac_set_link SYMBOLIC(__NR_mac_set_link) +#define __NR_mac_get_fd SYMBOLIC(__NR_mac_get_fd) +#define __NR_mac_get_file SYMBOLIC(__NR_mac_get_file) +#define __NR_mac_get_proc SYMBOLIC(__NR_mac_get_proc) +#define __NR_mac_set_fd SYMBOLIC(__NR_mac_set_fd) +#define __NR_mac_get_pid SYMBOLIC(__NR_mac_get_pid) +#define __NR_mac_set_proc SYMBOLIC(__NR_mac_set_proc) +#define __NR_mac_set_file SYMBOLIC(__NR_mac_set_file) +#define __NR_mac_execve SYMBOLIC(__NR_mac_execve) +#define __NR_acl_get_link SYMBOLIC(__NR_acl_get_link) +#define __NR_sigwait_nocancel SYMBOLIC(__NR_sigwait_nocancel) +#define __NR_cap_rights_get SYMBOLIC(__NR_cap_rights_get) +#define __NR_semwait_signal SYMBOLIC(__NR_semwait_signal) +#define __NR_acl_set_link SYMBOLIC(__NR_acl_set_link) +#define __NR_acl_set_fd SYMBOLIC(__NR_acl_set_fd) +#define __NR_old_semwait_signal SYMBOLIC(__NR_old_semwait_signal) +#define __NR_setugid SYMBOLIC(__NR_setugid) +#define __NR_acl_aclcheck_fd SYMBOLIC(__NR_acl_aclcheck_fd) +#define __NR_acl_get_fd SYMBOLIC(__NR_acl_get_fd) +#define __NR___sysctl SYMBOLIC(__NR___sysctl) +#define __NR_mac_getfsstat SYMBOLIC(__NR_mac_getfsstat) +#define __NR_mac_get_mount SYMBOLIC(__NR_mac_get_mount) +#define __NR_acl_delete_link SYMBOLIC(__NR_acl_delete_link) +#define __NR_mac_mount SYMBOLIC(__NR_mac_mount) +#define __NR_acl_get_file SYMBOLIC(__NR_acl_get_file) +#define __NR_acl_aclcheck_file SYMBOLIC(__NR_acl_aclcheck_file) +#define __NR_acl_delete_fd SYMBOLIC(__NR_acl_delete_fd) +#define __NR_acl_aclcheck_link SYMBOLIC(__NR_acl_aclcheck_link) +#define __NR___mac_syscall SYMBOLIC(__NR___mac_syscall) +#define __NR_acl_set_file SYMBOLIC(__NR_acl_set_file) +#define __NR_acl_delete_file SYMBOLIC(__NR_acl_delete_file) +#define __NR_syscall SYMBOLIC(__NR_syscall) +#define __NR__umtx_op SYMBOLIC(__NR__umtx_op) +#define __NR_semwait_signal_nocancel SYMBOLIC(__NR_semwait_signal_nocancel) +#define __NR_old_semwait_signal_nocancel \ + SYMBOLIC(__NR_old_semwait_signal_nocancel) +#define __NR_sctp_peeloff SYMBOLIC(__NR_sctp_peeloff) +#define __NR_sctp_generic_recvmsg SYMBOLIC(__NR_sctp_generic_recvmsg) +#define __NR_sctp_generic_sendmsg SYMBOLIC(__NR_sctp_generic_sendmsg) +#define __NR_sctp_generic_sendmsg_iov SYMBOLIC(__NR_sctp_generic_sendmsg_iov) +#define __NR_shared_region_map_and_slide_np \ + SYMBOLIC(__NR_shared_region_map_and_slide_np) +#define __NR_guarded_open_dprotected_np \ + SYMBOLIC(__NR_guarded_open_dprotected_np) +#define __NR_stack_snapshot_with_config \ + SYMBOLIC(__NR_stack_snapshot_with_config) #endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_NR_H_ */ diff --git a/libc/sysv/consts/nrlinux.h b/libc/sysv/consts/nrlinux.h index 97f5dd55b..309968a89 100644 --- a/libc/sysv/consts/nrlinux.h +++ b/libc/sysv/consts/nrlinux.h @@ -345,5 +345,6 @@ #define __NR_linux_process_mrelease 0x01c0 #define __NR_linux_futex_waitv 0x01c1 #define __NR_linux_set_mempolicy_home_node 0x01c2 +#define __NR_linux_sys_unveil 0x0fff #endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_NRLINUX_H_ */ diff --git a/libc/sysv/consts/th.h b/libc/sysv/consts/th.h index ceff1430f..a4d35063f 100644 --- a/libc/sysv/consts/th.h +++ b/libc/sysv/consts/th.h @@ -1,11 +1,24 @@ #ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_TH_H_ #define COSMOPOLITAN_LIBC_SYSV_CONSTS_TH_H_ +#include "libc/runtime/symbolic.h" -#define TH_FIN 1 -#define TH_SYN 2 -#define TH_RST 4 -#define TH_PUSH 8 -#define TH_URG 32 -#define TH_ACK 16 +#define TH_ACK SYMBOLIC(TH_ACK) +#define TH_FIN SYMBOLIC(TH_FIN) +#define TH_PUSH SYMBOLIC(TH_PUSH) +#define TH_RST SYMBOLIC(TH_RST) +#define TH_SYN SYMBOLIC(TH_SYN) +#define TH_URG SYMBOLIC(TH_URG) +#if !(__ASSEMBLER__ + __LINKER__ + 0) +COSMOPOLITAN_C_START_ + +extern const long TH_ACK; +extern const long TH_FIN; +extern const long TH_PUSH; +extern const long TH_RST; +extern const long TH_SYN; +extern const long TH_URG; + +COSMOPOLITAN_C_END_ +#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ #endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_TH_H_ */ diff --git a/libc/sysv/consts/xopen.h b/libc/sysv/consts/xopen.h deleted file mode 100644 index 0a98e8829..000000000 --- a/libc/sysv/consts/xopen.h +++ /dev/null @@ -1,12 +0,0 @@ -#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_XOPEN_H_ -#define COSMOPOLITAN_LIBC_SYSV_CONSTS_XOPEN_H_ - -#define _XOPEN_IOV_MAX 0x10 -#define _XOPEN_ENH_I18N 1 -#define _XOPEN_UNIX 1 -#define _XOPEN_NAME_MAX 63 -#define _XOPEN_PATH_MAX 255 -#define _XOPEN_VERSION 700 -#define _XOPEN_SOURCE 700 - -#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_XOPEN_H_ */ diff --git a/libc/testlib/benchrunner.c b/libc/testlib/benchrunner.c index 0843b922c..3ae4e2dd4 100644 --- a/libc/testlib/benchrunner.c +++ b/libc/testlib/benchrunner.c @@ -53,6 +53,12 @@ void testlib_benchwarmup(void) { */ void testlib_runallbenchmarks(void) { int e; + e = errno; + if (!IsWindows()) { + mlockall(MCL_CURRENT); + nice(-1); + } + errno = e; __log_level = kLogWarn; testlib_runtestcases(__bench_start, __bench_end, testlib_benchwarmup); } diff --git a/libc/testlib/formatstr.c b/libc/testlib/formatstr.c index 2dd66dbbe..a4b9d533e 100644 --- a/libc/testlib/formatstr.c +++ b/libc/testlib/formatstr.c @@ -17,7 +17,6 @@ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/bits/safemacros.internal.h" -#include "libc/mem/mem.h" #include "libc/str/str.h" #include "libc/testlib/testlib.h" #include "libc/x/x.h" diff --git a/libc/testlib/geterrno.c b/libc/testlib/geterrno.c deleted file mode 100644 index 4f1128dae..000000000 --- a/libc/testlib/geterrno.c +++ /dev/null @@ -1,24 +0,0 @@ -/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ -│vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ -╞══════════════════════════════════════════════════════════════════════════════╡ -│ Copyright 2022 Justine Alexandra Roberts Tunney │ -│ │ -│ Permission to use, copy, modify, and/or distribute this software for │ -│ any purpose with or without fee is hereby granted, provided that the │ -│ above copyright notice and this permission notice appear in all copies. │ -│ │ -│ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL │ -│ WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED │ -│ WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE │ -│ AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL │ -│ DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR │ -│ PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER │ -│ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ -│ PERFORMANCE OF THIS SOFTWARE. │ -╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/errno.h" -#include "libc/testlib/testlib.h" - -int testlib_geterrno(void) { - return errno; -} diff --git a/libc/testlib/seterrno.c b/libc/testlib/seterrno.c deleted file mode 100644 index 8f4981fc1..000000000 --- a/libc/testlib/seterrno.c +++ /dev/null @@ -1,24 +0,0 @@ -/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ -│vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ -╞══════════════════════════════════════════════════════════════════════════════╡ -│ Copyright 2022 Justine Alexandra Roberts Tunney │ -│ │ -│ Permission to use, copy, modify, and/or distribute this software for │ -│ any purpose with or without fee is hereby granted, provided that the │ -│ above copyright notice and this permission notice appear in all copies. │ -│ │ -│ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL │ -│ WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED │ -│ WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE │ -│ AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL │ -│ DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR │ -│ PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER │ -│ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ -│ PERFORMANCE OF THIS SOFTWARE. │ -╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/errno.h" -#include "libc/testlib/testlib.h" - -void testlib_seterrno(int x) { - errno = x; -} diff --git a/libc/testlib/showerror.c b/libc/testlib/showerror.c index d9f842314..3b7011c74 100644 --- a/libc/testlib/showerror.c +++ b/libc/testlib/showerror.c @@ -19,13 +19,11 @@ #include "libc/bits/atomic.h" #include "libc/bits/safemacros.internal.h" #include "libc/calls/calls.h" -#include "libc/errno.h" #include "libc/fmt/fmt.h" #include "libc/intrin/kprintf.h" #include "libc/log/color.internal.h" #include "libc/log/internal.h" #include "libc/log/libfatal.internal.h" -#include "libc/str/str.h" #include "libc/testlib/testlib.h" const char *testlib_showerror_errno; diff --git a/libc/testlib/strerror.c b/libc/testlib/strerror.c deleted file mode 100644 index c1a292807..000000000 --- a/libc/testlib/strerror.c +++ /dev/null @@ -1,25 +0,0 @@ -/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ -│vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ -╞══════════════════════════════════════════════════════════════════════════════╡ -│ Copyright 2022 Justine Alexandra Roberts Tunney │ -│ │ -│ Permission to use, copy, modify, and/or distribute this software for │ -│ any purpose with or without fee is hereby granted, provided that the │ -│ above copyright notice and this permission notice appear in all copies. │ -│ │ -│ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL │ -│ WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED │ -│ WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE │ -│ AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL │ -│ DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR │ -│ PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER │ -│ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ -│ PERFORMANCE OF THIS SOFTWARE. │ -╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/errno.h" -#include "libc/str/str.h" -#include "libc/testlib/testlib.h" - -const char *testlib_strerror(void) { - return strerror(errno); -} diff --git a/libc/testlib/testlib.h b/libc/testlib/testlib.h index 3e2fd0004..001f74ef4 100644 --- a/libc/testlib/testlib.h +++ b/libc/testlib/testlib.h @@ -1,11 +1,14 @@ #ifndef COSMOPOLITAN_LIBC_TESTLIB_H_ #define COSMOPOLITAN_LIBC_TESTLIB_H_ +#include "libc/bits/weaken.h" +#include "libc/errno.h" +#include "libc/str/str.h" +#include "libc/testlib/ugly.h" #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ /*───────────────────────────────────────────────────────────────────────────│─╗ │ cosmopolitan § testing library ─╬─│┼ ╚────────────────────────────────────────────────────────────────────────────│*/ -#include "libc/macros.internal.h" /** * Declares test case function. @@ -63,34 +66,6 @@ COSMOPOLITAN_C_START_ #define EXPECT_LE(C, X) _TEST2("EXPECT_LE", C, <=, (X), #C, " ≤ ", #X, 0) #define EXPECT_LT(C, X) _TEST2("EXPECT_LT", C, <, (X), #C, " < ", #X, 0) -#define __TEST_ARRAY(S) \ - _Section(".piro.relo.sort.testcase.2." #S ",\"aw\",@init_array #") - -#define __BENCH_ARRAY(S) \ - _Section(".piro.relo.sort.bench.2." #S ",\"aw\",@init_array #") - -#define __TEST_PROTOTYPE(S, N, A, K) \ - void S##_##N(void); \ - testfn_t S##_##N##_ptr[] A(S##_##N) = {S##_##N}; \ - testonly K void S##_##N(void) - -#define __TEST_SECTION(NAME, CONTENT) \ - ".section " NAME "\n" CONTENT "\n\t.previous\n" - -#define __RELOSECTION(NAME, CONTENT) \ - __TEST_SECTION(".piro.relo.sort" NAME ",\"aw\",@progbits", CONTENT) - -#define __ROSTR(STR) __TEST_SECTION(".rodata.str1.1,\"aSM\",@progbits,1", STR) - -#define __FIXTURE(KIND, GROUP, ENTRY) \ - asm(__RELOSECTION("." KIND ".2." #GROUP #ENTRY, \ - "\t.quad\t1f\n" \ - "\t.quad\t2f\n" \ - "\t.quad\t" STRINGIFY(GROUP##_##ENTRY)) \ - __ROSTR("1:\t.asciz\t" STRINGIFY(#GROUP)) \ - __ROSTR("2:\t.asciz\t" STRINGIFY(#ENTRY))); \ - testonly void GROUP##_##ENTRY(void) - /** * Enables setup and teardown of test directories. * @@ -138,12 +113,12 @@ void TearDownOnce(void); #define ASSERT_SYS(ERRNO, WANT, GOT, ...) \ do { \ - int e = testlib_geterrno(); \ + int e = errno; \ __TEST_EQ(assert, __FILE__, __LINE__, __FUNCTION__, #WANT, #GOT, WANT, \ GOT, __VA_ARGS__); \ __TEST_EQ(assert, __FILE__, __LINE__, __FUNCTION__, #ERRNO, \ - testlib_strerror(), ERRNO, testlib_geterrno(), __VA_ARGS__); \ - testlib_seterrno(e); \ + strerror(errno), ERRNO, errno, __VA_ARGS__); \ + errno = e; \ } while (0) #define ASSERT_BETWEEN(BEG, END, GOT) \ @@ -213,11 +188,11 @@ void TearDownOnce(void); #define EXPECT_SYS(ERRNO, WANT, GOT, ...) \ do { \ - testlib_seterrno(0); \ + errno = 0; \ __TEST_EQ(expect, __FILE__, __LINE__, __FUNCTION__, #WANT, #GOT, WANT, \ GOT, __VA_ARGS__); \ __TEST_EQ(expect, __FILE__, __LINE__, __FUNCTION__, #ERRNO, \ - testlib_strerror(), ERRNO, testlib_geterrno(), __VA_ARGS__); \ + strerror(errno), ERRNO, errno, __VA_ARGS__); \ } while (0) #define EXPECT_FALSE(X) _TEST2("EXPECT_FALSE", false, ==, (X), #X, "", "", 0) @@ -375,10 +350,7 @@ void testlib_showerror(const char *, int, const char *, const char *, void thrashcodecache(void); void testlib_finish(void); -int testlib_geterrno(void); -void testlib_seterrno(int); void testlib_runalltests(void); -const char *testlib_strerror(void); void testlib_runallbenchmarks(void); void testlib_runtestcases(testfn_t *, testfn_t *, testfn_t); void testlib_runcombos(testfn_t *, testfn_t *, const struct TestFixture *, diff --git a/libc/testlib/testlib.mk b/libc/testlib/testlib.mk index caf496290..262b7613b 100644 --- a/libc/testlib/testlib.mk +++ b/libc/testlib/testlib.mk @@ -24,6 +24,7 @@ LIBC_TESTLIB_A_HDRS = \ libc/testlib/fastrandomstring.h \ libc/testlib/hyperion.h \ libc/testlib/moby.h \ + libc/testlib/ugly.h \ libc/testlib/testlib.h LIBC_TESTLIB_A_SRCS_S = \ @@ -51,9 +52,6 @@ LIBC_TESTLIB_A_SRCS_C = \ libc/testlib/almostequallongdouble.c \ libc/testlib/benchrunner.c \ libc/testlib/getcore.c \ - libc/testlib/geterrno.c \ - libc/testlib/seterrno.c \ - libc/testlib/strerror.c \ libc/testlib/getinterrupts.c \ libc/testlib/ezbenchwarn.c \ libc/testlib/binequals.c \ diff --git a/libc/testlib/ugly.h b/libc/testlib/ugly.h new file mode 100644 index 000000000..c08baee03 --- /dev/null +++ b/libc/testlib/ugly.h @@ -0,0 +1,35 @@ +#ifndef COSMOPOLITAN_LIBC_TESTLIB_UGLY_H_ +#define COSMOPOLITAN_LIBC_TESTLIB_UGLY_H_ +#include "libc/macros.internal.h" +#if !(__ASSEMBLER__ + __LINKER__ + 0) + +#define __TEST_ARRAY(S) \ + _Section(".piro.relo.sort.testcase.2." #S ",\"aw\",@init_array #") + +#define __BENCH_ARRAY(S) \ + _Section(".piro.relo.sort.bench.2." #S ",\"aw\",@init_array #") + +#define __TEST_PROTOTYPE(S, N, A, K) \ + void S##_##N(void); \ + testfn_t S##_##N##_ptr[] A(S##_##N) = {S##_##N}; \ + testonly K void S##_##N(void) + +#define __TEST_SECTION(NAME, CONTENT) \ + ".section " NAME "\n" CONTENT "\n\t.previous\n" + +#define __RELOSECTION(NAME, CONTENT) \ + __TEST_SECTION(".piro.relo.sort" NAME ",\"aw\",@progbits", CONTENT) + +#define __ROSTR(STR) __TEST_SECTION(".rodata.str1.1,\"aSM\",@progbits,1", STR) + +#define __FIXTURE(KIND, GROUP, ENTRY) \ + asm(__RELOSECTION("." KIND ".2." #GROUP #ENTRY, \ + "\t.quad\t1f\n" \ + "\t.quad\t2f\n" \ + "\t.quad\t" STRINGIFY(GROUP##_##ENTRY)) \ + __ROSTR("1:\t.asciz\t" STRINGIFY(#GROUP)) \ + __ROSTR("2:\t.asciz\t" STRINGIFY(#ENTRY))); \ + testonly void GROUP##_##ENTRY(void) + +#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ +#endif /* COSMOPOLITAN_LIBC_TESTLIB_UGLY_H_ */ diff --git a/libc/time/asctime.c b/libc/time/asctime.c index 5a6f4ad8a..c076e59f1 100644 --- a/libc/time/asctime.c +++ b/libc/time/asctime.c @@ -1,8 +1,6 @@ #include "libc/fmt/fmt.h" -#include "libc/str/str.h" #include "libc/time/time.h" #include "libc/time/tz.internal.h" -#include "third_party/python/Include/object.h" // clang-format off /* asctime and asctime_r a la POSIX and ISO C, except pad years before 1000. */ diff --git a/libc/unicode/unicode.mk b/libc/unicode/unicode.mk index 8d83757b0..b4779a900 100644 --- a/libc/unicode/unicode.mk +++ b/libc/unicode/unicode.mk @@ -53,6 +53,7 @@ LIBC_UNICODE_BINS = $(foreach x,$(LIBC_UNICODE_ARTIFACTS),$($(x)_BINS)) LIBC_UNICODE_CHECKS = $(foreach x,$(LIBC_UNICODE_ARTIFACTS),$($(x)_CHECKS)) LIBC_UNICODE_OBJS = $(foreach x,$(LIBC_UNICODE_ARTIFACTS),$($(x)_OBJS)) LIBC_UNICODE_TESTS = $(foreach x,$(LIBC_UNICODE_ARTIFACTS),$($(x)_TESTS)) +$(LIBC_UNICODE_OBJS): $(BUILD_FILES) libc/unicode/unicode.mk .PHONY: o/$(MODE)/libc/unicode o/$(MODE)/libc/unicode: $(LIBC_UNICODE) $(LIBC_UNICODE_CHECKS) diff --git a/libc/x/makedirs.c b/libc/x/makedirs.c index f236765cf..6255bf9ff 100644 --- a/libc/x/makedirs.c +++ b/libc/x/makedirs.c @@ -21,6 +21,7 @@ #include "libc/calls/calls.h" #include "libc/calls/strace.internal.h" #include "libc/errno.h" +#include "libc/log/log.h" #include "libc/mem/mem.h" #include "libc/str/str.h" #include "libc/x/x.h" @@ -28,7 +29,7 @@ static int MakeDirs(const char *path, unsigned mode, int e) { int rc; char *dir; - if (!mkdir(path, mode) || errno == EEXIST) { + if (mkdir(path, mode) != -1 || errno == EEXIST) { errno = e; return 0; } diff --git a/libc/x/xcalloc.c b/libc/x/xcalloc.c index 09d7b90ed..ca9932c7e 100644 --- a/libc/x/xcalloc.c +++ b/libc/x/xcalloc.c @@ -16,6 +16,7 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ +#include "libc/log/log.h" #include "libc/mem/mem.h" #include "libc/x/x.h" diff --git a/libc/x/xload.c b/libc/x/xload.c index 38b91e22f..0dfc6cc2f 100644 --- a/libc/x/xload.c +++ b/libc/x/xload.c @@ -18,7 +18,6 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/intrin/lockcmpxchg.h" #include "libc/log/check.h" -#include "libc/mem/mem.h" #include "libc/runtime/runtime.h" #include "libc/x/x.h" #include "third_party/zlib/zlib.h" diff --git a/libc/x/xloadzd.c b/libc/x/xloadzd.c index 557268bc0..d8afcb7fb 100644 --- a/libc/x/xloadzd.c +++ b/libc/x/xloadzd.c @@ -19,7 +19,6 @@ #include "libc/assert.h" #include "libc/fmt/leb128.h" #include "libc/intrin/lockcmpxchg.h" -#include "libc/mem/mem.h" #include "libc/nexgen32e/crc32.h" #include "libc/runtime/internal.h" #include "libc/runtime/runtime.h" diff --git a/libc/x/xmalloc.c b/libc/x/xmalloc.c index a054e4d73..fee6a6923 100644 --- a/libc/x/xmalloc.c +++ b/libc/x/xmalloc.c @@ -16,6 +16,7 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ +#include "libc/log/log.h" #include "libc/mem/mem.h" #include "libc/x/x.h" diff --git a/libc/x/xmemalign.c b/libc/x/xmemalign.c index a30acea16..0404851ed 100644 --- a/libc/x/xmemalign.c +++ b/libc/x/xmemalign.c @@ -16,6 +16,7 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ +#include "libc/log/log.h" #include "libc/mem/mem.h" #include "libc/x/x.h" diff --git a/libc/x/xmemalignzero.c b/libc/x/xmemalignzero.c index 23ec852b8..eb31b562a 100644 --- a/libc/x/xmemalignzero.c +++ b/libc/x/xmemalignzero.c @@ -16,6 +16,7 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ +#include "libc/log/log.h" #include "libc/mem/mem.h" #include "libc/str/str.h" #include "libc/x/x.h" diff --git a/libc/x/xrealloc.c b/libc/x/xrealloc.c index ba9bdb3ca..f61cace06 100644 --- a/libc/x/xrealloc.c +++ b/libc/x/xrealloc.c @@ -16,6 +16,7 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ +#include "libc/log/log.h" #include "libc/mem/mem.h" #include "libc/x/x.h" diff --git a/libc/x/xstrdup.c b/libc/x/xstrdup.c index 8dc0b2d8e..6aaa9a67b 100644 --- a/libc/x/xstrdup.c +++ b/libc/x/xstrdup.c @@ -16,17 +16,16 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/bits/likely.h" +#include "libc/log/log.h" #include "libc/mem/mem.h" -#include "libc/str/str.h" +#include "libc/runtime/runtime.h" #include "libc/x/x.h" /** * Allocates new copy of string, or dies. */ char *xstrdup(const char *s) { - size_t len = strlen(s); - char *s2 = malloc(len + 1); - if (UNLIKELY(!s2)) xdie(); - return memcpy(s2, s, len + 1); + void *res = strdup(s); + if (!res) xdie(); + return res; } diff --git a/libc/x/xstrndup.c b/libc/x/xstrndup.c index de883d4ff..d2342a309 100644 --- a/libc/x/xstrndup.c +++ b/libc/x/xstrndup.c @@ -16,6 +16,7 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ +#include "libc/log/log.h" #include "libc/mem/mem.h" #include "libc/x/x.h" diff --git a/libc/x/xvalloc.c b/libc/x/xvalloc.c index 7f0d114b4..130f62c54 100644 --- a/libc/x/xvalloc.c +++ b/libc/x/xvalloc.c @@ -16,6 +16,7 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ +#include "libc/log/log.h" #include "libc/mem/mem.h" #include "libc/x/x.h" diff --git a/libc/x/xvasprintf.c b/libc/x/xvasprintf.c index 243e68fc1..ff70d2666 100644 --- a/libc/x/xvasprintf.c +++ b/libc/x/xvasprintf.c @@ -16,6 +16,7 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ +#include "libc/log/log.h" #include "libc/mem/fmt.h" #include "libc/mem/mem.h" #include "libc/x/x.h" diff --git a/libc/x/xvspawn.c b/libc/x/xvspawn.c index dc132948a..b2801bdc7 100644 --- a/libc/x/xvspawn.c +++ b/libc/x/xvspawn.c @@ -18,7 +18,6 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/calls/calls.h" #include "libc/errno.h" -#include "libc/runtime/runtime.h" #include "libc/sysv/consts/sig.h" #include "libc/x/x.h" diff --git a/net/http/escapehtml.c b/net/http/escapehtml.c index 598611453..dcbf4921f 100644 --- a/net/http/escapehtml.c +++ b/net/http/escapehtml.c @@ -16,7 +16,6 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/mem/mem.h" #include "libc/str/str.h" #include "libc/x/x.h" #include "net/http/escape.h" diff --git a/net/http/escapejsstringliteral.c b/net/http/escapejsstringliteral.c index 68fc9ad38..d1abba3ea 100644 --- a/net/http/escapejsstringliteral.c +++ b/net/http/escapejsstringliteral.c @@ -17,8 +17,6 @@ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/bits/likely.h" -#include "libc/mem/mem.h" -#include "libc/str/str.h" #include "libc/str/thompike.h" #include "libc/str/utf16.h" #include "libc/x/x.h" diff --git a/net/http/escapeurl.c b/net/http/escapeurl.c index eacbcc55f..83657904e 100644 --- a/net/http/escapeurl.c +++ b/net/http/escapeurl.c @@ -16,8 +16,6 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/mem/mem.h" -#include "libc/str/str.h" #include "libc/x/x.h" #include "net/http/escape.h" #include "net/http/url.h" diff --git a/net/http/indentlines.c b/net/http/indentlines.c index be1305e7f..7f94a9ae4 100644 --- a/net/http/indentlines.c +++ b/net/http/indentlines.c @@ -16,7 +16,6 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/mem/mem.h" #include "libc/str/str.h" #include "libc/x/x.h" #include "net/http/escape.h" diff --git a/net/http/parseurl.c b/net/http/parseurl.c index a599deb52..8bdc6ac1b 100644 --- a/net/http/parseurl.c +++ b/net/http/parseurl.c @@ -18,7 +18,6 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/bits/likely.h" #include "libc/limits.h" -#include "libc/mem/mem.h" #include "libc/str/str.h" #include "libc/x/x.h" #include "net/http/escape.h" diff --git a/test/libc/bits/bextra_test.c b/test/libc/bits/bextra_test.c index ad99cc5d9..5638aba64 100644 --- a/test/libc/bits/bextra_test.c +++ b/test/libc/bits/bextra_test.c @@ -22,7 +22,8 @@ #include "libc/testlib/testlib.h" void SetUpOnce(void) { - ASSERT_SYS(0, 0, pledge("stdio", 0)); + pledge("stdio", 0); + errno = 0; } unsigned P[] = { diff --git a/test/libc/bits/bitreverse_test.c b/test/libc/bits/bitreverse_test.c index 1d4cef342..db7ad2b84 100644 --- a/test/libc/bits/bitreverse_test.c +++ b/test/libc/bits/bitreverse_test.c @@ -22,7 +22,8 @@ #include "libc/testlib/testlib.h" void SetUpOnce(void) { - ASSERT_SYS(0, 0, pledge("stdio", 0)); + pledge("stdio", 0); + errno = 0; } TEST(bitreverse, test) { diff --git a/test/libc/bits/countbits_test.c b/test/libc/bits/countbits_test.c index 9ad88fb14..514da8644 100644 --- a/test/libc/bits/countbits_test.c +++ b/test/libc/bits/countbits_test.c @@ -21,13 +21,13 @@ #include "libc/calls/calls.h" #include "libc/mem/mem.h" #include "libc/runtime/gc.internal.h" -#include "libc/str/str.h" #include "libc/testlib/ezbench.h" #include "libc/testlib/hyperion.h" #include "libc/testlib/testlib.h" void SetUpOnce(void) { - ASSERT_SYS(0, 0, pledge("stdio", 0)); + pledge("stdio", 0); + errno = 0; } TEST(_countbits, testLow) { diff --git a/test/libc/bits/integralarithmetic_test.c b/test/libc/bits/integralarithmetic_test.c index 45ba9dcaa..04b3b022d 100644 --- a/test/libc/bits/integralarithmetic_test.c +++ b/test/libc/bits/integralarithmetic_test.c @@ -26,7 +26,8 @@ #define ROL(w, k) ((w) << (k) | CheckUnsigned(w) >> (sizeof(w) * 8 - (k))) void SetUpOnce(void) { - ASSERT_SYS(0, 0, pledge("stdio", 0)); + pledge("stdio", 0); + errno = 0; } TEST(TwosComplementBane, LiteralsThatAreLiterallyTheSameNumber) { diff --git a/test/libc/bits/morton_test.c b/test/libc/bits/morton_test.c index 0c9a2ac5d..c5fe0f711 100644 --- a/test/libc/bits/morton_test.c +++ b/test/libc/bits/morton_test.c @@ -18,14 +18,14 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/bits/morton.h" #include "libc/calls/calls.h" -#include "libc/errno.h" #include "libc/nexgen32e/kcpuids.h" #include "libc/str/str.h" #include "libc/testlib/ezbench.h" #include "libc/testlib/testlib.h" void SetUpOnce(void) { - ASSERT_SYS(0, 0, pledge("stdio rpath", 0)); + pledge("stdio rpath", 0); + errno = 0; } TEST(morton, test) { diff --git a/test/libc/bits/popcnt_test.c b/test/libc/bits/popcnt_test.c index fbcc42dd5..e0ee565f6 100644 --- a/test/libc/bits/popcnt_test.c +++ b/test/libc/bits/popcnt_test.c @@ -23,7 +23,8 @@ #include "libc/testlib/testlib.h" void SetUpOnce(void) { - ASSERT_SYS(0, 0, pledge("stdio", 0)); + pledge("stdio", 0); + errno = 0; } TEST(popcnt, test) { diff --git a/test/libc/bits/rounddown2pow_test.c b/test/libc/bits/rounddown2pow_test.c index 2b09f7bbf..c5aff3ad6 100644 --- a/test/libc/bits/rounddown2pow_test.c +++ b/test/libc/bits/rounddown2pow_test.c @@ -18,10 +18,12 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/bits/bits.h" #include "libc/calls/calls.h" +#include "libc/errno.h" #include "libc/testlib/testlib.h" void SetUpOnce(void) { - ASSERT_SYS(0, 0, pledge("stdio", 0)); + pledge("stdio", 0); + errno = 0; } TEST(rounddown2pow, test) { diff --git a/test/libc/bits/roundup2log_test.c b/test/libc/bits/roundup2log_test.c index b498b3cf2..4370614f4 100644 --- a/test/libc/bits/roundup2log_test.c +++ b/test/libc/bits/roundup2log_test.c @@ -18,10 +18,12 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/bits/bits.h" #include "libc/calls/calls.h" +#include "libc/errno.h" #include "libc/testlib/testlib.h" void SetUpOnce(void) { - ASSERT_SYS(0, 0, pledge("stdio", 0)); + pledge("stdio", 0); + errno = 0; } TEST(roundup2log, test) { diff --git a/test/libc/bits/roundup2pow_test.c b/test/libc/bits/roundup2pow_test.c index a58903214..a338819bd 100644 --- a/test/libc/bits/roundup2pow_test.c +++ b/test/libc/bits/roundup2pow_test.c @@ -18,6 +18,7 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/bits/bits.h" #include "libc/calls/calls.h" +#include "libc/errno.h" #include "libc/log/check.h" #include "libc/macros.internal.h" #include "libc/math.h" @@ -25,7 +26,8 @@ #include "libc/testlib/testlib.h" void SetUpOnce(void) { - ASSERT_SYS(0, 0, pledge("stdio", 0)); + pledge("stdio", 0); + errno = 0; } TEST(roundup2pow, test) { diff --git a/test/libc/calls/_timespec_test.c b/test/libc/calls/_timespec_test.c index 61b967beb..46e29eabd 100644 --- a/test/libc/calls/_timespec_test.c +++ b/test/libc/calls/_timespec_test.c @@ -59,20 +59,6 @@ TEST(_timespec_frommicros, test) { _timespec_eq((struct timespec){0, 2000}, _timespec_frommicros(2))); EXPECT_TRUE( _timespec_eq((struct timespec){1}, _timespec_frommicros(1000000))); - EXPECT_TRUE(_timespec_eq((struct timespec){2, 123000}, - _timespec_frommicros(2000123))); -} - -TEST(_timespec_tomillis, test) { - EXPECT_EQ(2123, _timespec_tomillis((struct timespec){2, 123000000})); -} - -TEST(_timespec_tomicros, test) { - EXPECT_EQ(2000123, _timespec_tomicros((struct timespec){2, 123000})); -} - -TEST(_timespec_tonanos, test) { - EXPECT_EQ(2000123000, _timespec_tonanos((struct timespec){2, 123000})); } static long mod(long x, long y) { diff --git a/test/libc/calls/access_test.c b/test/libc/calls/access_test.c index 0f7a6db52..10c7e9cb7 100644 --- a/test/libc/calls/access_test.c +++ b/test/libc/calls/access_test.c @@ -30,7 +30,8 @@ char testlib_enable_tmp_setup_teardown; void SetUpOnce(void) { - ASSERT_SYS(0, 0, pledge("stdio rpath wpath cpath fattr", 0)); + pledge("stdio rpath wpath cpath fattr", 0); + errno = 0; } TEST(access, efault) { diff --git a/test/libc/calls/chdir_test.c b/test/libc/calls/chdir_test.c index 9fb7f5043..270b0aeb8 100644 --- a/test/libc/calls/chdir_test.c +++ b/test/libc/calls/chdir_test.c @@ -25,7 +25,8 @@ char testlib_enable_tmp_setup_teardown; void SetUpOnce(void) { - ASSERT_SYS(0, 0, pledge("stdio rpath wpath cpath fattr", 0)); + pledge("stdio rpath wpath cpath fattr", 0); + errno = 0; } TEST(chdir, efault) { diff --git a/test/libc/calls/clock_gettime_test.c b/test/libc/calls/clock_gettime_test.c index 8d77d161b..78de1fc62 100644 --- a/test/libc/calls/clock_gettime_test.c +++ b/test/libc/calls/clock_gettime_test.c @@ -22,7 +22,6 @@ #include "libc/calls/struct/timeval.h" #include "libc/calls/syscall_support-sysv.internal.h" #include "libc/dce.h" -#include "libc/errno.h" #include "libc/nexgen32e/rdtsc.h" #include "libc/runtime/runtime.h" #include "libc/sysv/consts/auxv.h" diff --git a/test/libc/calls/commandv_test.c b/test/libc/calls/commandv_test.c index 4f18ec745..df11e4a34 100644 --- a/test/libc/calls/commandv_test.c +++ b/test/libc/calls/commandv_test.c @@ -40,7 +40,8 @@ char pathbuf[PATH_MAX]; char testlib_enable_tmp_setup_teardown; void SetUpOnce(void) { - ASSERT_SYS(0, 0, pledge("stdio rpath wpath cpath fattr", 0)); + pledge("stdio rpath wpath cpath fattr", 0); + errno = 0; } void SetUp(void) { diff --git a/test/libc/calls/dup_test.c b/test/libc/calls/dup_test.c index 3eda2c135..3386be292 100644 --- a/test/libc/calls/dup_test.c +++ b/test/libc/calls/dup_test.c @@ -32,6 +32,11 @@ char testlib_enable_tmp_setup_teardown; +void SetUpOnce(void) { + pledge("stdio rpath wpath cpath fattr proc exec", 0); + errno = 0; +} + static textstartup void TestInit(int argc, char **argv) { int fd; if (argc == 2 && !strcmp(argv[1], "boop")) { diff --git a/test/libc/calls/fcntl_test.c b/test/libc/calls/fcntl_test.c index 119eedf65..b3258a32a 100644 --- a/test/libc/calls/fcntl_test.c +++ b/test/libc/calls/fcntl_test.c @@ -31,7 +31,8 @@ char testlib_enable_tmp_setup_teardown; void SetUpOnce(void) { - ASSERT_SYS(0, 0, pledge("stdio rpath wpath cpath fattr", 0)); + pledge("stdio rpath wpath cpath fattr", 0); + errno = 0; } TEST(fcntl_getfl, testRemembersAccessMode) { diff --git a/test/libc/calls/fileexists_test.c b/test/libc/calls/fileexists_test.c index 7f73c472f..d0f3ba80d 100644 --- a/test/libc/calls/fileexists_test.c +++ b/test/libc/calls/fileexists_test.c @@ -24,7 +24,8 @@ char testlib_enable_tmp_setup_teardown; void SetUpOnce(void) { - ASSERT_SYS(0, 0, pledge("stdio rpath wpath cpath fattr", 0)); + pledge("stdio rpath wpath cpath fattr", 0); + errno = 0; } TEST(fileexists, test) { diff --git a/test/libc/calls/ftruncate_test.c b/test/libc/calls/ftruncate_test.c index 082b942a5..45369f707 100644 --- a/test/libc/calls/ftruncate_test.c +++ b/test/libc/calls/ftruncate_test.c @@ -33,7 +33,8 @@ struct stat st; char testlib_enable_tmp_setup_teardown; void SetUpOnce(void) { - ASSERT_SYS(0, 0, pledge("stdio rpath wpath cpath", 0)); + pledge("stdio rpath wpath cpath", 0); + errno = 0; } TEST(ftruncate, test) { diff --git a/test/libc/calls/getcwd_test.c b/test/libc/calls/getcwd_test.c index 4c9f5695f..2f1f179ef 100644 --- a/test/libc/calls/getcwd_test.c +++ b/test/libc/calls/getcwd_test.c @@ -17,6 +17,7 @@ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/calls/calls.h" +#include "libc/errno.h" #include "libc/fmt/conv.h" #include "libc/fmt/fmt.h" #include "libc/log/check.h" @@ -28,7 +29,8 @@ char testlib_enable_tmp_setup_teardown; void SetUpOnce(void) { - ASSERT_SYS(0, 0, pledge("stdio rpath cpath fattr", 0)); + pledge("stdio rpath cpath fattr", 0); + errno = 0; } TEST(getcwd, test) { diff --git a/test/libc/calls/lseek_test.c b/test/libc/calls/lseek_test.c index a74a785a9..43a321a3b 100644 --- a/test/libc/calls/lseek_test.c +++ b/test/libc/calls/lseek_test.c @@ -28,7 +28,8 @@ char testlib_enable_tmp_setup_teardown; void SetUpOnce(void) { - ASSERT_SYS(0, 0, pledge("stdio rpath wpath cpath fattr proc", 0)); + pledge("stdio rpath wpath cpath fattr proc", 0); + errno = 0; } TEST(lseek, wat) { diff --git a/test/libc/calls/mkdir_test.c b/test/libc/calls/mkdir_test.c index bb34e0e02..d152de895 100644 --- a/test/libc/calls/mkdir_test.c +++ b/test/libc/calls/mkdir_test.c @@ -24,7 +24,6 @@ #include "libc/mem/mem.h" #include "libc/runtime/gc.internal.h" #include "libc/runtime/runtime.h" -#include "libc/str/str.h" #include "libc/sysv/consts/o.h" #include "libc/testlib/testlib.h" #include "libc/x/x.h" @@ -32,7 +31,8 @@ char testlib_enable_tmp_setup_teardown; void SetUpOnce(void) { - ASSERT_SYS(0, 0, pledge("stdio rpath wpath cpath fattr", 0)); + pledge("stdio rpath wpath cpath fattr", 0); + errno = 0; } void SetUp(void) { diff --git a/test/libc/calls/nanosleep_test.c b/test/libc/calls/nanosleep_test.c index d7f15d4d2..b70a50825 100644 --- a/test/libc/calls/nanosleep_test.c +++ b/test/libc/calls/nanosleep_test.c @@ -20,7 +20,6 @@ #include "libc/calls/struct/itimerval.h" #include "libc/calls/struct/sigaction.h" #include "libc/calls/struct/timespec.h" -#include "libc/errno.h" #include "libc/intrin/describeflags.internal.h" #include "libc/intrin/kprintf.h" #include "libc/sysv/consts/itimer.h" diff --git a/test/libc/calls/open_test.c b/test/libc/calls/open_test.c index 5bd30ab4b..c91ac55f1 100644 --- a/test/libc/calls/open_test.c +++ b/test/libc/calls/open_test.c @@ -19,10 +19,8 @@ #include "libc/calls/internal.h" #include "libc/dce.h" #include "libc/errno.h" -#include "libc/intrin/kprintf.h" #include "libc/macros.internal.h" #include "libc/runtime/gc.internal.h" -#include "libc/str/str.h" #include "libc/sysv/consts/o.h" #include "libc/testlib/testlib.h" #include "libc/x/x.h" @@ -30,7 +28,8 @@ char testlib_enable_tmp_setup_teardown; void SetUpOnce(void) { - ASSERT_SYS(0, 0, pledge("stdio rpath wpath cpath fattr", 0)); + pledge("stdio rpath wpath cpath fattr", 0); + errno = 0; } TEST(open, efault) { @@ -52,7 +51,7 @@ TEST(open, enotdir) { TEST(open, eexist) { ASSERT_SYS(0, 0, touch("exists", 0644)); - ASSERT_SYS(EEXIST, -1, open("exists", O_WRONLY | O_CREAT | O_EXCL, 0644)); + ASSERT_SYS(EEXIST, -1, open("exists", O_WRONLY | O_CREAT | O_EXCL)); } TEST(open, doubleSlash_worksAndGetsNormalizedOnWindows) { diff --git a/test/libc/calls/openbsd_test.c b/test/libc/calls/openbsd_test.c deleted file mode 100644 index 981f82a6d..000000000 --- a/test/libc/calls/openbsd_test.c +++ /dev/null @@ -1,61 +0,0 @@ -/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ -│vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ -╞══════════════════════════════════════════════════════════════════════════════╡ -│ Copyright 2022 Justine Alexandra Roberts Tunney │ -│ │ -│ Permission to use, copy, modify, and/or distribute this software for │ -│ any purpose with or without fee is hereby granted, provided that the │ -│ above copyright notice and this permission notice appear in all copies. │ -│ │ -│ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL │ -│ WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED │ -│ WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE │ -│ AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL │ -│ DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR │ -│ PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER │ -│ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ -│ PERFORMANCE OF THIS SOFTWARE. │ -╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/calls/calls.h" -#include "libc/sysv/consts/o.h" -#include "libc/testlib/testlib.h" - -#define SPAWN(METHOD) \ - { \ - int ws, pid; \ - ASSERT_NE(-1, (pid = METHOD())); \ - if (!pid) { - -#define EXITS(rc) \ - _Exit(0); \ - } \ - ASSERT_NE(-1, wait(&ws)); \ - ASSERT_TRUE(WIFEXITED(ws)); \ - ASSERT_EQ(rc, WEXITSTATUS(ws)); \ - } - -#define TERMS(sig) \ - _Exit(0); \ - } \ - ASSERT_NE(-1, wait(&ws)); \ - ASSERT_TRUE(WIFSIGNALED(ws)); \ - ASSERT_EQ(sig, WTERMSIG(ws)); \ - } - -char testlib_enable_tmp_setup_teardown; - -TEST(pledge, promisedSyscallsCanBeCalled_ieEnosysIsIgnored) { - SPAWN(fork); - EXPECT_SYS(0, 0, pledge("stdio", 0)); - EXPECT_SYS(0, 0, read(0, 0, 0)); - EXITS(0); -} - -TEST(unveil, pathBecomeVisible_ieEnosysIsIgnored) { - SPAWN(fork); - EXPECT_SYS(0, 0, touch("foo", 0644)); - EXPECT_SYS(0, 0, unveil("foo", "r")); - EXPECT_SYS(0, 0, unveil(0, 0)); - EXPECT_SYS(0, 3, open("foo", O_RDONLY)); - EXITS(0); -} diff --git a/test/libc/calls/pledge2_test.c b/test/libc/calls/pledge2_test.c index c3c2b2804..9464ad88c 100644 --- a/test/libc/calls/pledge2_test.c +++ b/test/libc/calls/pledge2_test.c @@ -21,7 +21,6 @@ #include "libc/calls/struct/seccomp.h" #include "libc/calls/syscall_support-sysv.internal.h" #include "libc/dce.h" -#include "libc/errno.h" #include "libc/intrin/kprintf.h" #include "libc/intrin/promises.internal.h" #include "libc/runtime/runtime.h" @@ -99,7 +98,7 @@ TEST(pledge, testLogMessage_inSoftyMode) { read(fds[0], msg, sizeof(msg)); close(fds[0]); if (IsLinux()) { - ASSERT_STARTSWITH("error: pledge inet for socket", msg); + ASSERT_STARTSWITH("error: maybe pledge inet", msg); } } @@ -117,7 +116,7 @@ TEST(pledge, testLogMessage_onKillProcess) { read(fds[0], msg, sizeof(msg)); close(fds[0]); if (IsLinux()) { - ASSERT_STARTSWITH("error: pledge inet for socket", msg); + ASSERT_STARTSWITH("error: maybe pledge inet", msg); } } diff --git a/test/libc/calls/pledge_test.c b/test/libc/calls/pledge_test.c index 532cdce93..78be4bde1 100644 --- a/test/libc/calls/pledge_test.c +++ b/test/libc/calls/pledge_test.c @@ -82,7 +82,6 @@ int extract(const char *from, const char *to, int mode) { } void SetUp(void) { - __enable_threads(); if (!__is_linux_2_6_23() && !IsOpenbsd()) exit(0); ASSERT_SYS(0, 0, extract("/zip/life.elf", "life.elf", 0755)); ASSERT_SYS(0, 0, extract("/zip/sock.elf", "sock.elf", 0755)); diff --git a/test/libc/calls/pread_test.c b/test/libc/calls/pread_test.c index a3e00512a..0a7f0a754 100644 --- a/test/libc/calls/pread_test.c +++ b/test/libc/calls/pread_test.c @@ -25,7 +25,8 @@ char buf[8]; char testlib_enable_tmp_setup_teardown; void SetUpOnce(void) { - ASSERT_SYS(0, 0, pledge("stdio rpath wpath cpath fattr", 0)); + pledge("stdio rpath wpath cpath fattr", 0); + errno = 0; } TEST(pread, testReadPastEof_returnsZero) { diff --git a/test/libc/calls/printargs_test.c b/test/libc/calls/printargs_test.c index 117d838be..f358b9c0f 100644 --- a/test/libc/calls/printargs_test.c +++ b/test/libc/calls/printargs_test.c @@ -23,7 +23,8 @@ #include "libc/x/x.h" void SetUpOnce(void) { - ASSERT_SYS(0, 0, pledge("stdio rpath tty proc", 0)); + pledge("stdio rpath tty proc", 0); + errno = 0; } /** diff --git a/test/libc/calls/pwrite_test.c b/test/libc/calls/pwrite_test.c index c22fbf266..c9d8f92fb 100644 --- a/test/libc/calls/pwrite_test.c +++ b/test/libc/calls/pwrite_test.c @@ -26,7 +26,8 @@ struct stat st; char testlib_enable_tmp_setup_teardown; void SetUpOnce(void) { - ASSERT_SYS(0, 0, pledge("stdio rpath wpath cpath fattr", 0)); + pledge("stdio rpath wpath cpath fattr", 0); + errno = 0; } TEST(pwrite, testWritePastEof_extendsFile) { diff --git a/test/libc/calls/readansi_test.c b/test/libc/calls/readansi_test.c index 9cf9c6550..12f4c6e41 100644 --- a/test/libc/calls/readansi_test.c +++ b/test/libc/calls/readansi_test.c @@ -18,7 +18,6 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/calls/calls.h" #include "libc/runtime/runtime.h" -#include "libc/str/str.h" #include "libc/testlib/testlib.h" #include "libc/time/time.h" #include "libc/x/x.h" diff --git a/test/libc/calls/readlinkat_test.c b/test/libc/calls/readlinkat_test.c index 9a323d744..d96204829 100644 --- a/test/libc/calls/readlinkat_test.c +++ b/test/libc/calls/readlinkat_test.c @@ -18,6 +18,7 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/calls/calls.h" #include "libc/calls/struct/stat.h" +#include "libc/errno.h" #include "libc/log/log.h" #include "libc/runtime/gc.h" #include "libc/runtime/gc.internal.h" @@ -32,7 +33,8 @@ char testlib_enable_tmp_setup_teardown; void SetUpOnce(void) { - ASSERT_SYS(0, 0, pledge("stdio rpath wpath cpath fattr", 0)); + pledge("stdio rpath wpath cpath fattr", 0); + errno = 0; } TEST(readlink, enoent) { diff --git a/test/libc/calls/renameat_test.c b/test/libc/calls/renameat_test.c index a5586888e..e2da3c513 100644 --- a/test/libc/calls/renameat_test.c +++ b/test/libc/calls/renameat_test.c @@ -25,7 +25,8 @@ char testlib_enable_tmp_setup_teardown; void SetUpOnce(void) { - ASSERT_SYS(0, 0, pledge("stdio rpath wpath cpath fattr", 0)); + pledge("stdio rpath wpath cpath fattr", 0); + errno = 0; } TEST(rename, enoent) { diff --git a/test/libc/calls/reservefd_test.c b/test/libc/calls/reservefd_test.c index c54d69df2..36cc18f4f 100644 --- a/test/libc/calls/reservefd_test.c +++ b/test/libc/calls/reservefd_test.c @@ -29,9 +29,7 @@ #include "libc/macros.internal.h" #include "libc/nexgen32e/threaded.h" #include "libc/rand/rand.h" -#include "libc/runtime/internal.h" #include "libc/runtime/stack.h" -#include "libc/str/str.h" #include "libc/sysv/consts/clone.h" #include "libc/sysv/consts/itimer.h" #include "libc/sysv/consts/map.h" @@ -50,11 +48,6 @@ STATIC_YOINK("libc/testlib/hyperion.txt"); #define THREADS 8 -void SetUpOnce(void) { - __enable_threads(); - ASSERT_SYS(0, 0, pledge("stdio rpath", 0)); -} - void PullSomeZipFilesIntoLinkage(void) { gmtime(0); } diff --git a/test/libc/calls/seccomp_test.c b/test/libc/calls/seccomp_test.c index fe7add636..eb91ccac1 100644 --- a/test/libc/calls/seccomp_test.c +++ b/test/libc/calls/seccomp_test.c @@ -34,7 +34,8 @@ #include "tool/net/sandbox.h" void SetUpOnce(void) { - ASSERT_SYS(0, 0, pledge("stdio proc", 0)); + pledge("stdio proc", 0); + errno = 0; } // It's been reported that Chromebooks return EINVAL here. diff --git a/test/libc/calls/setitimer_test.c b/test/libc/calls/setitimer_test.c index 8fd29aaa6..84ffcb505 100644 --- a/test/libc/calls/setitimer_test.c +++ b/test/libc/calls/setitimer_test.c @@ -31,7 +31,8 @@ bool gotsig; void SetUpOnce(void) { - ASSERT_SYS(0, 0, pledge("stdio", 0)); + pledge("stdio", 0); + errno = 0; } void OnSigAlrm(int sig, siginfo_t *si, ucontext_t *ctx) { diff --git a/test/libc/calls/sigaction_test.c b/test/libc/calls/sigaction_test.c index 93d983b9c..e25b9765f 100644 --- a/test/libc/calls/sigaction_test.c +++ b/test/libc/calls/sigaction_test.c @@ -34,7 +34,8 @@ struct sigaction oldsa; volatile bool gotsigint; void SetUpOnce(void) { - ASSERT_SYS(0, 0, pledge("stdio rpath proc", 0)); + pledge("stdio rpath proc", 0); + errno = 0; } void OnSigInt(int sig) { diff --git a/test/libc/calls/signal_test.c b/test/libc/calls/signal_test.c index 100880b91..6683ebf70 100644 --- a/test/libc/calls/signal_test.c +++ b/test/libc/calls/signal_test.c @@ -31,7 +31,8 @@ testonly void OnUsr1(int sig) { } void SetUpOnce(void) { - ASSERT_SYS(0, 0, pledge("stdio proc", 0)); + pledge("stdio proc", 0); + errno = 0; } TEST(signal, test) { diff --git a/test/libc/calls/sigprocmask_test.c b/test/libc/calls/sigprocmask_test.c index 129bf3b60..c0d6d19a1 100644 --- a/test/libc/calls/sigprocmask_test.c +++ b/test/libc/calls/sigprocmask_test.c @@ -29,7 +29,8 @@ volatile int n; void SetUpOnce(void) { - ASSERT_SYS(0, 0, pledge("stdio proc", 0)); + pledge("stdio proc", 0); + errno = 0; } void OnSig(int sig, siginfo_t *si, ucontext_t *ctx) { diff --git a/test/libc/calls/stat_test.c b/test/libc/calls/stat_test.c index cd66edc11..dca285ab1 100644 --- a/test/libc/calls/stat_test.c +++ b/test/libc/calls/stat_test.c @@ -37,7 +37,8 @@ STATIC_YOINK("zip_uri_support"); char testlib_enable_tmp_setup_teardown; void SetUpOnce(void) { - ASSERT_SYS(0, 0, pledge("stdio rpath wpath cpath fattr", 0)); + pledge("stdio rpath wpath cpath fattr", 0); + errno = 0; } TEST(stat_010, testEmptyFile_sizeIsZero) { diff --git a/test/libc/calls/symlinkat_test.c b/test/libc/calls/symlinkat_test.c index 97dab52b8..13737d3cc 100644 --- a/test/libc/calls/symlinkat_test.c +++ b/test/libc/calls/symlinkat_test.c @@ -18,7 +18,6 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/calls/calls.h" #include "libc/calls/struct/stat.h" -#include "libc/errno.h" #include "libc/fmt/fmt.h" #include "libc/fmt/itoa.h" #include "libc/rand/rand.h" @@ -32,7 +31,8 @@ char p[2][PATH_MAX]; struct stat st; void SetUpOnce(void) { - ASSERT_SYS(0, 0, pledge("stdio rpath wpath cpath fattr", 0)); + pledge("stdio rpath wpath cpath fattr", 0); + errno = 0; } TEST(symlink, enoent) { diff --git a/test/libc/calls/test.mk b/test/libc/calls/test.mk index 3546f1348..11d91893a 100644 --- a/test/libc/calls/test.mk +++ b/test/libc/calls/test.mk @@ -73,13 +73,13 @@ o/$(MODE)/test/libc/calls/%.com.dbg: \ @$(APELINK) o/$(MODE)/test/libc/calls/tiny64.elf.zip.o: test/libc/calls/tiny64.elf - @$(COMPILE) -wAZIPOBJ $(ZIPOBJ) $(ZIPOBJ_FLAGS) -B $(OUTPUT_OPTION) $< + @$(COMPILE) -AZIPOBJ $(ZIPOBJ) $(ZIPOBJ_FLAGS) -B $(OUTPUT_OPTION) $< o/$(MODE)/test/libc/calls/life-nomod.com.zip.o: o/$(MODE)/test/libc/calls/life-nomod.com - @$(COMPILE) -wAZIPOBJ $(ZIPOBJ) $(ZIPOBJ_FLAGS) -B $(OUTPUT_OPTION) $< + @$(COMPILE) -AZIPOBJ $(ZIPOBJ) $(ZIPOBJ_FLAGS) -B $(OUTPUT_OPTION) $< o/$(MODE)/test/libc/calls/life-classic.com.zip.o: o/$(MODE)/test/libc/calls/life-classic.com - @$(COMPILE) -wAZIPOBJ $(ZIPOBJ) $(ZIPOBJ_FLAGS) -B $(OUTPUT_OPTION) $< + @$(COMPILE) -AZIPOBJ $(ZIPOBJ) $(ZIPOBJ_FLAGS) -B $(OUTPUT_OPTION) $< o/$(MODE)/test/libc/calls/life-classic.com.dbg: \ $(LIBC_RUNTIME) \ diff --git a/test/libc/calls/unlinkat_test.c b/test/libc/calls/unlinkat_test.c index d19facdaf..10a6f8e33 100644 --- a/test/libc/calls/unlinkat_test.c +++ b/test/libc/calls/unlinkat_test.c @@ -18,14 +18,14 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/calls/calls.h" #include "libc/dce.h" -#include "libc/errno.h" #include "libc/sysv/consts/at.h" #include "libc/testlib/testlib.h" char testlib_enable_tmp_setup_teardown; void SetUpOnce(void) { - ASSERT_SYS(0, 0, pledge("stdio rpath wpath cpath fattr", 0)); + pledge("stdio rpath wpath cpath fattr", 0); + errno = 0; } TEST(unlink, efault) { diff --git a/test/libc/calls/unveil_test.c b/test/libc/calls/unveil_test.c index 62550410a..d141dba5b 100644 --- a/test/libc/calls/unveil_test.c +++ b/test/libc/calls/unveil_test.c @@ -26,7 +26,6 @@ #include "libc/intrin/kprintf.h" #include "libc/mem/io.h" #include "libc/runtime/gc.h" -#include "libc/runtime/internal.h" #include "libc/runtime/runtime.h" #include "libc/sock/sock.h" #include "libc/stdio/stdio.h" @@ -73,7 +72,6 @@ static bool SupportsLandlock(void) { } void SetUpOnce(void) { - __enable_threads(); if (!(IsLinux() && SupportsLandlock()) && !IsOpenbsd()) exit(0); } diff --git a/test/libc/calls/utimensat_test.c b/test/libc/calls/utimensat_test.c index ff46276fb..cba8dca76 100644 --- a/test/libc/calls/utimensat_test.c +++ b/test/libc/calls/utimensat_test.c @@ -30,7 +30,8 @@ char testlib_enable_tmp_setup_teardown; void SetUpOnce(void) { - ASSERT_SYS(0, 0, pledge("stdio rpath wpath cpath fattr", 0)); + pledge("stdio rpath wpath cpath fattr", 0); + errno = 0; } TEST(utimensat, test) { diff --git a/test/libc/calls/writev_test.c b/test/libc/calls/writev_test.c index 07996d666..50b33b02c 100644 --- a/test/libc/calls/writev_test.c +++ b/test/libc/calls/writev_test.c @@ -32,7 +32,8 @@ char testlib_enable_tmp_setup_teardown; void SetUpOnce(void) { - ASSERT_SYS(0, 0, pledge("stdio rpath wpath cpath fattr", 0)); + pledge("stdio rpath wpath cpath fattr", 0); + errno = 0; } TEST(writev, test) { diff --git a/test/libc/dns/comparednsnames_test.c b/test/libc/dns/comparednsnames_test.c index a9f7760a9..9d889ba29 100644 --- a/test/libc/dns/comparednsnames_test.c +++ b/test/libc/dns/comparednsnames_test.c @@ -23,7 +23,8 @@ #include "libc/testlib/testlib.h" void SetUpOnce(void) { - ASSERT_SYS(0, 0, pledge("stdio rpath", 0)); + pledge("stdio rpath", 0); + errno = 0; } TEST(CompareDnsNames, testEmpty) { diff --git a/test/libc/dns/prototxt_test.c b/test/libc/dns/prototxt_test.c index f2c05a127..9b18c1834 100644 --- a/test/libc/dns/prototxt_test.c +++ b/test/libc/dns/prototxt_test.c @@ -30,7 +30,6 @@ #include "libc/dns/ent.h" #include "libc/dns/prototxt.h" #include "libc/stdio/stdio.h" -#include "libc/str/str.h" #include "libc/testlib/testlib.h" char testlib_enable_tmp_setup_teardown; diff --git a/test/libc/dns/resolvehostsreverse_test.c b/test/libc/dns/resolvehostsreverse_test.c index 9ef955a5f..5adcf4208 100644 --- a/test/libc/dns/resolvehostsreverse_test.c +++ b/test/libc/dns/resolvehostsreverse_test.c @@ -17,8 +17,6 @@ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/dns/hoststxt.h" -#include "libc/mem/mem.h" -#include "libc/str/str.h" #include "libc/sysv/consts/af.h" #include "libc/testlib/testlib.h" diff --git a/test/libc/dns/servicestxt_test.c b/test/libc/dns/servicestxt_test.c index bd12510e3..0be5d810e 100644 --- a/test/libc/dns/servicestxt_test.c +++ b/test/libc/dns/servicestxt_test.c @@ -25,11 +25,11 @@ │ OTHER DEALINGS IN THE SOFTWARE. │ │ │ ╚─────────────────────────────────────────────────────────────────────────────*/ +#include "libc/dns/servicestxt.h" + #include "libc/calls/calls.h" #include "libc/dns/dns.h" #include "libc/dns/ent.h" -#include "libc/dns/servicestxt.h" -#include "libc/str/str.h" #include "libc/testlib/testlib.h" char testlib_enable_tmp_setup_teardown; diff --git a/test/libc/fmt/formatbinary64_test.c b/test/libc/fmt/formatbinary64_test.c index 3a42b1d16..930a946d8 100644 --- a/test/libc/fmt/formatbinary64_test.c +++ b/test/libc/fmt/formatbinary64_test.c @@ -18,7 +18,6 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/fmt/fmt.h" #include "libc/fmt/itoa.h" -#include "libc/str/str.h" #include "libc/testlib/ezbench.h" #include "libc/testlib/testlib.h" diff --git a/test/libc/fmt/formatflex64_test.c b/test/libc/fmt/formatflex64_test.c index 1e2db887c..974966272 100644 --- a/test/libc/fmt/formatflex64_test.c +++ b/test/libc/fmt/formatflex64_test.c @@ -18,7 +18,6 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/fmt/fmt.h" #include "libc/fmt/itoa.h" -#include "libc/str/str.h" #include "libc/testlib/testlib.h" char buf[25]; diff --git a/test/libc/fmt/formathex64_test.c b/test/libc/fmt/formathex64_test.c index d03236170..9b41dda2f 100644 --- a/test/libc/fmt/formathex64_test.c +++ b/test/libc/fmt/formathex64_test.c @@ -18,7 +18,6 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/fmt/fmt.h" #include "libc/fmt/itoa.h" -#include "libc/str/str.h" #include "libc/testlib/ezbench.h" #include "libc/testlib/testlib.h" diff --git a/test/libc/fmt/lengthuint64_test.c b/test/libc/fmt/lengthuint64_test.c index fbc8b1605..7c4b2cee9 100644 --- a/test/libc/fmt/lengthuint64_test.c +++ b/test/libc/fmt/lengthuint64_test.c @@ -18,7 +18,6 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/fmt/itoa.h" #include "libc/limits.h" -#include "libc/str/str.h" #include "libc/testlib/ezbench.h" #include "libc/testlib/testlib.h" diff --git a/test/libc/fmt/sscanf_test.c b/test/libc/fmt/sscanf_test.c index bce247645..2ce8194fa 100644 --- a/test/libc/fmt/sscanf_test.c +++ b/test/libc/fmt/sscanf_test.c @@ -143,9 +143,9 @@ TEST(sscanf, testDiscard_notIncludedInCount) { } TEST(sscanf, testFixedWidthFormat_Integer) { - int r, g, b; - ASSERT_EQ(3, sscanf("#321030", "#%2x%2b%2d", &r, &g, &b)); - ASSERT_EQ(0x32, r); - ASSERT_EQ(2, g); - ASSERT_EQ(30, b); + int r, g, b; + ASSERT_EQ(3, sscanf("#321030", "#%2x%2b%2d", &r, &g, &b)); + ASSERT_EQ(0x32, r); + ASSERT_EQ(2, g); + ASSERT_EQ(30, b); } diff --git a/test/libc/intrin/pthread_mutex_lock_test.c b/test/libc/intrin/pthread_mutex_lock_test.c index f60e28f1e..8582c7684 100644 --- a/test/libc/intrin/pthread_mutex_lock_test.c +++ b/test/libc/intrin/pthread_mutex_lock_test.c @@ -54,11 +54,6 @@ _Alignas(64) char slock; pthread_mutex_t mylock; struct spawn th[THREADS]; -void SetUpOnce(void) { - __enable_threads(); - ASSERT_SYS(0, 0, pledge("stdio rpath", 0)); -} - TEST(pthread_mutex_lock, normal) { pthread_mutex_t lock; pthread_mutexattr_t attr; diff --git a/test/libc/log/backtrace.c b/test/libc/log/backtrace.c index 9016e1ce1..857e7d8dd 100644 --- a/test/libc/log/backtrace.c +++ b/test/libc/log/backtrace.c @@ -19,7 +19,6 @@ #include "libc/fmt/conv.h" #include "libc/limits.h" #include "libc/log/log.h" -#include "libc/mem/mem.h" #include "libc/runtime/symbols.internal.h" #include "libc/stdio/stdio.h" #include "libc/str/str.h" diff --git a/test/libc/log/test.mk b/test/libc/log/test.mk index 7df79b700..00e06a1f6 100644 --- a/test/libc/log/test.mk +++ b/test/libc/log/test.mk @@ -78,11 +78,11 @@ o/$(MODE)/test/libc/log/backtrace.com.dbg: \ o/$(MODE)/test/libc/log/backtrace.com.zip.o: \ o/$(MODE)/test/libc/log/backtrace.com - @$(COMPILE) -wAZIPOBJ $(ZIPOBJ) $(ZIPOBJ_FLAGS) -B $(OUTPUT_OPTION) $< + @$(COMPILE) -AZIPOBJ $(ZIPOBJ) $(ZIPOBJ_FLAGS) -B $(OUTPUT_OPTION) $< o/$(MODE)/test/libc/log/backtrace.com.dbg.zip.o: \ o/$(MODE)/test/libc/log/backtrace.com.dbg - @$(COMPILE) -wAZIPOBJ $(ZIPOBJ) $(ZIPOBJ_FLAGS) -B $(OUTPUT_OPTION) $< + @$(COMPILE) -AZIPOBJ $(ZIPOBJ) $(ZIPOBJ_FLAGS) -B $(OUTPUT_OPTION) $< .PHONY: o/$(MODE)/test/libc/log o/$(MODE)/test/libc/log: \ diff --git a/test/libc/mem/malloc_test.c b/test/libc/mem/malloc_test.c index e203484a3..9d9672054 100644 --- a/test/libc/mem/malloc_test.c +++ b/test/libc/mem/malloc_test.c @@ -46,7 +46,8 @@ void SetUp(void) { } void SetUpOnce(void) { - ASSERT_SYS(0, 0, pledge("stdio rpath", 0)); + pledge("stdio rpath", 0); + errno = 0; } TEST(malloc, zeroMeansOne) { diff --git a/test/libc/mem/test.mk b/test/libc/mem/test.mk index 2ad5f6860..b27d9b1cf 100644 --- a/test/libc/mem/test.mk +++ b/test/libc/mem/test.mk @@ -89,17 +89,17 @@ o/$(MODE)/test/libc/mem/prog/life.com.dbg: \ o/$(MODE)/test/libc/mem/prog/life.elf: \ o/$(MODE)/tool/build/assimilate.com \ o/$(MODE)/test/libc/mem/prog/life.com - @$(COMPILE) -wACP -T$@ \ + @$(COMPILE) -ACP -T$@ \ build/bootstrap/cp.com \ o/$(MODE)/test/libc/mem/prog/life.com \ o/$(MODE)/test/libc/mem/prog/life.elf - @$(COMPILE) -wAASSIMILATE -T$@ \ + @$(COMPILE) -AASSIMILATE -T$@ \ o/$(MODE)/tool/build/assimilate.com \ o/$(MODE)/test/libc/mem/prog/life.elf o/$(MODE)/test/libc/mem/prog/life.elf.zip.o: \ o/$(MODE)/test/libc/mem/prog/life.elf - @$(COMPILE) -wAZIPOBJ $(ZIPOBJ) $(ZIPOBJ_FLAGS) -B $(OUTPUT_OPTION) $< + @$(COMPILE) -AZIPOBJ $(ZIPOBJ) $(ZIPOBJ_FLAGS) -B $(OUTPUT_OPTION) $< ################################################################################ @@ -114,17 +114,17 @@ o/$(MODE)/test/libc/mem/prog/sock.com.dbg: \ o/$(MODE)/test/libc/mem/prog/sock.elf: \ o/$(MODE)/tool/build/assimilate.com \ o/$(MODE)/test/libc/mem/prog/sock.com - @$(COMPILE) -wACP -T$@ \ + @$(COMPILE) -ACP -T$@ \ build/bootstrap/cp.com \ o/$(MODE)/test/libc/mem/prog/sock.com \ o/$(MODE)/test/libc/mem/prog/sock.elf - @$(COMPILE) -wAASSIMILATE -T$@ \ + @$(COMPILE) -AASSIMILATE -T$@ \ o/$(MODE)/tool/build/assimilate.com \ o/$(MODE)/test/libc/mem/prog/sock.elf o/$(MODE)/test/libc/mem/prog/sock.elf.zip.o: \ o/$(MODE)/test/libc/mem/prog/sock.elf - @$(COMPILE) -wAZIPOBJ $(ZIPOBJ) $(ZIPOBJ_FLAGS) -B $(OUTPUT_OPTION) $< + @$(COMPILE) -AZIPOBJ $(ZIPOBJ) $(ZIPOBJ_FLAGS) -B $(OUTPUT_OPTION) $< ################################################################################ diff --git a/test/libc/nexgen32e/gclongjmp_test.c b/test/libc/nexgen32e/gclongjmp_test.c index a69b0cf22..e74f05d66 100644 --- a/test/libc/nexgen32e/gclongjmp_test.c +++ b/test/libc/nexgen32e/gclongjmp_test.c @@ -17,7 +17,6 @@ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/log/log.h" -#include "libc/mem/mem.h" #include "libc/nexgen32e/gc.internal.h" #include "libc/nexgen32e/nexgen32e.h" #include "libc/runtime/gc.internal.h" diff --git a/test/libc/nexgen32e/kbase36_test.c b/test/libc/nexgen32e/kbase36_test.c index 86a7e1fa5..2b74de29c 100644 --- a/test/libc/nexgen32e/kbase36_test.c +++ b/test/libc/nexgen32e/kbase36_test.c @@ -17,7 +17,6 @@ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/nexgen32e/nexgen32e.h" -#include "libc/str/str.h" #include "libc/testlib/testlib.h" TEST(kBase36, test) { diff --git a/test/libc/nexgen32e/memrchr_test.c b/test/libc/nexgen32e/memrchr_test.c index 4d4c4634d..b7f0b6ac1 100644 --- a/test/libc/nexgen32e/memrchr_test.c +++ b/test/libc/nexgen32e/memrchr_test.c @@ -17,7 +17,6 @@ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/nexgen32e/nexgen32e.h" -#include "libc/str/str.h" #include "libc/testlib/ezbench.h" #include "libc/testlib/testlib.h" diff --git a/test/libc/nexgen32e/test.mk b/test/libc/nexgen32e/test.mk index d50bb3922..ff95a48a6 100644 --- a/test/libc/nexgen32e/test.mk +++ b/test/libc/nexgen32e/test.mk @@ -65,7 +65,7 @@ o/$(MODE)/test/libc/nexgen32e/stackrwx_test.com.ok: \ o/$(MODE)/tool/build/runit.com \ o/$(MODE)/tool/build/runitd.com \ o/$(MODE)/test/libc/nexgen32e/stackrwx_test.com - @$(COMPILE) -ATEST -wtT$@ $^ $(filter-out openbsd,$(HOSTS)) + @$(COMPILE) -ATEST -tT$@ $^ $(filter-out openbsd,$(HOSTS)) $(TEST_LIBC_NEXGEN32E_OBJS): \ DEFAULT_CCFLAGS += \ diff --git a/test/libc/rand/mt19937_test.c b/test/libc/rand/mt19937_test.c index b6b87a781..f017b5a04 100644 --- a/test/libc/rand/mt19937_test.c +++ b/test/libc/rand/mt19937_test.c @@ -17,7 +17,6 @@ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/bits/bits.h" -#include "libc/errno.h" #include "libc/log/check.h" #include "libc/macros.internal.h" #include "libc/mem/mem.h" diff --git a/test/libc/rand/rand64_test.c b/test/libc/rand/rand64_test.c index b7dabd013..f6b77a237 100644 --- a/test/libc/rand/rand64_test.c +++ b/test/libc/rand/rand64_test.c @@ -29,7 +29,6 @@ #include "libc/mem/mem.h" #include "libc/nexgen32e/threaded.h" #include "libc/rand/rand.h" -#include "libc/runtime/internal.h" #include "libc/runtime/stack.h" #include "libc/str/str.h" #include "libc/sysv/consts/clone.h" @@ -48,11 +47,6 @@ int ready; volatile uint64_t A[THREADS * ENTRIES]; -void SetUpOnce(void) { - __enable_threads(); - ASSERT_SYS(0, 0, pledge("stdio", 0)); -} - void OnChld(int sig) { // do nothing } diff --git a/test/libc/release/test.mk b/test/libc/release/test.mk index ed54c7ca0..ae5f89d6b 100644 --- a/test/libc/release/test.mk +++ b/test/libc/release/test.mk @@ -9,7 +9,7 @@ o/$(MODE)/test/libc/release/cosmopolitan.zip: \ o/$(MODE)/ape/ape-no-modify-self.o \ o/$(MODE)/cosmopolitan.a \ o/$(MODE)/third_party/zip/zip.com - @$(COMPILE) -wAZIP -T$@ \ + @$(COMPILE) -AZIP -T$@ \ o/$(MODE)/third_party/zip/zip.com \ -qj $@ \ o/cosmopolitan.h \ @@ -88,7 +88,7 @@ o/$(MODE)/test/libc/release/smoke-chibicc.o: \ test/libc/release/smoke.c \ o/cosmopolitan.h \ o/$(MODE)/third_party/chibicc/chibicc.com - @$(COMPILE) -wACHIBICC \ + @$(COMPILE) -ACHIBICC \ o/$(MODE)/third_party/chibicc/chibicc.com \ $(CHIBICC_FLAGS) \ -o $@ \ diff --git a/test/libc/runtime/arch_prctl_test.c b/test/libc/runtime/arch_prctl_test.c index 85de2bd71..774663893 100644 --- a/test/libc/runtime/arch_prctl_test.c +++ b/test/libc/runtime/arch_prctl_test.c @@ -24,7 +24,8 @@ void SetUpOnce(void) { __tls_enabled = false; - ASSERT_SYS(0, 0, pledge("stdio rpath", 0)); + pledge("stdio rpath", 0); + errno = 0; } TEST(arch_prctl, fs) { diff --git a/test/libc/runtime/clone_test.c b/test/libc/runtime/clone_test.c index ae142bc6d..7c08ebcaf 100644 --- a/test/libc/runtime/clone_test.c +++ b/test/libc/runtime/clone_test.c @@ -50,8 +50,8 @@ int x, me, tid; _Atomic(int) thechilde; void SetUpOnce(void) { - __enable_threads(); - ASSERT_SYS(0, 0, pledge("stdio rpath", 0)); + pledge("stdio thread", 0); + errno = 0; } void *__initialize_tls(char tib[64]) { diff --git a/test/libc/runtime/fork_test.c b/test/libc/runtime/fork_test.c index 45f2d8fd7..706ef5e14 100644 --- a/test/libc/runtime/fork_test.c +++ b/test/libc/runtime/fork_test.c @@ -30,7 +30,8 @@ #include "libc/testlib/testlib.h" void SetUpOnce(void) { - ASSERT_SYS(0, 0, pledge("stdio proc", 0)); + pledge("stdio proc", 0); + errno = 0; } TEST(fork, testPipes) { diff --git a/test/libc/runtime/memtrack_test.c b/test/libc/runtime/memtrack_test.c index 9a4b77075..1c6b9603b 100644 --- a/test/libc/runtime/memtrack_test.c +++ b/test/libc/runtime/memtrack_test.c @@ -17,6 +17,7 @@ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/calls/calls.h" +#include "libc/errno.h" #include "libc/intrin/kprintf.h" #include "libc/limits.h" #include "libc/log/check.h" @@ -31,7 +32,8 @@ { x, y, 0, (y - x) * FRAMESIZE + FRAMESIZE } void SetUpOnce(void) { - ASSERT_SYS(0, 0, pledge("stdio rpath", 0)); + pledge("stdio rpath", 0); + errno = 0; } static bool AreMemoryIntervalsEqual(const struct MemoryIntervals *mm1, diff --git a/test/libc/runtime/mmap_test.c b/test/libc/runtime/mmap_test.c index 163ef7051..1cbcfd1a3 100644 --- a/test/libc/runtime/mmap_test.c +++ b/test/libc/runtime/mmap_test.c @@ -23,6 +23,7 @@ #include "libc/calls/calls.h" #include "libc/calls/ucontext.h" #include "libc/dce.h" +#include "libc/errno.h" #include "libc/fmt/fmt.h" #include "libc/intrin/kprintf.h" #include "libc/linux/mmap.h" @@ -49,7 +50,8 @@ char testlib_enable_tmp_setup_teardown; void SetUpOnce(void) { - ASSERT_SYS(0, 0, pledge("stdio rpath wpath cpath proc", 0)); + pledge("stdio rpath wpath cpath proc", 0); + errno = 0; } TEST(mmap, zeroSize) { diff --git a/test/libc/runtime/mprotect_test.c b/test/libc/runtime/mprotect_test.c index 911fa0483..a18afae13 100644 --- a/test/libc/runtime/mprotect_test.c +++ b/test/libc/runtime/mprotect_test.c @@ -27,7 +27,6 @@ #include "libc/runtime/gc.internal.h" #include "libc/runtime/runtime.h" #include "libc/stdio/stdio.h" -#include "libc/str/str.h" #include "libc/sysv/consts/map.h" #include "libc/sysv/consts/o.h" #include "libc/sysv/consts/prot.h" diff --git a/test/libc/runtime/munmap_test.c b/test/libc/runtime/munmap_test.c index 0cd90a9f0..01e541e2a 100644 --- a/test/libc/runtime/munmap_test.c +++ b/test/libc/runtime/munmap_test.c @@ -21,7 +21,6 @@ #include "libc/calls/struct/sigaction.h" #include "libc/calls/struct/siginfo.h" #include "libc/calls/ucontext.h" -#include "libc/errno.h" #include "libc/intrin/kprintf.h" #include "libc/runtime/memtrack.internal.h" #include "libc/runtime/runtime.h" diff --git a/test/libc/sock/poll_test.c b/test/libc/sock/poll_test.c index e6b56334c..7c0100100 100644 --- a/test/libc/sock/poll_test.c +++ b/test/libc/sock/poll_test.c @@ -40,7 +40,8 @@ #include "tool/decode/lib/pollnames.h" void SetUpOnce(void) { - ASSERT_SYS(0, 0, pledge("stdio proc inet", 0)); + pledge("stdio proc inet", 0); + errno = 0; } dontdiscard char *FormatPollFd(struct pollfd p[2]) { diff --git a/test/libc/sock/select_test.c b/test/libc/sock/select_test.c index d022606ed..6b676e8d8 100644 --- a/test/libc/sock/select_test.c +++ b/test/libc/sock/select_test.c @@ -24,7 +24,8 @@ #include "libc/time/time.h" void SetUpOnce(void) { - ASSERT_SYS(0, 0, pledge("stdio", 0)); + pledge("stdio", 0); + errno = 0; } // TEST(select, allZero) { diff --git a/test/libc/sock/sendfile_test.c b/test/libc/sock/sendfile_test.c index 26d590d90..1ab01c122 100644 --- a/test/libc/sock/sendfile_test.c +++ b/test/libc/sock/sendfile_test.c @@ -33,7 +33,8 @@ char testlib_enable_tmp_setup_teardown; void SetUpOnce(void) { - ASSERT_SYS(0, 0, pledge("stdio rpath wpath cpath proc inet", 0)); + pledge("stdio rpath wpath cpath proc inet", 0); + errno = 0; } TEST(sendfile, test) { diff --git a/test/libc/sock/sendrecvmsg_test.c b/test/libc/sock/sendrecvmsg_test.c index ff92fb599..12e8ea07c 100644 --- a/test/libc/sock/sendrecvmsg_test.c +++ b/test/libc/sock/sendrecvmsg_test.c @@ -22,7 +22,6 @@ #include "libc/runtime/gc.internal.h" #include "libc/sock/sock.h" #include "libc/sock/struct/msghdr.h" -#include "libc/str/str.h" #include "libc/sysv/consts/af.h" #include "libc/sysv/consts/o.h" #include "libc/sysv/consts/sock.h" diff --git a/test/libc/sock/setsockopt_test.c b/test/libc/sock/setsockopt_test.c index 87ef63367..48437c923 100644 --- a/test/libc/sock/setsockopt_test.c +++ b/test/libc/sock/setsockopt_test.c @@ -18,7 +18,6 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/calls/calls.h" #include "libc/calls/struct/timeval.h" -#include "libc/errno.h" #include "libc/sock/sock.h" #include "libc/sock/struct/sockaddr.h" #include "libc/sysv/consts/af.h" @@ -29,7 +28,8 @@ #include "libc/testlib/testlib.h" void SetUpOnce(void) { - ASSERT_SYS(0, 0, pledge("stdio inet", 0)); + pledge("stdio inet", 0); + errno = 0; } TEST(setsockopt, SO_RCVTIMEO) { diff --git a/test/libc/sock/socketpair_test.c b/test/libc/sock/socketpair_test.c index a126d6929..0e09ccb42 100644 --- a/test/libc/sock/socketpair_test.c +++ b/test/libc/sock/socketpair_test.c @@ -26,7 +26,8 @@ #include "libc/testlib/testlib.h" void SetUpOnce(void) { - ASSERT_SYS(0, 0, pledge("stdio tty", 0)); + pledge("stdio tty", 0); + errno = 0; } TEST(socketpair, testAfUnixStream) { diff --git a/test/libc/sock/unix_test.c b/test/libc/sock/unix_test.c index 0f2f97d03..5f3d6e17c 100644 --- a/test/libc/sock/unix_test.c +++ b/test/libc/sock/unix_test.c @@ -25,7 +25,6 @@ #include "libc/runtime/runtime.h" #include "libc/sock/sock.h" #include "libc/sock/struct/sockaddr.h" -#include "libc/str/str.h" #include "libc/sysv/consts/af.h" #include "libc/sysv/consts/so.h" #include "libc/sysv/consts/sock.h" @@ -36,7 +35,8 @@ char testlib_enable_tmp_setup_teardown; void SetUpOnce(void) { - ASSERT_SYS(0, 0, pledge("stdio rpath cpath proc unix", 0)); + pledge("stdio rpath cpath proc unix", 0); + errno = 0; } void DatagramServer(void) { diff --git a/test/libc/stdio/dtoa_test.c b/test/libc/stdio/dtoa_test.c index cf3dc9436..ee06d2c32 100644 --- a/test/libc/stdio/dtoa_test.c +++ b/test/libc/stdio/dtoa_test.c @@ -23,14 +23,12 @@ #include "libc/intrin/kprintf.h" #include "libc/intrin/spinlock.h" #include "libc/intrin/wait0.internal.h" -#include "libc/macros.internal.h" #include "libc/math.h" #include "libc/mem/mem.h" #include "libc/runtime/gc.internal.h" #include "libc/runtime/internal.h" #include "libc/runtime/stack.h" #include "libc/stdio/stdio.h" -#include "libc/str/str.h" #include "libc/sysv/consts/clone.h" #include "libc/sysv/consts/map.h" #include "libc/sysv/consts/prot.h" @@ -53,11 +51,6 @@ union Dub { double x; }; -void SetUpOnce(void) { - __enable_threads(); - ASSERT_SYS(0, 0, pledge("stdio", 0)); -} - int Worker(void *p, int tid) { int i; char str[64]; diff --git a/test/libc/stdio/fputc_test.c b/test/libc/stdio/fputc_test.c index 8b02a0de3..6062a362c 100644 --- a/test/libc/stdio/fputc_test.c +++ b/test/libc/stdio/fputc_test.c @@ -18,9 +18,7 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/calls/calls.h" #include "libc/runtime/internal.h" -#include "libc/stdio/lock.h" #include "libc/stdio/stdio.h" -#include "libc/str/str.h" #include "libc/testlib/ezbench.h" #include "libc/testlib/testlib.h" diff --git a/test/libc/stdio/fputs_test.c b/test/libc/stdio/fputs_test.c index 8aa1cd52d..eb207a01f 100644 --- a/test/libc/stdio/fputs_test.c +++ b/test/libc/stdio/fputs_test.c @@ -19,7 +19,6 @@ #include "libc/mem/mem.h" #include "libc/runtime/gc.internal.h" #include "libc/stdio/stdio.h" -#include "libc/str/str.h" #include "libc/testlib/ezbench.h" #include "libc/testlib/hyperion.h" #include "libc/testlib/testlib.h" diff --git a/test/libc/stdio/fwrite_test.c b/test/libc/stdio/fwrite_test.c index f86afc015..4d8005799 100644 --- a/test/libc/stdio/fwrite_test.c +++ b/test/libc/stdio/fwrite_test.c @@ -25,7 +25,6 @@ #include "libc/runtime/gc.internal.h" #include "libc/runtime/runtime.h" #include "libc/stdio/stdio.h" -#include "libc/str/str.h" #include "libc/sysv/consts/sig.h" #include "libc/testlib/testlib.h" #include "libc/time/time.h" diff --git a/test/libc/stdio/iconv_test.c b/test/libc/stdio/iconv_test.c index 547b904a2..49f877af1 100644 --- a/test/libc/stdio/iconv_test.c +++ b/test/libc/stdio/iconv_test.c @@ -20,7 +20,6 @@ #include "libc/runtime/gc.internal.h" #include "libc/stdio/iconv.h" #include "libc/stdio/stdio.h" -#include "libc/str/str.h" #include "libc/testlib/testlib.h" TEST(iconv, test) { diff --git a/test/libc/stdio/memory_test.c b/test/libc/stdio/memory_test.c index 4852a973a..c61ea96c6 100644 --- a/test/libc/stdio/memory_test.c +++ b/test/libc/stdio/memory_test.c @@ -19,7 +19,6 @@ #include "libc/calls/calls.h" #include "libc/mem/mem.h" #include "libc/runtime/gc.internal.h" -#include "libc/runtime/internal.h" #include "libc/stdio/stdio.h" #include "libc/testlib/testlib.h" #include "libc/thread/spawn.h" @@ -40,11 +39,6 @@ int Worker(void *arg, int tid) { return 0; } -void SetUpOnce(void) { - __enable_threads(); - ASSERT_SYS(0, 0, pledge("stdio", 0)); -} - TEST(memory, test) { int i, n = 32; struct spawn *t = gc(malloc(sizeof(struct spawn) * n)); diff --git a/test/libc/stdio/spawn_test.c b/test/libc/stdio/spawn_test.c index 3c76f36c0..99f44894e 100644 --- a/test/libc/stdio/spawn_test.c +++ b/test/libc/stdio/spawn_test.c @@ -90,13 +90,13 @@ const char kTinyLinuxExit[128] = { 0x6a, 0x2a, 0x5f, 0x6a, 0x3c, 0x58, 0x0f, 0x05, // j*_j>> cosmo.pledge('stdio rpath tty', None)\n\ -\n\ -This function implements the OpenBSD pledge() API for\n\ -OpenBSD and Linux, where we use SECCOMP BPF. Read the\n\ -Cosmopolitan Libc documentation to learn more."); - -static PyObject * -cosmo_pledge(PyObject *self, PyObject *args) -{ - int e = errno; - const char *x, *y; - if (!PyArg_ParseTuple(args, "sz:pledge", &x, &y)) return 0; - if (!pledge(x, y)) { - Py_RETURN_NONE; - } else { - PyErr_SetString(PyExc_SystemError, strerror(errno)); - errno = e; - return 0; - } -} - -PyDoc_STRVAR(unveil_doc, -"unveil($module, path, permissions)\n\ ---\n\n\ -Permits filesystem operations, e.g.\n\ -\n\ - >>> cosmo.unveil('.', 'rwcx')\n\ - >>> cosmo.unveil(None, None)\n\ -\n\ -This function implements the OpenBSD unveil() API for\n\ -OpenBSD and Linux where we use Landlock LSM. Read the\n\ -Cosmopolitan Libc documentation to learn more."); - -static PyObject * -cosmo_unveil(PyObject *self, PyObject *args) -{ - int e = errno; - const char *x, *y; - if (!PyArg_ParseTuple(args, "zz:unveil", &x, &y)) return 0; - if (!unveil(x, y)) { - Py_RETURN_NONE; - } else { - PyErr_SetString(PyExc_SystemError, strerror(errno)); - errno = e; - return 0; - } -} - PyDoc_STRVAR(exit1_doc, "exit1($module)\n\ --\n\n\ @@ -325,8 +269,6 @@ static PyMethodDef cosmo_methods[] = { {"exit1", cosmo_exit1, METH_NOARGS, exit1_doc}, {"rdtsc", cosmo_rdtsc, METH_NOARGS, rdtsc_doc}, {"crc32c", cosmo_crc32c, METH_VARARGS, crc32c_doc}, - {"pledge", cosmo_pledge, METH_VARARGS, pledge_doc}, - {"unveil", cosmo_unveil, METH_VARARGS, unveil_doc}, {"syscount", cosmo_syscount, METH_NOARGS, syscount_doc}, {"popcount", cosmo_popcount, METH_VARARGS, popcount_doc}, {"decimate", cosmo_decimate, METH_VARARGS, decimate_doc}, diff --git a/third_party/python/Python/dtoa.c b/third_party/python/Python/dtoa.c index 30013e25d..861813056 100644 --- a/third_party/python/Python/dtoa.c +++ b/third_party/python/Python/dtoa.c @@ -7,7 +7,6 @@ #include "libc/assert.h" #include "libc/errno.h" #include "libc/math.h" -#include "libc/runtime/runtime.h" #include "third_party/python/Include/pymem.h" #include "third_party/python/Include/pyport.h" /* clang-format off */ diff --git a/third_party/python/Python/errors.c b/third_party/python/Python/errors.c index 213956aa0..2a1039b2b 100644 --- a/third_party/python/Python/errors.c +++ b/third_party/python/Python/errors.c @@ -5,7 +5,6 @@ │ https://docs.python.org/3/license.html │ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/errno.h" -#include "libc/mem/mem.h" #include "libc/nt/enum/formatmessageflags.h" #include "libc/nt/enum/lang.h" #include "libc/nt/memory.h" diff --git a/third_party/python/Python/fileutils.c b/third_party/python/Python/fileutils.c index c796db2f0..892aee18c 100644 --- a/third_party/python/Python/fileutils.c +++ b/third_party/python/Python/fileutils.c @@ -15,7 +15,6 @@ #include "libc/sysv/consts/fio.h" #include "libc/sysv/consts/o.h" #include "libc/unicode/locale.h" -#include "libc/unicode/unicode.h" #include "third_party/python/Include/bytesobject.h" #include "third_party/python/Include/ceval.h" #include "third_party/python/Include/fileutils.h" diff --git a/third_party/python/Python/import.c b/third_party/python/Python/import.c index ce10ef249..c89a13109 100644 --- a/third_party/python/Python/import.c +++ b/third_party/python/Python/import.c @@ -11,15 +11,14 @@ #include "libc/calls/struct/stat.macros.h" #include "libc/fmt/conv.h" #include "libc/macros.internal.h" -#include "libc/mem/mem.h" #include "libc/runtime/gc.h" +#include "libc/x/x.h" #include "libc/sysv/consts/o.h" #include "libc/sysv/consts/s.h" -#include "libc/x/x.h" #include "third_party/python/Include/Python-ast.h" #include "third_party/python/Include/abstract.h" -#include "third_party/python/Include/bltinmodule.h" #include "third_party/python/Include/boolobject.h" +#include "third_party/python/Include/bltinmodule.h" #include "third_party/python/Include/ceval.h" #include "third_party/python/Include/code.h" #include "third_party/python/Include/dictobject.h" diff --git a/third_party/python/freeze.c b/third_party/python/freeze.c index 08c2c9b07..cc325be35 100644 --- a/third_party/python/freeze.c +++ b/third_party/python/freeze.c @@ -5,7 +5,6 @@ │ https://docs.python.org/3/license.html │ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/assert.h" -#include "libc/mem/mem.h" #include "third_party/python/Include/bytesobject.h" #include "third_party/python/Include/compile.h" #include "third_party/python/Include/fileutils.h" diff --git a/third_party/python/launch.c b/third_party/python/launch.c index 485468eed..093d4dc94 100644 --- a/third_party/python/launch.c +++ b/third_party/python/launch.c @@ -9,7 +9,6 @@ #include "libc/intrin/kprintf.h" #include "libc/log/libfatal.internal.h" #include "libc/log/log.h" -#include "libc/mem/mem.h" #include "libc/runtime/runtime.h" #include "libc/testlib/testlib.h" #include "libc/x/x.h" diff --git a/third_party/python/python.mk b/third_party/python/python.mk index f142856f7..f31a713bd 100644 --- a/third_party/python/python.mk +++ b/third_party/python/python.mk @@ -473,12 +473,12 @@ THIRD_PARTY_PYTHON_STAGE1_A_DEPS = \ o//third_party/python/Python/importlib.inc: \ o/$(MODE)/third_party/python/freeze.com \ third_party/python/Lib/importlib/_bootstrap.py - @$(COMPILE) -wAFREEZE -T$@ $^ $@ + @$(COMPILE) -AFREEZE -T$@ $^ $@ o//third_party/python/Python/importlib_external.inc: \ o/$(MODE)/third_party/python/freeze.com \ third_party/python/Lib/importlib/_bootstrap_external.py - @$(COMPILE) -wAFREEZE -T$@ $^ $@ + @$(COMPILE) -AFREEZE -T$@ $^ $@ $(THIRD_PARTY_PYTHON_STAGE1_A): \ $(THIRD_PARTY_PYTHON_STAGE1_A).pkg \ @@ -2093,1515 +2093,1515 @@ o/$(MODE)/third_party/python/pythontester.com.dbg: \ o/$(MODE)/third_party/python/Lib/test/test_grammar.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_grammar $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_grammar $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_set.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_set $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_set $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_genexps.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_genexps $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_genexps $(PYTESTARGS) # [jart] incompatible with landlock because it uses current directory for temp files # o/$(MODE)/third_party/python/Lib/test/test_sqlite.py.runs: \ # o/$(MODE)/third_party/python/pythontester.com -# @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_sqlite $(PYTESTARGS) +# @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_sqlite $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_bz2.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_bz2 $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_bz2 $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_zlib.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_zlib $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_zlib $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_opcodes.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_opcodes $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_opcodes $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_marshal.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_marshal $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_marshal $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_pow.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_pow $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_pow $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_binascii.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_binascii $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_binascii $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_binhex.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_binhex $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_binhex $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_capi.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_capi $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_capi $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test__locale.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test__locale $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test__locale $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_binop.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_binop $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_binop $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test___future__.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test___future__ $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test___future__ $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test__opcode.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test__opcode $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test__opcode $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_abc.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_abc $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_abc $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_bytes.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_bytes $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_bytes $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_setcomps.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_setcomps $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_setcomps $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_itertools.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_itertools $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_itertools $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_listcomps.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_listcomps $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_listcomps $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_aifc.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_aifc $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_aifc $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_audioop.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_audioop $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_audioop $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_bool.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_bool $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_bool $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_base64.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_base64 $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_base64 $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_baseexception.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_baseexception $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_baseexception $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_array.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_array $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_array $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_builtin.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_builtin $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_builtin $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_charmapcodec.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_charmapcodec $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_charmapcodec $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_codecs.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_codecs $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_codecs $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_codeop.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_codeop $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_codeop $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_cgi.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_cgi $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_cgi $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_abstract_numbers.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_abstract_numbers $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_abstract_numbers $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_augassign.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_augassign $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_augassign $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_bigaddrspace.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_bigaddrspace $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_bigaddrspace $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_class.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_class $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_class $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_call.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_call $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_call $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_buffer.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_buffer $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_buffer $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_bufio.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_bufio $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_bufio $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_enum.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_enum $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_enum $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_code.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_code $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_code $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_cmd.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_cmd $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_cmd $(PYTESTARGS) # [jart] incompatible with landlock because it uses current directory for temp files # o/$(MODE)/third_party/python/Lib/test/test_pwd.py.runs: \ # o/$(MODE)/third_party/python/pythontester.com -# @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_pwd $(PYTESTARGS) +# @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_pwd $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_cmath.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_cmath $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_cmath $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_defaultdict.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_defaultdict $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_defaultdict $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_decorators.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_decorators $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_decorators $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_copy.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_copy $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_copy $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_csv.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_csv $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_csv $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_difflib.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_difflib $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_difflib $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_colorsys.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_colorsys $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_colorsys $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_compare.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_compare $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_compare $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_copyreg.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_copyreg $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_copyreg $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_collections.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_collections $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_collections $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_format.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_format $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_format $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_fractions.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_fractions $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_fractions $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_eof.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_eof $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_eof $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_fnmatch.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_fnmatch $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_fnmatch $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_frame.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_frame $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_frame $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_dummy_threading.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_dummy_threading $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_dummy_threading $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_dynamic.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_dynamic $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_dynamic $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_dict.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_dict $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_dict $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_wsgiref.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_wsgiref $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_wsgiref $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_wave.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_wave $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_wave $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_urlparse.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_urlparse $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_urlparse $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_userdict.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_userdict $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_userdict $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_userlist.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_userlist $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_userlist $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_userstring.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_userstring $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_userstring $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_utf8source.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_utf8source $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_utf8source $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_uu.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_uu $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_uu $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_email/test__encoded_words.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_email.test__encoded_words $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_email.test__encoded_words $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_email/test__header_value_parser.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_email.test__header_value_parser $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_email.test__header_value_parser $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_email/test_asian_codecs.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_email.test_asian_codecs $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_email.test_asian_codecs $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_email/test_contentmanager.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_email.test_contentmanager $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_email.test_contentmanager $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_email/test_defect_handling.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_email.test_defect_handling $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_email.test_defect_handling $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_email/test_email.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_email.test_email $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_email.test_email $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_email/test_generator.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_email.test_generator $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_email.test_generator $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_email/test_headerregistry.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_email.test_headerregistry $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_email.test_headerregistry $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_email/test_inversion.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_email.test_inversion $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_email.test_inversion $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_email/test_message.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_email.test_message $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_email.test_message $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_email/test_parser.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_email.test_parser $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_email.test_parser $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_email/test_pickleable.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_email.test_pickleable $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_email.test_pickleable $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_email/test_policy.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_email.test_policy $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_email.test_policy $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_email/test_utils.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_email.test_utils $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_email.test_utils $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_strtod.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_strtod $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_strtod $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_struct.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_struct $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_struct $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_structmembers.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_structmembers $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_structmembers $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_hash.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_hash $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_hash $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_heapq.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_heapq $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_heapq $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_operator.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_operator $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_operator $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_optparse.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_optparse $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_optparse $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_finalization.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_finalization $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_finalization $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_enumerate.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_enumerate $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_enumerate $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_errno.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_errno $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_errno $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_html.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_html $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_html $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_htmlparser.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_htmlparser $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_htmlparser $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_http_cookiejar.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_http_cookiejar $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_http_cookiejar $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_http_cookies.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_http_cookies $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_http_cookies $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_list.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_list $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_list $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_long.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_long $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_long $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_longexp.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_longexp $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_longexp $(PYTESTARGS) # [jart] incompatible with landlock because it uses current directory for temp files # o/$(MODE)/third_party/python/Lib/test/test_glob.py.runs: \ # o/$(MODE)/third_party/python/pythontester.com -# @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_glob $(PYTESTARGS) +# @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_glob $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_global.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_global $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_global $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_ipaddress.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_ipaddress $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_ipaddress $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_isinstance.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_isinstance $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_isinstance $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_iter.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_iter $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_iter $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_json/__main__.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_json $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_json $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_tarfile.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_tarfile $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_tarfile $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_iterlen.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_iterlen $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_iterlen $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_stat.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_stat $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_stat $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_memoryio.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_memoryio $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_memoryio $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_memoryview.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_memoryview $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_memoryview $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_metaclass.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_metaclass $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_metaclass $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_mimetypes.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_mimetypes $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_mimetypes $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_kdf.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_kdf $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_kdf $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_cosmo.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_cosmo $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_cosmo $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_scratch.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_scratch $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_scratch $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_hashlib.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_hashlib $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_hashlib $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_complex.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_complex $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_complex $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_funcattrs.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_funcattrs $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_funcattrs $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_functools.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_functools $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_functools $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_int.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_int $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_int $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_int_literal.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_int_literal $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_int_literal $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_bisect.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_bisect $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_bisect $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_pyexpat.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_pyexpat $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_pyexpat $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_ioctl.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_ioctl $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_ioctl $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_getopt.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_getopt $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_getopt $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_sort.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_sort $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_sort $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_slice.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_slice $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_slice $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_decimal.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_decimal $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_decimal $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_deque.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_deque $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_deque $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_mmap.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_mmap $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_mmap $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_poll.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_poll $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_poll $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_robotparser.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_robotparser $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_robotparser $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_re.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_re $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_re $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_range.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_range $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_range $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_sax.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_sax $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_sax $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_scope.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_scope $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_scope $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_stringprep.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_stringprep $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_stringprep $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_syntax.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_syntax $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_syntax $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_unicodedata.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_unicodedata $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_unicodedata $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_unpack.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_unpack $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_unpack $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_unpack_ex.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_unpack_ex $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_unpack_ex $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_file.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_file $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_file $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_uuid.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_uuid $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_uuid $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_filecmp.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_filecmp $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_filecmp $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_fileinput.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_fileinput $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_fileinput $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_fileio.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_fileio $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_fileio $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_float.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_float $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_float $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_pickle.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_pickle $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_pickle $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_pickletools.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_pickletools $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_pickletools $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_tuple.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_tuple $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_tuple $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_reprlib.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_reprlib $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_reprlib $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_strftime.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_strftime $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_strftime $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_quopri.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_quopri $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_quopri $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_with.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_with $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_with $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_raise.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_raise $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_raise $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_yield_from.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_yield_from $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_yield_from $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_typechecks.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_typechecks $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_typechecks $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_types.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_types $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_types $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_random.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_random $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_random $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_typing.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_typing $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_typing $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_unary.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_unary $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_unary $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_print.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_print $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_print $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_pprint.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_pprint $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_pprint $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_secrets.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_secrets $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_secrets $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_select.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_select $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_select $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_selectors.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_selectors $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_selectors $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_contains.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_contains $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_contains $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_super.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_super $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_super $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_unicode.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_unicode $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_unicode $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_unicode_file.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_unicode_file $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_unicode_file $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_unicode_identifiers.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_unicode_identifiers $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_unicode_identifiers $(PYTESTARGS) # [jart] unsupported with landlock right now because exdev renaming # o/$(MODE)/third_party/python/Lib/test/test_unicode_file_functions.py.runs: \ # o/$(MODE)/third_party/python/pythontester.com -# @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_unicode_file_functions $(PYTESTARGS) +# @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_unicode_file_functions $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_textwrap.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_textwrap $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_textwrap $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_pulldom.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_pulldom $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_pulldom $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_minidom.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_minidom $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_minidom $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_xml_dom_minicompat.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_xml_dom_minicompat $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_xml_dom_minicompat $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_xml_etree_c.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_xml_etree_c $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_xml_etree_c $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_coroutines.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_coroutines $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_coroutines $(PYTESTARGS) # [jart] incompatible with landlock because it uses current directory for temp files # o/$(MODE)/third_party/python/Lib/test/test_tempfile.py.runs: \ # o/$(MODE)/third_party/python/pythontester.com -# @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_tempfile $(PYTESTARGS) +# @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_tempfile $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_normalization.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_normalization $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_normalization $(PYTESTARGS) # [jart] unsupported with landlock right now because it needs /bin/sh # o/$(MODE)/third_party/python/Lib/test/test_os.py.runs: \ # o/$(MODE)/third_party/python/pythontester.com -# @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_os $(PYTESTARGS) +# @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_os $(PYTESTARGS) # [jart] incompatible with landlock because it uses current directory for temp files # o/$(MODE)/third_party/python/Lib/test/test_logging.py.runs: \ # o/$(MODE)/third_party/python/pythontester.com -# @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_logging $(PYTESTARGS) +# @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_logging $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_io.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_io $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_io $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_gzip.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_gzip $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_gzip $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_tracemalloc.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_tracemalloc $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_tracemalloc $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_configparser.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_configparser $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_configparser $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_flufl.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_flufl $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_flufl $(PYTESTARGS) # [jart] incompatible with landlock because it uses current directory for temp files # o/$(MODE)/third_party/python/Lib/test/test_keyword.py.runs: \ # o/$(MODE)/third_party/python/pythontester.com -# @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_keyword $(PYTESTARGS) +# @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_keyword $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_keywordonlyarg.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_keywordonlyarg $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_keywordonlyarg $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_sys.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_sys $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_sys $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_cgitb.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_cgitb $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_cgitb $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_asyncgen.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_asyncgen $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_asyncgen $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_runpy.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_runpy $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_runpy $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_doctest.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_doctest $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_doctest $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_doctest2.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_doctest2 $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_doctest2 $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_calendar.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_calendar $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_calendar $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_asynchat.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_asynchat $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_asynchat $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_asdl_parser.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_asdl_parser $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_asdl_parser $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_atexit.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_atexit $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_atexit $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_dis.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_dis $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_dis $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_asyncore.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_asyncore $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_asyncore $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_epoll.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_epoll $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_epoll $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_cmd_line.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_cmd_line $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_cmd_line $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_cmd_line_script.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_cmd_line_script $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_cmd_line_script $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_code_module.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_code_module $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_code_module $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_codeccallbacks.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_codeccallbacks $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_codeccallbacks $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_codecmaps_cn.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_codecmaps_cn $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_codecmaps_cn $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_codecmaps_jp.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_codecmaps_jp $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_codecmaps_jp $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_codecencodings_cn.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_codecencodings_cn $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_codecencodings_cn $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_codecencodings_hk.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_codecencodings_hk $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_codecencodings_hk $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_codecmaps_hk.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_codecmaps_hk $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_codecmaps_hk $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_codecmaps_kr.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_codecmaps_kr $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_codecmaps_kr $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_codecmaps_tw.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_codecmaps_tw $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_codecmaps_tw $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_codecencodings_iso2022.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_codecencodings_iso2022 $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_codecencodings_iso2022 $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_codecencodings_jp.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_codecencodings_jp $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_codecencodings_jp $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_codecencodings_kr.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_codecencodings_kr $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_codecencodings_kr $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_codecencodings_tw.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_codecencodings_tw $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_codecencodings_tw $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_compile.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_compile $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_compile $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_contextlib.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_contextlib $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_contextlib $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_cprofile.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_cprofile $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_cprofile $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_crashers.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_crashers $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_crashers $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_crypt.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_crypt $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_crypt $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_datetime.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_datetime $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_datetime $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_descrtut.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_descrtut $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_descrtut $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_devpoll.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_devpoll $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_devpoll $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_dict_version.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_dict_version $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_dict_version $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_dictcomps.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_dictcomps $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_dictcomps $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_dictviews.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_dictviews $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_dictviews $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_dtrace.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_dtrace $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_dtrace $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_dynamicclassattribute.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_dynamicclassattribute $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_dynamicclassattribute $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_eintr.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_eintr $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_eintr $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_exception_hierarchy.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_exception_hierarchy $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_exception_hierarchy $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_xmlrpc_net.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_xmlrpc_net $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_xmlrpc_net $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_bigmem.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_bigmem $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_bigmem $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_exception_variations.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_exception_variations $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_exception_variations $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_exceptions.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_exceptions $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_exceptions $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_time.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_time $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_time $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_docxmlrpc.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_docxmlrpc $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_docxmlrpc $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_extcall.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_extcall $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_extcall $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_faulthandler.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_faulthandler $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_faulthandler $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_fcntl.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_fcntl $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_fcntl $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_file_eintr.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_file_eintr $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_file_eintr $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_fork1.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_fork1 $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_fork1 $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_fstring.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_fstring $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_fstring $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_ftplib.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_ftplib $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_ftplib $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_future.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_future $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_future $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_future3.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_future3 $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_future3 $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_future4.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_future4 $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_future4 $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_future5.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_future5 $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_future5 $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_gc.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_gc $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_gc $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_gdb.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_gdb $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_gdb $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_generator_stop.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_generator_stop $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_generator_stop $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_generators.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_generators $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_generators $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_genericpath.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_genericpath $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_genericpath $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_getargs2.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_getargs2 $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_getargs2 $(PYTESTARGS) # [jart] incompatible with landlock because it reads /etc/passwd # o/$(MODE)/third_party/python/Lib/test/test_getpass.py.runs: \ # o/$(MODE)/third_party/python/pythontester.com -# @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_getpass $(PYTESTARGS) +# @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_getpass $(PYTESTARGS) # [jart] incompatible with landlock because it uses current directory for temp files # o/$(MODE)/third_party/python/Lib/test/test_gettext.py.runs: \ # o/$(MODE)/third_party/python/pythontester.com -# @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_gettext $(PYTESTARGS) +# @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_gettext $(PYTESTARGS) # [jart] incompatible with landlock because it reads /etc/passwd # o/$(MODE)/third_party/python/Lib/test/test_grp.py.runs: \ # o/$(MODE)/third_party/python/pythontester.com -# @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_grp $(PYTESTARGS) +# @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_grp $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_imaplib.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_imaplib $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_imaplib $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_imghdr.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_imghdr $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_imghdr $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_imp.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_imp $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_imp $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_index.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_index $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_index $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_kqueue.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_kqueue $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_kqueue $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_largefile.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_largefile $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_largefile $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_linecache.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_linecache $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_linecache $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_locale.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_locale $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_locale $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_macpath.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_macpath $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_macpath $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_macurl2path.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_macurl2path $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_macurl2path $(PYTESTARGS) # [jart] unsupported with landlock right now because exdev renaming # o/$(MODE)/third_party/python/Lib/test/test_mailbox.py.runs: \ # o/$(MODE)/third_party/python/pythontester.com -# @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_mailbox $(PYTESTARGS) +# @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_mailbox $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_mailcap.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_mailcap $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_mailcap $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_module.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_module $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_module $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_modulefinder.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_modulefinder $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_modulefinder $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_multibytecodec.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_multibytecodec $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_multibytecodec $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_multiprocessing_fork.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_multiprocessing_fork $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_multiprocessing_fork $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_multiprocessing_forkserver.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_multiprocessing_forkserver $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_multiprocessing_forkserver $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_multiprocessing_main_handling.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_multiprocessing_main_handling $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_multiprocessing_main_handling $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_multiprocessing_spawn.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_multiprocessing_spawn $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_multiprocessing_spawn $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_netrc.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_netrc $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_netrc $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_nis.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_nis $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_nis $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_nntplib.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_nntplib $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_nntplib $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_ntpath.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_ntpath $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_ntpath $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_numeric_tower.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_numeric_tower $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_numeric_tower $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_ossaudiodev.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_ossaudiodev $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_ossaudiodev $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_parser.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_parser $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_parser $(PYTESTARGS) # [jart] unsupported with landlock right now because exdev renaming # o/$(MODE)/third_party/python/Lib/test/test_pathlib.py.runs: \ # o/$(MODE)/third_party/python/pythontester.com -# @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_pathlib $(PYTESTARGS) +# @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_pathlib $(PYTESTARGS) # [jart] unsupported with landlock right now because it uses current directory for temp files # o/$(MODE)/third_party/python/Lib/test/test_pdb.py.runs: \ # o/$(MODE)/third_party/python/pythontester.com -# @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_pdb $(PYTESTARGS) +# @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_pdb $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_peepholer.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_peepholer $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_peepholer $(PYTESTARGS) # [jart] unsupported with landlock right now because it needs /bin/sh # o/$(MODE)/third_party/python/Lib/test/test_pipes.py.runs: \ # o/$(MODE)/third_party/python/pythontester.com -# @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_pipes $(PYTESTARGS) +# @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_pipes $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_pkgimport.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_pkgimport $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_pkgimport $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_platform.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_platform $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_platform $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_plistlib.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_plistlib $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_plistlib $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_httplib.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_httplib $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_httplib $(PYTESTARGS) # [jart] unsupported with landlock right now because it needs /bin/sh # o/$(MODE)/third_party/python/Lib/test/test_popen.py.runs: \ # o/$(MODE)/third_party/python/pythontester.com -# @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_popen $(PYTESTARGS) +# @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_popen $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_poplib.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_poplib $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_poplib $(PYTESTARGS) # [jart] incompatible with landlock because it uses current directory for temp files # o/$(MODE)/third_party/python/Lib/test/test_posix.py.runs: \ # o/$(MODE)/third_party/python/pythontester.com -# @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_posix $(PYTESTARGS) +# @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_posix $(PYTESTARGS) # [jart] unsupported with landlock right now because exdev renaming # o/$(MODE)/third_party/python/Lib/test/test_posixpath.py.runs: \ # o/$(MODE)/third_party/python/pythontester.com -# @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_posixpath $(PYTESTARGS) +# @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_posixpath $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_profile.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_profile $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_profile $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_property.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_property $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_property $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_pstats.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_pstats $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_pstats $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_pty.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_pty $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_pty $(PYTESTARGS) # [jart] incompatible with landlock because it uses current directory for temp files # o/$(MODE)/third_party/python/Lib/test/test_py_compile.py.runs: \ # o/$(MODE)/third_party/python/pythontester.com -# @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_py_compile $(PYTESTARGS) +# @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_py_compile $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_pyclbr.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_pyclbr $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_pyclbr $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_pydoc.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_pydoc $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_pydoc $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_readline.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_readline $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_readline $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_regrtest.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_regrtest $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_regrtest $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_repl.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_repl $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_repl $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_resource.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_resource $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_resource $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_richcmp.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_richcmp $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_richcmp $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_sched.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_sched $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_sched $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_script_helper.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_script_helper $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_script_helper $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_shlex.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_shlex $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_shlex $(PYTESTARGS) # [jart] incompatible with landlock because it uses current directory for temp files # o/$(MODE)/third_party/python/Lib/test/test_shutil.py.runs: \ # o/$(MODE)/third_party/python/pythontester.com -# @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_shutil $(PYTESTARGS) +# @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_shutil $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_signal.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_signal $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_signal $(PYTESTARGS) # [jart] incompatible with landlock because it uses current directory for temp files # o/$(MODE)/third_party/python/Lib/test/test_site.py.runs: \ # o/$(MODE)/third_party/python/pythontester.com -# @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_site $(PYTESTARGS) +# @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_site $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_smtpd.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_smtpd $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_smtpd $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_smtplib.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_smtplib $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_smtplib $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_smtpnet.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_smtpnet $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_smtpnet $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_sndhdr.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_sndhdr $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_sndhdr $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_socket.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_socket $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_socket $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_socketserver.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_socketserver $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_socketserver $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_spwd.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_spwd $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_spwd $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_startfile.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_startfile $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_startfile $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_statistics.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_statistics $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_statistics $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_string.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_string $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_string $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_string_literals.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_string_literals $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_string_literals $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_strptime.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_strptime $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_strptime $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_structseq.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_structseq $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_structseq $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_subclassinit.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_subclassinit $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_subclassinit $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_subprocess.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_subprocess $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_subprocess $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_sunau.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_sunau $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_sunau $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_support.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_support $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_support $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_symbol.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_symbol $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_symbol $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_symtable.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_symtable $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_symtable $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_sys_setprofile.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_sys_setprofile $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_sys_setprofile $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_syslog.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_syslog $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_syslog $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_telnetlib.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_telnetlib $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_telnetlib $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_threadedtempfile.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_threadedtempfile $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_threadedtempfile $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_timeit.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_timeit $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_timeit $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_timeout.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_timeout $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_timeout $(PYTESTARGS) # TODO(jart): what's wrong with this since landlock? # o/$(MODE)/third_party/python/Lib/test/test_tokenize.py.runs: \ # o/$(MODE)/third_party/python/pythontester.com -# @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_tokenize $(PYTESTARGS) +# @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_tokenize $(PYTESTARGS) # [jart] incompatible with landlock because it uses current directory for temp files # o/$(MODE)/third_party/python/Lib/test/test_trace.py.runs: \ # o/$(MODE)/third_party/python/pythontester.com -# @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_trace $(PYTESTARGS) +# @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_trace $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_traceback.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_traceback $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_traceback $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_turtle.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_turtle $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_turtle $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_unittest.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_unittest $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_unittest $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_univnewlines.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_univnewlines $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_univnewlines $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_urllib.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_urllib $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_urllib $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_urllib2.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_urllib2 $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_urllib2 $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_urllib2_localnet.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_urllib2_localnet $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_urllib2_localnet $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_urllib2net.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_urllib2net $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_urllib2net $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_urllib_response.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_urllib_response $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_urllib_response $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_urllibnet.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_urllibnet $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_urllibnet $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_wait3.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_wait3 $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_wait3 $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_wait4.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_wait4 $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_wait4 $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_webbrowser.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_webbrowser $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_webbrowser $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_xdrlib.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_xdrlib $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_xdrlib $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_weakref.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_weakref $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_weakref $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_weakset.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_weakset $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_weakset $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_zipapp.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_zipapp $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_zipapp $(PYTESTARGS) # [jart] incompatible with landlock because it uses current directory for temp files # o/$(MODE)/third_party/python/Lib/test/test_zipimport.py.runs: \ # o/$(MODE)/third_party/python/pythontester.com -# @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_zipimport $(PYTESTARGS) +# @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_zipimport $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_zipfile.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_zipfile $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_zipfile $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_zipfile64.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_zipfile64 $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_zipfile64 $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/mp_preload.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.mp_preload $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.mp_preload $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/bisect.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.bisect $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.bisect $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/signalinterproctester.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.signalinterproctester $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.signalinterproctester $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/pythoninfo.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.pythoninfo $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.pythoninfo $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/datetimetester.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.datetimetester $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.datetimetester $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/outstanding_bugs.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.outstanding_bugs $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.outstanding_bugs $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/sortperf.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.sortperf $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.sortperf $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_openpty.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_openpty $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_openpty $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_queue.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_queue $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_queue $(PYTESTARGS) o/$(MODE)/third_party/python/Lib/test/test_ordered_dict.py.runs: \ o/$(MODE)/third_party/python/pythontester.com - @$(COMPILE) -wACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_ordered_dict $(PYTESTARGS) + @$(COMPILE) -ACHECK -tT$@ $(PYHARNESSARGS) $< -m test.test_ordered_dict $(PYTESTARGS) ################################################################################ @@ -4448,7 +4448,7 @@ o/$(MODE)/third_party/python/chibicc.inc: \ third_party/python/Include/warnings.h \ third_party/python/Include/weakrefobject.h \ third_party/python/pyconfig.h - @$(COMPILE) -wACHECK.h $(COMPILE.c) -xc -E -P -fdirectives-only -dD -D__chibicc__ -o $@ $< + @$(COMPILE) -ACHECK.h $(COMPILE.c) -xc -E -P -fdirectives-only -dD -D__chibicc__ -o $@ $< ################################################################################ # HELLO.COM diff --git a/third_party/quickjs/VERSION b/third_party/quickjs/VERSION new file mode 100644 index 000000000..22ffec184 --- /dev/null +++ b/third_party/quickjs/VERSION @@ -0,0 +1 @@ +2021-03-27 diff --git a/third_party/quickjs/array.c b/third_party/quickjs/array.c index 25cc26225..2b439d5d1 100644 --- a/third_party/quickjs/array.c +++ b/third_party/quickjs/array.c @@ -22,7 +22,6 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ -#include "libc/str/str.h" #include "third_party/quickjs/internal.h" asm(".ident\t\"\\n\\n\ diff --git a/third_party/quickjs/atof.c b/third_party/quickjs/atof.c index 4bcb99abd..08f291f02 100644 --- a/third_party/quickjs/atof.c +++ b/third_party/quickjs/atof.c @@ -23,8 +23,6 @@ * THE SOFTWARE. */ #include "libc/assert.h" -#include "libc/runtime/runtime.h" -#include "libc/str/str.h" #include "third_party/gdtoa/gdtoa.h" #include "third_party/quickjs/internal.h" diff --git a/third_party/quickjs/atom.c b/third_party/quickjs/atom.c index 0eaad8979..e96afe71b 100644 --- a/third_party/quickjs/atom.c +++ b/third_party/quickjs/atom.c @@ -24,7 +24,6 @@ */ #include "libc/assert.h" #include "libc/fmt/fmt.h" -#include "libc/str/str.h" #include "third_party/quickjs/internal.h" #include "third_party/quickjs/libregexp.h" #include "third_party/quickjs/quickjs.h" diff --git a/third_party/quickjs/bigdecimal.c b/third_party/quickjs/bigdecimal.c index 89e544e89..7f6c68b4d 100644 --- a/third_party/quickjs/bigdecimal.c +++ b/third_party/quickjs/bigdecimal.c @@ -22,8 +22,6 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ -#include "libc/runtime/runtime.h" -#include "libc/str/str.h" #include "third_party/quickjs/internal.h" asm(".ident\t\"\\n\\n\ diff --git a/third_party/quickjs/bigint.c b/third_party/quickjs/bigint.c index bea95955e..0bdf49565 100644 --- a/third_party/quickjs/bigint.c +++ b/third_party/quickjs/bigint.c @@ -23,7 +23,6 @@ * THE SOFTWARE. */ #include "libc/assert.h" -#include "libc/runtime/runtime.h" #include "third_party/quickjs/internal.h" asm(".ident\t\"\\n\\n\ diff --git a/third_party/quickjs/byte.c b/third_party/quickjs/byte.c index 7b871c54a..ffff34b51 100644 --- a/third_party/quickjs/byte.c +++ b/third_party/quickjs/byte.c @@ -23,8 +23,6 @@ * THE SOFTWARE. */ #include "libc/assert.h" -#include "libc/runtime/runtime.h" -#include "libc/str/str.h" #include "third_party/quickjs/internal.h" #include "third_party/quickjs/leb128.h" #include "third_party/quickjs/libregexp.h" diff --git a/third_party/quickjs/dbuf.c b/third_party/quickjs/dbuf.c index f57502827..e21bcf51e 100644 --- a/third_party/quickjs/dbuf.c +++ b/third_party/quickjs/dbuf.c @@ -23,8 +23,6 @@ * THE SOFTWARE. */ #include "libc/fmt/fmt.h" -#include "libc/mem/mem.h" -#include "libc/str/str.h" #include "third_party/quickjs/internal.h" #include "third_party/quickjs/libregexp.h" #include "third_party/quickjs/quickjs.h" diff --git a/third_party/quickjs/float.c b/third_party/quickjs/float.c index e558e95a5..f739770cd 100644 --- a/third_party/quickjs/float.c +++ b/third_party/quickjs/float.c @@ -22,7 +22,6 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ -#include "libc/runtime/runtime.h" #include "third_party/quickjs/internal.h" asm(".ident\t\"\\n\\n\ diff --git a/third_party/quickjs/gc.c b/third_party/quickjs/gc.c index f5da99fa5..c6408d9d0 100644 --- a/third_party/quickjs/gc.c +++ b/third_party/quickjs/gc.c @@ -23,7 +23,6 @@ * THE SOFTWARE. */ #include "libc/assert.h" -#include "libc/runtime/runtime.h" #include "third_party/quickjs/internal.h" asm(".ident\t\"\\n\\n\ diff --git a/third_party/quickjs/gen.c b/third_party/quickjs/gen.c index be64d69a5..380287f0b 100644 --- a/third_party/quickjs/gen.c +++ b/third_party/quickjs/gen.c @@ -23,7 +23,6 @@ * THE SOFTWARE. */ #include "libc/assert.h" -#include "libc/runtime/runtime.h" #include "third_party/quickjs/internal.h" asm(".ident\t\"\\n\\n\ diff --git a/third_party/quickjs/json.c b/third_party/quickjs/json.c index dfceceaf2..8168af45b 100644 --- a/third_party/quickjs/json.c +++ b/third_party/quickjs/json.c @@ -24,7 +24,6 @@ */ #include "libc/assert.h" #include "libc/fmt/fmt.h" -#include "libc/str/str.h" #include "third_party/quickjs/internal.h" #include "third_party/quickjs/libregexp.h" #include "third_party/quickjs/quickjs.h" diff --git a/third_party/quickjs/libbf.c b/third_party/quickjs/libbf.c index 24668f82e..3d81db9e3 100644 --- a/third_party/quickjs/libbf.c +++ b/third_party/quickjs/libbf.c @@ -25,7 +25,6 @@ #include "libc/bits/avxintrin.internal.h" #include "libc/bits/likely.h" #include "libc/inttypes.h" -#include "libc/runtime/runtime.h" #include "libc/stdio/stdio.h" #include "libc/str/str.h" #include "third_party/quickjs/cutils.h" diff --git a/third_party/quickjs/libregexp.c b/third_party/quickjs/libregexp.c index 89b9374de..5739d24fe 100644 --- a/third_party/quickjs/libregexp.c +++ b/third_party/quickjs/libregexp.c @@ -26,7 +26,6 @@ #include "libc/fmt/fmt.h" #include "libc/limits.h" #include "libc/mem/alloca.h" -#include "libc/runtime/runtime.h" #include "libc/stdio/stdio.h" #include "libc/str/str.h" #include "third_party/quickjs/cutils.h" diff --git a/third_party/quickjs/libunicode.c b/third_party/quickjs/libunicode.c index 00927631e..3abcaca8e 100644 --- a/third_party/quickjs/libunicode.c +++ b/third_party/quickjs/libunicode.c @@ -23,8 +23,6 @@ */ #include "libc/assert.h" #include "libc/limits.h" -#include "libc/mem/mem.h" -#include "libc/runtime/runtime.h" #include "libc/stdio/stdio.h" #include "libc/str/str.h" #include "third_party/quickjs/cutils.h" diff --git a/third_party/quickjs/parse.c b/third_party/quickjs/parse.c index 4532fc754..cae5b8a6c 100644 --- a/third_party/quickjs/parse.c +++ b/third_party/quickjs/parse.c @@ -24,8 +24,6 @@ */ #include "libc/assert.h" #include "libc/fmt/fmt.h" -#include "libc/runtime/runtime.h" -#include "libc/str/str.h" #include "third_party/quickjs/internal.h" #include "third_party/quickjs/libregexp.h" diff --git a/third_party/quickjs/quickjs-libc.c b/third_party/quickjs/quickjs-libc.c index 1393cf4c3..9428b29c6 100644 --- a/third_party/quickjs/quickjs-libc.c +++ b/third_party/quickjs/quickjs-libc.c @@ -35,7 +35,6 @@ #include "libc/fmt/conv.h" #include "libc/fmt/fmt.h" #include "libc/limits.h" -#include "libc/mem/mem.h" #include "libc/nt/synchronization.h" #include "libc/runtime/dlfcn.h" #include "libc/runtime/sysconf.h" diff --git a/third_party/quickjs/quickjs.c b/third_party/quickjs/quickjs.c index d33853700..b8d6c9c6a 100644 --- a/third_party/quickjs/quickjs.c +++ b/third_party/quickjs/quickjs.c @@ -45,8 +45,6 @@ #include "third_party/quickjs/internal.h" #include "third_party/quickjs/internal.h" #include "third_party/quickjs/internal.h" -#include "libc/str/str.h" -#include "libc/mem/mem.h" #include "third_party/quickjs/libbf.h" asm(".ident\t\"\\n\\n\ diff --git a/third_party/quickjs/quickjs.mk b/third_party/quickjs/quickjs.mk index 83613d4f7..bdaab4cec 100644 --- a/third_party/quickjs/quickjs.mk +++ b/third_party/quickjs/quickjs.mk @@ -132,12 +132,12 @@ THIRD_PARTY_QUICKJS_CHECKS = \ o/$(MODE)/third_party/quickjs/qjscalc.c: \ third_party/quickjs/qjscalc.js \ o/$(MODE)/third_party/quickjs/qjsc.com - @$(COMPILE) -wAQJSC o/$(MODE)/third_party/quickjs/qjsc.com -fbignum -o $@ -c $< + @$(COMPILE) -AQJSC o/$(MODE)/third_party/quickjs/qjsc.com -fbignum -o $@ -c $< o/$(MODE)/third_party/quickjs/repl.c: \ third_party/quickjs/repl.js \ o/$(MODE)/third_party/quickjs/qjsc.com - @$(COMPILE) -wAQJSC o/$(MODE)/third_party/quickjs/qjsc.com -o $@ -m -c $< + @$(COMPILE) -AQJSC o/$(MODE)/third_party/quickjs/qjsc.com -o $@ -m -c $< o/$(MODE)/third_party/quickjs/qjs.com.dbg: \ $(THIRD_PARTY_QUICKJS) \ @@ -179,7 +179,7 @@ o/$(MODE)/third_party/quickjs/unicode_gen.com.dbg: \ $(THIRD_PARTY_QUICKJS_OBJS): \ OVERRIDE_CPPFLAGS += \ -DCONFIG_BIGNUM \ - -DCONFIG_VERSION=\"2021-03-27\" + -DCONFIG_VERSION=\"$(shell cat third_party/quickjs/VERSION)\" o/tiny/third_party/quickjs/call.o: \ OVERRIDE_CFLAGS += \ diff --git a/third_party/quickjs/regexp.c b/third_party/quickjs/regexp.c index 11237d96d..51b518c24 100644 --- a/third_party/quickjs/regexp.c +++ b/third_party/quickjs/regexp.c @@ -22,7 +22,6 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ -#include "libc/str/str.h" #include "third_party/quickjs/internal.h" #include "third_party/quickjs/libregexp.h" #include "third_party/quickjs/quickjs.h" diff --git a/third_party/quickjs/run-test262.c b/third_party/quickjs/run-test262.c index cfe32dd0a..1527e9806 100644 --- a/third_party/quickjs/run-test262.c +++ b/third_party/quickjs/run-test262.c @@ -28,8 +28,6 @@ #include "libc/fmt/conv.h" #include "libc/fmt/fmt.h" #include "libc/log/log.h" -#include "libc/mem/mem.h" -#include "libc/str/str.h" #include "libc/sysv/consts/clock.h" #include "libc/time/time.h" #include "third_party/musl/ftw.h" diff --git a/third_party/quickjs/shape.c b/third_party/quickjs/shape.c index 08b921291..77f8f8f93 100644 --- a/third_party/quickjs/shape.c +++ b/third_party/quickjs/shape.c @@ -23,7 +23,6 @@ * THE SOFTWARE. */ #include "libc/assert.h" -#include "libc/str/str.h" #include "third_party/quickjs/internal.h" asm(".ident\t\"\\n\\n\ diff --git a/third_party/quickjs/str.c b/third_party/quickjs/str.c index 7391b3189..25ff3953e 100644 --- a/third_party/quickjs/str.c +++ b/third_party/quickjs/str.c @@ -26,7 +26,6 @@ #include "libc/fmt/conv.h" #include "libc/fmt/fmt.h" #include "libc/runtime/fenv.h" -#include "libc/str/str.h" #include "third_party/gdtoa/gdtoa.h" #include "third_party/quickjs/internal.h" #include "third_party/quickjs/libregexp.h" diff --git a/third_party/quickjs/strbuf.c b/third_party/quickjs/strbuf.c index 8e31d225d..cd9cac6b0 100644 --- a/third_party/quickjs/strbuf.c +++ b/third_party/quickjs/strbuf.c @@ -22,7 +22,6 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ -#include "libc/str/str.h" #include "third_party/quickjs/internal.h" #include "third_party/quickjs/libregexp.h" #include "third_party/quickjs/quickjs.h" diff --git a/third_party/quickjs/tok.c b/third_party/quickjs/tok.c index 53b70a890..67a8ff4f0 100644 --- a/third_party/quickjs/tok.c +++ b/third_party/quickjs/tok.c @@ -22,7 +22,6 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ -#include "libc/str/str.h" #include "third_party/quickjs/internal.h" #include "third_party/quickjs/libregexp.h" diff --git a/third_party/quickjs/typedarray.c b/third_party/quickjs/typedarray.c index 1812116d5..0ef8b4dce 100644 --- a/third_party/quickjs/typedarray.c +++ b/third_party/quickjs/typedarray.c @@ -22,8 +22,6 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ -#include "libc/runtime/runtime.h" -#include "libc/str/str.h" #include "third_party/quickjs/internal.h" asm(".ident\t\"\\n\\n\ diff --git a/third_party/quickjs/uri.c b/third_party/quickjs/uri.c index 9d9d3478d..1db04fe90 100644 --- a/third_party/quickjs/uri.c +++ b/third_party/quickjs/uri.c @@ -22,7 +22,6 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ -#include "libc/str/str.h" #include "third_party/quickjs/internal.h" asm(".ident\t\"\\n\\n\ diff --git a/third_party/quickjs/usage.c b/third_party/quickjs/usage.c index 54343304b..67cccb588 100644 --- a/third_party/quickjs/usage.c +++ b/third_party/quickjs/usage.c @@ -23,7 +23,6 @@ * THE SOFTWARE. */ #include "libc/inttypes.h" -#include "libc/str/str.h" #include "third_party/quickjs/internal.h" asm(".ident\t\"\\n\\n\ diff --git a/third_party/smallz4/smallz4cat.c b/third_party/smallz4/smallz4cat.c index 2ab09e980..bb1eefe37 100644 --- a/third_party/smallz4/smallz4cat.c +++ b/third_party/smallz4/smallz4cat.c @@ -30,7 +30,6 @@ #include "libc/mem/mem.h" #include "libc/runtime/gc.internal.h" #include "libc/stdio/stdio.h" -#include "libc/str/str.h" /** * @fileoverview shorter, more readable, albeit slower re-implementation diff --git a/third_party/sqlite3/os_unix.c b/third_party/sqlite3/os_unix.c index 9529293cd..38be8df01 100644 --- a/third_party/sqlite3/os_unix.c +++ b/third_party/sqlite3/os_unix.c @@ -48,7 +48,6 @@ #include "libc/sysv/consts/lock.h" #include "libc/calls/struct/stat.h" #include "libc/sysv/consts/s.h" -#include "libc/runtime/runtime.h" #include "third_party/sqlite3/sqliteInt.inc" #if SQLITE_OS_UNIX /* This file is used on unix only */ diff --git a/third_party/sqlite3/shell.c b/third_party/sqlite3/shell.c index 41c524c1c..448a0b95d 100644 --- a/third_party/sqlite3/shell.c +++ b/third_party/sqlite3/shell.c @@ -58,7 +58,6 @@ #include "third_party/linenoise/linenoise.h" #include "libc/sysv/consts/rusage.h" #include "libc/time/time.h" -#include "libc/runtime/runtime.h" #if SQLITE_USER_AUTHENTICATION #include "third_party/sqlite3/sqlite3userauth.inc" #endif diff --git a/third_party/tidy/alloc.c b/third_party/tidy/alloc.c index fa16e8865..2eb92ead7 100644 --- a/third_party/tidy/alloc.c +++ b/third_party/tidy/alloc.c @@ -13,8 +13,6 @@ #include "third_party/tidy/forward.h" #include "libc/stdio/stdio.h" #include "libc/assert.h" -#include "libc/runtime/runtime.h" -#include "libc/mem/mem.h" #include "third_party/tidy/sprtf.h" static TidyMalloc g_malloc = NULL; diff --git a/third_party/tidy/forward.h b/third_party/tidy/forward.h index 00183a7f2..921f8cc2b 100644 --- a/third_party/tidy/forward.h +++ b/third_party/tidy/forward.h @@ -17,7 +17,6 @@ */ #include "third_party/tidy/tidyplatform.h" -#include "libc/str/str.h" #include "third_party/tidy/tidy.h" /* Internal symbols are prefixed to avoid clashes with other libraries */ diff --git a/third_party/tidy/mappedio.c b/third_party/tidy/mappedio.c index 37d718bb5..46f21dfd5 100644 --- a/third_party/tidy/mappedio.c +++ b/third_party/tidy/mappedio.c @@ -16,7 +16,6 @@ #include "libc/sysv/consts/prot.h" #include "libc/calls/calls.h" #include "libc/sysv/consts/map.h" -#include "libc/runtime/runtime.h" #include "third_party/tidy/mappedio.h" #if SUPPORT_POSIX_MAPPED_FILES diff --git a/third_party/tidy/tidy.c b/third_party/tidy/tidy.c index feb0abd59..8bc582601 100644 --- a/third_party/tidy/tidy.c +++ b/third_party/tidy/tidy.c @@ -25,9 +25,6 @@ #include "libc/assert.h" #include "libc/fmt/fmt.h" #include "libc/alg/alg.h" -#include "libc/str/str.h" -#include "libc/runtime/runtime.h" -#include "libc/mem/mem.h" #include "third_party/tidy/sprtf.h" #if defined(_WIN32) diff --git a/third_party/tidy/tidy.mk b/third_party/tidy/tidy.mk index ea979fe3c..5dfafa666 100644 --- a/third_party/tidy/tidy.mk +++ b/third_party/tidy/tidy.mk @@ -55,7 +55,7 @@ o/$(MODE)/third_party/tidy/tidy.com.dbg: \ @$(APELINK) o/$(MODE)/third_party/tidy/.tidyrc.zip.o: third_party/tidy/.tidyrc - @$(COMPILE) -wAZIPOBJ $(ZIPOBJ) $(ZIPOBJ_FLAGS) -B $(OUTPUT_OPTION) $< + @$(COMPILE) -AZIPOBJ $(ZIPOBJ) $(ZIPOBJ_FLAGS) -B $(OUTPUT_OPTION) $< THIRD_PARTY_TIDY_COMS = \ o/$(MODE)/third_party/tidy/tidy.com diff --git a/third_party/unzip/envargs.c b/third_party/unzip/envargs.c index 5bdd56f71..49ff6ace9 100644 --- a/third_party/unzip/envargs.c +++ b/third_party/unzip/envargs.c @@ -19,8 +19,6 @@ | to make the action of the code less obscure. |---------------------------------------------------------------- | UnZip notes: 24 May 92 ("v1.4"): -#include "libc/runtime/runtime.h" -#include "libc/runtime/runtime.h" | 1. #include "third_party/unzip/unzip.h" for prototypes (24 May 92) | 2. changed ch to type char (24 May 92) | 3. added an ifdef to avoid Borland warnings (24 May 92) diff --git a/third_party/unzip/unzpriv.h b/third_party/unzip/unzpriv.h index ac1d9ce62..2758224ef 100644 --- a/third_party/unzip/unzpriv.h +++ b/third_party/unzip/unzpriv.h @@ -32,8 +32,6 @@ #include "libc/calls/calls.h" #include "libc/fmt/fmt.h" #include "third_party/zip/crypt.h" -#include "libc/mem/mem.h" -#include "libc/runtime/runtime.h" #include "third_party/unzip/unxcfg.h" /* First thing: Signal all following code that we compile UnZip utilities! */ diff --git a/third_party/zip/util.c b/third_party/zip/util.c index 3807574f1..50d978d11 100644 --- a/third_party/zip/util.c +++ b/third_party/zip/util.c @@ -17,7 +17,6 @@ #include "third_party/zip/zip.h" #include "libc/str/str.h" #include "libc/fmt/fmt.h" -#include "libc/runtime/runtime.h" #include "libc/fmt/conv.h" uch upper[256], lower[256]; diff --git a/third_party/zlib/gz/gzwrite.c b/third_party/zlib/gz/gzwrite.c index 8e7e47413..f7c736704 100644 --- a/third_party/zlib/gz/gzwrite.c +++ b/third_party/zlib/gz/gzwrite.c @@ -1,6 +1,5 @@ #include "libc/calls/calls.h" #include "libc/fmt/fmt.h" -#include "libc/mem/mem.h" #include "third_party/zlib/gz/gzguts.inc" // clang-format off diff --git a/tool/args/args.c b/tool/args/args.c index e5398551d..aec1c73ff 100644 --- a/tool/args/args.c +++ b/tool/args/args.c @@ -19,7 +19,6 @@ #include "libc/assert.h" #include "libc/calls/calls.h" #include "libc/errno.h" -#include "libc/mem/mem.h" #include "libc/runtime/gc.internal.h" #include "libc/runtime/runtime.h" #include "libc/str/str.h" diff --git a/tool/build/build.mk b/tool/build/build.mk index 27f3d70f9..58ea370e8 100644 --- a/tool/build/build.mk +++ b/tool/build/build.mk @@ -75,7 +75,7 @@ o/$(MODE)/tool/build/build.pkg: \ o/$(MODE)/%.ctest.ok: \ %.ctest \ $(TOOL_BUILD_CALCULATOR) - @$(COMPILE) -wAMKWIDES -tT$@ $(TOOL_BUILD_CALCULATOR) $< + @$(COMPILE) -AMKWIDES -tT$@ $(TOOL_BUILD_CALCULATOR) $< o/$(MODE)/tool/build/%.com.dbg: \ $(TOOL_BUILD_DEPS) \ @@ -90,21 +90,21 @@ o/$(MODE)/tool/build/emulator.o: \ -fno-sanitize=pointer-overflow o/$(MODE)/tool/build/mkdir.zip.o: o/$(MODE)/tool/build/mkdir - @$(COMPILE) -wAZIPOBJ $(ZIPOBJ) $(ZIPOBJ_FLAGS) -0 -B -Pbin $(OUTPUT_OPTION) $< + @$(COMPILE) -AZIPOBJ $(ZIPOBJ) $(ZIPOBJ_FLAGS) -0 -B -Pbin $(OUTPUT_OPTION) $< o/$(MODE)/tool/build/chmod.zip.o: o/$(MODE)/tool/build/chmod - @$(COMPILE) -wAZIPOBJ $(ZIPOBJ) $(ZIPOBJ_FLAGS) -0 -B -Pbin $(OUTPUT_OPTION) $< + @$(COMPILE) -AZIPOBJ $(ZIPOBJ) $(ZIPOBJ_FLAGS) -0 -B -Pbin $(OUTPUT_OPTION) $< o/$(MODE)/tool/build/cp.zip.o: o/$(MODE)/tool/build/cp - @$(COMPILE) -wAZIPOBJ $(ZIPOBJ) $(ZIPOBJ_FLAGS) -0 -B -Pbin $(OUTPUT_OPTION) $< + @$(COMPILE) -AZIPOBJ $(ZIPOBJ) $(ZIPOBJ_FLAGS) -0 -B -Pbin $(OUTPUT_OPTION) $< o/$(MODE)/tool/build/mv.zip.o: o/$(MODE)/tool/build/mv - @$(COMPILE) -wAZIPOBJ $(ZIPOBJ) $(ZIPOBJ_FLAGS) -0 -B -Pbin $(OUTPUT_OPTION) $< + @$(COMPILE) -AZIPOBJ $(ZIPOBJ) $(ZIPOBJ_FLAGS) -0 -B -Pbin $(OUTPUT_OPTION) $< o/$(MODE)/tool/build/echo.zip.o: o/$(MODE)/tool/build/echo - @$(COMPILE) -wAZIPOBJ $(ZIPOBJ) $(ZIPOBJ_FLAGS) -0 -B -Pbin $(OUTPUT_OPTION) $< + @$(COMPILE) -AZIPOBJ $(ZIPOBJ) $(ZIPOBJ_FLAGS) -0 -B -Pbin $(OUTPUT_OPTION) $< o/$(MODE)/tool/build/gzip.zip.o: o/$(MODE)/tool/build/gzip - @$(COMPILE) -wAZIPOBJ $(ZIPOBJ) $(ZIPOBJ_FLAGS) -0 -B -Pbin $(OUTPUT_OPTION) $< + @$(COMPILE) -AZIPOBJ $(ZIPOBJ) $(ZIPOBJ_FLAGS) -0 -B -Pbin $(OUTPUT_OPTION) $< o/$(MODE)/tool/build/printf.zip.o: o/$(MODE)/tool/build/printf - @$(COMPILE) -wAZIPOBJ $(ZIPOBJ) $(ZIPOBJ_FLAGS) -0 -B -Pbin $(OUTPUT_OPTION) $< + @$(COMPILE) -AZIPOBJ $(ZIPOBJ) $(ZIPOBJ_FLAGS) -0 -B -Pbin $(OUTPUT_OPTION) $< o/$(MODE)/tool/build/dd.zip.o: o/$(MODE)/tool/build/dd - @$(COMPILE) -wAZIPOBJ $(ZIPOBJ) $(ZIPOBJ_FLAGS) -0 -B -Pbin $(OUTPUT_OPTION) $< + @$(COMPILE) -AZIPOBJ $(ZIPOBJ) $(ZIPOBJ_FLAGS) -0 -B -Pbin $(OUTPUT_OPTION) $< # we need pic because: # so it can be an LD_PRELOAD payload @@ -125,9 +125,7 @@ o/$(MODE)/tool/build/dso/sandbox.so: \ o/$(MODE)/tool/build/dso/sandbox.o \ o/$(MODE)/libc/calls/pledge-linux.o \ o/$(MODE)/libc/sysv/restorert.o - @$(COMPILE) -ALINK.so -tT$@ \ - $(CC) \ - -s \ + @$(CC) -s \ -shared \ -nostdlib \ -Wl,--gc-sections \ @@ -138,7 +136,7 @@ o/$(MODE)/tool/build/dso/sandbox.so: \ o/$(MODE)/tool/build/dso/sandbox.so.zip.o: \ o/$(MODE)/tool/build/dso/sandbox.so - @$(COMPILE) -wAZIPOBJ $(ZIPOBJ) $(ZIPOBJ_FLAGS) -B $(OUTPUT_OPTION) $< + @$(COMPILE) -AZIPOBJ $(ZIPOBJ) $(ZIPOBJ_FLAGS) -B $(OUTPUT_OPTION) $< o/$(MODE)/tool/build/pledge.com.dbg: \ $(TOOL_BUILD_DEPS) \ diff --git a/tool/build/compile.c b/tool/build/compile.c index fac44778f..4d1ae69e9 100644 --- a/tool/build/compile.c +++ b/tool/build/compile.c @@ -16,7 +16,6 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/alg/alg.h" #include "libc/bits/bits.h" #include "libc/bits/safemacros.internal.h" #include "libc/calls/calls.h" @@ -42,7 +41,6 @@ #include "libc/mem/mem.h" #include "libc/nexgen32e/kcpuids.h" #include "libc/nexgen32e/x86feature.h" -#include "libc/runtime/gc.internal.h" #include "libc/runtime/runtime.h" #include "libc/runtime/sysconf.h" #include "libc/stdio/append.internal.h" @@ -51,7 +49,6 @@ #include "libc/sysv/consts/auxv.h" #include "libc/sysv/consts/clock.h" #include "libc/sysv/consts/itimer.h" -#include "libc/sysv/consts/madv.h" #include "libc/sysv/consts/o.h" #include "libc/sysv/consts/rlimit.h" #include "libc/sysv/consts/s.h" @@ -112,7 +109,6 @@ FLAGS\n\ -s decrement verbosity [default 4]\n\ -v increments verbosity [default 4]\n\ -n do nothing (prime ape executable)\n\ - -w disable landlock tmp workaround\n\ -h print help\n\ \n\ ENVIRONMENT\n\ @@ -148,7 +144,6 @@ bool wantfentry; bool wantrecord; bool fulloutput; bool touchtarget; -bool noworkaround; bool wantnoredzone; bool stdoutmustclose; bool no_sanitize_null; @@ -716,8 +711,6 @@ void ReportResources(void) { bool MovePreservingDestinationInode(const char *from, const char *to) { bool res; - ssize_t rc; - size_t remain; struct stat st; int fdin, fdout; if ((fdin = open(from, O_RDONLY)) == -1) { @@ -728,30 +721,7 @@ bool MovePreservingDestinationInode(const char *from, const char *to) { close(fdin); return false; } - fadvise(fdin, 0, st.st_size, MADV_SEQUENTIAL); - ftruncate(fdout, st.st_size); - for (res = true, remain = st.st_size; remain;) { - rc = copy_file_range(fdin, 0, fdout, 0, remain, 0); - if (rc != -1) { - remain -= rc; - } else if (errno == EXDEV) { - if (lseek(fdin, 0, SEEK_SET) == -1) { - kprintf("%s: failed to lseek after exdev\n", from); - res = false; - break; - } - if (lseek(fdout, 0, SEEK_SET) == -1) { - kprintf("%s: failed to lseek after exdev\n", to); - res = false; - break; - } - res = _copyfd(fdin, fdout, -1) != -1; - break; - } else { - res = false; - break; - } - } + res = _copyfd(fdin, fdout, -1) != -1; close(fdin); close(fdout); return res; @@ -777,23 +747,6 @@ bool IsNativeExecutable(const char *path) { return res; } -char *MakeTmpOut(const char *path) { - int c; - char *p = tmpout; - char *e = tmpout + sizeof(tmpout) - 1; - p = stpcpy(p, kTmpPath); - while ((c = *path++)) { - if (c == '/') c = '_'; - if (p == e) { - kprintf("MakeTmpOut path too long: %s\n", tmpout); - exit(1); - } - *p++ = c; - } - *p = 0; - return tmpout; -} - int main(int argc, char *argv[]) { int columns; uint64_t us; @@ -804,6 +757,7 @@ int main(int argc, char *argv[]) { char *s, *p, *q, **envp; mode = firstnonnull(getenv("MODE"), MODE); + ksnprintf(tmpout, sizeof(tmpout), "%scompile.%d", kTmpPath, getpid()); /* * parse prefix arguments @@ -815,7 +769,7 @@ int main(int argc, char *argv[]) { fszquota = 256 * 1000 * 1000; /* bytes */ memquota = 512 * 1024 * 1024; /* bytes */ if ((s = getenv("V"))) verbose = atoi(s); - while ((opt = getopt(argc, argv, "hnstvwA:C:F:L:M:O:P:T:V:")) != -1) { + while ((opt = getopt(argc, argv, "hnstvA:C:F:L:M:O:P:T:V:")) != -1) { switch (opt) { case 'n': exit(0); @@ -834,9 +788,6 @@ int main(int argc, char *argv[]) { case 't': touchtarget = true; break; - case 'w': - noworkaround = true; - break; case 'L': timeout = atoi(optarg); break; @@ -905,37 +856,17 @@ int main(int argc, char *argv[]) { * ingest arguments */ for (i = optind; i < argc; ++i) { - - /* - * replace output filename argument - * - * some commands (e.g. ar) don't use the `-o PATH` notation. in that - * case we assume the output path was passed to compile.com -TTARGET - * which means we can replace the appropriate command line argument. - */ - if (!noworkaround && // - !movepath && // - !outpath && // - target && // - !strcmp(target, argv[i])) { - AddArg(MakeTmpOut(argv[i])); - outpath = target; + if (!movepath && !outpath && target && !strcmp(target, argv[i])) { + outpath = argv[i]; + AddArg(tmpout); movepath = target; MovePreservingDestinationInode(target, tmpout); continue; } - - /* - * capture arguments - */ if (argv[i][0] != '-') { AddArg(argv[i]); continue; } - - /* - * capture flags - */ if (startswith(argv[i], "-o")) { if (!strcmp(argv[i], "-o")) { outpath = argv[++i]; @@ -943,12 +874,8 @@ int main(int argc, char *argv[]) { outpath = argv[i] + 2; } AddArg("-o"); - if (noworkaround) { - AddArg(outpath); - } else { - movepath = outpath; - AddArg(MakeTmpOut(outpath)); - } + AddArg(tmpout); + movepath = outpath; continue; } if (!iscc) { diff --git a/tool/build/lib/buildlib.mk b/tool/build/lib/buildlib.mk index 5e1bf856c..d8a2ac7b8 100644 --- a/tool/build/lib/buildlib.mk +++ b/tool/build/lib/buildlib.mk @@ -91,11 +91,11 @@ o/$(MODE)/tool/build/lib/apetest2.com.dbg: \ o/$(MODE)/tool/build/lib/apetest.com.zip.o: \ o/$(MODE)/tool/build/lib/apetest.com - @$(COMPILE) -wAZIPOBJ $(ZIPOBJ) $(ZIPOBJ_FLAGS) -B $(OUTPUT_OPTION) $< + @$(COMPILE) -AZIPOBJ $(ZIPOBJ) $(ZIPOBJ_FLAGS) -B $(OUTPUT_OPTION) $< o/$(MODE)/tool/build/lib/apetest2.com.zip.o: \ o/$(MODE)/tool/build/lib/apetest2.com - @$(COMPILE) -wAZIPOBJ $(ZIPOBJ) $(ZIPOBJ_FLAGS) -B $(OUTPUT_OPTION) $< + @$(COMPILE) -AZIPOBJ $(ZIPOBJ) $(ZIPOBJ_FLAGS) -B $(OUTPUT_OPTION) $< o/$(MODE)/tool/build/lib/apetest.o: \ tool/build/lib/apetest.c \ diff --git a/tool/build/lib/psk.c b/tool/build/lib/psk.c index f9ff160bc..b1b08b6a0 100644 --- a/tool/build/lib/psk.c +++ b/tool/build/lib/psk.c @@ -18,7 +18,6 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/calls/struct/stat.h" #include "libc/log/check.h" -#include "libc/mem/mem.h" #include "libc/runtime/gc.internal.h" #include "libc/sysv/consts/o.h" #include "libc/x/x.h" diff --git a/tool/build/summy.c b/tool/build/summy.c index 1c749309f..7ba67e758 100644 --- a/tool/build/summy.c +++ b/tool/build/summy.c @@ -17,7 +17,6 @@ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/stdio/stdio.h" -#include "libc/str/str.h" /** * @fileoverview Sums per-line integers from stdin. diff --git a/tool/build/unveil.c b/tool/build/unveil.c index bbce0aa9d..b13cd7042 100644 --- a/tool/build/unveil.c +++ b/tool/build/unveil.c @@ -18,10 +18,8 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/calls/calls.h" #include "libc/calls/syscall-sysv.internal.h" -#include "libc/dce.h" #include "libc/intrin/kprintf.h" #include "libc/log/bsd.h" -#include "libc/mem/mem.h" #include "libc/runtime/runtime.h" #include "libc/stdio/stdio.h" #include "libc/str/str.h" @@ -29,7 +27,7 @@ #define USAGE \ "\ -usage: unveil.com [-h] PROG ARGS...\n\ +usage: pledge.com [-h] PROG ARGS...\n\ -h show help\n\ \n\ unveil.com v1.o\n\ @@ -81,7 +79,7 @@ int main(int argc, char *argv[]) { bool chomped = false; while (!chomped) - if (line[len - 1] == '\r' || line[len - 1] == '\n') + if (line[len-1] == '\r' || line[len-1] == '\n') line[--len] = '\0'; else chomped = true; @@ -103,11 +101,11 @@ int main(int argc, char *argv[]) { err(1, "unveil(%s, %s)", fields[0], fields[1]); } free(line); - if (ferror(stdin)) { + if (ferror(stdin)) err(1, "getline"); - } - if (unveil(NULL, NULL) == -1) err(1, "unveil(NULL, NULL)"); + if (unveil(NULL, NULL) == -1) + err(1, "unveil(NULL, NULL)"); __sys_execve(prog, argv + optind, environ); err(127, "execve"); diff --git a/tool/build/xlat.c b/tool/build/xlat.c index 5f7d49555..f6cd30680 100644 --- a/tool/build/xlat.c +++ b/tool/build/xlat.c @@ -21,7 +21,6 @@ #include "libc/fmt/conv.h" #include "libc/log/check.h" #include "libc/math.h" -#include "libc/mem/mem.h" #include "libc/runtime/gc.internal.h" #include "libc/runtime/runtime.h" #include "libc/stdio/stdio.h" diff --git a/tool/decode/scrubdox.c b/tool/decode/scrubdox.c index c990fe908..ce8909d62 100644 --- a/tool/decode/scrubdox.c +++ b/tool/decode/scrubdox.c @@ -72,11 +72,9 @@ └────────────┴─────────────┴────────────────────────────────┴────────────┘ */ #include "libc/log/log.h" #include "libc/macros.internal.h" -#include "libc/mem/mem.h" #include "libc/runtime/gc.internal.h" #include "libc/stdio/stdio.h" #include "libc/str/str.h" -#include "libc/unicode/unicode.h" #include "libc/x/x.h" #define IsSpace(C) ((C) == ' ') diff --git a/tool/decode/zip2.c b/tool/decode/zip2.c index a596c6a9c..56c9eae35 100644 --- a/tool/decode/zip2.c +++ b/tool/decode/zip2.c @@ -22,7 +22,6 @@ #include "libc/fmt/conv.h" #include "libc/log/check.h" #include "libc/log/log.h" -#include "libc/mem/mem.h" #include "libc/runtime/gc.internal.h" #include "libc/runtime/runtime.h" #include "libc/sysv/consts/map.h" diff --git a/tool/lambda/asc2bin.c b/tool/lambda/asc2bin.c index b3c8ac5ea..a800e1e04 100644 --- a/tool/lambda/asc2bin.c +++ b/tool/lambda/asc2bin.c @@ -16,7 +16,6 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/runtime/runtime.h" #include "third_party/getopt/getopt.h" #include "tool/lambda/lib/blc.h" diff --git a/tool/lambda/blcdump.c b/tool/lambda/blcdump.c index c56676b86..680fca6d1 100644 --- a/tool/lambda/blcdump.c +++ b/tool/lambda/blcdump.c @@ -18,7 +18,6 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/calls/calls.h" #include "libc/calls/struct/rlimit.h" -#include "libc/runtime/runtime.h" #include "libc/sysv/consts/rlimit.h" #include "libc/unicode/locale.h" #include "third_party/getopt/getopt.h" diff --git a/tool/lambda/bru2bin.c b/tool/lambda/bru2bin.c index 24658c31d..c1ab2a33c 100644 --- a/tool/lambda/bru2bin.c +++ b/tool/lambda/bru2bin.c @@ -18,10 +18,7 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/calls/calls.h" #include "libc/intrin/kprintf.h" -#include "libc/mem/mem.h" -#include "libc/runtime/runtime.h" #include "libc/stdio/stdio.h" -#include "libc/str/str.h" #include "libc/unicode/locale.h" #include "third_party/getopt/getopt.h" diff --git a/tool/lambda/lam2bin.c b/tool/lambda/lam2bin.c index d11442659..979a08a34 100644 --- a/tool/lambda/lam2bin.c +++ b/tool/lambda/lam2bin.c @@ -18,10 +18,7 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/calls/calls.h" #include "libc/intrin/kprintf.h" -#include "libc/mem/mem.h" -#include "libc/runtime/runtime.h" #include "libc/stdio/stdio.h" -#include "libc/str/str.h" #include "libc/unicode/locale.h" #include "third_party/getopt/getopt.h" diff --git a/tool/lambda/lib/debug.c b/tool/lambda/lib/debug.c index 8dba7556b..52d230e85 100644 --- a/tool/lambda/lib/debug.c +++ b/tool/lambda/lib/debug.c @@ -18,7 +18,6 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/fmt/itoa.h" #include "libc/intrin/kprintf.h" -#include "libc/str/str.h" #include "tool/lambda/lib/blc.h" const char *GetOpName(int x) { diff --git a/tool/lambda/lib/error.c b/tool/lambda/lib/error.c index abe52b266..487bf2be6 100644 --- a/tool/lambda/lib/error.c +++ b/tool/lambda/lib/error.c @@ -17,7 +17,6 @@ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/intrin/kprintf.h" -#include "libc/runtime/runtime.h" #include "tool/lambda/lib/blc.h" void Error(int rc, const char* s, ...) { diff --git a/tool/lambda/lib/getbit.c b/tool/lambda/lib/getbit.c index 6cccf8bf0..f0121db94 100644 --- a/tool/lambda/lib/getbit.c +++ b/tool/lambda/lib/getbit.c @@ -16,7 +16,6 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/str/str.h" #include "tool/lambda/lib/blc.h" char GetBit(FILE* f) { diff --git a/tool/lambda/lib/parserom.c b/tool/lambda/lib/parserom.c index d939f1616..d0e31edfe 100644 --- a/tool/lambda/lib/parserom.c +++ b/tool/lambda/lib/parserom.c @@ -16,7 +16,6 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/str/str.h" #include "tool/lambda/lib/blc.h" static struct Parse ParseImpl(int tail, int need, FILE *f) { diff --git a/tool/net/lfuncs.c b/tool/net/lfuncs.c index 6b486dc9e..35c3321e2 100644 --- a/tool/net/lfuncs.c +++ b/tool/net/lfuncs.c @@ -43,7 +43,6 @@ #include "libc/runtime/runtime.h" #include "libc/runtime/sysconf.h" #include "libc/sock/sock.h" -#include "libc/str/str.h" #include "libc/sysv/consts/af.h" #include "libc/sysv/consts/ipproto.h" #include "libc/sysv/consts/o.h" diff --git a/tool/net/lmaxmind.c b/tool/net/lmaxmind.c index 0f40bcee4..2bc0c4663 100644 --- a/tool/net/lmaxmind.c +++ b/tool/net/lmaxmind.c @@ -16,7 +16,6 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/mem/mem.h" #include "libc/x/x.h" #include "third_party/lua/lauxlib.h" #include "third_party/lua/lua.h" diff --git a/tool/net/lre.c b/tool/net/lre.c index 4f158126a..4adcb9dcf 100644 --- a/tool/net/lre.c +++ b/tool/net/lre.c @@ -17,7 +17,6 @@ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/macros.internal.h" -#include "libc/str/str.h" #include "third_party/lua/lauxlib.h" #include "third_party/regex/regex.h" diff --git a/tool/net/lsqlite3.c b/tool/net/lsqlite3.c index 2a8ee3be0..1f609af40 100644 --- a/tool/net/lsqlite3.c +++ b/tool/net/lsqlite3.c @@ -29,7 +29,6 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/calls/weirdtypes.h" #include "libc/mem/mem.h" -#include "libc/str/str.h" #include "third_party/lua/lauxlib.h" #include "third_party/lua/lua.h" #include "third_party/lua/luaconf.h" diff --git a/tool/net/net.mk b/tool/net/net.mk index fd368af5a..95e5d6a71 100644 --- a/tool/net/net.mk +++ b/tool/net/net.mk @@ -116,8 +116,8 @@ o/$(MODE)/tool/net/redbean.com: \ o/$(MODE)/tool/net/redbean.com.dbg \ o/$(MODE)/tool/build/symtab.com @$(COMPILE) -AOBJCOPY -T$@ $(OBJCOPY) -S -O binary $< $@ - @$(COMPILE) -wASYMTAB o/$(MODE)/tool/build/symtab.com -o $(SYMTAB) $< - @$(COMPILE) -wAZIP -T$@ $@ -A $(SYMTAB) + @$(COMPILE) -ASYMTAB o/$(MODE)/tool/build/symtab.com -o $(SYMTAB) $< + @$(COMPILE) -AZIP -T$@ $@ -A $(SYMTAB) # REDBEAN-DEMO.COM # @@ -229,8 +229,8 @@ o/$(MODE)/tool/net/redbean-demo.com: \ o/$(MODE)/tool/net/redbean-demo.com.dbg \ o/$(MODE)/tool/build/symtab.com @$(COMPILE) -AOBJCOPY -T$@ $(OBJCOPY) -S -O binary $< $@ - @$(COMPILE) -wASYMTAB o/$(MODE)/tool/build/symtab.com -o $(SYMTAB) $< - @$(COMPILE) -wAZIP -T$@ $@ -A $(SYMTAB) + @$(COMPILE) -ASYMTAB o/$(MODE)/tool/build/symtab.com -o $(SYMTAB) $< + @$(COMPILE) -AZIP -T$@ $@ -A $(SYMTAB) # REDBEAN-STATIC.COM # diff --git a/tool/plinko/lib/gc.c b/tool/plinko/lib/gc.c index f4622a5eb..6e12485d8 100644 --- a/tool/plinko/lib/gc.c +++ b/tool/plinko/lib/gc.c @@ -25,7 +25,6 @@ #include "libc/macros.internal.h" #include "libc/mem/mem.h" #include "libc/nexgen32e/bsf.h" -#include "libc/str/str.h" #include "tool/plinko/lib/cons.h" #include "tool/plinko/lib/gc.h" #include "tool/plinko/lib/histo.h" diff --git a/tool/plinko/plinko.mk b/tool/plinko/plinko.mk index 8f5eacc32..46b2f8219 100644 --- a/tool/plinko/plinko.mk +++ b/tool/plinko/plinko.mk @@ -60,7 +60,7 @@ o/$(MODE)/tool/plinko/lib/ok.lisp.zip.o: \ o/$(MODE)/tool/plinko/plinko.com.zip.o: \ o/$(MODE)/tool/plinko/plinko.com - @$(COMPILE) -wAZIPOBJ $(ZIPOBJ) $(ZIPOBJ_FLAGS) -B $(OUTPUT_OPTION) $< + @$(COMPILE) -AZIPOBJ $(ZIPOBJ) $(ZIPOBJ_FLAGS) -B $(OUTPUT_OPTION) $< .PHONY: o/$(MODE)/tool/plinko o/$(MODE)/tool/plinko: $(TOOL_PLINKO_BINS) $(TOOL_PLINKO_CHECKS) diff --git a/tool/viz/basicidea.c b/tool/viz/basicidea.c index 079cb1eef..3e37ec20e 100644 --- a/tool/viz/basicidea.c +++ b/tool/viz/basicidea.c @@ -23,9 +23,7 @@ #include "libc/fmt/fmt.h" #include "libc/log/log.h" #include "libc/macros.internal.h" -#include "libc/mem/mem.h" #include "libc/runtime/runtime.h" -#include "libc/str/str.h" #include "libc/sysv/consts/exit.h" #include "libc/sysv/consts/fileno.h" #include "libc/sysv/consts/map.h" diff --git a/tool/viz/dumphexc.c b/tool/viz/dumphexc.c index a738c6e46..13d558121 100644 --- a/tool/viz/dumphexc.c +++ b/tool/viz/dumphexc.c @@ -18,7 +18,6 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/fmt/fmt.h" #include "libc/macros.internal.h" -#include "libc/mem/mem.h" #include "libc/stdio/append.internal.h" #include "libc/stdio/hex.internal.h" #include "libc/stdio/stdio.h" diff --git a/tool/viz/getglyph.c b/tool/viz/getglyph.c index 7a4fb2ff7..0878fa33b 100644 --- a/tool/viz/getglyph.c +++ b/tool/viz/getglyph.c @@ -20,11 +20,9 @@ #include "libc/limits.h" #include "libc/log/log.h" #include "libc/macros.internal.h" -#include "libc/mem/mem.h" #include "libc/runtime/gc.internal.h" #include "libc/stdio/append.internal.h" #include "libc/stdio/stdio.h" -#include "libc/str/str.h" #include "libc/str/tpenc.h" #include "libc/sysv/consts/sig.h" #include "libc/x/x.h" diff --git a/tool/viz/ntmaster.c b/tool/viz/ntmaster.c index f0fd57448..05152ea3b 100644 --- a/tool/viz/ntmaster.c +++ b/tool/viz/ntmaster.c @@ -18,7 +18,6 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/log/log.h" #include "libc/macros.internal.h" -#include "libc/mem/mem.h" #include "libc/stdio/stdio.h" #include "libc/str/str.h" #include "libc/x/x.h" diff --git a/tool/viz/printdos2errno.c b/tool/viz/printdos2errno.c index fba1ba278..87f88fccf 100644 --- a/tool/viz/printdos2errno.c +++ b/tool/viz/printdos2errno.c @@ -19,7 +19,6 @@ #include "libc/fmt/fmt.h" #include "libc/intrin/dos2errno.internal.h" #include "libc/intrin/kprintf.h" -#include "libc/str/str.h" // note: these are supplementary errno magnum mappings // don't include the ones in libc/sysv/consts.sh diff --git a/tool/viz/printimage.c b/tool/viz/printimage.c index 514f476e9..2a7a2836a 100644 --- a/tool/viz/printimage.c +++ b/tool/viz/printimage.c @@ -28,7 +28,6 @@ #include "libc/fmt/conv.h" #include "libc/log/check.h" #include "libc/log/log.h" -#include "libc/mem/mem.h" #include "libc/runtime/gc.internal.h" #include "libc/runtime/runtime.h" #include "libc/stdio/stdio.h"