Commit graph

71 commits

Author SHA1 Message Date
Alexander van der Grinten e062d60007
Merge pull request #290 from Geertiebear/features_fix
Replace bits/features.h and fix various issues around option disabling.
2021-10-24 17:52:28 +02:00
Geert Custers a187dfef40 meta: add mlibc-config.h and replace bit/features.h 2021-10-24 13:18:45 +02:00
Kacper Słomiński 5057986451 abis/linux: make nlink_t 64-bit.
nlink_t was erroneously defined as 32-bit, which caused some of the
later members of struct stat (st_mode, st_gid, st_uid) to unexpectedly
shift.
2021-08-27 14:45:20 +02:00
Kacper Słomiński 5b7d996e86 abis/fcntl: move AT constants into abi headers
These constants differ between mlibc and linux abis.
2021-08-27 14:43:07 +02:00
Kacper Słomiński 18dd0673be abis: add limits.h abi header 2021-08-21 04:28:34 +02:00
Kacper Słomiński 4fbd9e8844 options/posix: implement sigaltstack 2021-08-21 04:28:34 +02:00
Kacper Słomiński 11717b94ab abis: fix wait macros on Linux 2021-06-20 13:43:51 +02:00
Kacper Słomiński cb9106f722 abis: don't hide certain things if POSIX support is disabled 2021-06-20 13:43:51 +02:00
Matt Taylor 952df96288 abis/mlibc: Changed uid_t, gid_t and id_t to unsigned 2021-05-10 19:36:41 +01:00
Matt Taylor a2c8c869c7 Add missing defines for Rust libc 2021-04-13 03:21:10 +01:00
Alexander van der Grinten dd040283b6
Merge pull request #230 from Geertiebear/pthreads
pthread cancellation support
2021-04-12 12:49:00 +02:00
Geert Custers 5a8d23afac sysdeps/linux: implement proper signal support 2021-04-12 12:28:56 +02:00
Geert Custers 9cdc98ed56 options/posix: add SIGCANCEL signal handler 2021-04-12 12:28:06 +02:00
Geert Custers 60e5c75b7f options/posix: add ucontext.h and stub functions 2021-04-12 12:27:32 +02:00
JJ c2d8bd220b sysdeps/lemon: sys_dup2, sys_chmod and updates to fcntl and aux vectors 2021-02-05 19:58:11 +11: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
JJ 12ae2bd13d options/linux: Add route.h, Add in_pktinfo to in.h 2021-01-25 12:39:22 +11: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
JJ 4c96b730bc abis/mlibc: Add IP_PKTINFO to in.h 2021-01-24 18:53:50 +11: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 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
Geert Custers cb5f96e2f7 options/posix: fix getaddrinfo() service resolution 2021-01-03 11:48:37 +01:00
Alexander van der Grinten a182d3b0dc
Merge pull request #160 from Dennisbonke/weston
Various changes needed to update weston
2020-12-26 11:59:06 +01:00
Dennisbonke 2af3b1f371
abis/managarm: Define AT_SECURE
options/posix: Define SUN_LEN

Signed-off-by: Dennisbonke <admin@dennisbonke.com>
2020-11-29 13:56:34 +01:00
mintsuki 083a3d3755 options/ansi: Implement sigsetjmp and siglongjmp 2020-10-23 12:54:11 +02:00
Dennisbonke 4cccfac85c abis/mlibc: Add missing signal numbers
Signed-off-by: Dennisbonke <admin@dennisbonke.com>
2020-10-21 10:58:50 +02:00
BrainStackOverFlow b5edd61347 abis/mlibc: add missing struct rusage members 2020-10-21 10:58:26 +02:00
Dennisbonke 2579576145 abis/mlibc: Match signal constants to linux.
Signed-off-by: Dennisbonke <admin@dennisbonke.com>
2020-10-21 10:58:26 +02:00
Dennisbonke 71bf6700db abis/mlibc: Fix overlapping file constants
Signed-off-by: Dennisbonke <admin@dennisbonke.com>
2020-10-21 10:56:05 +02:00
Geert Custers 48a1774daa
Merge pull request #164 from Dennisbonke/cmake-changes
Various libuv and cmake related changes
2020-10-21 08:17:48 +02:00
Geert Custers 75d1f63009
Merge pull request #166 from Geertiebear/stack_check
Add stack protector support
2020-10-07 10:45:21 +02:00
Dennisbonke 50627c96e1
abis/mlibc: Add struct mmsghdr
options/posix: Stub recvmmsg and sendmmsg

Signed-off-by: Dennisbonke <admin@dennisbonke.com>
2020-09-19 02:27:23 +02:00
Geert Custers 4042b1e1ce options/internal: add stack protector support 2020-09-13 15:36:39 +02:00
Geert Custers bc1987856c
Merge pull request #158 from Dennisbonke/master
Add some defines and structs required by cmake
2020-09-13 15:15:13 +02:00
Dennisbonke 7dd9f22f7d
abis/mlibc: Add 2 networking related structs
Signed-off-by: Dennisbonke <admin@dennisbonke.com>
2020-09-13 13:22:33 +02:00
Dennisbonke f012060a78
abis/mlibc: Define additional networking related constants
options/glibc: Define additional ioctl constants

Signed-off-by: Dennisbonke <admin@dennisbonke.com>
2020-09-13 13:22:33 +02:00
Dennisbonke f8c21fad6e
abis/mlibc: Define additional constants used by mmap and related fcntl calls
Signed-off-by: Dennisbonke <admin@dennisbonke.com>
2020-09-05 02:11:22 +02:00
Geert Custers e773a516ad internal: refactor sysdeps.hpp into option specific sysdeps 2020-08-29 12:31:13 +02:00
Alexander van der Grinten f8855d0d0c
Merge pull request #123 from Dennisbonke/master
Small fixes for xorg-server
2020-06-28 20:47:15 +02:00
Dennisbonke 58cc8d6b2b abis/mlibc: Define SI_USER
Signed-off-by: Dennisbonke <admin@dennisbonke.com>
2020-06-26 18:44:42 +02:00
Menotdan 02bdd46d21 add dripos support
add dripos

fix errno.h a 3425435345th time

fix generic
2020-06-22 15:46:17 -04:00
Arsen e9aaa04d3f
options/posix: stub itimer functions 2020-06-14 15:22:16 +02:00
Arsen e17bf1cc59
abis: add AT_EXECFN 2020-06-13 12:47:49 +02:00
Dennisbonke 70ec34483e abis/mlibc: Define constants used by sysklogd.
options/ansi: Define __progname and __progname_full as aliases for program_invocation_name and update struct tm
options/posix: Define u_short and constants used by sysklogd.

Signed-off-by: Dennisbonke <admin@dennisbonke.com>
2020-05-20 09:47:04 +02:00
Dennisbonke ec0e612b3c abis: Install termios header and fix compilation error
Signed-off-by: Dennisbonke <admin@dennisbonke.com>
2020-05-20 01:59:45 +02:00
Dennisbonke 08a588b448 abis: Give termios.h the abi-bits treatment.
options/posix: Give termios.h the abi-bits treatment.

Signed-off-by: Dennisbonke <admin@dennisbonke.com>
2020-05-18 23:38:39 +02:00
Dennisbonke 02d4e4099d abis/mlibc: Define more IP constants.
options/ansi: Define NGROUPS_MAX.
options/glibc: Define more constants related to resolving domain names.
options/linux: Define POLLWRNORM.
options/posix: Cleanup of netdb-stubs, define more IP related constants.

Signed-off-by: Dennisbonke <admin@dennisbonke.com>
2020-05-17 13:29:14 +02:00
Alexander van der Grinten df72f8a806 abis: Commit missing resource.h 2020-05-12 19:46:58 +02:00
Alexander van der Grinten d3576f01ef Various stubs to make xbps compile 2020-05-09 18:50:19 +02:00
Dennisbonke ec61692697 options/posix: Added crypt.h.
abis/mlibc: Added ESHUTDOWN to errno.h

Signed-off-by: Dennisbonke <admin@dennisbonke.com>
2020-05-06 00:31:55 +02:00