]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - include/linux/mm_types.h
mm: Add a user_ns owner to mm_struct and fix ptrace permission checks
[mirror_ubuntu-zesty-kernel.git] / include / linux / mm_types.h
index 4a8acedf4b7d914b8474773328d09adb3d6bc2c4..08d947fc4c59dac845652dee2ad1c98aac2f2626 100644 (file)
@@ -473,6 +473,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;