mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-02 20:20:53 +00:00
mntns: Add a limit on the number of mount namespaces.
v2: Fixed the very obvious lack of setting ucounts on struct mnt_ns reported by Andrei Vagin, and the kbuild test report. Reported-by: Andrei Vagin <avagin@openvz.org> Acked-by: Kees Cook <keescook@chromium.org> Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
This commit is contained in:
parent
703286608a
commit
537f7ccb39
4 changed files with 24 additions and 1 deletions
|
@ -30,6 +30,7 @@ enum ucount_type {
|
|||
UCOUNT_UTS_NAMESPACES,
|
||||
UCOUNT_IPC_NAMESPACES,
|
||||
UCOUNT_NET_NAMESPACES,
|
||||
UCOUNT_MNT_NAMESPACES,
|
||||
UCOUNT_CGROUP_NAMESPACES,
|
||||
UCOUNT_COUNTS,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue