--- zzzz-none-000/linux-3.10.107/include/linux/pid_namespace.h 2017-06-27 09:49:32.000000000 +0000 +++ vr9-7490-729/linux-3.10.107/include/linux/pid_namespace.h 2021-11-10 11:53:56.000000000 +0000 @@ -71,23 +71,25 @@ } static inline struct pid_namespace *copy_pid_ns(unsigned long flags, - struct user_namespace *user_ns, struct pid_namespace *ns) + struct user_namespace *user_ns __maybe_unused, + struct pid_namespace *ns) { if (flags & CLONE_NEWPID) ns = ERR_PTR(-EINVAL); return ns; } -static inline void put_pid_ns(struct pid_namespace *ns) +static inline void put_pid_ns(struct pid_namespace *ns __maybe_unused) { } -static inline void zap_pid_ns_processes(struct pid_namespace *ns) +static inline void zap_pid_ns_processes(struct pid_namespace *ns __maybe_unused) { BUG(); } -static inline int reboot_pid_ns(struct pid_namespace *pid_ns, int cmd) +static inline int reboot_pid_ns(struct pid_namespace *pid_ns __maybe_unused, + int cmd __maybe_unused) { return 0; }