run-init: implement -n "dry run"
authorDenys Vlasenko <vda.linux@googlemail.com>
Tue, 22 Aug 2017 08:37:30 +0000 (10:37 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Tue, 22 Aug 2017 08:37:30 +0000 (10:37 +0200)
commitbbc26c6934fac218e19c7897f2dc2e6084e963b0
tree3c45605f562471b6a853a29f750d57c0aee8ed37
parent200bcc851acbe1ba30fe90b5cf918f88370a5d15
run-init: implement -n "dry run"

function                                             old     new   delta
switch_root_main                                     637     706     +69
packed_usage                                       31743   31757     +14
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 2/0 up/down: 83/0)               Total: 83 bytes
   text    data     bss     dec     hex filename
 915247     563    5844  921654   e1036 busybox_old
 915303     563    5844  921710   e106e busybox_unstripped

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
selinux/setfiles.c
util-linux/switch_root.c