mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
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]>
This commit is contained in:
parent
bc4f2f5469
commit
3ea056c504
3 changed files with 24 additions and 4 deletions
|
|
@ -51,6 +51,7 @@
|
|||
#include <linux/taskstats_kern.h>
|
||||
#include <linux/delayacct.h>
|
||||
#include <linux/unistd.h>
|
||||
#include <linux/utsname.h>
|
||||
#include <linux/rmap.h>
|
||||
#include <linux/mempolicy.h>
|
||||
#include <linux/key.h>
|
||||
|
|
@ -706,6 +707,7 @@ asmlinkage __visible void __init start_kernel(void)
|
|||
cred_init();
|
||||
fork_init();
|
||||
proc_caches_init();
|
||||
uts_ns_init();
|
||||
buffer_init();
|
||||
key_init();
|
||||
security_init();
|
||||
|
|
|
|||
Loading…
Reference in a new issue