unit: add AF_ALG to systemd-networkd.service

networkd uses khash, and khash requires AF_ALG.
This commit is contained in:
Yu Watanabe 2020-01-26 21:24:09 +09:00 committed by Lennart Poettering
parent 4523f1db0f
commit 1b3cccfdac
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ ProtectKernelLogs=yes
ProtectSystem=strict
Restart=on-failure
RestartSec=0
RestrictAddressFamilies=AF_UNIX AF_NETLINK AF_INET AF_INET6 AF_PACKET
RestrictAddressFamilies=AF_UNIX AF_NETLINK AF_INET AF_INET6 AF_PACKET AF_ALG
RestrictNamespaces=yes
RestrictRealtime=yes
RestrictSUIDSGID=yes