diff options
author | Junio C Hamano <gitster@pobox.com> | 2023-09-20 20:44:57 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-09-20 20:44:57 +0300 |
commit | bd49a2998a87fe911dfa5f6574443968faa5878a (patch) | |
tree | 0d9dabaf76b70c407c8044d400b21be000657c1c /builtin/gc.c | |
parent | 7435d51bfd183d2f6fd9fc9fc20a11d413d152ac (diff) | |
parent | 5e8515e8e8d10f882d1e8ffeb34b8348426515ed (diff) |
Merge branch 'js/systemd-timers-wsl-fix'
Update "git maintainance" timers' implementation based on systemd
timers to work with WSL.
* js/systemd-timers-wsl-fix:
maintenance(systemd): support the Windows Subsystem for Linux
Diffstat (limited to 'builtin/gc.c')
-rw-r--r-- | builtin/gc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/gc.c b/builtin/gc.c index b842349d86..00192ae5d3 100644 --- a/builtin/gc.c +++ b/builtin/gc.c @@ -2434,7 +2434,7 @@ static int systemd_timer_write_service_template(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" |