Systemd/src
Zbigniew Jędrzejewski-Szmek d7f69e16f1 tree-wide: make parse_proc_cmdline() strip "rd." prefix automatically
This stripping is contolled by a new boolean parameter. When the parameter
is true, it means that the caller does not care about the distinction between
initrd and real root, and wants to act on both rd-dot-prefixed and unprefixed
parameters in the initramfs, and only on the unprefixed parameters in real
root. If the parameter is false, behaviour is the same as before.

Changes by caller:
log.c (systemd.log_*):      changed to accept rd-dot-prefix params
pid1:                       no change, custom logic
cryptsetup-generator:       no change, still accepts rd-dot-prefix params
debug-generator:            no change, does not accept rd-dot-prefix params
fsck:                       changed to accept rd-dot-prefix params
fstab-generator:            no change, custom logic
gpt-auto-generator:         no change, custom logic
hibernate-resume-generator: no change, does not accept rd-dot-prefix params
journald:                   changed to accept rd-dot-prefix params
modules-load:               no change, still accepts rd-dot-prefix params
quote-check:                no change, does not accept rd-dot-prefix params
udevd:                      no change, still accepts rd-dot-prefix params

I added support for "rd." params in the three cases where I think it's
useful: logging, fsck options, journald forwarding options.
2016-10-22 16:08:55 -04:00
..
ac-power
activate activate: improve SIGCHLD handler 2016-04-05 14:34:04 +00:00
analyze analyze-verify: honour $SYSTEMD_UNIT_PATH, allow system paths to be ignored 2016-10-01 22:53:17 +02:00
ask-password ask-password: add option --no-output to not print password to stdout 2016-03-01 19:02:11 +01:00
backlight systemctl,networkctl,busctl,backlight: use STRPTR_IN_SET 2016-09-24 20:22:05 -04:00
basic tree-wide: make parse_proc_cmdline() strip "rd." prefix automatically 2016-10-22 16:08:55 -04:00
binfmt
boot bootctl: don't try to remove esp_path (#4407) 2016-10-19 21:15:20 +02:00
cgls core: rename cg_unified() to cg_all_unified() 2016-08-15 18:13:36 -04:00
cgroups-agent tree-wide: introduce new SOCKADDR_UN_LEN() macro, and use it everywhere 2016-05-05 22:24:36 +02:00
cgtop core: rename cg_unified() to cg_all_unified() 2016-08-15 18:13:36 -04:00
core tree-wide: make parse_proc_cmdline() strip "rd." prefix automatically 2016-10-22 16:08:55 -04:00
coredump coredump: use for() loop instead of while() 2016-10-12 22:49:01 +02:00
cryptsetup tree-wide: make parse_proc_cmdline() strip "rd." prefix automatically 2016-10-22 16:08:55 -04:00
dbus1-generator Ensure kdbus isn't used (#3501) 2016-06-18 17:24:23 -04:00
debug-generator tree-wide: make parse_proc_cmdline() strip "rd." prefix automatically 2016-10-22 16:08:55 -04:00
delta tree-wide: rename draw_special_char to special_glyph 2016-05-09 15:17:57 -04:00
detect-virt
escape
firstboot tree-wide: use sd_id128_is_null() instead of sd_id128_equal where appropriate 2016-07-22 12:38:08 +02:00
fsck tree-wide: make parse_proc_cmdline() strip "rd." prefix automatically 2016-10-22 16:08:55 -04:00
fstab-generator tree-wide: make parse_proc_cmdline() strip "rd." prefix automatically 2016-10-22 16:08:55 -04:00
getty-generator
gpt-auto-generator tree-wide: make parse_proc_cmdline() strip "rd." prefix automatically 2016-10-22 16:08:55 -04:00
hibernate-resume tree-wide: make parse_proc_cmdline() strip "rd." prefix automatically 2016-10-22 16:08:55 -04:00
hostname tree-wide: remove consecutive duplicate words in comments 2016-10-04 17:06:25 +02:00
hwdb hwdb: store file-name and file-number with properties 2016-09-21 15:18:28 +02:00
import tree-wide: use mfree more 2016-10-16 23:35:39 -04:00
initctl
journal tree-wide: make parse_proc_cmdline() strip "rd." prefix automatically 2016-10-22 16:08:55 -04:00
journal-remote tree-wide: introduce free_and_replace helper 2016-10-16 23:35:39 -04:00
kernel-install kernel-install: allow plugins to terminate the procedure (#4174) 2016-09-24 09:03:54 -04:00
libsystemd tree-wide: use mfree more 2016-10-16 23:35:39 -04:00
libsystemd-network tree-wide: use mfree more 2016-10-16 23:35:39 -04:00
libudev tree-wide: use mfree more 2016-10-16 23:35:39 -04:00
locale tree-wide: use %m in calls to sd_bus_error_set_errnof 2016-09-13 20:10:57 -04:00
login logind: don't hit assert when we try to free NULL manager object 2016-10-20 14:22:43 -04:00
machine tree-wide: use mfree more 2016-10-16 23:35:39 -04:00
machine-id-setup machine-id-setup: add new --print switch 2016-07-22 12:59:36 +02:00
modules-load tree-wide: make parse_proc_cmdline() strip "rd." prefix automatically 2016-10-22 16:08:55 -04:00
mount mount-tool: return 0 instead of NULL in the acquire_description() (#4009) 2016-08-22 02:14:23 -04:00
network Revert "add networkd dbus lease info" (#4435) 2016-10-21 08:17:16 +02:00
notify
nspawn nspawn, NEWS: add missing "s" in --private-users-chown (#4438) 2016-10-21 06:03:26 +03:00
nss-myhostname treewide: fix typos and remove accidental repetition of words 2016-07-11 16:18:43 +02:00
nss-mymachines nss-mymachines: avoid connecting to dbus from inside dbus-daemon 2016-08-19 00:52:00 +02:00
nss-resolve nss-resolve: return NOTFOUND instead of UNAVAIL on resolution errors 2016-10-01 16:59:06 +02:00
nss-systemd core: bypass dynamic user lookups from dbus-daemon 2016-08-19 00:50:24 +02:00
path
quotacheck tree-wide: make parse_proc_cmdline() strip "rd." prefix automatically 2016-10-22 16:08:55 -04:00
random-seed
rc-local-generator
remount-fs core: when determining whether a process exit status is clean, consider whether it is a command or a daemon 2016-10-10 22:57:01 +02:00
reply-password tree-wide: introduce new SOCKADDR_UN_LEN() macro, and use it everywhere 2016-05-05 22:24:36 +02:00
resolve tree-wide: use mfree more 2016-10-16 23:35:39 -04:00
rfkill
run execute: move suppression of HOME=/ and SHELL=/bin/nologin into user-util.c 2016-09-25 10:18:57 +02:00
shared shared/install: fix %u expansion when running under sudo 2016-10-20 09:28:51 -04:00
sleep
socket-proxy tree-wide: introduce new SOCKADDR_UN_LEN() macro, and use it everywhere 2016-05-05 22:24:36 +02:00
stdio-bridge stdio-bridge: Correctly propagate error 2016-02-29 10:45:34 +01:00
sysctl sysctl: configure kernel parameters in the order they occur in each sysctl configuration files (#4205) 2016-09-24 08:56:07 -04:00
system-update-generator
systemctl systemctl: ditto for list-unit-files 2016-10-17 11:47:45 -04:00
systemd core: add "invocation ID" concept to service manager 2016-10-07 20:14:38 +02:00
sysusers sysusers: fix memleak (#4443) 2016-10-21 12:30:45 +02:00
sysv-generator exit-status: kill is_clean_exit_lsb(), move logic to sysv-generator 2016-10-10 21:48:08 +02:00
test tree-wide: make parse_proc_cmdline() strip "rd." prefix automatically 2016-10-22 16:08:55 -04:00
timedate Add enable_disable() helper 2016-07-31 22:48:22 -04:00
timesync tree-wide: use mfree more 2016-10-16 23:35:39 -04:00
tmpfiles Use "return log_error_errno" in more places" 2016-07-22 21:25:09 -04:00
tty-ask-password-agent core: when determining whether a process exit status is clean, consider whether it is a command or a daemon 2016-10-10 22:57:01 +02:00
udev tree-wide: make parse_proc_cmdline() strip "rd." prefix automatically 2016-10-22 16:08:55 -04:00
update-done update-done, condition: write the timestamp to the file as well and use it to prevent false-positives 2016-09-15 06:36:42 +03:00
update-utmp update-utmp: let's use STR_IN_SET() where it is pretty 2016-10-20 14:22:43 -04:00
user-sessions selinux: always try to load the full selinux db 2016-03-01 20:39:30 -05:00
vconsole treewide: fix typos (#4217) 2016-09-26 11:32:47 +02:00
.gitignore
Makefile