Message ID | pull.1586.git.1694334620260.gitgitgadget@gmail.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 5e8515e8e8d10f882d1e8ffeb34b8348426515ed |
Headers | show |
Series | maintenance(systemd): support the Windows Subsystem for Linux | expand |
diff --git a/builtin/gc.c b/builtin/gc.c index 5c4315f0d81..719cae9a88a 100644 --- a/builtin/gc.c +++ b/builtin/gc.c @@ -2397,7 +2397,7 @@ static int systemd_timer_write_unit_templates(const char *exec_path) "LockPersonality=yes\n" "MemoryDenyWriteExecute=yes\n" "NoNewPrivileges=yes\n" - "RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6\n" + "RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6 AF_VSOCK\n" "RestrictNamespaces=yes\n" "RestrictRealtime=yes\n" "RestrictSUIDSGID=yes\n"