Merge pull request #119272 from mweinelt/babeld

nixos/babeld: allow AF_INET communication required for netlink socket
This commit is contained in:
Martin Weinelt 2021-04-13 03:25:51 +02:00 committed by GitHub
commit eeb49d6dc8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -102,7 +102,7 @@ in
ProtectKernelModules = true;
ProtectKernelLogs = true;
ProtectControlGroups = true;
RestrictAddressFamilies = [ "AF_NETLINK" "AF_INET6" ];
RestrictAddressFamilies = [ "AF_NETLINK" "AF_INET6" "AF_INET" ];
RestrictNamespaces = true;
RestrictRealtime = true;
RestrictSUIDSGID = true;