chiark / gitweb /
missing: add BPF_XOR
authorMichael Olbrich <m.olbrich@pengutronix.de>
Thu, 21 Aug 2014 10:38:08 +0000 (12:38 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 26 Aug 2014 18:27:17 +0000 (20:27 +0200)
BPF_XOR was introduced in kernel 3.7

src/shared/missing.h

index a9dd2742745372c72cd14a9ff298419d3a909183..c80ed2ad998fb1b6bc96d969ada20f3d5dd171d4 100644 (file)
@@ -593,3 +593,7 @@ static inline int setns(int fd, int nstype) {
 #ifndef NET_NAME_RENAMED
 #  define NET_NAME_RENAMED 4
 #endif
+
+#ifndef BPF_XOR
+#  define BPF_XOR 0xa0
+#endif