uml: Create a private mount of proc for mconsole
authorEric W. Biederman <ebiederm@xmission.com>
Wed, 19 Feb 2020 16:37:15 +0000 (10:37 -0600)
committerEric W. Biederman <ebiederm@xmission.com>
Fri, 28 Feb 2020 18:04:33 +0000 (12:04 -0600)
commit76313c70c52f930af4afd21684509ca52297ea71
tree831848faa7388eb7b7cc5e0c03cfbfff1d9f724d
parentaf1abab986b85fdeb3e98c037988cfa4bf9d4018
uml: Create a private mount of proc for mconsole

The mconsole code only ever accesses proc for the initial pid
namespace.  Instead of depending upon the proc_mnt which is
for proc_flush_task have uml create it's own mount of proc
instead.

This allows proc_flush_task to evolve and remove the
need for having a proc_mnt to do it's job.

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>
arch/um/drivers/mconsole_kern.c