summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2023-11-02 16:53:18 +0900
committerJunio C Hamano <gitster@pobox.com>2023-11-02 16:53:18 +0900
commit56ee4a35786016fcf4e34b64e2d29d53fb664c1a (patch)
treebceae00f396873d9cf5efd257192d4b1d54c0bba
parentbfb8376d68180494aba70448e1b3ddcb0b42f4a4 (diff)
parent5e8515e8e8d10f882d1e8ffeb34b8348426515ed (diff)
downloadgit-56ee4a35786016fcf4e34b64e2d29d53fb664c1a.tar.gz
Merge branch 'js/systemd-timers-wsl-fix' into maint-2.42
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
-rw-r--r--builtin/gc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/gc.c b/builtin/gc.c
index 5c4315f0d8..719cae9a88 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"