about summary refs log tree commit diff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* bugfix: make lock-fd actually work! HEAD masterLaurent Bercot2024-09-121-2/+2
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Revert the fix, it's badLaurent Bercot2024-08-201-23/+10
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Tentatively fix selfpipe clobbering by notification-fdLaurent Bercot2024-08-181-10/+23
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* formatting bugfix in s6-socklogLaurent Bercot2024-08-091-1/+1
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Fix Solaris 10 buildLaurent Bercot2024-07-164-2/+8
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Tentative fix for s6_fdholder_setdump()Laurent Bercot2024-06-201-32/+34
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* s6-supervise: Don't add '(child)' to the end of PROGJosiah Frentsos via skaware2024-06-071-2/+1
| | | | | | | This has been unnecessary since commit 970bbeb622573a80381f0f32e6f287195182c0e0. Signed-off-by: Josiah Frentsos <jfrent@tilde.team>
* Add process group support to s6-superviseLaurent Bercot2024-05-076-47/+108
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* this is why I hate free's signatureLaurent Bercot2024-05-051-1/+1
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* s6-ftrigrd: don't have in-object pointers when reallocingLaurent Bercot2024-05-051-6/+15
| | | | | | | | | | | | | | Make all pointers out-of-object, even if that means an additional alloc. Objects that move need to be flat, so in the absence of a proper multi-object storage structure, deep allocs is the only solution. The alternative is to use gensetdyn so objects don't move, but here we already have a ftrig1_t, a stralloc and a regex_t making deep allocs, so who cares about one more - the overhead of gensetdyn is probably more expensive. Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Restore cleanups in s6-ftrigrd; fix an old bug and a new bugLaurent Bercot2024-05-033-13/+46
| | | | | | | | ftrigw_clean() didn't clean properly. ftrig1_make() didn't give enough perms to the fifo, notification could fail in certain cases. Signed-off-by: Laurent Bercot <ska@appnovation.com>
* bugfix: bad length computation in s6-ftrigrdLaurent Bercot2024-04-251-8/+10
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Don't limit the amount of fifodirs s6-ftrigrd can listen toLaurent Bercot2024-04-182-62/+41
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Prepare for 2.12.0.4; also close s6-svscan's stderr on exit when specialLaurent Bercot2024-04-151-0/+2
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Fix small UB when no selection in s6-logLaurent Bercot2023-12-181-1/+1
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Adapt to working socket_recv46()Laurent Bercot2023-12-111-1/+3
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Prepare for 2.12.0.2; fix scheduling of rescans/restarts in s6-svscanLaurent Bercot2023-11-201-2/+2
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* bugfix: s6-svscan didn't delay killing until scan. Prepare for 2.12.0.1.Laurent Bercot2023-11-081-13/+28
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* version: 2.12.0.0 v2.12.0.0Laurent Bercot2023-11-061-1/+0
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* s6-supervise: don't warn on ENOENT for ./finishLaurent Bercot2023-10-271-1/+1
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Fix old type defLaurent Bercot2023-10-121-1/+1
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Remove s6_ucspiserver_spawnLaurent Bercot2023-09-124-30/+0
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Defork s6-logLaurent Bercot2023-09-122-31/+18
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Defork s6-fghackLaurent Bercot2023-09-122-48/+20
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Defork s6-supervise (!)Laurent Bercot2023-09-111-127/+79
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Defork s6-sudodLaurent Bercot2023-09-113-36/+13
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Better s6-setlock; delete the s6lock subsystemLaurent Bercot2023-09-1119-672/+61
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Adapt to skalibs-2.14Laurent Bercot2023-09-099-134/+49
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* child_spawn_workaround is public nowLaurent Bercot2023-09-082-5/+1
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add ucspiserver.h, support posix_spawn() in s6-ipcserverdLaurent Bercot2023-09-086-41/+162
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Use open safe wrappers; remove debug boilerplateLaurent Bercot2023-07-062-68/+15
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Loosen nonzero servicedirs requirement on s6-svwait/s6-svlistenLaurent Bercot2023-06-252-2/+4
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Document new s6-svscan optionsLaurent Bercot2023-06-241-1/+1
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* More better debug infoLaurent Bercot2023-06-201-2/+2
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* More debug informationLaurent Bercot2023-06-201-12/+33
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* New and improved s6-svscanLaurent Bercot2023-06-141-337/+470
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Adapt s6-fdholderd to fixed iter_func typeLaurent Bercot2023-06-141-4/+4
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add -t lastlinetimeout option to s6-logLaurent Bercot2023-05-261-31/+40
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add s6-svc -s; prepare for 2.11.4.0Laurent Bercot2023-05-251-2/+30
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Simplify selfpipe managementLaurent Bercot2023-04-077-21/+16
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Remove obsolete declarationLaurent Bercot2023-03-091-1/+0
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Prepare for 2.11.3.1, rlimit shenanigansLaurent Bercot2023-02-261-4/+16
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Autodetect socket endpoints in s6-ioconnect, deprecate -0167Laurent Bercot2023-02-091-17/+28
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Copy the new template, not the old one!Laurent Bercot2023-02-081-10/+15
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add s6_servicedir_instances_recreate_offline functionsLaurent Bercot2023-02-084-0/+90
| | | | | | | This will be used for more transparent instance management in s6-rc. Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add s6-svc -QLaurent Bercot2023-02-062-25/+26
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Don't create instance/instances subdirs in s6-rc source defsLaurent Bercot2023-01-311-8/+10
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Prepare for 2.11.2.1, move template location, change file listLaurent Bercot2023-01-313-6/+20
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* More bugfixesLaurent Bercot2023-01-112-63/+56
| | | | | | And doc fixes Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add s6-instance-list, s6-instance-status (no doc yet)Laurent Bercot2023-01-1011-37/+196
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>