Commit graph

1369 commits

Author SHA1 Message Date
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 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
Geert Custers 30346c9d13
Merge pull request #206 from Dennisbonke/libresolv
meta: Build an empty libresolv to satisfy some programs
2021-01-14 21:15:03 +01:00
Dennis Bonke 9170e68e19
meta: Build an empty libresolv to satisfy some programs
Signed-off-by: Dennis Bonke <admin@dennisbonke.com>
2021-01-14 20:48:51 +01:00
Geert Custers 3b26033129
Merge pull request #202 from fido2020/master
options/ansi: Implement abs, labs and llabs, include <bits/feature.h> in ctype.h to fix POSIX locale ctype extensions
2021-01-14 15:01:29 +01:00
JJ 63d4f67fb5 options/ansi: Include <bits/feature.h> in ctype.h to fix POSIX locale ctype extensions not being included 2021-01-14 20:31:50 +11:00
JJ eb1483d0a3 test/ansi: Add tests for abs, labs and llabs 2021-01-14 18:15:20 +11:00
JJ a5a37ab6f4 options/ansi: Implement abs, labs and llabs 2021-01-14 18:00:24 +11:00
Alexander van der Grinten 003e938973
Merge pull request #205 from Dennisbonke/elf32
options/elf: Add Elf32_Nhdr and Elf64_Nhdr
2021-01-14 06:24:32 +01:00
Dennis Bonke 11ecfa9295
options/elf: Add Elf32_Nhdr and Elf64_Nhdr
Signed-off-by: Dennis Bonke <admin@dennisbonke.com>
2021-01-14 01:05:51 +01:00
Alexander van der Grinten b6111f7be3
Merge pull request #204 from Dennisbonke/posix_spawn
options/posix: Implement spawn-related helpers
2021-01-13 21:28:23 +01:00
Dennis Bonke 1ae9aedb99
options/posix: Implement various posix_spawn related functions
options/posix: Implement posix_spawnp

Signed-off-by: Dennis Bonke <admin@dennisbonke.com>
2021-01-13 20:24:14 +01:00
Dennis Bonke 41e6374bd5
options/posix: Implement execvpe
Signed-off-by: Dennis Bonke <admin@dennisbonke.com>
2021-01-13 20:09:13 +01:00