It's only exposed to userspace since commit 685343fc3ba61a1f6eef361b786601123db16c28 Author: Tom Gundersen <t...@jklm.no> AuthorDate: Mon Jul 14 16:37:22 2014 +0200 Commit: David S. Miller <da...@davemloft.net> CommitDate: Tue Jul 15 16:12:01 2014 -0700
to the kernel. --- src/shared/missing.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/shared/missing.h b/src/shared/missing.h index a56d265..aef232b 100644 --- a/src/shared/missing.h +++ b/src/shared/missing.h @@ -582,6 +582,10 @@ static inline int setns(int fd, int nstype) { # define NET_NAME_RENAMED 4 #endif +#ifndef NET_NAME_UNKNOWN +# define NET_NAME_UNKNOWN 0 +#endif + #ifndef BPF_XOR # define BPF_XOR 0xa0 #endif -- 1.8.3.1
From 6568250e5ec1873b9b8df986fa07bd6e23ddf5a1 Mon Sep 17 00:00:00 2001 From: Colin Walters <walt...@verbum.org> Date: Thu, 4 Dec 2014 13:11:03 -0500 Subject: [PATCH] missing: define NET_NAME_UNKNOWN It's only exposed to userspace since commit 685343fc3ba61a1f6eef361b786601123db16c28 Author: Tom Gundersen <t...@jklm.no> AuthorDate: Mon Jul 14 16:37:22 2014 +0200 Commit: David S. Miller <da...@davemloft.net> CommitDate: Tue Jul 15 16:12:01 2014 -0700 to the kernel. --- src/shared/missing.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/shared/missing.h b/src/shared/missing.h index a56d265..aef232b 100644 --- a/src/shared/missing.h +++ b/src/shared/missing.h @@ -582,6 +582,10 @@ static inline int setns(int fd, int nstype) { # define NET_NAME_RENAMED 4 #endif +#ifndef NET_NAME_UNKNOWN +# define NET_NAME_UNKNOWN 0 +#endif + #ifndef BPF_XOR # define BPF_XOR 0xa0 #endif -- 1.8.3.1
_______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel