kernel-hacking-2024-linux-s.../init
Rusty Russell 51e158c12a param: hand arguments after -- straight to init
The kernel passes any args it doesn't need through to init, except it
assumes anything containing '.' belongs to the kernel (for a module).
This change means all users can clearly distinguish which arguments
are for init.

For example, the kernel uses debug ("dee-bug") to mean log everything to
the console, where systemd uses the debug from the Scandinavian "day-boog"
meaning "fail to boot".  If a future versions uses argv[] instead of
reading /proc/cmdline, this confusion will be avoided.

eg: test 'FOO="this is --foo"' -- 'systemd.debug="true true true"'

Gives:
argv[0] = '/debug-init'
argv[1] = 'test'
argv[2] = 'systemd.debug=true true true'
envp[0] = 'HOME=/'
envp[1] = 'TERM=linux'
envp[2] = 'FOO=this is --foo'

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2014-04-28 11:48:34 +09:30
..
calibrate.c
do_mounts.c init/do_mounts.c: fix comment error 2014-04-03 16:21:16 -07:00
do_mounts.h
do_mounts_initrd.c
do_mounts_md.c
do_mounts_rd.c cramfs: take headers to fs/cramfs 2014-01-25 03:13:02 -05:00
init_task.c
initramfs.c initramfs: debug detected compression method 2014-04-07 16:36:11 -07:00
Kconfig init/Kconfig: move the trusted keyring config option to general setup 2014-04-18 16:40:07 -07:00
main.c param: hand arguments after -- straight to init 2014-04-28 11:48:34 +09:30
Makefile
noinitramfs.c
version.c