Lines Matching refs:user_namespace
41 struct user_namespace;
144 struct user_namespace *ns, int cap);
147 struct user_namespace *ns, int cap);
149 extern bool ns_capable(struct user_namespace *ns, int cap);
150 extern bool ns_capable_noaudit(struct user_namespace *ns, int cap);
151 extern bool ns_capable_setid(struct user_namespace *ns, int cap);
158 struct user_namespace *ns, int cap) in has_ns_capability()
167 struct user_namespace *ns, int cap) in has_ns_capability_noaudit()
175 static inline bool ns_capable(struct user_namespace *ns, int cap) in ns_capable()
179 static inline bool ns_capable_noaudit(struct user_namespace *ns, int cap) in ns_capable_noaudit()
183 static inline bool ns_capable_setid(struct user_namespace *ns, int cap) in ns_capable_setid()
188 bool privileged_wrt_inode_uidgid(struct user_namespace *ns,
193 extern bool file_ns_capable(const struct file *file, struct user_namespace *ns, int cap);
194 extern bool ptracer_capable(struct task_struct *tsk, struct user_namespace *ns);
205 static inline bool checkpoint_restore_ns_capable(struct user_namespace *ns) in checkpoint_restore_ns_capable()