aboutsummaryrefslogtreecommitdiffstats
path: root/src/sysdeps
Commit message (Collapse)AuthorAgeFilesLines
* Solaris is more or less as stupidLaurent Bercot2026-05-111-1/+1
|
* Refine sysdep because CentOS has trouble with posix stuffLaurent Bercot2026-05-111-9/+0
|
* Rename sysdep to selectinfinite, find correct test value for timeoutLaurent Bercot2026-05-111-5/+6
|
* Prepare for 2.15.0.1; add selectshorttimeout sysdeps (yay MacOS)Laurent Bercot2026-05-111-0/+41
|
* MacOS doesn't have pthread_mutex_timedlock -_-Laurent Bercot2026-03-182-2/+13
|
* Add phread_mutex_clocklock() sysdep, pthread_mutex_tailock() functionLaurent Bercot2026-03-161-0/+11
|
* Save/restore errno in all safe wrappersLaurent Bercot2026-01-011-2/+2
|
* OpenBSD declares getpeereid in sys/socket.h, because it's OpenBSDLaurent Bercot2025-10-241-0/+1
|
* Fix qsort_r sysdep detectionLaurent Bercot2025-10-232-8/+20
|
* Add libplaynice with keventbridge.hLaurent Bercot2025-10-221-0/+15
|
* Change prsetchildsubreaper sysdep to prctl, add procctl sysdepLaurent Bercot2025-10-222-0/+12
|
* More sysdepsLaurent Bercot2025-10-203-0/+40
|
* Add qsortr, env_dump4Laurent Bercot2025-08-192-0/+38
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Try once more to support MacOS 10.4Laurent Bercot2025-05-312-0/+6
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Try another approach for the stat.h workaroundLaurent Bercot2025-05-302-2/+6
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Fix stupidity previously addedLaurent Bercot2025-05-262-2/+0
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Try and fix statatim(espec) sysdeps for old MacOSLaurent Bercot2025-05-261-0/+3
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Deprioritize getexecname(), it's badLaurent Bercot2025-04-031-0/+4
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add dladdr sysdepLaurent Bercot2025-04-021-0/+33
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add sagetexecname() and all the necessary infrastructureLaurent Bercot2025-04-025-0/+68
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add sysdep for CLONE_NEWPID and fork_newpid functionLaurent Bercot2024-09-121-0/+36
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* More support for old MacOS fossilsLaurent Bercot2024-04-161-0/+22
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Tentative support for old MacOS with no O_CLOEXECLaurent Bercot2024-04-161-0/+5
| | | | | | Also add a prototype for gol, not finished yet. Signed-off-by: Laurent Bercot <ska@appnovation.com>
* ok, AIX can *still* fuck offLaurent Bercot2023-12-131-7/+0
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* hahaha noLaurent Bercot2023-12-131-2/+1
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* maybe maybe maybeLaurent Bercot2023-12-131-0/+8
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Fix trypthread.c to work with old compilersLaurent Bercot2023-11-181-1/+2
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Try another workaround for bad struct statLaurent Bercot2023-09-121-0/+3
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* New sysdeps for st.st_atim etc., timespec_cmpLaurent Bercot2023-09-122-0/+18
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add waitid() sysdep, and fuck OpenBSDLaurent Bercot2023-09-121-0/+12
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add POSIX_SPAWN_SETSID_NP supportLaurent Bercot2023-09-111-0/+30
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add posix_spawn_file_actions_addchdir() supportLaurent Bercot2023-09-112-0/+62
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add a pthread sysdepLaurent Bercot2023-09-111-0/+24
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add POSIX_SPAWN_SETSID support to cspawnLaurent Bercot2023-09-101-0/+30
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* posix_spawn workaround fixesLaurent Bercot2023-06-291-1/+1
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add workaround for bad QoI posix_spawn()Laurent Bercot2023-06-281-0/+24
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add sysdep for GRND_INSECURELaurent Bercot2022-03-271-0/+16
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add chroot sysdep, fix endianness sysdep string in .hLaurent Bercot2020-12-141-0/+20
|
* Switch getrandom sysdep back to choose clLaurent Bercot2019-10-261-0/+6
|
* THAT'S IT WE HAVE EASY CROSS-COMPILATION FOLKSLaurent Bercot2019-09-201-43/+0
|
* We're down to ONE rogue sysdep, boys. ONE.Laurent Bercot2019-09-203-53/+0
|
* sysdeps redesign: first part: minimize clr testsLaurent Bercot2019-09-205-33/+30
| | | | | | | | Remaining clr: emptyregex: can be safely guessed to no nullispointer: can't be safely guessed, but do we need the test? devurandom: can't be safely guessed malloc0: can more or less be safely guessed to no
* Big wallclock/stopwatch refactor. It was long overdue.Laurent Bercot2019-09-031-0/+10
| | | | | | | | | | | | | * --enable-clock and --enable-monotonic are gone * tain_sysclock() has been renamed tain_wallclock_read() * tain_wallclock_read() reads from CLOCK_REALTIME (or gettimeofday()) * tain_clockmon[_init]() have been renamed to tain_stopwatch_[read|init]() and now accept a monotonic clock name as an extra argument * tain_now() points to the system (wall) clock by default * tain_now_set_[stopwatch|wallclock]() can be used to switch Now to make a pass on all skarnet.org programs and add a tain_now_set_stopwatch() call everywhere needed... >.>
* Add tryemptyregex/skalibs_regcomp, prepare for 2.8.1.0Laurent Bercot2019-05-111-0/+16
|
* Add skalibs/posixishard.hLaurent Bercot2019-02-191-9/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | This will break things. It's a known issue. Patches to other packages will come later, to adapt them to the new API. To work around brokenness, there needs to be *two* different headers: 1. one to be used before including system headers, that maximizes visibility by enabling system-dependent feature test macros (that will be tested by system headers) 2. one to be used after including system headers, that performs preprocessor tests and defines. skalibs/nonposix.h is the first one. Previously, there was no second one, and the tests were scattered all over. There was a strnlen declaration in skalibs/posixplz.h (which serves a totally different function: declaring things that should be in POSIX, but *are not*, i.e. working around problems in the standard, instead of problems in systems failing to respect the standard), a build-time sysdep for error.h, #defines for MSG_NOSIGNAL, etc. etc. skalibs/posixishard.h now is the second one, and centralizes all the tests. As a result, the eproto sysdep is unnecessary and has been removed. skalibs/error.h is now a static header, it is not built anymore.
* Add DragonFly macro; remove nbwaitall and ancilautocloseLaurent Bercot2019-02-192-133/+0
|
* Get rid of tryancilautoclose testLaurent Bercot2019-02-181-108/+6
|
* Add nullispointer sysdepLaurent Bercot2018-05-031-0/+12
|
* Add byte_zzero, openb_readLaurent Bercot2018-03-011-0/+30
|
* Try strnlen() portability with _POSIX_C_SOURCE...Laurent Bercot2018-01-131-3/+0
|