aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Deprioritize getexecname(), it's badLaurent Bercot2025-04-032-18/+22
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Declare main when taking its address >.>Laurent Bercot2025-04-021-0/+1
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add dladdr sysdepLaurent Bercot2025-04-021-0/+33
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* It's mach-o, not macho-o. (Or is it?)Laurent Bercot2025-04-021-1/+1
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add sagetexecname() and all the necessary infrastructureLaurent Bercot2025-04-027-0/+180
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Don't autoflush buffer_timed_putv; fix IFS bug in configureLaurent Bercot2025-03-251-3/+4
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Fix timed_get_g definition typoLaurent Bercot2025-03-221-1/+1
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* timed_read[v] needs sanitize_read()Laurent Bercot2025-03-222-2/+2
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add timed_write and timed_writevLaurent Bercot2025-03-223-0/+87
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Fix gol masksLaurent Bercot2025-03-111-2/+2
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add timed_read[v], buffer_timed_[get|put]vLaurent Bercot2025-03-015-1/+137
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add pid namespace support to cspawnLaurent Bercot2024-09-132-13/+5
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add sysdep for CLONE_NEWPID and fork_newpid functionLaurent Bercot2024-09-123-0/+104
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* bugfix: cspawn (fork): attributes must be handled before file actions!Laurent Bercot2024-08-201-4/+4
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Better iopause_selectLaurent Bercot2024-07-301-6/+3
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Fix small bugs, add autodelegation for IOPAUSE_EXCEPTLaurent Bercot2024-07-307-29/+76
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Prepare for 2.14.3.0; add mininetstring_read, cplz.hLaurent Bercot2024-07-054-0/+61
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* bugfix: unixmessage_put, fd bits initializationLaurent Bercot2024-06-214-15/+21
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Prepare for 2.4.2.1; align UNIXMESSAGE_MAXFDS to SCM_MAX_FDLaurent Bercot2024-06-201-1/+1
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Make env_mergen a symbol again (to avoid ABI breakage)Laurent Bercot2024-05-042-1/+10
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add mkptemp3Laurent Bercot2024-05-033-17/+27
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add mspawn functions to cspawn.h; move everything to libenvexecLaurent Bercot2024-04-3022-35/+168
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* More support for old MacOS fossilsLaurent Bercot2024-04-163-6/+49
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Try to make the damn thing buildLaurent Bercot2024-04-162-1/+4
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Fix gol headerLaurent Bercot2024-04-162-5/+7
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Tentative support for old MacOS with no O_CLOEXECLaurent Bercot2024-04-1654-59/+247
| | | | | | Also add a prototype for gol, not finished yet. Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Fix to the fix, because I'm an idiot.Laurent Bercot2024-04-021-2/+2
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Workaround for gcc 14 (and others!) incompatible-pointer-types stupidityLaurent Bercot2024-04-022-6/+6
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Support midipixLaurent Bercot2024-04-021-1/+1
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* bugfix: getlnmax must return 1 when the line just fits the out bufferLaurent Bercot2024-01-301-3/+4
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Do not free on failure to reallocate to size 0 (lol.)Laurent Bercot2024-01-181-1/+2
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Fix bitarray_not when within a single byteOlivier Brunel2024-01-021-1/+1
| | | | | | | Notably when a=0 (i.e. start on the first bit) it would affect the entire byte (all 8 bits). Signed-off-by: Olivier Brunel <jjk@jjacky.com>
* cspawn can use open3() over open() for consistencyLaurent Bercot2024-01-021-3/+1
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* env_mergen() should not fail, by policyLaurent Bercot2023-12-202-2/+2
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* More accurate max env size detection in env_mergenLaurent Bercot2023-12-201-2/+7
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* and one moreLaurent Bercot2023-12-181-1/+3
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Fix more small UBsLaurent Bercot2023-12-182-1/+2
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Don't smash 1 byte 1/8th of the timeLaurent Bercot2023-12-181-2/+5
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Actually add autosurf_name; fix cspawn leak in error pathLaurent Bercot2023-12-182-1/+10
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add autosurf_nameLaurent Bercot2023-12-151-1/+0
| | | | 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>
* Try to accommodate AIX more?... maybe maybe?Laurent Bercot2023-12-131-1/+1
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* socket_recv46 was never workingLaurent Bercot2023-12-116-10/+53
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Prepare for 2.14.1.0; add socket_sendnb46_g and socket_recvnb46_gLaurent Bercot2023-12-113-0/+5
| | | | 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>
* Prepare for 2.14.0.1. Better ip6_scan().Laurent Bercot2023-11-171-22/+74
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Typo fixesLaurent Bercot2023-10-301-2/+2
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Fix envalloc_mergeJosiah Frentsos via skaware2023-10-281-2/+3
| | | | | | | Currently, envalloc_merge incorrectly passes the total number of environment entries to env_mergen as the number of modifs. Signed-off-by: Josiah Frentsos <jfrent@tilde.team>