uts: create "struct uts_namespace" from kmem_cache
authorAlexey Dobriyan <[email protected]>
Tue, 10 Apr 2018 23:32:36 +0000 (16:32 -0700)
committerLinus Torvalds <[email protected]>
Wed, 11 Apr 2018 17:28:35 +0000 (10:28 -0700)
commit3ea056c50476f877f8bceb560ab69871098cb3a9
tree2872525aab82ea6f4d2170e5371878d8739fd6bb
parentbc4f2f5469ac2a52affadc4c00c1276d76151a39
uts: create "struct uts_namespace" from kmem_cache

So "struct uts_namespace" can enjoy fine-grained SLAB debugging and
usercopy protection.

I'd prefer shorter name "utsns" but there is "user_namespace" already.

Link: http://lkml.kernel.org/r/20180228215158.GA23146@avx2
Signed-off-by: Alexey Dobriyan <[email protected]>
Reviewed-by: Andrew Morton <[email protected]>
Cc: "Eric W. Biederman" <[email protected]>
Cc: Serge Hallyn <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
include/linux/utsname.h
init/main.c
kernel/utsname.c