Commit graph

118 commits

Author SHA1 Message Date
Christoph Heiss 225de87ca9
meson.build: Add squiid target
Signed-off-by: Christoph Heiss <contact@christoph-heiss.at>
2022-08-20 10:03:22 +02:00
Matt Taylor 1551d0c646 abis: add deprecation notices to mlibc/{wait,termios,signal,utsname}.h 2022-08-01 19:15:40 +02:00
Kacper Słomiński c140c80f0c options/internal: add a more strict debug allocator
This allocator uses mmap for every allocation, performs explicit checks
on the given arguments, adds a guard page after every allocation (while
placing the allocation as close to it as possible), and, if configured
to do so, will never release virtual addresses to catch a certain
category of use-after-free bugs.
2022-07-23 16:11:18 +02:00
Geert Custers 44c38c8d93
Merge pull request #650 from 64/global-config
options/{internal,rtdl}: add GlobalConfig and RtdlConfig
2022-07-18 14:26:37 +02:00
Matt Taylor 20eaebbf0c sysdeps: remove qword 2022-07-10 16:21:38 +01:00
Matt Taylor 37078fb0e1 options/{internal,rtdl}: add GlobalConfig and RtdlConfig 2022-07-07 21:21:56 +01:00
no92 ca794791e9
options/posix: move nl_langinfo to internal for internal use
This is necessary e.g. for strftime, as it prints strings that are
locale-aware, but nl_langinfo is part of the posix option. In order to
resolve this, we're moving the implementation of nl_langinfo into
internal, making the posix option implementation a wrapper around that.
With this, we also need to move the definition of nl_item and its values
out. This is achieved by putting it all into the nl_item bits header,
that is moved into internal as well.
2022-07-05 13:40:19 +02:00
Matt Taylor d743bb66c5
Merge pull request #576 from no92/strptime 2022-07-01 10:28:46 -07:00
mintsuki b066edeedd sysdeps: Add Vinix 2022-06-30 16:55:51 +02:00
no92 a554df5521
options/posix: make an internal strncasecmp available in ansi 2022-06-30 00:16:19 +02:00
Matt Taylor 5bedf56b0d tests: run test suite under host libc too 2022-06-26 13:40:16 +01:00
Matt Taylor 583f49b909 ci: test with -Ddefault_library=shared 2022-06-23 02:29:17 +01:00
Matt Taylor d5bfbf4846 meson: allow static and shared libs to be built simultaneously 2022-06-23 02:29:17 +01:00
Matt Taylor 7771b89155 riscv: build on CI 2022-06-21 18:16:42 +01:00
Geert Custers 4aa2992c06
Merge pull request #480 from 64/ubsan
options/internal: implement ubsan hooks for libc.so and ld.so internal usage
2022-06-20 13:48:45 +02:00
Matt Taylor 9185de80bb meson: install bits/inline-definitions.h 2022-06-18 20:34:21 +01:00
Matt Taylor e1894b26c3 options: use __MLIBC_INLINE_DEFINITION for header inline functions 2022-06-18 19:04:13 +01:00
Matt Taylor 70a139a004 sysdeps: remove sigma 2022-06-15 21:15:27 +01:00
Matt Taylor e48ac66659 options/internal: implement ubsan hooks for libc.so and ld.so internal usage 2022-06-15 00:17:33 +01:00
streaksu 91525062d8 sysdeps: Add Ironclad sysdeps 2022-06-07 23:26:10 +02:00
Matt Taylor b06dabbc69 meta: move stubbed libs to dummy-libs folder 2022-06-06 19:29:50 +01:00
Matt Taylor 1528f9336d meta: fix all remaining warnings 2022-06-03 15:50:56 +01:00
Alexander van der Grinten 4ed2cd5a09
Merge pull request #444 from 64/tcb-dedup
rtdl: refactor `getCurrentTcb` and `__abi_tls_entry`
2022-06-02 13:48:39 +02:00
Matt Taylor 7a97c3e2d9 rtdl: move __abi_tls_entry to header 2022-06-02 03:42:05 +01:00
Matt Taylor e90b4c966d rtdl: use get_current_tcb instead of getCurrentTcb 2022-06-02 03:40:48 +01:00
Matt Taylor 346df465e5 meson: don't force pkg-config 2022-05-22 20:33:31 +01:00
Matt Taylor 0feb64990a meson: use one liner dependency on frigg 2022-05-21 00:56:55 +01:00
Matt Taylor 2ede4fb354 meson: find frigg and cxxshim via pkg-config 2022-05-20 20:29:52 +01:00
no92 6734841643
meson: use warning_level to silence warnings 2022-05-15 22:25:06 +02:00
Kacper Słomiński 159f87d921
Merge pull request #337 from Dennisbonke/updates
Various additions for the next round of Managarm package updates
2022-02-05 00:32:30 +01:00
unknown d2f024df33
targets: add aero target port
Signed-off-by: Andy-Python-Programmer <andypythonappdeveloper@gmail.com>
2022-02-03 12:55:56 +11:00
Dennis Bonke eea71c5ff9
options/bsd: Add a new option and add several BSD extensions related to DNS
Signed-off-by: Dennis Bonke <admin@dennisbonke.com>
2022-02-01 14:48:00 +01:00
Arsen Arsenović dc5deb11b9
meson: early-exit CC path search loop 2021-12-13 01:13:47 +01:00
Arsen Arsenović caeaeaf04f
meson: use meson builtins instead of shell
This saves us a risky join by space and cleans up the code to an extent

Co-Authored-By: Eli Schwartz <eschwartz@archlinux.org>
2021-12-12 23:51:49 +01:00
Dennis Bonke 12f67293a6
libcrypt: Allow for disabling of libcrypt, following glibc
Signed-off-by: Dennis Bonke <admin@dennisbonke.com>
2021-10-31 18:11:26 +01:00
Geert Custers ab733d56cc meson.build: fix disable_linux_headers 2021-10-27 18:16:54 +02:00
Geert Custers 9a2c0c7c87 meson.build: make mlibc-config.h respect no headers option 2021-10-27 12:46:06 +02:00
Geert Custers 376e47277f meson.build: remove pic option 2021-10-26 07:28:19 +00:00
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 131f39eb86 meson.build: make glibc option optional 2021-10-24 13:18:46 +02:00
Geert Custers 856282fc53 options/linux: split headers into linux-headers 2021-10-24 13:18:45 +02:00
Geert Custers a187dfef40 meta: add mlibc-config.h and replace bit/features.h 2021-10-24 13:18:45 +02:00
JJ Roberts-White 994b33c667 meson.build: Make sure only first clang search dir is grabbed
The regex only works when there is two search dirs.
2021-10-14 21:13:43 +11:00
Dennis Bonke e4874727a9
build: Fix missing header install
Signed-off-by: Dennis Bonke <admin@dennisbonke.com>
2021-08-15 23:08:38 +02:00
Dennis Bonke caf20794bf
build: Enable -Wall and -Wextra for the entire project
Signed-off-by: Dennis Bonke <admin@dennisbonke.com>
2021-08-15 21:44:47 +02:00
Kacper Słomiński fcf8da97da options/internal, option/posix: move sig*set into internal option 2021-06-20 13:43:51 +02:00
Kacper Słomiński 0c75fb6369 meson: link ld.so with libgcc on aarch64
This is needed because ld.so uses atomics, and since GCC 10 they require
libgcc for LSE support on aarch64.
2021-06-14 15:12:41 +02:00
Dennis Bonke e4130d62ed
build: Bump c++ standard to c++20
Signed-off-by: Dennis Bonke <admin@dennisbonke.com>
2021-04-30 00:43:31 +02:00
Kacper Słomiński aeb624cb42 options/internal: implement setjmp and friends on aarch64 2021-04-04 14:01:39 +02: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