Systemd/src
Lennart Poettering 30874dda3a dev-setup: generalize logic we use to create "inaccessible" device nodes
Let's generalize this, so that we can use this in nspawn later on, which
is pretty useful as we need to be able to mask files from the inner
child of nspawn too, where the host's /run/systemd/inaccessible
directory is not visible anymore. Moreover, if nspawn can create these
nodes on its own before the payload this means the payload can run with
fewer privileges.
2018-11-29 20:21:40 +01:00
..
ac-power coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
activate coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
analyze analyze: Fix build without seccomp (#10899) 2018-11-24 02:40:32 +09:00
ask-password coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
backlight tree-wide: port various places over to STARTSWITH_SET() 2018-11-26 14:08:46 +01:00
basic fs-util: beef up chmod_and_chown() a bit 2018-11-29 20:21:39 +01:00
binfmt coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
boot sd-boot: fix trailing whitespace trimming 2018-11-26 06:43:36 +09:00
busctl busctl: use new JSON_BUILD_PAIR_CONDITIONAL() for minimizing bus message JSON transformations 2018-11-28 08:38:55 +01:00
cgls coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
cgroups-agent log: introduce new helper call log_setup_service() 2018-11-20 11:18:22 +01:00
cgtop coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
core dev-setup: generalize logic we use to create "inaccessible" device nodes 2018-11-29 20:21:40 +01:00
coredump coccinelle: also mark previous synthetic errnos as such 2018-11-22 10:54:38 +01:00
cryptsetup tree-wide: port various places over to STARTSWITH_SET() 2018-11-26 14:08:46 +01:00
debug-generator coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
delta coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
detect-virt coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
dissect coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
environment-d-generator Drop my copyright headers 2018-06-14 13:03:20 +02:00
escape coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
firstboot coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
fsck basic/main-func: propagate all positive return values 2018-11-20 16:48:21 +01:00
fstab-generator coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
fuzz Merge pull request #10952 from evverx/keep-fuzz-udev-rules-going 2018-11-28 11:33:27 +09:00
getty-generator generators: drop umask calls 2018-11-21 13:40:24 +01:00
gpt-auto-generator generators: drop umask calls 2018-11-21 13:40:24 +01:00
hibernate-resume coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
hostname Split out pretty-print.c and move pager.c and main-func.h to shared/ 2018-11-20 18:40:02 +01:00
hwdb Split out pretty-print.c and move pager.c and main-func.h to shared/ 2018-11-20 18:40:02 +01:00
id128 coccinelle: also mark previous synthetic errnos as such 2018-11-22 10:54:38 +01:00
import import: properly fail if tar exited non-zero, not just when it segfaulted or such 2018-11-26 18:09:01 +01:00
initctl coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
journal catalog: reject entries where the language is too short early 2018-11-29 13:41:40 +09:00
journal-remote journal-upload: use static initialization 2018-11-26 14:08:46 +01:00
kernel-install kernel-install: teach bot loader spec entry generator to generate entries with "tries" 2018-10-19 22:34:50 +02:00
libsystemd tree-wide: port various parts of the code to use parse_dev() 2018-11-29 20:03:56 +01:00
libsystemd-network tree-wide: more IOVEC_MAKE() conversions 2018-11-28 13:08:19 +09:00
libudev libudev: drop unnecessary check 2018-11-23 09:16:11 +01:00
locale locale: define main through macro 2018-11-23 06:22:30 +09:00
login logind: validate majors/minors we receieve via the bus 2018-11-29 20:02:39 +01:00
machine Merge pull request #10989 from keszybz/nss-man 2018-11-29 19:28:39 +01:00
machine-id-setup coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
modules-load modules-load: use static destructor and DEFINE_MAIN_FUNCTION() macro 2018-11-20 18:40:02 +01:00
mount coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
network networkd: vxlan make use of parse_ip_port_range 2018-11-29 14:04:26 +01:00
notify coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
nspawn nspawn: let's also pre-mount /dev/mqueue 2018-11-29 20:21:40 +01:00
nss-myhostname nss: do not modify errno when NSS_STATUS_NOTFOUND or NSS_STATUS_SUCCESS 2018-07-25 10:23:22 +02:00
nss-mymachines Merge pull request #9504 from poettering/nss-deadlock 2018-07-26 10:16:25 +02:00
nss-resolve Merge pull request #9504 from poettering/nss-deadlock 2018-07-26 10:16:25 +02:00
nss-systemd nss: do not modify errno when NSS_STATUS_NOTFOUND or NSS_STATUS_SUCCESS 2018-07-25 10:23:22 +02:00
partition tree-wide: port various parts of the code over to the new device_major_minor_path() calls 2018-11-29 20:21:39 +01:00
path coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
portable coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
quotacheck coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
random-seed coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
rc-local-generator rc-local-generator: provide more debugging information 2018-11-27 15:24:07 +01:00
remount-fs coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
reply-password log: introduce new helper call log_setup_service() 2018-11-20 11:18:22 +01:00
resolve resolved: Increase size of TCP stub replies 2018-11-28 14:06:36 +01:00
rfkill rfkill: define main through macro 2018-11-23 06:22:30 +09:00
run tree-wide: port various places over to STARTSWITH_SET() 2018-11-26 14:08:46 +01:00
run-generator add new run-generator 2018-11-27 09:44:40 +01:00
shared dev-setup: generalize logic we use to create "inaccessible" device nodes 2018-11-29 20:21:40 +01:00
sleep coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
socket-proxy socket-proxy: define main through macro 2018-11-23 06:22:30 +09:00
stdio-bridge coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
sulogin-shell log: introduce new helper call log_setup_service() 2018-11-20 11:18:22 +01:00
sysctl coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
system-update-generator generators: drop umask calls 2018-11-21 13:40:24 +01:00
systemctl systemctl: if service manager couldn't load unit file, don't rely on it to tell us the fragment path 2018-11-29 11:25:32 +01:00
systemd networkd: add support to configure ip rule port range and protocol. 2018-11-28 20:06:28 +05:30
sysusers sysusers: use ordered_hashmap_steal_first_key_and_value() 2018-11-23 06:22:30 +09:00
sysv-generator generators: drop umask calls 2018-11-21 13:40:24 +01:00
test dev-setup: generalize logic we use to create "inaccessible" device nodes 2018-11-29 20:21:40 +01:00
time-wait-sync time-wait: define main through macro 2018-11-23 06:22:30 +09:00
timedate timedate: define main through macro 2018-11-23 06:22:30 +09:00
timesync coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
tmpfiles tree-wide: port various parts of the code to use parse_dev() 2018-11-29 20:03:56 +01:00
tty-ask-password-agent coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
udev tree-wide: use IOVEC_MAKE() at many places 2018-11-27 10:12:27 +01:00
update-done update-done: quit earlier on failure 2018-11-23 06:22:30 +09:00
update-utmp update-utmp: use _cleanup_ attribute to finalize process 2018-11-23 06:22:30 +09:00
user-sessions coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
vconsole vconsole: Don't skip udev call for dummy device 2018-11-22 00:59:24 +01:00
veritysetup veritysetup-generator: use static destructors and define main through macro 2018-11-23 06:22:30 +09:00
volatile-root coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00