mm: Add a user_ns owner to mm_struct and fix ptrace permission checks
[firefly-linux-kernel-4.4.55.git] / include / linux / mm_types.h
index f8d1492a114f4447d0d7f4dfd8136e854a4a7581..2ccccbfcd53229fff6098158fb6a54bbb2f17af6 100644 (file)
@@ -469,6 +469,7 @@ struct mm_struct {
         */
        struct task_struct __rcu *owner;
 #endif
+       struct user_namespace *user_ns;
 
        /* store ref to file /proc/<pid>/exe symlink points to */
        struct file __rcu *exe_file;