]> git.karo-electronics.de Git - linux-beck.git/commit
userns: Allow unprivileged reboot
authorLi Zefan <lizefan@huawei.com>
Thu, 27 Dec 2012 03:39:12 +0000 (11:39 +0800)
committerEric W. Biederman <ebiederm@xmission.com>
Thu, 27 Dec 2012 04:29:30 +0000 (20:29 -0800)
commit923c7538236564c46ee80c253a416705321f13e3
treed57765040dc118a83f2a7c8892b1d9f051d4c5ff
parent48c6d1217e3dc743e7d3ad9b9def8d4810d13a85
userns: Allow unprivileged reboot

In a container with its own pid namespace and user namespace, rebooting
the system won't reboot the host, but terminate all the processes in
it and thus have the container shutdown, so it's safe.

Signed-off-by: Li Zefan <lizefan@huawei.com>
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
kernel/sys.c