userns: Kill nsown_capable it makes the wrong thing easy
[platform/adaptation/renesas_rcar/renesas_kernel.git] / include / linux / capability.h
index d9a4f7f..a6ee1f9 100644 (file)
@@ -210,7 +210,6 @@ extern bool has_ns_capability_noaudit(struct task_struct *t,
                                      struct user_namespace *ns, int cap);
 extern bool capable(int cap);
 extern bool ns_capable(struct user_namespace *ns, int cap);
-extern bool nsown_capable(int cap);
 extern bool inode_capable(const struct inode *inode, int cap);
 extern bool file_ns_capable(const struct file *file, struct user_namespace *ns, int cap);