From bc3863eaf3e4ae92eac8cd3ce0ca9dcb8915fc36 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Mon, 11 Sep 2023 08:13:01 +0000 Subject: Better s6-setlock; delete the s6lock subsystem Signed-off-by: Laurent Bercot --- NEWS | 4 +- doc/index.html | 10 +- doc/libs6/index.html | 2 - doc/libs6/lock.html | 239 ---------------------- doc/libs6/s6lockd-helper.html | 56 ----- doc/libs6/s6lockd.html | 75 ------- doc/s6-setlock.html | 16 +- doc/upgrade.html | 6 +- package/deps.mak | 36 +--- package/info | 2 +- package/modes | 2 - package/targets.mak | 3 - src/conn-tools/deps-exe/s6-ipcserverd | 1 - src/conn-tools/s6-ipcserverd.c | 31 +-- src/daemontools-extras/deps-exe/s6-setlock | 4 +- src/daemontools-extras/s6-setlock.c | 87 ++++---- src/libs6/deps-lib/s6 | 10 - src/libs6/deps-lib/s6lockd | 1 - src/libs6/s6lock_acquire.c | 41 ---- src/libs6/s6lock_check.c | 24 --- src/libs6/s6lock_end.c | 15 -- src/libs6/s6lock_release.c | 23 --- src/libs6/s6lock_start.c | 9 - src/libs6/s6lock_startf.c | 13 -- src/libs6/s6lock_update.c | 37 ---- src/libs6/s6lock_wait_and.c | 25 --- src/libs6/s6lock_wait_or.c | 32 --- src/libs6/s6lock_zero.c | 5 - src/libs6/s6lockd-helper.c | 22 -- src/libs6/s6lockd.c | 318 ----------------------------- src/libs6/s6lockd_openandlock.c | 35 ---- 31 files changed, 87 insertions(+), 1097 deletions(-) delete mode 100644 doc/libs6/lock.html delete mode 100644 doc/libs6/s6lockd-helper.html delete mode 100644 doc/libs6/s6lockd.html delete mode 100644 src/libs6/deps-lib/s6lockd delete mode 100644 src/libs6/s6lock_acquire.c delete mode 100644 src/libs6/s6lock_check.c delete mode 100644 src/libs6/s6lock_end.c delete mode 100644 src/libs6/s6lock_release.c delete mode 100644 src/libs6/s6lock_start.c delete mode 100644 src/libs6/s6lock_startf.c delete mode 100644 src/libs6/s6lock_update.c delete mode 100644 src/libs6/s6lock_wait_and.c delete mode 100644 src/libs6/s6lock_wait_or.c delete mode 100644 src/libs6/s6lock_zero.c delete mode 100644 src/libs6/s6lockd-helper.c delete mode 100644 src/libs6/s6lockd.c delete mode 100644 src/libs6/s6lockd_openandlock.c diff --git a/NEWS b/NEWS index c713d1f..9708367 100644 --- a/NEWS +++ b/NEWS @@ -1,13 +1,13 @@ Changelog for s6. -In 2.11.4.0 +In 2.12.0.0 ----------- - New option to s6-svc: -s, to specify a signal by name (or number). - New option to s6-log: -t, to specify a timeout for partial last lines. - s6-svscan rewrite: no more quadratic reaps, no more forced 1s wait on shutdown - Eliminated fork() wherever possible on systems supporting posix_spawn() - - New s6_ucspiserver_spawn() library function + - Obsolete s6lockd subsystem removed. In 2.11.3.2 diff --git a/doc/index.html b/doc/index.html index 4753a6b..9fdd34c 100644 --- a/doc/index.html +++ b/doc/index.html @@ -115,7 +115,7 @@ want nsswitch-like functionality:

Download

-

Timed lock acquisition

- - -

fd-holding, a.k.a. the sensible part of socket activation