diff options
author | Stefano Brivio <sbrivio@redhat.com> | 2022-02-18 16:12:11 +0100 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2022-02-21 13:41:13 +0100 |
commit | 745a9ba4284cbe055aac3fadb57efe531c4e3a96 (patch) | |
tree | 6283140095f6652d119fbf619890269b3d1d869d /Makefile | |
parent | 6c931118643c8fa35935ddbd920cb669dec10021 (diff) | |
download | passt-745a9ba4284cbe055aac3fadb57efe531c4e3a96.tar passt-745a9ba4284cbe055aac3fadb57efe531c4e3a96.tar.gz passt-745a9ba4284cbe055aac3fadb57efe531c4e3a96.tar.bz2 passt-745a9ba4284cbe055aac3fadb57efe531c4e3a96.tar.lz passt-745a9ba4284cbe055aac3fadb57efe531c4e3a96.tar.xz passt-745a9ba4284cbe055aac3fadb57efe531c4e3a96.tar.zst passt-745a9ba4284cbe055aac3fadb57efe531c4e3a96.zip |
pasta: By default, quit if filesystem-bound net namespace goes away
This should be convenient for users managing filesystem-bound network
namespaces: monitor the base directory of the namespace and exit if
the namespace given as PATH or NAME target is deleted. We can't add
an inotify watch directly on the namespace directory, that won't work
with nsfs.
Add an option to disable this behaviour, --no-netns-quit.
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -153,6 +153,7 @@ pkgs: # - android-cloexec-pipe # - android-cloexec-pipe2 # - android-cloexec-epoll-create1 +# - android-cloexec-inotify-init1 # TODO: check, fix except for the few cases where we need to share fds # # - bugprone-narrowing-conversions @@ -197,7 +198,7 @@ clang-tidy: $(wildcard *.c) $(wildcard *.h) -cppcoreguidelines-avoid-magic-numbers,\ -readability-isolate-declaration,\ -android-cloexec-open,-android-cloexec-pipe,-android-cloexec-pipe2,\ - -android-cloexec-epoll-create1,\ + -android-cloexec-epoll-create1,-android-cloexec-inotify-init1,\ -bugprone-narrowing-conversions,\ -cppcoreguidelines-narrowing-conversions,\ -cppcoreguidelines-avoid-non-const-global-variables,\ |