On Thu, Dec 12, 2019 at 03:07:52PM +0100, Dominik Brodowski wrote: > ksys_dup() is used only at one place in the kernel, namely to duplicate > fd 0 of /dev/console to stdout and stderr. The same functionality can be > achieved by using functions already available within the kernel namespace.
Let's not expose the kernel guts to init/*.c more than absolutely unavoidable.