Work on magic numbers for aarch64

This commit is contained in:
Justine Tunney 2023-05-10 01:10:28 -07:00
parent 59766efd3e
commit 5a455eaa0b
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
2070 changed files with 4567 additions and 4200 deletions

View file

@ -95,13 +95,19 @@ int clock_gettime(int clock, struct timespec *ts) {
return rc;
}
#ifdef __aarch64__
#define CGT_VDSO __vdsosym("LINUX_2.6.39", "__kernel_clock_gettime")
#else
#define CGT_VDSO __vdsosym("LINUX_2.6", "__vdso_clock_gettime")
#endif
/**
* Returns pointer to fastest clock_gettime().
*/
clock_gettime_f *__clock_gettime_get(bool *opt_out_isfast) {
bool isfast;
clock_gettime_f *res;
if (IsLinux() && (res = __vdsosym("LINUX_2.6", "__vdso_clock_gettime"))) {
if (IsLinux() && (res = CGT_VDSO)) {
isfast = true;
} else if (IsXnu()) {
isfast = false;

View file

@ -41,6 +41,8 @@
#include "libc/sysv/consts/prot.h"
#include "libc/sysv/errfuns.h"
#ifdef __x86_64__
#define MAP_ANONYMOUS_linux 0x00000020
#define MAP_FIXED_linux 0x00000010
#define MAP_SHARED_linux 0x00000001
@ -73,3 +75,5 @@ textstartup noasan void InitializeMetalFile(void) {
__ape_com_size = size;
}
}
#endif /* __x86_64__ */

View file

@ -21,6 +21,8 @@
#include "libc/nt/struct/context.h"
#include "libc/str/str.h"
#ifdef __x86_64__
// TODO(jart): uc_sigmask support
privileged void _ntcontext2linux(ucontext_t *ctx, const struct NtContext *cr) {
@ -75,3 +77,5 @@ privileged void _ntlinux2context(struct NtContext *cr, const ucontext_t *ctx) {
cr->SegFs = ctx->uc_mcontext.fs;
__repmovsb(&cr->FltSave, &ctx->__fpustate, sizeof(ctx->__fpustate));
}
#endif /* __x86_64__ */

View file

@ -240,7 +240,7 @@ static const struct thatispacked SyscallName {
{__NR_linux_capget, "capget"}, //
{__NR_linux_capset, "capset"}, //
{__NR_linux_sigtimedwait, "sigtimedwait"}, //
{__NR_linux_rt_sigqueueinfo, "rt_sigqueueinfo"}, //
{__NR_linux_sigqueueinfo, "sigqueueinfo"}, //
{__NR_linux_personality, "personality"}, //
{__NR_linux_ustat, "ustat"}, //
{__NR_linux_sysfs, "sysfs"}, //
@ -359,7 +359,7 @@ static const struct thatispacked SyscallName {
{__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_tgsigqueueinfo, "tgsigqueueinfo"}, //
{__NR_linux_signalfd, "signalfd"}, //
{__NR_linux_signalfd4, "signalfd4"}, //
{__NR_linux_eventfd, "eventfd"}, //

View file

@ -32,6 +32,8 @@
#include "libc/str/str.h"
#include "libc/sysv/consts/sa.h"
#ifdef __x86_64__
privileged void __sigenter_freebsd(int sig, struct siginfo_freebsd *freebsdinfo,
struct ucontext_freebsd *ctx) {
int rva, flags;
@ -114,3 +116,5 @@ privileged void __sigenter_freebsd(int sig, struct siginfo_freebsd *freebsdinfo,
* function, and 2) calls sys_sigreturn() once this returns.
*/
}
#endif /* __x86_64__ */

View file

@ -28,6 +28,8 @@
#include "libc/str/str.h"
#include "libc/sysv/consts/sa.h"
#ifdef __x86_64__
privileged void __sigenter_wsl(int sig, struct siginfo *info, ucontext_t *ctx) {
int i, rva, flags;
rva = __sighandrvas[sig & (NSIG - 1)];
@ -45,3 +47,5 @@ privileged void __sigenter_wsl(int sig, struct siginfo *info, ucontext_t *ctx) {
((sigaction_f)(_base + rva))(sig, info, ctx);
}
}
#endif /* __x86_64__ */

View file

@ -32,6 +32,8 @@
#include "libc/str/str.h"
#include "libc/sysv/consts/sa.h"
#ifdef __x86_64__
privileged void __sigenter_netbsd(int sig, struct siginfo_netbsd *si,
struct ucontext_netbsd *ctx) {
int rva, flags;
@ -109,3 +111,5 @@ privileged void __sigenter_netbsd(int sig, struct siginfo_netbsd *si,
* function, and 2) calls sys_sigreturn() once this returns.
*/
}
#endif /* __x86_64__ */

View file

@ -32,6 +32,8 @@
#include "libc/str/str.h"
#include "libc/sysv/consts/sa.h"
#ifdef __x86_64__
privileged void __sigenter_openbsd(int sig, struct siginfo_openbsd *openbsdinfo,
struct ucontext_openbsd *ctx) {
int rva, flags;
@ -108,3 +110,5 @@ privileged void __sigenter_openbsd(int sig, struct siginfo_openbsd *openbsdinfo,
* function, and 2) calls sys_sigreturn() once this returns.
*/
}
#endif /* __x86_64__ */

View file

@ -5,6 +5,8 @@
COSMOPOLITAN_C_START_
// clang-format off
#ifdef __x86_64__
#define __UCONTEXT_SIZE 784
#define _UC_SIGMASK 0x01
#define _UC_STACK 0x02
@ -78,6 +80,8 @@ struct ucontext_netbsd {
};
};
#endif /* __x86_64__ */
COSMOPOLITAN_C_END_
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
#endif /* COSMOPOLITAN_LIBC_CALLS_STRUCT_UCONTEXT_NETBSD_INTERNAL_H_ */

View file

@ -5,6 +5,8 @@
#if !(__ASSEMBLER__ + __LINKER__ + 0)
COSMOPOLITAN_C_START_
#ifdef __x86_64__
struct XmmRegister {
uint64_t u64[2];
};
@ -33,7 +35,10 @@ typedef uint64_t greg_t;
typedef greg_t gregset_t[23];
typedef struct FpuState *fpregset_t;
struct MachineContext {
#endif /* __x86_64__ */
struct sigcontext {
#ifdef __x86_64__
union {
struct {
uint64_t r8;
@ -67,18 +72,32 @@ struct MachineContext {
};
struct FpuState *fpregs; /* zero when no fpu context */
uint64_t __pad1[8];
#elif defined(__aarch64__)
uint64_t fault_address;
uint64_t regs[31];
uint64_t sp;
uint64_t pc;
uint64_t pstate;
uint8_t __reserved[4096] __attribute__((__aligned__(16)));
#endif /* __x86_64__ */
};
typedef struct MachineContext mcontext_t;
typedef struct sigcontext mcontext_t;
struct ucontext {
uint64_t uc_flags; /* don't use this */
struct ucontext *uc_link;
stack_t uc_stack;
mcontext_t uc_mcontext; /* use this */
#ifdef __x86_64__
struct sigcontext uc_mcontext;
sigset_t uc_sigmask;
uint64_t __pad;
struct FpuState __fpustate; /* for cosmo on non-linux */
#elif defined(__aarch64__)
sigset_t uc_sigmask;
uint8_t __unused[1024 / 8 - sizeof(sigset_t)];
struct sigcontext uc_mcontext;
#endif
};
typedef struct ucontext ucontext_t;

View file

@ -112,12 +112,12 @@ COSMOPOLITAN_C_START_
#ifdef __x86_64__
extern const int __hostos;
bool IsWsl1(void);
#else
#define __hostos _HOSTLINUX
#define IsWsl1() false
#endif
bool IsWsl1(void);
COSMOPOLITAN_C_END_
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
#endif /* COSMOPOLITAN_LIBC_DCE_H_ */

View file

@ -825,6 +825,9 @@ typedef struct {
#if !defined(__STRICT_ANSI__) && !defined(__APPLE__) && defined(__x86_64__)
#define YOINK(SYMBOL) \
asm(".section .yoink\n\tnopl\t%a0\n\t.previous" : : "X"(SYMBOL))
#elif defined(__aarch64__)
#define YOINK(SYMBOL) \
asm(".section .yoink\n\tb\t%a0\n\t.previous" : : "X"(SYMBOL))
#else
#define YOINK(SYMBOL) (void)0
#endif
@ -832,6 +835,9 @@ typedef struct {
#if !defined(__STRICT_ANSI__) && !defined(__APPLE__) && defined(__x86_64__)
#define STATIC_YOINK(SYMBOLSTR) \
asm(".section .yoink\n\tnopl\t\"" SYMBOLSTR "\"\n\t.previous")
#elif defined(__aarch64__)
#define STATIC_YOINK(SYMBOLSTR) \
asm(".section .yoink\n\tb\t\"" SYMBOLSTR "\"\n\t.previous")
#else
#define STATIC_YOINK(SYMBOLSTR)
#endif

View file

@ -29,7 +29,9 @@
#include "libc/sysv/consts/o.h"
#include "libc/thread/thread.h"
#ifdef __x86_64__
STATIC_YOINK("_init_g_fds");
#endif
struct Fds g_fds;

View file

@ -25,6 +25,8 @@
#include "libc/sysv/consts/map.h"
#include "libc/sysv/consts/prot.h"
#ifdef __x86_64__
#define GROWSDOWN 0x00000100
#define ANONYMOUS 0x00000020
@ -32,7 +34,6 @@
* Returns true if host platform is WSL 1.0.
*/
bool IsWsl1(void) {
#ifdef __x86_64__
static char res;
if (res) return res & 1;
if (!IsLinux()) return res = 2, false;
@ -44,7 +45,6 @@ bool IsWsl1(void) {
errno = e;
res = 2 | tmp;
return tmp;
#else
return false;
#endif
}
#endif /* __x86_64__ */

View file

@ -47,13 +47,11 @@ typedef int init_f(int argc, char **argv, char **envp, unsigned long *auxv);
extern init_f __strace_init;
extern init_f *__init_array_start[] __attribute__((__weak__));
extern init_f *__init_array_end[] __attribute__((__weak__));
extern uintptr_t ape_idata_iat[] __attribute__((__weak__));
extern uintptr_t ape_idata_iatend[] __attribute__((__weak__));
extern pthread_mutex_t __mmi_lock_obj;
struct CosmoTib *tib;
void cosmo(long *sp) {
textstartup void cosmo(long *sp) {
int argc;
init_f **fp;
uintptr_t *pp;
@ -74,15 +72,11 @@ void cosmo(long *sp) {
// needed by kisdangerous()
__oldstack = (intptr_t)sp;
// make win32 imps noop
for (pp = ape_idata_iat; pp < ape_idata_iatend; ++pp) {
*pp = (uintptr_t)_missingno;
}
// initialize mmap() manager extremely early
_mmi.n = ARRAYLEN(_mmi.s);
_mmi.p = _mmi.s;
__mmi_lock_obj._type = PTHREAD_MUTEX_RECURSIVE;
InitializeFileDescriptors();
#ifdef SYSDEBUG
// initialize --strace functionality

View file

@ -90,7 +90,7 @@ _Alignas(TLS_ALIGNMENT) static char __static_tls[6016];
* arch_prctl() function. However, such programs might not be portable
* and your `errno` variable also won't be thread safe anymore.
*/
void __enable_tls(void) {
textstartup void __enable_tls(void) {
int tid;
size_t siz;
char *mem, *tls;

View file

@ -46,6 +46,7 @@ int __inflate(void *, size_t, const void *, size_t);
noasan void *_Mmap(void *addr, size_t size, int prot, int flags, int fd,
int64_t off) _Hide;
noasan int _Munmap(char *, size_t) _Hide;
void InitializeFileDescriptors(void);
COSMOPOLITAN_C_END_
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */

View file

@ -26,7 +26,7 @@
int sys_set_tls();
void __set_tls(struct CosmoTib *tib) {
textstartup void __set_tls(struct CosmoTib *tib) {
tib = __adj_tls(tib);
#ifdef __x86_64__
// ask the operating system to change the x86 segment register

View file

@ -39,13 +39,13 @@ typedef long long v2di __attribute__((__vector_size__(16), __aligned__(1)));
void *GetZipCdir(const uint8_t *p, size_t n) {
v2di x;
size_t i, j;
v8hi pk = {READ16LE("PK"), READ16LE("PK"), READ16LE("PK"), READ16LE("PK"),
READ16LE("PK"), READ16LE("PK"), READ16LE("PK"), READ16LE("PK")};
uint32_t magic;
i = n - 4;
asm("" : "+x"(pk));
do {
#ifdef __x86_64__
v8hi pk = {READ16LE("PK"), READ16LE("PK"), READ16LE("PK"), READ16LE("PK"),
READ16LE("PK"), READ16LE("PK"), READ16LE("PK"), READ16LE("PK")};
asm("" : "+x"(pk));
if (i >= 14) {
x = *(const v2di *)(p + i - 14);
if (!(__builtin_ia32_pmovmskb128(

View file

@ -1,2 +1,2 @@
#include "libc/sysv/macros.internal.h"
.scall __sys_wait4,0x9c180b807280783d,0x0104,globl,hidden
.scall __sys_wait4,0x9c180b807280783d,0x104,globl,hidden

View file

@ -1,2 +1,2 @@
#include "libc/sysv/macros.internal.h"
.scall get_mempolicy,0xfffffffffffff0ef,0xfff,globl
.scall get_mempolicy,0xfffffffffffff0ef,0x0ec,globl

View file

@ -1,2 +1,2 @@
#include "libc/sysv/macros.internal.h"
.scall ioprio_get,0xfffffffffffff0fc,0xfff,globl
.scall ioprio_get,0xfffffffffffff0fc,0x01f,globl

View file

@ -1,2 +1,2 @@
#include "libc/sysv/macros.internal.h"
.scall ioprio_set,0xfffffffffffff0fb,0xfff,globl
.scall ioprio_set,0xfffffffffffff0fb,0x01e,globl

View file

@ -1,2 +1,2 @@
#include "libc/sysv/macros.internal.h"
.scall set_mempolicy,0xfffffffffffff0ee,0xfff,globl
.scall set_mempolicy,0xfffffffffffff0ee,0x0ed,globl

View file

@ -1,2 +1,2 @@
#include "libc/sysv/macros.internal.h"
.scall sys_clone3,0xfffffffffffff1b3,0xfff,globl
.scall sys_clone3,0xfffffffffffff1b3,0x1b3,globl

View file

@ -1,2 +1,2 @@
#include "libc/sysv/macros.internal.h"
.scall sys_close_range,0xffffff23fffff1b4,0xfff,globl,hidden
.scall sys_close_range,0xffffff23fffff1b4,0x1b4,globl,hidden

View file

@ -1,2 +1,2 @@
#include "libc/sysv/macros.internal.h"
.scall sys_epoll_pwait2,0xfffffffffffff1b9,0xfff,globl
.scall sys_epoll_pwait2,0xfffffffffffff1b9,0x1b9,globl

View file

@ -1,2 +1,2 @@
#include "libc/sysv/macros.internal.h"
.scall sys_faccessat2,0xfffffffffffff1b7,0xfff,globl,hidden
.scall sys_faccessat2,0xfffffffffffff1b7,0x1b7,globl,hidden

View file

@ -1,2 +1,2 @@
#include "libc/sysv/macros.internal.h"
.scall sys_fsconfig,0xfffffffffffff1af,0xfff,globl
.scall sys_fsconfig,0xfffffffffffff1af,0x1af,globl

View file

@ -1,2 +1,2 @@
#include "libc/sysv/macros.internal.h"
.scall sys_fsmount,0xfffffffffffff1b0,0xfff,globl
.scall sys_fsmount,0xfffffffffffff1b0,0x1b0,globl

View file

@ -1,2 +1,2 @@
#include "libc/sysv/macros.internal.h"
.scall sys_fsopen,0xfffffffffffff1ae,0xfff,globl
.scall sys_fsopen,0xfffffffffffff1ae,0x1ae,globl

View file

@ -1,2 +1,2 @@
#include "libc/sysv/macros.internal.h"
.scall sys_fspick,0xfffffffffffff1b1,0xfff,globl
.scall sys_fspick,0xfffffffffffff1b1,0x1b1,globl

View file

@ -1,2 +1,2 @@
#include "libc/sysv/macros.internal.h"
.scall sys_io_pgetevents,0xfffffffffffff14d,0xfff,globl
.scall sys_io_pgetevents,0xfffffffffffff14d,0x124,globl

View file

@ -1,2 +1,2 @@
#include "libc/sysv/macros.internal.h"
.scall sys_io_uring_enter,0xfffffffffffff1aa,0xfff,globl
.scall sys_io_uring_enter,0xfffffffffffff1aa,0x1aa,globl

View file

@ -1,2 +1,2 @@
#include "libc/sysv/macros.internal.h"
.scall sys_io_uring_register,0xfffffffffffff1ab,0xfff,globl
.scall sys_io_uring_register,0xfffffffffffff1ab,0x1ab,globl

View file

@ -1,2 +1,2 @@
#include "libc/sysv/macros.internal.h"
.scall sys_io_uring_setup,0xfffffffffffff1a9,0xfff,globl
.scall sys_io_uring_setup,0xfffffffffffff1a9,0x1a9,globl

View file

@ -1,2 +1,2 @@
#include "libc/sysv/macros.internal.h"
.scall sys_landlock_add_rule,0xfffffffffffff1bd,0xfff,globl,hidden
.scall sys_landlock_add_rule,0xfffffffffffff1bd,0x1bd,globl,hidden

View file

@ -1,2 +1,2 @@
#include "libc/sysv/macros.internal.h"
.scall sys_landlock_create_ruleset,0xfffffffffffff1bc,0xfff,globl,hidden
.scall sys_landlock_create_ruleset,0xfffffffffffff1bc,0x1bc,globl,hidden

View file

@ -1,2 +1,2 @@
#include "libc/sysv/macros.internal.h"
.scall sys_landlock_restrict_self,0xfffffffffffff1be,0xfff,globl,hidden
.scall sys_landlock_restrict_self,0xfffffffffffff1be,0x1be,globl,hidden

View file

@ -1,2 +1,2 @@
#include "libc/sysv/macros.internal.h"
.scall sys_mount_setattr,0xfffffffffffff1ba,0xfff,globl
.scall sys_mount_setattr,0xfffffffffffff1ba,0x1ba,globl

View file

@ -1,2 +1,2 @@
#include "libc/sysv/macros.internal.h"
.scall sys_move_mount,0xfffffffffffff1ad,0xfff,globl
.scall sys_move_mount,0xfffffffffffff1ad,0x1ad,globl

View file

@ -1,2 +1,2 @@
#include "libc/sysv/macros.internal.h"
.scall sys_open_tree,0xfffffffffffff1ac,0xfff,globl
.scall sys_open_tree,0xfffffffffffff1ac,0x1ac,globl

View file

@ -1,2 +1,2 @@
#include "libc/sysv/macros.internal.h"
.scall sys_openat2,0xfffffffffffff1b5,0xfff,globl,hidden
.scall sys_openat2,0xfffffffffffff1b5,0x1b5,globl,hidden

View file

@ -1,2 +1,2 @@
#include "libc/sysv/macros.internal.h"
.scall sys_pidfd_getfd,0xfffffffffffff1b6,0xfff,globl
.scall sys_pidfd_getfd,0xfffffffffffff1b6,0x1b6,globl

View file

@ -1,2 +1,2 @@
#include "libc/sysv/macros.internal.h"
.scall sys_pidfd_open,0xfffffffffffff1b2,0xfff,globl
.scall sys_pidfd_open,0xfffffffffffff1b2,0x1b2,globl

View file

@ -1,2 +1,2 @@
#include "libc/sysv/macros.internal.h"
.scall sys_pidfd_send_signal,0xfffffffffffff1a8,0xfff,globl
.scall sys_pidfd_send_signal,0xfffffffffffff1a8,0x1a8,globl

View file

@ -1,2 +1,2 @@
#include "libc/sysv/macros.internal.h"
.scall sys_process_madvise,0xfffffffffffff1b8,0xfff,globl
.scall sys_process_madvise,0xfffffffffffff1b8,0x1b8,globl

View file

@ -1,2 +1,2 @@
#include "libc/sysv/macros.internal.h"
.scall sys_pselect,0x9b486ea0a298a90e,0xfff,globl,hidden
.scall sys_pselect,0x9b486ea0a298a90e,0x048,globl,hidden

View file

@ -1,2 +1,2 @@
#include "libc/sysv/macros.internal.h"
.scall sys_rseq,0xfffffffffffff14e,0xfff,globl
.scall sys_rseq,0xfffffffffffff14e,0x125,globl

View file

@ -1,2 +0,0 @@
#include "libc/sysv/macros.internal.h"
.scall sys_rt_tgsigqueueinfo,0xfffffffffffff129,0x0f0,globl

View file

@ -0,0 +1,2 @@
#include "libc/sysv/macros.internal.h"
.scall sys_tgsigqueueinfo,0xfffffffffffff129,0x0f0,globl

File diff suppressed because it is too large Load diff

View file

@ -1,2 +1,2 @@
#include "libc/sysv/consts/syscon.internal.h"
.syscon misc,ABORTED_COMMAND,11,0,0,0,0,0
.syscon misc,ABORTED_COMMAND,11,11,0,0,0,0,0

View file

@ -1,2 +1,2 @@
#include "libc/sysv/consts/syscon.internal.h"
.syscon misc,ACCT_BYTEORDER,0,0,0,0,0,0
.syscon misc,ACCT_BYTEORDER,0,0,0,0,0,0,0

View file

@ -1,2 +1,2 @@
#include "libc/sysv/consts/syscon.internal.h"
.syscon misc,ACCT_COMM,0x10,0,0,0,0,0
.syscon misc,ACCT_COMM,0x10,0x10,0,0,0,0,0

View file

@ -1,2 +1,2 @@
#include "libc/sysv/consts/syscon.internal.h"
.syscon misc,ACK,4,4,4,4,4,0
.syscon misc,ACK,4,4,4,4,4,4,0

View file

@ -1,2 +1,2 @@
#include "libc/sysv/consts/syscon.internal.h"
.syscon misc,ACORE,0,8,8,8,8,0
.syscon misc,ACORE,0,0,8,8,8,8,0

View file

@ -1,2 +1,2 @@
#include "libc/sysv/consts/syscon.internal.h"
.syscon misc,AFORK,0,1,1,1,1,0
.syscon misc,AFORK,0,0,1,1,1,1,0

View file

@ -1,2 +1,2 @@
#include "libc/sysv/consts/syscon.internal.h"
.syscon af,AF_ALG,38,0,0,0,0,0
.syscon af,AF_ALG,38,38,0,0,0,0,0

View file

@ -1,2 +1,2 @@
#include "libc/sysv/consts/syscon.internal.h"
.syscon af,AF_APPLETALK,5,0x10,0x10,0x10,0x10,0x10
.syscon af,AF_APPLETALK,5,5,0x10,0x10,0x10,0x10,0x10

View file

@ -1,2 +1,2 @@
#include "libc/sysv/consts/syscon.internal.h"
.syscon af,AF_ASH,18,0,0,0,0,0
.syscon af,AF_ASH,18,18,0,0,0,0,0

View file

@ -1,2 +1,2 @@
#include "libc/sysv/consts/syscon.internal.h"
.syscon af,AF_ATMPVC,8,0,0,0,0,0
.syscon af,AF_ATMPVC,8,8,0,0,0,0,0

View file

@ -1,2 +1,2 @@
#include "libc/sysv/consts/syscon.internal.h"
.syscon af,AF_ATMSVC,20,0,0,0,0,0
.syscon af,AF_ATMSVC,20,20,0,0,0,0,0

View file

@ -1,2 +1,2 @@
#include "libc/sysv/consts/syscon.internal.h"
.syscon af,AF_AX25,3,0,0,0,0,0
.syscon af,AF_AX25,3,3,0,0,0,0,0

View file

@ -1,2 +1,2 @@
#include "libc/sysv/consts/syscon.internal.h"
.syscon af,AF_BLUETOOTH,31,0,36,0x20,31,0
.syscon af,AF_BLUETOOTH,31,31,0,36,0x20,31,0

View file

@ -1,2 +1,2 @@
#include "libc/sysv/consts/syscon.internal.h"
.syscon af,AF_BRIDGE,7,0,0,0,0,0
.syscon af,AF_BRIDGE,7,7,0,0,0,0,0

View file

@ -1,2 +1,2 @@
#include "libc/sysv/consts/syscon.internal.h"
.syscon af,AF_CAIF,37,0,0,0,0,0
.syscon af,AF_CAIF,37,37,0,0,0,0,0

View file

@ -1,2 +1,2 @@
#include "libc/sysv/consts/syscon.internal.h"
.syscon af,AF_CAN,29,0,0,0,35,0
.syscon af,AF_CAN,29,29,0,0,0,35,0

View file

@ -1,2 +1,2 @@
#include "libc/sysv/consts/syscon.internal.h"
.syscon af,AF_ECONET,19,0,0,0,0,0
.syscon af,AF_ECONET,19,19,0,0,0,0,0

View file

@ -1,2 +1,2 @@
#include "libc/sysv/consts/syscon.internal.h"
.syscon af,AF_FILE,1,0,0,0,0,0
.syscon af,AF_FILE,1,1,0,0,0,0,0

View file

@ -1,2 +1,2 @@
#include "libc/sysv/consts/syscon.internal.h"
.syscon af,AF_IB,27,0,0,0,0,0
.syscon af,AF_IB,27,27,0,0,0,0,0

View file

@ -1,2 +1,2 @@
#include "libc/sysv/consts/syscon.internal.h"
.syscon af,AF_IEEE802154,36,0,0,0,0,0
.syscon af,AF_IEEE802154,36,36,0,0,0,0,0

View file

@ -1,2 +1,2 @@
#include "libc/sysv/consts/syscon.internal.h"
.syscon af,AF_INET,2,2,2,2,2,2
.syscon af,AF_INET,2,2,2,2,2,2,2

View file

@ -1,2 +1,2 @@
#include "libc/sysv/consts/syscon.internal.h"
.syscon af,AF_INET6,10,30,28,24,24,23
.syscon af,AF_INET6,10,10,30,28,24,24,23

View file

@ -1,2 +1,2 @@
#include "libc/sysv/consts/syscon.internal.h"
.syscon af,AF_IPX,4,23,23,23,23,6
.syscon af,AF_IPX,4,4,23,23,23,23,6

View file

@ -1,2 +1,2 @@
#include "libc/sysv/consts/syscon.internal.h"
.syscon af,AF_IRDA,23,0,0,0,0,0
.syscon af,AF_IRDA,23,23,0,0,0,0,0

View file

@ -1,2 +1,2 @@
#include "libc/sysv/consts/syscon.internal.h"
.syscon af,AF_ISDN,34,28,26,26,26,0
.syscon af,AF_ISDN,34,34,28,26,26,26,0

View file

@ -1,2 +1,2 @@
#include "libc/sysv/consts/syscon.internal.h"
.syscon af,AF_IUCV,0x20,0,0,0,0,0
.syscon af,AF_IUCV,0x20,0x20,0,0,0,0,0

View file

@ -1,2 +1,2 @@
#include "libc/sysv/consts/syscon.internal.h"
.syscon af,AF_KCM,41,0,0,0,0,0
.syscon af,AF_KCM,41,41,0,0,0,0,0

View file

@ -1,2 +1,2 @@
#include "libc/sysv/consts/syscon.internal.h"
.syscon af,AF_KEY,15,0,0,30,0,0
.syscon af,AF_KEY,15,15,0,0,30,0,0

View file

@ -1,2 +1,2 @@
#include "libc/sysv/consts/syscon.internal.h"
.syscon af,AF_LINK,0,18,18,18,18,0
.syscon af,AF_LINK,0,0,18,18,18,18,0

View file

@ -1,2 +1,2 @@
#include "libc/sysv/consts/syscon.internal.h"
.syscon af,AF_LLC,26,0,0,0,0,0
.syscon af,AF_LLC,26,26,0,0,0,0,0

View file

@ -1,2 +1,2 @@
#include "libc/sysv/consts/syscon.internal.h"
.syscon af,AF_LOCAL,1,1,1,1,1,1
.syscon af,AF_LOCAL,1,1,1,1,1,1,1

View file

@ -1,2 +1,2 @@
#include "libc/sysv/consts/syscon.internal.h"
.syscon af,AF_MAX,42,40,42,36,37,35
.syscon af,AF_MAX,42,42,40,42,36,37,35

View file

@ -1,2 +1,2 @@
#include "libc/sysv/consts/syscon.internal.h"
.syscon af,AF_MPLS,28,0,0,33,33,0
.syscon af,AF_MPLS,28,28,0,0,33,33,0

View file

@ -1,2 +1,2 @@
#include "libc/sysv/consts/syscon.internal.h"
.syscon af,AF_NETBEUI,13,0,0,0,0,0
.syscon af,AF_NETBEUI,13,13,0,0,0,0,0

View file

@ -1,2 +1,2 @@
#include "libc/sysv/consts/syscon.internal.h"
.syscon af,AF_NETLINK,16,0,0,0,0,0
.syscon af,AF_NETLINK,16,16,0,0,0,0,0

View file

@ -1,2 +1,2 @@
#include "libc/sysv/consts/syscon.internal.h"
.syscon af,AF_NETROM,6,0,0,0,0,0
.syscon af,AF_NETROM,6,6,0,0,0,0,0

View file

@ -1,2 +1,2 @@
#include "libc/sysv/consts/syscon.internal.h"
.syscon af,AF_NFC,39,0,0,0,0,0
.syscon af,AF_NFC,39,39,0,0,0,0,0

View file

@ -1,2 +1,2 @@
#include "libc/sysv/consts/syscon.internal.h"
.syscon af,AF_PACKET,17,0,0,0,0,0
.syscon af,AF_PACKET,17,17,0,0,0,0,0

View file

@ -1,2 +1,2 @@
#include "libc/sysv/consts/syscon.internal.h"
.syscon af,AF_PHONET,35,0,0,0,0,0
.syscon af,AF_PHONET,35,35,0,0,0,0,0

View file

@ -1,2 +1,2 @@
#include "libc/sysv/consts/syscon.internal.h"
.syscon af,AF_PPPOX,24,0,0,0,0,0
.syscon af,AF_PPPOX,24,24,0,0,0,0,0

View file

@ -1,2 +1,2 @@
#include "libc/sysv/consts/syscon.internal.h"
.syscon af,AF_RDS,21,0,0,0,0,0
.syscon af,AF_RDS,21,21,0,0,0,0,0

View file

@ -1,2 +1,2 @@
#include "libc/sysv/consts/syscon.internal.h"
.syscon af,AF_ROSE,11,0,0,0,0,0
.syscon af,AF_ROSE,11,11,0,0,0,0,0

View file

@ -1,2 +1,2 @@
#include "libc/sysv/consts/syscon.internal.h"
.syscon af,AF_ROUTE,16,17,17,17,34,0
.syscon af,AF_ROUTE,16,16,17,17,17,34,0

View file

@ -1,2 +1,2 @@
#include "libc/sysv/consts/syscon.internal.h"
.syscon af,AF_RXRPC,33,0,0,0,0,0
.syscon af,AF_RXRPC,33,33,0,0,0,0,0

View file

@ -1,2 +1,2 @@
#include "libc/sysv/consts/syscon.internal.h"
.syscon af,AF_SECURITY,14,0,0,0,0,0
.syscon af,AF_SECURITY,14,14,0,0,0,0,0

View file

@ -1,2 +1,2 @@
#include "libc/sysv/consts/syscon.internal.h"
.syscon af,AF_SNA,22,11,11,11,11,11
.syscon af,AF_SNA,22,22,11,11,11,11,11

View file

@ -1,2 +1,2 @@
#include "libc/sysv/consts/syscon.internal.h"
.syscon af,AF_TIPC,30,0,0,0,0,0
.syscon af,AF_TIPC,30,30,0,0,0,0,0

View file

@ -1,2 +1,2 @@
#include "libc/sysv/consts/syscon.internal.h"
.syscon af,AF_UNIX,1,1,1,1,1,1
.syscon af,AF_UNIX,1,1,1,1,1,1,1

Some files were not shown because too many files have changed in this diff Show more