linux-stable/init
Christoph Hellwig 8f740636d9 init: open code setting up stdin/stdout/stderr
Don't rely on the implicit set_fs(KERNEL_DS) for ksys_open to work, but
instead open a struct file for /dev/console and then install it as FD
0/1/2 manually.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
2020-07-31 08:16:00 +02:00
..
calibrate.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
do_mounts.c initrd: remove support for multiple floppies 2020-07-30 08:22:33 +02:00
do_mounts.h initrd: remove support for multiple floppies 2020-07-30 08:22:33 +02:00
do_mounts_initrd.c initrd: mark initrd support as deprecated 2020-07-30 08:22:47 +02:00
do_mounts_rd.c initrd: switch initrd loading to struct file based APIs 2020-07-30 08:22:47 +02:00
init_task.c Rebase locking/kcsan to locking/urgent 2020-06-11 20:02:46 +02:00
initramfs.c initramfs: switch initramfs unpacking to struct file based APIs 2020-07-31 08:16:00 +02:00
Kconfig kbuild: fix CONFIG_CC_CAN_LINK(_STATIC) for cross-compilation with Clang 2020-07-02 00:57:45 +09:00
main.c init: open code setting up stdin/stdout/stderr 2020-07-31 08:16:00 +02:00
Makefile md: move the early init autodetect code to drivers/md/ 2020-07-16 15:34:47 +02:00
noinitramfs.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 167 2019-05-30 11:26:39 -07:00
version.c treewide: Add SPDX license identifier for missed files 2019-05-21 10:50:45 +02:00