Systemd/src
Lennart Poettering a354329f72 core: add new logic for services to store file descriptors in PID 1
With this change it is possible to send file descriptors to PID 1, via
sd_pid_notify_with_fds() which PID 1 will store individually for each
service, and pass via the usual fd passing logic on next invocation.
This is useful for enable daemon reload schemes where daemons serialize
their state to /run, push their fds into PID 1 and terminate, restoring
their state on next start from the data in /run and passed in from PID
1.

The fds are kept by PID 1 as long as no POLLHUP or POLLERR is seen on
them, and the service they belong to are either not dead or failed, or
have a job queued.
2015-01-06 03:16:39 +01:00
..
ac-power treewide: no need to negate errno for log_*_errno() 2014-11-28 13:29:21 +01:00
activate treewide: another round of simplifications 2014-11-28 19:57:32 +01:00
analyze sd-bus: rename sd_bus_open_system_container() to sd_bus_open_system_machine() 2014-12-24 16:53:04 +01:00
ask-password ask-password: Add --echo to enable echoing the user input 2014-10-05 15:29:41 -04:00
backlight treewide: use log_*_errno whenever %m is in the format string 2014-11-28 19:49:27 +01:00
binfmt treewide: use log_*_errno whenever %m is in the format string 2014-11-28 19:49:27 +01:00
boot Unify parse_argv style 2014-08-03 21:46:07 -04:00
bootchart bootchart: escape non printable process name 2014-12-04 02:10:41 +01:00
bus-proxyd bus-proxyd: don't allow to acquire org.freedesktop.DBus name 2015-01-05 16:02:59 +01:00
cgls treewide: use log_*_errno whenever %m is in the format string 2014-11-28 19:49:27 +01:00
cgroups-agent treewide: no need to negate errno for log_*_errno() 2014-11-28 13:29:21 +01:00
cgtop treewide: no need to negate errno for log_*_errno() 2014-11-28 13:29:21 +01:00
compat-libs
console treewide: use log_*_errno whenever %m is in the format string 2014-11-28 19:49:27 +01:00
core core: add new logic for services to store file descriptors in PID 1 2015-01-06 03:16:39 +01:00
cryptsetup cryptsetup-generator: Add support for naming luks devices on kernel cmdline 2014-12-05 01:29:45 +01:00
dbus1-generator treewide: another round of simplifications 2014-11-28 19:57:32 +01:00
debug-generator treewide: use log_*_errno whenever %m is in the format string 2014-11-28 19:49:27 +01:00
delta delta: fix output alignment of [REDIRECTED] entries 2014-12-14 12:54:17 -05:00
detect-virt treewide: no need to negate errno for log_*_errno() 2014-11-28 13:29:21 +01:00
efi-boot-generator treewide: use log_*_errno whenever %m is in the format string 2014-11-28 19:49:27 +01:00
escape Unify parse_argv style 2014-08-03 21:46:07 -04:00
firstboot treewide: another round of simplifications 2014-11-28 19:57:32 +01:00
fsck sd-bus: move common errors src/shared/bus-errors.h → src/libsystemd/sd-bus/bus-common-errors.h 2014-12-10 19:07:48 +01:00
fstab-generator fstab-generator: use more appropriate checks for swap and device availability 2015-01-05 12:35:08 +01:00
getty-generator treewide: use log_*_errno whenever %m is in the format string 2014-11-28 19:49:27 +01:00
gpt-auto-generator gpt-auto-generator: make use of new btrfs-util.h APIs 2014-12-12 13:35:32 +01:00
gudev gudev: replace regex with sym file 2014-06-21 16:25:15 +02:00
hibernate-resume treewide: another round of simplifications 2014-11-28 19:57:32 +01:00
hostname tmpfiles: add new line type 'v' for creating btrfs subvolumes 2014-12-28 02:08:40 +01:00
hwdb systemd-hwdb: port to new verbs helper 2014-12-19 03:02:55 +01:00
import import: fix mem-leak in CurlGlue 2014-12-31 16:01:37 +01:00
initctl treewide: use log_*_errno whenever %m is in the format string 2014-11-28 19:49:27 +01:00
journal journald: reuse IOVEC_TOTAL_SIZE() macros where possible 2015-01-05 02:57:36 +01:00
journal-remote journal: install sigbus handler for journal tools too 2015-01-05 01:40:51 +01:00
kernel-install kernel-install/90-loaderentry.install: fix cmdline parsing 2014-11-01 14:39:48 -04:00
libsystemd core: add new logic for services to store file descriptors in PID 1 2015-01-06 03:16:39 +01:00
libsystemd-network libsystemd-network: fix typo in lldp 2015-01-05 12:34:11 +01:00
libsystemd-terminal Revert commit f131770b "tree-wide: spelling fixes" 2014-12-31 13:34:21 +01:00
libudev libudev: fix strict aliasing violation 2014-12-25 10:55:41 -05:00
locale tmpfiles: add new line type 'v' for creating btrfs subvolumes 2014-12-28 02:08:40 +01:00
login Remove "to allow" from policy messages 2015-01-01 09:45:04 -05:00
machine machinectl: remove spurious newline 2015-01-05 13:47:03 +01:00
machine-id-commit machine-id-commit: Introduce machine-id-commit binary 2014-12-03 03:41:19 +01:00
machine-id-setup Unify parse_argv style 2014-08-03 21:46:07 -04:00
modules-load treewide: use log_*_errno whenever %m is in the format string 2014-11-28 19:49:27 +01:00
network networkctl: avoid potential use of unitialized variables 2015-01-01 13:36:44 -05:00
notify treewide: no need to negate errno for log_*_errno() 2014-11-28 13:29:21 +01:00
nspawn nspawn: mount most of the cgroup tree read-only in nspawn containers except for the container's own subtree in the name=systemd hierarchy 2015-01-05 01:40:51 +01:00
nss-myhostname nss-myhostname: always will in canonical hostname field when resolving addresses to hostnames 2015-01-05 16:24:41 +01:00
nss-mymachines nss: remove dead code 2014-09-19 00:15:39 +02:00
nss-resolve sd-bus: move common errors src/shared/bus-errors.h → src/libsystemd/sd-bus/bus-common-errors.h 2014-12-10 19:07:48 +01:00
path treewide: yet more log_*_errno + return simplifications 2014-11-28 18:56:16 +01:00
python-systemd python-systemd: avoid hitting assert in __exit__ 2014-10-14 08:35:16 -04:00
quotacheck delta: diff returns 1 when files differ, ignore this 2014-11-29 11:10:51 -05:00
random-seed treewide: sanitize loop_write 2014-12-09 21:36:08 -05:00
rc-local-generator treewide: use log_*_errno whenever %m is in the format string 2014-11-28 19:49:27 +01:00
remount-fs treewide: use log_*_errno whenever %m is in the format string 2014-11-28 19:49:27 +01:00
reply-password treewide: another round of simplifications 2014-11-28 19:57:32 +01:00
resolve tree-wide: spelling fixes 2014-12-30 20:07:04 -05:00
resolve-host sd-bus: move common errors src/shared/bus-errors.h → src/libsystemd/sd-bus/bus-common-errors.h 2014-12-10 19:07:48 +01:00
rfkill rfkill: rework how we generate file names from rfkill devices 2014-12-03 02:04:55 +01:00
run run: uninitialized variable 2014-12-25 10:57:37 -05:00
shared core: add new logic for services to store file descriptors in PID 1 2015-01-06 03:16:39 +01:00
shutdownd treewide: use log_*_errno whenever %m is in the format string 2014-11-28 19:49:27 +01:00
sleep sleep: drop redundant MESSAGE= prefix 2014-12-09 03:58:20 +01:00
socket-proxy treewide: another round of simplifications 2014-11-28 19:57:32 +01:00
sysctl treewide: use log_*_errno whenever %m is in the format string 2014-11-28 19:49:27 +01:00
system-update-generator treewide: another round of simplifications 2014-11-28 19:57:32 +01:00
systemctl path-lookup, systemctl: export lookup_paths_init_from_scope() from shared/install.c and use it 2015-01-05 11:13:30 -05:00
systemd core: add new logic for services to store file descriptors in PID 1 2015-01-06 03:16:39 +01:00
sysusers tmpfiles: add new line type 'v' for creating btrfs subvolumes 2014-12-28 02:08:40 +01:00
sysv-generator sysv-generator: properly add Makefile symlink 2014-12-19 20:04:55 +01:00
test journald: process SIGBUS for the memory maps we set up 2015-01-05 01:40:51 +01:00
timedate tmpfiles: add new line type 'v' for creating btrfs subvolumes 2014-12-28 02:08:40 +01:00
timesync timesync: remove square(), use pow instead 2014-12-25 10:55:41 -05:00
tmpfiles tmpfiles: fix 'D' lines 2015-01-05 16:32:59 +01:00
tty-ask-password-agent util: rename ignore_file() to hidden_file() 2014-12-19 20:03:36 +01:00
udev udevadm,..: make --help output of udev tools more like the output of the various other tools 2015-01-05 13:19:55 +01:00
update-done tmpfiles: add new line type 'v' for creating btrfs subvolumes 2014-12-28 02:08:40 +01:00
update-utmp treewide: use log_*_errno whenever %m is in the format string 2014-11-28 19:49:27 +01:00
vconsole treewide: sanitize loop_write 2014-12-09 21:36:08 -05:00
.gitignore
Makefile