Commit graph

1530 commits

Author SHA1 Message Date
Geert Custers 3c5ec38fd4
Merge pull request #226 from Dennisbonke/cmatrix
options/linux: Add TIOCSTI
2021-02-02 22:09:56 +01:00
Dennis Bonke 945b00088e
options/linux: Add TIOCSTI
Signed-off-by: Dennis Bonke <admin@dennisbonke.com>
2021-02-02 16:45:02 +01:00
JJ a34cebb81a options/posix: wait4 stub
Currently just calls waitpid
2021-02-02 13:25:26 +11:00
JJ 3845c49f09 options/posix: _SC_ARG_MAX and lseek64 2021-02-02 13:25:18 +11:00
Alexander van der Grinten d09f9f518b
Merge pull request #223 from Dennisbonke/libintl
meta: Split libintl functions to its own option
2021-01-31 16:26:13 +01:00
Alexander van der Grinten 923eec1984
Merge pull request #224 from Dennisbonke/pathresolver
sysdeps/managarm: Handle EINVAL in ioctl(TIOCGWINSZ)
2021-01-31 16:25:41 +01:00
Dennis Bonke e2c10dfd39
meta: Split out the libintl functions so they can be enabled with a function
Signed-off-by: Dennis Bonke <admin@dennisbonke.com>
2021-01-31 15:46:21 +01:00
Dennis Bonke 199a30be62
sysdeps/managarm: Handle EINVAL in ioctl(TIOCGWINSZ)
Signed-off-by: Dennis Bonke <admin@dennisbonke.com>
2021-01-31 15:24:50 +01:00
Alexander van der Grinten 7ac5bbea79
Merge pull request #215 from Dennisbonke/pathresolver
sysdeps/managarm: Fix sys_openat after the PathResolver refactor
2021-01-30 17:10:37 +01:00
Alexander van der Grinten 517dfc5e0e
Merge pull request #221 from Dennisbonke/managarm-entry
sysdeps/managarm: Change the startup code to use the generic version
2021-01-30 17:07:02 +01:00
Dennis Bonke 98cbfec564
sysdeps/managarm: Change the startup code to use the generic version
Signed-off-by: Dennis Bonke <admin@dennisbonke.com>
2021-01-29 15:38:22 +01:00
Alexander van der Grinten 4e2eb0d036
Merge pull request #214 from Dennisbonke/util-linux
Various new stubs and defines
2021-01-28 19:40:29 +01:00
Dennis Bonke 262e70f4e1
tests: Add a test for strverscmp
Signed-off-by: Dennis Bonke <admin@dennisbonke.com>
2021-01-28 16:58:09 +01:00
Geert Custers 0726f99c28
Merge pull request #219 from fido2020/master
options/linux: Add route.h, Add in_pktinfo to in.h
2021-01-25 12:54:17 +01:00
JJ 12ae2bd13d options/linux: Add route.h, Add in_pktinfo to in.h 2021-01-25 12:39:22 +11:00
Alexander van der Grinten d5fea3e9b1
Merge pull request #218 from no92/master
options/linux: Add changes needed for libinput 1.16.4 and wlroots
2021-01-24 20:32:35 +01:00
Dennis Bonke 827355d5bf
options/posix: Implement versionsort
Signed-off-by: Dennis Bonke <admin@dennisbonke.com>
2021-01-24 16:42:03 +01:00
Dennis Bonke 16f21daad3
options/ansi: Add strverscmp
Signed-off-by: Dennis Bonke <admin@dennisbonke.com>
2021-01-24 16:42:03 +01:00
no92 067dc5ff98
options/posix: add index 2021-01-24 16:04:11 +01:00
no92 d436a329b2
options/linux: Add changes needed for wlroots
This moves some #defines out of <linux/input.h> into
<linux/input-event-codes.h>, as wlroots expects them to be. The former
header now includes the new one. Additional defines have been added as
needed for libinput.

Also, <linux/major.h> gets a new #define as needed.
2021-01-24 16:04:11 +01:00
Dennis Bonke 0e98b63338
abis/mlibc: Define O_PATH
abis/linux: Add compatibility define for O_PATH
options/posix: Define O_PATH

Signed-off-by: Dennis Bonke <admin@dennisbonke.com>
2021-01-24 13:23:18 +01:00
Alexander van der Grinten 63e88b262d
Merge pull request #217 from fido2020/master
options/linux: Add more ioctls to sockios.h
2021-01-24 09:48:00 +01:00
JJ 5ab6826849 sysdeps/lemon: getsockopt and setsockopt sysdeps, use linux socket.h ABI 2021-01-24 19:27:22 +11:00
JJ 4c96b730bc abis/mlibc: Add IP_PKTINFO to in.h 2021-01-24 18:53:50 +11:00
JJ afd66e23bf options/linux: Add more ioctls to sockios.h 2021-01-24 12:38:31 +11:00
Dennis Bonke 666c09d1d5
options/posix: Add wait4 and daemon
Signed-off-by: Dennis Bonke <admin@dennisbonke.com>
2021-01-23 11:59:10 +01:00
Dennis Bonke 6f5658f3c8
options/linux: Add a blkdev related define
Signed-off-by: Dennis Bonke <admin@dennisbonke.com>
2021-01-23 00:40:38 +01:00
Dennis Bonke 62932be95a
abis/mlibc: Add ENOTBLK to errno
Signed-off-by: Dennis Bonke <admin@dennisbonke.com>
2021-01-23 00:09:31 +01:00
Dennis Bonke e4506ff8b1
options/linux: Add umount and umount2
Signed-off-by: Dennis Bonke <admin@dennisbonke.com>
2021-01-23 00:09:18 +01:00
Dennis Bonke 3a993357c6
options/linux: Add several blkdev related defines
Signed-off-by: Dennis Bonke <admin@dennisbonke.com>
2021-01-23 00:09:03 +01:00
Dennis Bonke eb325a35aa
options/posix: Add versionsort
Signed-off-by: Dennis Bonke <admin@dennisbonke.com>
2021-01-22 21:54:49 +01:00
Dennis Bonke cde3259868
options/ansi: Add wcswidth
Signed-off-by: Dennis Bonke <admin@dennisbonke.com>
2021-01-22 21:54:49 +01:00
Dennis Bonke 5db68c9b4e
options/posix: Add struct ifconf
Signed-off-by: Dennis Bonke <admin@dennisbonke.com>
2021-01-22 21:54:48 +01:00
Dennis Bonke 190117e96e
options/glibc: Define an additional ioctl constant
Signed-off-by: Dennis Bonke <admin@dennisbonke.com>
2021-01-22 21:54:48 +01:00
Dennis Bonke 4a5c0bd5d5
abis/mlibc: Add ENOMEDIUM to errno.h
options/linux: Add more CDROM related defines

Signed-off-by: Dennis Bonke <admin@dennisbonke.com>
2021-01-22 21:54:48 +01:00
Dennis Bonke c2aca23cb7
options/posix: Add some time related macros
Signed-off-by: Dennis Bonke <admin@dennisbonke.com>
2021-01-22 21:54:47 +01:00
Dennis Bonke 2dd4403400
Add several stubs and defines
options/posix: Add stubs for tsearch, tfind and tdelete
options/posix: Add stubs for msgget
options/posix: Add stubs for semget
options/posix: Add several tty related defines

Signed-off-by: Dennis Bonke <admin@dennisbonke.com>
2021-01-22 21:54:47 +01:00
Alexander van der Grinten 4656c4a28c
Merge pull request #208 from Dennisbonke/helix-conversion
sysdeps/managarm: Fix bug in sys_connect and convert to helix_ng
2021-01-22 21:48:57 +01:00
Dennis Bonke 6d975dc1f6
sysdeps/managarm: Add more error returns to sys_openat to account for the PathResolver refactor
Signed-off-by: Dennis Bonke <admin@dennisbonke.com>
2021-01-22 18:15:11 +01:00
Dennis Bonke 67b7f57738
options/ansi: Add SCN64d
Signed-off-by: Dennis Bonke <admin@dennisbonke.com>
2021-01-21 12:03:12 +01:00
Geert Custers 1a7e3c3cc5
Merge pull request #213 from no92/master
Stub out duplocale
2021-01-20 08:59:29 +01:00
mint d2e0597c10
Merge pull request #212 from managarm/add_SCNu32
inttypes.h: Add SCNu32
2021-01-19 14:36:39 +01:00
mintsuki c7f6143c98 inttypes.h: Add SCNu32 2021-01-19 14:16:09 +01:00
Alexander van der Grinten 760d462ca1 options/ansi: Implement %R and %T in strftime() 2021-01-17 20:06:36 +01:00
no92 8cc8a31065
Stub out duplocale 2021-01-17 15:37:14 +01:00
Alexander van der Grinten 8005e83b84
Merge pull request #210 from Dennisbonke/time-stuff
options/ansi: Add several time related functions
2021-01-16 18:05:17 +01:00
Dennis Bonke c40c2d2a86
options/ansi: Add several time related functions
Signed-off-by: Dennis Bonke <admin@dennisbonke.com>
2021-01-16 17:46:45 +01:00
Alexander van der Grinten ddf5d1c2a2 options/glibc: Impl. long opts with optional args 2021-01-16 12:25:24 +01:00
Alexander van der Grinten bbd2ca1e91 sysdeps/managarm: Handle EINVAL in write() 2021-01-16 12:25:24 +01:00
Dennis Bonke 1d53fc7972
sysdeps/managarm: Fix bug in sys_connect and convert to helix_ng
Signed-off-by: Dennis Bonke <admin@dennisbonke.com>
2021-01-15 18:24:24 +01:00