Lines Matching refs:pid_namespace
26 struct pid_namespace { struct
34 struct pid_namespace *parent; argument
52 extern struct pid_namespace init_pid_ns; argument
57 static inline struct pid_namespace *get_pid_ns(struct pid_namespace *ns) in get_pid_ns()
65 static inline int pidns_memfd_noexec_scope(struct pid_namespace *ns) in pidns_memfd_noexec_scope()
75 static inline int pidns_memfd_noexec_scope(struct pid_namespace *ns) in pidns_memfd_noexec_scope()
81 extern struct pid_namespace *copy_pid_ns(unsigned long flags,
82 struct user_namespace *user_ns, struct pid_namespace *ns);
83 extern void zap_pid_ns_processes(struct pid_namespace *pid_ns);
84 extern int reboot_pid_ns(struct pid_namespace *pid_ns, int cmd);
85 extern void put_pid_ns(struct pid_namespace *ns);
90 static inline struct pid_namespace *get_pid_ns(struct pid_namespace *ns) in get_pid_ns()
95 static inline int pidns_memfd_noexec_scope(struct pid_namespace *ns) in pidns_memfd_noexec_scope()
100 static inline struct pid_namespace *copy_pid_ns(unsigned long flags, in copy_pid_ns()
101 struct user_namespace *user_ns, struct pid_namespace *ns) in copy_pid_ns()
108 static inline void put_pid_ns(struct pid_namespace *ns) in put_pid_ns()
112 static inline void zap_pid_ns_processes(struct pid_namespace *ns) in zap_pid_ns_processes()
117 static inline int reboot_pid_ns(struct pid_namespace *pid_ns, int cmd) in reboot_pid_ns()
123 extern struct pid_namespace *task_active_pid_ns(struct task_struct *tsk);
126 int register_pidns_sysctls(struct pid_namespace *pidns);
127 void unregister_pidns_sysctls(struct pid_namespace *pidns);