Skip to content

Commit 56ee4a3

Browse files
committed
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
2 parents bfb8376 + 5e8515e commit 56ee4a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

builtin/gc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2397,7 +2397,7 @@ static int systemd_timer_write_unit_templates(const char *exec_path)
23972397
"LockPersonality=yes\n"
23982398
"MemoryDenyWriteExecute=yes\n"
23992399
"NoNewPrivileges=yes\n"
2400-
"RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6\n"
2400+
"RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6 AF_VSOCK\n"
24012401
"RestrictNamespaces=yes\n"
24022402
"RestrictRealtime=yes\n"
24032403
"RestrictSUIDSGID=yes\n"

0 commit comments

Comments
 (0)