mirror of
https://git.kernel.org/pub/scm/network/iproute2/iproute2.git
synced 2024-11-15 22:15:13 +08:00
e2f5ceccda
Currently NETNS_RUN_DIR is hardcoded and refers to /var/run/netns. However, some systems (e.g. Android) doesn't have /var which results in error attempts to create network namespaces on these systems. This change makes NETNS_RUN_DIR configurable at build time by allowing to pass environment variable to make command. Also, this change makes /etc/netns directory configurable through NETNS_ETC_DIR environment variable. For example: ./configure && NETNS_RUN_DIR=/mnt/vendor/netns make Tested: verified that iproute2 with configuration mentioned above creates namespaces in /mnt/vendor/netns Signed-off-by: Pavel Maltsev <pavelm@google.com> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> |
||
---|---|---|
.. | ||
iptables | ||
libiptc | ||
netinet | ||
uapi/linux | ||
bpf_api.h | ||
bpf_elf.h | ||
bpf_scm.h | ||
bpf_util.h | ||
color.h | ||
dlfcn.h | ||
ip6tables.h | ||
iptables.h | ||
json_print.h | ||
json_writer.h | ||
libgenl.h | ||
libnetlink.h | ||
list.h | ||
ll_map.h | ||
names.h | ||
namespace.h | ||
rt_names.h | ||
rtm_map.h | ||
SNAPSHOT.h | ||
utils.h | ||
xt-internal.h | ||
xtables.h |