um: Run UML in it's own session.
authorRichard Weinberger <richard@nod.at>
Sun, 18 Aug 2013 11:30:09 +0000 (13:30 +0200)
committerRichard Weinberger <richard@nod.at>
Sat, 7 Sep 2013 08:57:07 +0000 (10:57 +0200)
commit250127216dd6635f5730752d7444bdec992aecb0
tree568f2faaf4f8e86d54902aa8a1927afd51ff9fbf
parent91d44ff860a9e9c0db81a89cbc24fa31fbd8e6d3
um: Run UML in it's own session.

If UML is not run by a shell it can happen that UML
will kill unrelated proceses upon a fatal exit because
it issues a kill(0, ...).
To prevent such oddities we create a new session in main().

Reported-and-tested-by: Richard W.M. Jones <rjones@redhat.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
arch/um/os-Linux/main.c