]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0769af4c413966b2232c70ba8f7af3457abe7542
tree831848faa7388eb7b7cc5e0c03cfbfff1d9f724d
parentcd76e75be080208b4d63374634a00cc290149043
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