Lines Matching refs:user_namespace
44 struct user_namespace;
206 struct user_namespace *ns, int cap);
209 struct user_namespace *ns, int cap);
211 extern bool ns_capable(struct user_namespace *ns, int cap);
212 extern bool ns_capable_noaudit(struct user_namespace *ns, int cap);
213 extern bool ns_capable_setid(struct user_namespace *ns, int cap);
220 struct user_namespace *ns, int cap) in has_ns_capability()
229 struct user_namespace *ns, int cap) in has_ns_capability_noaudit()
237 static inline bool ns_capable(struct user_namespace *ns, int cap) in ns_capable()
241 static inline bool ns_capable_noaudit(struct user_namespace *ns, int cap) in ns_capable_noaudit()
245 static inline bool ns_capable_setid(struct user_namespace *ns, int cap) in ns_capable_setid()
250 extern bool privileged_wrt_inode_uidgid(struct user_namespace *ns, const struct inode *inode);
252 extern bool file_ns_capable(const struct file *file, struct user_namespace *ns, int cap);
253 extern bool ptracer_capable(struct task_struct *tsk, struct user_namespace *ns);