mirror of
https://github.com/clearlinux/systemd-stable.git
synced 2026-09-07 06:03:51 +00:00
missing: define NET_NAME_UNKNOWN
It's only exposed to userspace since commit 685343fc3ba61a1f6eef361b786601123db16c28 Author: Tom Gundersen <teg@jklm.no> AuthorDate: Mon Jul 14 16:37:22 2014 +0200 Commit: David S. Miller <davem@davemloft.net> CommitDate: Tue Jul 15 16:12:01 2014 -0700 to the kernel.
This commit is contained in:
committed by
David Herrmann
parent
7eb08da4b3
commit
1cb636d92d
@@ -566,6 +566,10 @@ static inline int setns(int fd, int nstype) {
|
||||
# define NET_ADDR_RANDOM 1
|
||||
#endif
|
||||
|
||||
#ifndef NET_NAME_UNKNOWN
|
||||
# define NET_NAME_UNKNOWN 0
|
||||
#endif
|
||||
|
||||
#ifndef NET_NAME_ENUM
|
||||
# define NET_NAME_ENUM 1
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user