mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 23:32:14 +00:00
netns: Add a limit on the number of net namespaces
Acked-by: Kees Cook <keescook@chromium.org> Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
This commit is contained in:
parent
d08311dd6f
commit
703286608a
4 changed files with 24 additions and 1 deletions
|
@ -60,6 +60,7 @@ struct net {
|
|||
struct list_head exit_list; /* Use only net_mutex */
|
||||
|
||||
struct user_namespace *user_ns; /* Owning user namespace */
|
||||
struct ucounts *ucounts;
|
||||
spinlock_t nsid_lock;
|
||||
struct idr netns_ids;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue