On Thu, Jul 9, 2020 at 11:19 AM Christoph Hellwig wrote:
>
> 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
> ---
> fs/file.c|
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
---
fs/file.c| 7 +--
include/linux/syscalls.h | 1 -
init/main.c | 16
2 matches
Mail list logo