about summary refs log tree commit diff
path: root/src/libenvexec
Commit message (Collapse)AuthorAgeFilesLines
* bugfix: cspawn (fork): attributes must be handled before file actions!Laurent Bercot2024-08-201-4/+4
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Make env_mergen a symbol again (to avoid ABI breakage)Laurent Bercot2024-05-041-0/+9
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add mspawn functions to cspawn.h; move everything to libenvexecLaurent Bercot2024-04-3019-32/+688
| | | | 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>
* 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>
* Add sals, several refactorsLaurent Bercot2023-02-092-14/+6
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Prepare for 2.13.0.0, revamp strerrLaurent Bercot2022-11-299-9/+9
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Fix envdir_noclampLaurent Bercot2022-02-271-3/+3
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Bloat envdir with a noclamp optionLaurent Bercot2022-02-254-77/+204
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Some trivial bugfixes and cleanupsLaurent Bercot2020-12-072-2/+2
|
* trivial bugfixLaurent Bercot2020-11-261-1/+1
|
* Complete revamp of the pathexec functionsLaurent Bercot2020-11-2434-0/+571
- pathexec_run is now called exec_ae a for provided file name (default: argv[0]) e for provided envp (default: environ) - pathexec is now called mexec. m for merge environment. Option letters are: a for provided file name (default: argv[0]) e for provided envp (default: environ) f for provided envp *and* length of the envp m for provided modif string plus its length (the length is always needed because the modifs are null-terminated) n for provided modif string, length *and* number of modifs - functions have a foo0 version for _exit(0) when argv[0] is null - functions have a xfoo version to die if the exec fails - and a xfoo0 - Compatibility #defines and #includes are there until the next major bump