mirror of
https://github.com/sheumann/hush.git
synced 2024-09-29 20:54:48 +00:00
e3b65ab43d
Busybox is very often used in initramfs at the end of which usually there is a switch_root to the actual rootfs. There are many cases where the console kernel argument is either just a placeholder (for example RaspberryPi uses serial0 and serial1) or configured as null to avoid any console messages - usually you would see such of a setup in production environments. Currently busybox bails out if can't open the console argument. If this happenes in initramfs and if the console=null for example, you get in a blind kernel panic. Avoid this by only warning instead of dying. function old new delta switch_root_main 371 368 -3 Signed-off-by: Andrei Gherzan <andrei@gherzan.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> |
||
---|---|---|
.. | ||
volume_id | ||
acpid.c | ||
blkdiscard.c | ||
blkid.c | ||
blockdev.c | ||
Config.src | ||
dmesg.c | ||
fatattr.c | ||
fbset.c | ||
fdformat.c | ||
fdisk_aix.c | ||
fdisk_gpt.c | ||
fdisk_osf.c | ||
fdisk_sgi.c | ||
fdisk_sun.c | ||
fdisk.c | ||
findfs.c | ||
flock.c | ||
freeramdisk.c | ||
fsck_minix.c | ||
fstrim.c | ||
getopt.c | ||
hexdump_xxd.c | ||
hexdump.c | ||
hwclock.c | ||
ipcrm.c | ||
ipcs.c | ||
Kbuild.src | ||
losetup.c | ||
lspci.c | ||
lsusb.c | ||
mdev.c | ||
minix.h | ||
mkfs_ext2_test.sh | ||
mkfs_ext2.c | ||
mkfs_ext2.txt | ||
mkfs_minix.c | ||
mkfs_reiser.c | ||
mkfs_vfat.c | ||
mkswap.c | ||
more.c | ||
mount.c | ||
nsenter.c | ||
pivot_root.c | ||
rdate.c | ||
rdev.c | ||
readprofile.c | ||
rev.c | ||
rtcwake.c | ||
script.c | ||
scriptreplay.c | ||
setarch.c | ||
swaponoff.c | ||
switch_root.c | ||
uevent.c | ||
umount.c | ||
unshare.c |