]> git.baikalelectronics.ru Git - kernel.git/commit
userns: Generalize the user namespace count into ucount
authorEric W. Biederman <ebiederm@xmission.com>
Mon, 8 Aug 2016 19:41:52 +0000 (14:41 -0500)
committerEric W. Biederman <ebiederm@xmission.com>
Mon, 8 Aug 2016 19:41:52 +0000 (14:41 -0500)
commit4e3aa346af715b9d63c995e4b6439c07a82a4696
tree50e60f8d962702d92b94392d536a1c71d77c851c
parent7997697a7e7fd48b56317597921ca1b4aa608733
userns: Generalize the user namespace count into ucount

The same kind of recursive sane default limit and policy
countrol that has been implemented for the user namespace
is desirable for the other namespaces, so generalize
the user namespace refernce count into a ucount.

Acked-by: Kees Cook <keescook@chromium.org>
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
include/linux/user_namespace.h
kernel/fork.c
kernel/ucount.c
kernel/user_namespace.c