• Home
  • Raw
  • Download

Lines Matching refs:user_namespace

75 struct user_namespace {  struct
79 struct user_namespace *parent; argument
122 struct user_namespace *ns; argument
129 extern struct user_namespace init_user_ns;
132 bool setup_userns_sysctls(struct user_namespace *ns);
133 void retire_userns_sysctls(struct user_namespace *ns);
134 struct ucounts *inc_ucount(struct user_namespace *ns, kuid_t uid, enum ucount_type type);
136 struct ucounts *alloc_ucounts(struct user_namespace *ns, kuid_t uid);
152 static inline long get_userns_rlimit_max(struct user_namespace *ns, enum rlimit_type type) in get_userns_rlimit_max()
157 static inline void set_userns_rlimit_max(struct user_namespace *ns, in set_userns_rlimit_max()
165 static inline struct user_namespace *get_user_ns(struct user_namespace *ns) in get_user_ns()
174 extern void __put_user_ns(struct user_namespace *ns);
176 static inline void put_user_ns(struct user_namespace *ns) in put_user_ns()
191 extern bool userns_may_setgroups(const struct user_namespace *ns);
192 extern bool in_userns(const struct user_namespace *ancestor,
193 const struct user_namespace *child);
194 extern bool current_in_userns(const struct user_namespace *target_ns);
198 static inline struct user_namespace *get_user_ns(struct user_namespace *ns) in get_user_ns()
216 static inline void put_user_ns(struct user_namespace *ns) in put_user_ns()
220 static inline bool userns_may_setgroups(const struct user_namespace *ns) in userns_may_setgroups()
225 static inline bool in_userns(const struct user_namespace *ancestor, in in_userns()
226 const struct user_namespace *child) in in_userns()
231 static inline bool current_in_userns(const struct user_namespace *target_ns) in current_in_userns()