chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
daa0534
)
missing: add BPF_XOR
author
Michael Olbrich
<m.olbrich@pengutronix.de>
Thu, 21 Aug 2014 10:38:08 +0000
(12:38 +0200)
committer
Lennart 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
patch
|
blob
|
history
diff --git
a/src/shared/missing.h
b/src/shared/missing.h
index a9dd2742745372c72cd14a9ff298419d3a909183..c80ed2ad998fb1b6bc96d969ada20f3d5dd171d4 100644
(file)
--- a/
src/shared/missing.h
+++ b/
src/shared/missing.h
@@
-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