linux/debian/patches/debian/avoid-ABI-change-for-hidepi...

17 lines
356 B
Diff

From: Ben Hutchings <ben@decadent.org.uk>
Subject: Avoid ABI change for hidepid
--- a/include/linux/pid_namespace.h
+++ b/include/linux/pid_namespace.h
@@ -30,8 +30,10 @@
#ifdef CONFIG_BSD_PROCESS_ACCT
struct bsd_acct_struct *bacct;
#endif
+#ifndef __GENKSYMS__
gid_t pid_gid;
int hide_pid;
+#endif
};
extern struct pid_namespace init_pid_ns;