1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

Merge pull request #135626 from delroth/tor-netlink

nixos/tor: allow AF_NETLINK address family
This commit is contained in:
Bobby Rong 2021-09-14 22:57:34 +08:00 committed by GitHub
commit 39261adc92
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1022,7 +1022,7 @@ in
ProtectKernelTunables = true;
ProtectSystem = "strict";
RemoveIPC = true;
RestrictAddressFamilies = [ "AF_UNIX" "AF_INET" "AF_INET6" ];
RestrictAddressFamilies = [ "AF_UNIX" "AF_INET" "AF_INET6" "AF_NETLINK" ];
RestrictNamespaces = true;
RestrictRealtime = true;
RestrictSUIDSGID = true;