linux/arch/um
Eric W. Biederman af1abab986 uml: Don't consult current to find the proc_mnt in mconsole_proc
Inspection of the control flow reveals that mconsole_proc is either
called from mconsole_stop called from mc_work_proc or from
mc_work_proc directly.  The function mc_work_proc is dispatched to a
kernel thread with schedule_work.

All of the threads that run dispatched by schedule_work are in the
init pid namespace.

So make the code clearer and by using init_pid_ns instead of
task_active_pid_ns(current).

Cc: Jeff Dike <jdike@addtoit.com>
Cc: Richard Weinberger <richard@nod.at>
Cc: Anton Ivanov <anton.ivanov@cambridgegreys.com>
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
2020-02-28 11:34:47 -06:00
..
configs kunit: defconfig: add defconfigs for building KUnit tests 2019-09-30 17:35:01 -06:00
drivers uml: Don't consult current to find the proc_mnt in mconsole_proc 2020-02-28 11:34:47 -06:00
include MPX requires recompiling applications, which requires compiler support. 2020-01-30 16:11:50 -08:00
kernel proc: convert everything to "struct proc_ops" 2020-02-04 03:05:26 +00:00
os-Linux um: ubd: use 64-bit time_t where possible 2019-12-18 18:07:31 +01:00
scripts License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
.gitignore
Kconfig um: Fix time-travel=inf-cpu with xor/raid6 2020-01-19 22:42:06 +01:00
Kconfig.debug um: Make GCOV depend on !KCOV 2018-12-27 22:48:19 +01:00
Makefile kbuild: remove src and obj from the top Makefile 2019-07-11 00:05:09 +09:00
Makefile-os-Linux
Makefile-skas