[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Thu, 12 Dec 2019 15:07:50 +0100
From: Dominik Brodowski <linux@...inikbrodowski.net>
To: Alexander Viro <viro@...iv.linux.org.uk>,
Linus Torvalds <torvalds@...ux-foundation.org>
Cc: Ingo Molnar <mingo@...nel.org>,
Andrew Morton <akpm@...ux-foundation.org>,
linux-kernel@...r.kernel.org
Subject: [PATCH 0/2] remove ksys_dup()
Instead of pretending to be userspace, the opening of
/dev/console as stdin/stdout/stderr can be implemented
using in-kernel functions.
---
@viro: is this something for you to take and push upstream
for the next cycle?
The same changes (on top of commit ae4b064e2a616b545acf02b8f50cc513b32c7522:
Merge tag 'afs-fixes-20191211' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs (2019-12-11 18:10:40 -0800)
are also available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/brodo/linux.git remove-ksys-dup
including all changes up to d7aacb7ad766adea665b440b56e9c9152b1065f7:
fs: remove ksys_dup() (2019-12-12 14:59:48 +0100)
----------------------------------------------------------------
Dominik Brodowski (2):
init: unify opening /dev/console as stdin/stdout/stderr
fs: remove ksys_dup()
fs/file.c | 7 +------
include/linux/initrd.h | 2 ++
include/linux/syscalls.h | 1 -
init/do_mounts_initrd.c | 5 +----
init/main.c | 31 ++++++++++++++++++++++++++-----
5 files changed, 30 insertions(+), 16 deletions(-)
Thanks,
Dominik
--
2.24.1
Powered by blists - more mailing lists