init/main.c: log arguments and environment passed to init
authorArvind Sankar <nivedita@alum.mit.edu>
Fri, 31 Jan 2020 06:17:13 +0000 (22:17 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 31 Jan 2020 18:30:41 +0000 (10:30 -0800)
commitb88c50ac304a14f14e70c4ad22577b6b84632d5e
treea8cdfa9909e375ce3163ec3d3a559031fac87b2c
parent1fbede6e6f3dc6c1c33e84b6989cf8079d899f89
init/main.c: log arguments and environment passed to init

Extend logging in `run_init_process` to also show the arguments and
environment that we are passing to init.

Link: http://lkml.kernel.org/r/20191212180023.24339-2-nivedita@alum.mit.edu
Signed-off-by: Arvind Sankar <nivedita@alum.mit.edu>
Cc: Chris Metcalf <cmetcalf@tilera.com>
Cc: Krzysztof Mazur <krzysiek@podlesie.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
init/main.c