about summary refs log tree commit diff
path: root/src/include
Commit message (Collapse)AuthorAgeFilesLines
* Add process group support to s6-superviseLaurent Bercot2024-05-071-1/+3
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Don't limit the amount of fifodirs s6-ftrigrd can listen toLaurent Bercot2024-04-181-2/+2
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Remove s6_ucspiserver_spawnLaurent Bercot2023-09-122-11/+0
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add ucspiserver.h, support posix_spawn() in s6-ipcserverdLaurent Bercot2023-09-082-0/+11
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Remove obsolete declarationLaurent Bercot2023-03-091-1/+0
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add s6_servicedir_instances_recreate_offline functionsLaurent Bercot2023-02-081-0/+5
| | | | | | | This will be used for more transparent instance management in s6-rc. Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add s6-instance-list, s6-instance-status (no doc yet)Laurent Bercot2023-01-101-0/+2
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Refactor libs6auto, add s6-instance-maker (untested)Laurent Bercot2022-12-231-1/+11
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Factor s6_auto_write_logrun into a new libs6autoLaurent Bercot2022-08-202-0/+12
| | | | | | libs6auto distinct from libs6 because of execline dep. Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add s6_servicedir_file_listLaurent Bercot2022-08-181-0/+29
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Pass errno as unsigned charLaurent Bercot2021-09-021-1/+1
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* s6-svlink, s6-svunlink, .h changesLaurent Bercot2021-08-304-8/+8
| | | | | | | | | Renamed from s6-svdir-(un)link. Doc added. Full functionality added. Still need to be tested. Unrelated: .h names simplified. Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Add s6-svdir-link and s6-svdir-unlinkLaurent Bercot2021-08-281-0/+2
| | | | | | Not tested yet; not documented yet; to come soon. Signed-off-by: Laurent Bercot <ska@appnovation.com>
* skalibs-2.11.0.0 API changeLaurent Bercot2021-08-095-41/+41
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* Prepare for 2.11.0.0, adapt to skalibs-2.11.0.0 (cdb changes)Laurent Bercot2021-07-231-3/+3
| | | | Signed-off-by: Laurent Bercot <ska@appnovation.com>
* bugfix: call ftrigrd and lockd via the non-versioned pathLaurent Bercot2021-02-262-2/+2
|
* Do not use 'scandir' as a variable name, thanks posixLaurent Bercot2020-12-071-1/+1
|
* Add s6_supervise_link and s6_supervise_unlink for future s6-rc changeLaurent Bercot2020-12-041-6/+5
|
* Make execline dependency optionalLaurent Bercot2019-12-232-0/+21
| | | | | | | | | | | | | | | | This includes: - adding a configure option to disable execline support - duplicating el_semicolon() and el_getstrict() into the s6 library when execline is disabled at build time, making a compat shim and using it where needed (s6-svlisten, s6-ftrig-listen) - Creating alternatives for execlineb script spawning: * s6-log: '?' directive (done in the previous commit) * s6-notifyoncheck: require hardcoding the check in ./data/check * s6-ipcserver-access: no support for exec files, add a warning - Updating the relevant parts of the doc --enable-execline will remain the default, and whiners can choke on their tears.
* bugfix: s6lockd-helper is in LIBEXECPREFIXLaurent Bercot2018-09-061-1/+1
| | | | Thanks to Shengjing Zhu.
* Add death tally support to s6-supervise, throttling support to s6_svstatus_tLaurent Bercot2018-03-201-1/+21
|
* Port ftrigr and s6lock to textclientLaurent Bercot2017-12-222-11/+9
|
* Add s6_fdholder_start/end, prepare for 2.6.2.0Laurent Bercot2017-11-271-1/+8
|
* Fix fd leak in s6_svc_lock_releaseLaurent Bercot2017-08-191-2/+1
|
* Add ftrigr_updateb()Laurent Bercot2017-07-161-1/+5
|
* Add s6_svc_lock_take() and s6_svc_lock_release()Laurent Bercot2017-07-121-0/+4
| | | | | | Allows fixing a race condition in s6-rc-init. s6-supervise also creates event/ before supervise/ so that locking the servicedir ensures event/ can be used.
* Add ftrigr_checksa(), rewrite s6_svlisten_loop() around itLaurent Bercot2017-06-141-3/+4
| | | | | | | - Fixes the race condition hit by permanent failure, i.e. two ftrig events close to each other - Requires storing the sequence of events client-side, so an additional stralloc, bleh - The visible struct ftrigr_s changes, so a major bump is needed -> prepare for 2.6.0.0 - ftrigr_check() is now a trivial wrapper around ftrigr_checksa()
* Stop using flagwant; new s6-svstat API; s6-svwait's timeout exitcode is now 99Laurent Bercot2017-03-251-1/+1
|
* Cleanup of superfluous includesLaurent Bercot2017-03-131-1/+0
|
* Adapt to skalibs-2.5.0.0Laurent Bercot2017-03-123-21/+20
|
* Types fix, first passLaurent Bercot2017-01-123-7/+17
|
* Bugfix: definition of the s6_fdholder_delete_g macro v2.2.1.0Laurent Bercot2015-09-231-1/+1
|
* add s6_svc_ok in libs6, refactor s6-svokLaurent Bercot2015-09-011-0/+1
|
* - Add timeout-finish support and "down-readiness"Laurent Bercot2015-07-201-9/+14
| | | | | | | - LOTS of refactoring to make this work - Remove s6-notifywhenup - s6-supervise now rocks the casbah - rc for 2.2.0.0
* - added s6-fdholder-delete(c)Laurent Bercot2015-01-261-1/+1
| | | | | | - small s6-fdholder-* fixes - s6-fdholder documentation (in review) - s6_svstatus_* bugfix (thanks Olivier Brunel)
* - add s6_accessrules_params_freeLaurent Bercot2015-01-232-6/+8
| | | | - some libfdholder debug
* Add readiness support to s6-svstatLaurent Bercot2015-01-201-0/+1
|
* - added the s6_fdholder library to libs6. (Nothing useful yet.)Laurent Bercot2015-01-193-5/+95
| | | | | | | | | | - fixed execline invocation in s6-log with slashpackage - integrated s6_svc_main.c's functionality into s6-svscanctl and deleted it - integrated Olivier Brunel's suggestions for wstat report in supervise/status - minor fixes to s6-supervise's status reports - separated sigaction calls in ftrigw_notifyb, this spares a few syscalls in s6-supervise - updated doc to reflect the changes - version bumped to 2.1.0.0 because API breakage (./finish, s6-svstat)
* Move Unix domain utilities and access control utilites,Laurent Bercot2015-01-152-0/+54
| | | | as well as the accessrules library, from s6-networking to here
* - Parallel build fix v2.0.1.0Laurent Bercot2015-01-141-0/+1
| | | | | - Complete readiness notification via supervise/ready - Version updated to 2.0.1.0, release candidate
* Use ftrigw_notify_b in s6-ftrig-notifyLaurent Bercot2014-12-071-0/+3
|
* Rewrite s6-ftrigrd to avoid moving buffers (and pointers in them)Laurent Bercot2014-12-071-0/+2
|
* fix: (EXT)BINPREFIX needs an ending /. Revert bad fix in s6lock.h and ftrigr.hLaurent Bercot2014-12-062-3/+3
|
* Initial commitLaurent Bercot2014-12-055-0/+231