Lines Matching refs:user_namespace
41 struct user_namespace;
143 struct user_namespace *ns, int cap);
146 struct user_namespace *ns, int cap);
148 extern bool ns_capable(struct user_namespace *ns, int cap);
149 extern bool ns_capable_noaudit(struct user_namespace *ns, int cap);
150 extern bool ns_capable_setid(struct user_namespace *ns, int cap);
153 struct user_namespace *ns, int cap) in has_ns_capability()
162 struct user_namespace *ns, int cap) in has_ns_capability_noaudit()
170 static inline bool ns_capable(struct user_namespace *ns, int cap) in ns_capable()
174 static inline bool ns_capable_noaudit(struct user_namespace *ns, int cap) in ns_capable_noaudit()
178 static inline bool ns_capable_setid(struct user_namespace *ns, int cap) in ns_capable_setid()
183 bool privileged_wrt_inode_uidgid(struct user_namespace *ns,
188 extern bool file_ns_capable(const struct file *file, struct user_namespace *ns, int cap);
189 extern bool ptracer_capable(struct task_struct *tsk, struct user_namespace *ns);
200 static inline bool checkpoint_restore_ns_capable(struct user_namespace *ns) in checkpoint_restore_ns_capable()