mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-26 20:40:28 +00:00
Make redbean StoreAsset() work better
- Better UBSAN error messages - POSIX Advisory Locks polyfills - Move redbean manual to /.help.txt - System call memory safety in ASAN mode - Character classification now does UNICODE
This commit is contained in:
parent
919b6fec10
commit
690be544da
228 changed files with 3653 additions and 3015 deletions
2
libc/sysv/calls/__sys_fcntl.s
Normal file
2
libc/sysv/calls/__sys_fcntl.s
Normal file
|
@ -0,0 +1,2 @@
|
|||
.include "o/libc/sysv/macros.internal.inc"
|
||||
.scall __sys_fcntl,0x05c05c05c205c048,globl,hidden
|
|
@ -1,2 +0,0 @@
|
|||
.include "o/libc/sysv/macros.internal.inc"
|
||||
.scall sys_fcntl,0x05c05c05c205c048,globl,hidden
|
2342
libc/sysv/consts.sh
2342
libc/sysv/consts.sh
File diff suppressed because it is too large
Load diff
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon gai,AI_ADDRCONFIG,0x20,0x0400,0x0400,0x40,0x40,0x0400
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon gai,AI_ALL,0x10,0x0100,0x0100,0,0,0x0100
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon gai,AI_CANONNAME,2,2,2,2,2,2
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon gai,AI_NUMERICHOST,4,4,4,4,4,4
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon gai,AI_NUMERICSERV,0x0400,0x1000,8,0x10,0x10,8
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon gai,AI_PASSIVE,1,1,1,1,1,1
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon gai,AI_V4MAPPED,8,0x0800,0x0800,0,0,0x0800
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon misc,BIG_ENDIAN,0x10e1,0x10e1,0x10e1,0x10e1,0x10e1,0
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon misc,BLK_BYTECOUNT,2,2,2,2,2,0
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon misc,BLK_EOF,0x40,0x40,0x40,0x40,0x40,0
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon misc,BLK_EOR,0x80,0x80,0x80,0x80,0x80,0
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon misc,BLK_ERRORS,0x20,0x20,0x20,0x20,0x20,0
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon misc,BLK_RESTART,0x10,0x10,0x10,0x10,0x10,0
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon misc,BUS_DEVICE_RESET,12,0,0,0,0,0
|
||||
.syscon scsi,BUS_DEVICE_RESET,12,0,0,0,0,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon termios,CR0,0b0000000000000000,0b000000000000000000,0b000000000000000000,0x0,0x0,0b0000000000000000
|
||||
.syscon termios,CR0,0b0000000000000000,0b000000000000000000,0b000000000000000000,0,0b000000000000000000,0b0000000000000000
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon termios,CR1,0b0000001000000000,0b000001000000000000,0b000001000000000000,0x0,0x0,0b0000001000000000
|
||||
.syscon termios,CR1,0b0000001000000000,0b000001000000000000,0b000001000000000000,0,0b000001000000000000,0b0000001000000000
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon termios,CR2,0b0000010000000000,0b000010000000000000,0b000010000000000000,0x0,0x0,0b0000010000000000
|
||||
.syscon termios,CR2,0b0000010000000000,0b000010000000000000,0b000010000000000000,0,0b000000010000000000,0b0000010000000000
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon termios,CR3,0b0000011000000000,0b000011000000000000,0b000011000000000000,0x0,0x0,0b0000011000000000
|
||||
.syscon termios,CR3,0b0000011000000000,0b000011000000000000,0b000011000000000000,0,0b000000011000000000,0b0000011000000000
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon junkerr,EBADFD,77,9,9,9,9,6
|
||||
.syscon junkerr,EBADFD,77,9,0,0,0,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon junkerr,EMEDIUMTYPE,124,0,0,86,86,0
|
||||
.syscon errno,EMEDIUMTYPE,124,0,0,86,0,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon misc,EMPTY,0,0,0,0,0,0
|
||||
.syscon termios,EMPTY,0,0,0,0,0,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon junkerr,EMULTIHOP,72,95,90,0,94,0
|
||||
.syscon errno,EMULTIHOP,72,95,90,0,94,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon junkerr,ENODATA,61,96,0,0,89,0
|
||||
.syscon errno,ENODATA,61,96,0,0,89,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon junkerr,ENOLINK,67,97,91,0,95,0
|
||||
.syscon errno,ENOLINK,67,97,91,0,95,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon junkerr,ENOMEDIUM,123,0,0,85,85,0
|
||||
.syscon errno,ENOMEDIUM,123,0,0,85,0,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon junkerr,ENOSR,63,98,0,0,90,0
|
||||
.syscon errno,ENOSR,63,98,0,90,90,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon junkerr,ENOSTR,60,99,0,0,91,0
|
||||
.syscon errno,ENOSTR,60,99,0,0,91,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon misc,ERA,0x02002c,45,45,0,0,0
|
||||
.syscon termios,ERA,0x02002c,45,45,0,0,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon errno,ERESTART,85,0,0,0,-3,0
|
||||
.syscon errno,ERESTART,85,-1,-1,-1,-3,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon misc,EXTA,14,0x4b00,0x4b00,0x4b00,0x4b00,0
|
||||
.syscon termios,EXTA,14,0x4b00,0x4b00,0x4b00,0x4b00,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon misc,EXTB,15,0x9600,0x9600,0x9600,0x9600,0
|
||||
.syscon termios,EXTB,15,0x9600,0x9600,0x9600,0x9600,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon fcntl,F_GETLK,5,7,11,7,7,0
|
||||
.syscon fcntl,F_GETLK,5,7,11,7,7,5
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon fcntl,F_GETLK64,5,0,0,0,0,0
|
||||
.syscon compat,F_GETLK64,5,7,11,7,7,5
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon fcntl,F_SETLK,6,8,12,8,8,0
|
||||
.syscon fcntl,F_SETLK,6,8,12,8,8,6
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon fcntl,F_SETLK64,6,0,0,0,0,0
|
||||
.syscon compat,F_SETLK64,6,8,12,8,8,6
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon fcntl,F_SETLKW,7,9,13,9,9,0
|
||||
.syscon fcntl,F_SETLKW,7,9,13,9,9,7
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon fcntl,F_SETLKW64,7,0,0,0,0,0
|
||||
.syscon compat,F_SETLKW64,7,9,13,9,9,7
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon fcntl,F_UNLCK,2,2,2,2,2,0
|
||||
.syscon fcntl,F_UNLCK,2,2,2,2,2,2
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon fcntl,F_WRLCK,1,3,3,3,3,0
|
||||
.syscon fcntl,F_WRLCK,1,3,3,3,3,1
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon misc,INADDR_ALLHOSTS_GROUP,0xe0000001,0xe0000001,0xe0000001,0xe0000001,0xe0000001,0
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon misc,INADDR_ALLRTRS_GROUP,0xe0000002,0xe0000002,0xe0000002,0,0,0
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon misc,INADDR_ANY,0,0,0,0,0,0
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon misc,INADDR_BROADCAST,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon misc,INADDR_LOOPBACK,0x7f000001,0x7f000001,0x7f000001,0x7f000001,0x7f000001,0x7f000001
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon misc,INADDR_MAX_LOCAL_GROUP,0xe00000ff,0xe00000ff,0xe00000ff,0xe00000ff,0xe00000ff,0
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon misc,INADDR_NONE,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon misc,INADDR_UNSPEC_GROUP,0xe0000000,0xe0000000,0xe0000000,0xe0000000,0xe0000000,0
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon termios,IUCLC,0b0000001000000000,0,0,0b0001000000000000,0b0001000000000000,0b0000001000000000
|
||||
.syscon termios,IUCLC,0b0000001000000000,0,0,0b0001000000000000,0,0b0000001000000000
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon misc,LITTLE_ENDIAN,0x04d2,0x04d2,0x04d2,0x04d2,0x04d2,0
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon mmap,MAP_CONCEAL,0,0,0x20000,0x8000,0x8000,0
|
||||
.syscon mmap,MAP_CONCEAL,0,0,0,0x8000,0,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon mmap,MAP_TYPE,15,0,0,0,0,0
|
||||
.syscon mmap,MAP_TYPE,15,15,15,15,15,15
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon misc,MODE_B,2,2,2,2,2,0
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon misc,MODE_C,3,3,3,3,3,0
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon misc,MODE_S,1,1,1,1,1,0
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon misc,MODE_SELECT,21,0,0,0,0,0
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon misc,MODE_SELECT_10,85,0,0,0,0,0
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon misc,MODE_SENSE,26,0,0,0,0,0
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon misc,MODE_SENSE_10,90,0,0,0,0,0
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon termios,NL0,0b0000000000000000,0b000000000000000000,0b000000000000000000,0,0,0b0000000000000000
|
||||
.syscon termios,NL0,0b0000000000000000,0b000000000000000000,0b000000000000000000,0,0b000000000000000000,0b0000000000000000
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon termios,NL1,0b0000000100000000,0b000000000100000000,0b000000000100000000,0,0,0b0000000100000000
|
||||
.syscon termios,NL1,0b0000000100000000,0b000000000100000000,0b000000000100000000,0,0b000000000100000000,0b0000000100000000
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon termios,NL2,0,0b000000001000000000,0b000000001000000000,0,0,0
|
||||
.syscon termios,NL2,0,0b000000001000000000,0b000000001000000000,0,0b000000001000000000,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon termios,NL3,0,0b000000001100000000,0b000000001100000000,0,0,0
|
||||
.syscon termios,NL3,0,0b000000001100000000,0b000000001100000000,0,0b000000001100000000,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon termios,OLCUC,0b0000000000000010,0b000000000000000000,0,0b0000000000100000,0b0000000000100000,0b0000000000000010
|
||||
.syscon termios,OLCUC,0b0000000000000010,0,0,0b0000000000100000,0,0b0000000000000010
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon open,O_APPEND,0x0400,8,8,8,8,0x00000004
|
||||
.syscon open,O_APPEND,0x00000400,8,8,8,8,0x00000004
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon open,O_ASYNC,0x2000,0x40,0x40,0x40,0x40,0
|
||||
.syscon open,O_ASYNC,0x00002000,0x00000040,0x00000040,0x00000040,0x00000040,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon open,O_CLOEXEC,0x080000,0x01000000,0x100000,0x010000,0x400000,0x00080000
|
||||
.syscon open,O_CLOEXEC,0x00080000,0x01000000,0x00100000,0x00010000,0x00400000,0x00080000
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon open,O_CREAT,0x40,0x0200,0x0200,0x0200,0x0200,0x00000040
|
||||
.syscon open,O_CREAT,0x00000040,0x00000200,0x00000200,0x00000200,0x00000200,0x00000040
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon open,O_DIRECT,0x4000,0,0x010000,0,0x80000,0x00200000
|
||||
.syscon open,O_DIRECT,0x00004000,0,0x00010000,0,0x00080000,0x00200000
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon open,O_DIRECTORY,0x010000,0x100000,0x020000,0x020000,0x200000,0x02000000
|
||||
.syscon open,O_DIRECTORY,0x00010000,0x00100000,0x00020000,0x00020000,0x00200000,0x02000000
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon open,O_DSYNC,0x1000,0x400000,0,0x80,0x10000,0
|
||||
.syscon open,O_DSYNC,0x00001000,0x00400000,0,0x00000080,0x00010000,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon open,O_EXCL,0x80,0x0800,0x0800,0x0800,0x0800,0x00000080
|
||||
.syscon open,O_EXCL,0x00000080,0x00000800,0x00000800,0x00000800,0x00000800,0x00000080
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon open,O_EXEC,0,0,0x040000,0,0x4000000,0
|
||||
.syscon open,O_EXEC,0,0,0x00040000,0,0x04000000,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon open,O_NDELAY,0x0800,4,4,4,4,0
|
||||
.syscon open,O_NDELAY,0x00000800,0x00000004,0x00000004,0x00000004,0x00000004,0x00000800
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon open,O_NOATIME,0x040000,0,0,0,0,0
|
||||
.syscon open,O_NOATIME,0x00040000,0,0,0,0,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon open,O_NOCTTY,0x0100,0x020000,0x8000,0x8000,0x8000,0
|
||||
.syscon open,O_NOCTTY,0x00000100,0x00020000,0x00008000,0x00008000,0x00008000,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon open,O_NOFOLLOW,0x020000,0x0100,0x0100,0x0100,0x0100,0
|
||||
.syscon open,O_NOFOLLOW,0x00020000,0x00000100,0x00000100,0x00000100,0x00000100,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon open,O_NONBLOCK,0x0800,4,4,4,4,0x00000800
|
||||
.syscon open,O_NONBLOCK,0x00000800,0x00000004,0x00000004,0x00000004,0x00000004,0x00000800
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon open,O_PATH,0x200000,0,0,0,0,0
|
||||
.syscon open,O_PATH,0x00200000,0,0,0,0,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon open,O_RSYNC,0x101000,0,0,0x80,0x20000,0
|
||||
.syscon open,O_RSYNC,0x00101000,0,0,0x00000080,0x00020000,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon open,O_SYNC,0x101000,0x80,0x80,0x80,0x80,0
|
||||
.syscon open,O_SYNC,0x00101000,0x00000080,0x00000080,0x00000080,0x00000080,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon open,O_TMPFILE,0x410000,0,0,0,0,0x04000100
|
||||
.syscon open,O_TMPFILE,0x00410000,0,0,0,0,0x04000100
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon open,O_TRUNC,0x0200,0x0400,0x0400,0x0400,0x0400,0x00000200
|
||||
.syscon open,O_TRUNC,0x00000200,0x00000400,0x00000400,0x00000400,0x00000400,0x00000200
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon open,O_TTY_INIT,0,0,0x080000,0,0,0
|
||||
.syscon open,O_TTY_INIT,0,0,0x00080000,0,0,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon misc,READ_10,40,0,0,0,0,0
|
||||
.syscon scsi,READ_10,40,0,0,0,0,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon misc,READ_12,168,0,0,0,0,0
|
||||
.syscon scsi,READ_12,168,0,0,0,0,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon misc,READ_6,8,0,0,0,0,0
|
||||
.syscon scsi,READ_6,8,0,0,0,0,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon misc,READ_BLOCK_LIMITS,5,0,0,0,0,0
|
||||
.syscon scsi,READ_BLOCK_LIMITS,5,0,0,0,0,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon misc,READ_BUFFER,60,0,0,0,0,0
|
||||
.syscon scsi,READ_BUFFER,60,0,0,0,0,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon misc,READ_CAPACITY,37,0,0,0,0,0
|
||||
.syscon scsi,READ_CAPACITY,37,0,0,0,0,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon misc,READ_DEFECT_DATA,55,0,0,0,0,0
|
||||
.syscon scsi,READ_DEFECT_DATA,55,0,0,0,0,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon misc,READ_ELEMENT_STATUS,184,0,0,0,0,0
|
||||
.syscon scsi,READ_ELEMENT_STATUS,184,0,0,0,0,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon misc,READ_LONG,62,0,0,0,0,0
|
||||
.syscon scsi,READ_LONG,62,0,0,0,0,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon misc,READ_POSITION,52,0,0,0,0,0
|
||||
.syscon scsi,READ_POSITION,52,0,0,0,0,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon misc,READ_REVERSE,15,0,0,0,0,0
|
||||
.syscon scsi,READ_REVERSE,15,0,0,0,0,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon misc,READ_TOC,67,0,0,0,0,0
|
||||
.syscon scsi,READ_TOC,67,0,0,0,0,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon misc,SCSI_IOCTL_BENCHMARK_COMMAND,3,0,0,0,0,0
|
||||
.syscon scsi,SCSI_IOCTL_BENCHMARK_COMMAND,3,0,0,0,0,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon misc,SCSI_IOCTL_DOORLOCK,0x5380,0,0,0,0,0
|
||||
.syscon scsi,SCSI_IOCTL_DOORLOCK,0x5380,0,0,0,0,0
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue