Experimental command line utilities for runscripts and etc.
- C 59.6%
- Roff 36.6%
- Meson 3%
- M4 0.8%
| man1 | add pidfd utilities | |
| src | build reaperhack | |
| .gitignore | do not use a bespoke build system | |
| meson.build | build reaperhack | |
| meson_options.txt | cenvfile: drop | |
| README.md | cenvfile: drop | |
An assortment of utilities I found useful on my machine(tm).
Most of them are designed as standalone "software tools", useful in scenarios like:
- ad hoc command line usage
- run scripts for
daemontoolsand derivatives - "helpers" in programming languages that can work with external programs
- prefixes to
command=/Exec=directives in other supervisors
Other than local-reaper + reaperhack, they're 100% useful without one
another.
Current functionality:
- Miscellaneous Linux
prctls (local-reaper,pdeathsig). - Turning the read end of a pipe into a seekable file descriptor
(
memfd-seekablepipe). - Preopening sockets for programs that use
sd_listen_fds(3)or its reimplementations (listen-fds). - Tracking double forking processes (
reaperhack, requireslocal-reaper). - poll(2) from the shell (
ciopause). - socketpair(2) from the shell (
ipc-socketpair).
Read the enclosed manuals for more information and a few examples.
Dependencies:
meson/muon(build-time).- skalibs (build-time and runtime for most programs, except
local-reaper,reaperhackandmemfd-seekablepipe) - execline (build-time and runtime for
listen-fdsandciopause).
Portable tools:
recvfd/sendfd.ipc-socketpair
Somewhat portable tools:
listen-fds(but systemd's socket preopening API hasn't gained much traction outside of Linux).reaperhack(withnosh'slocal-reaper, only on FreeBSD).