Skip to content

Commit bd49a29

Browse files
committed
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
2 parents 7435d51 + 5e8515e commit bd49a29

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
@@ -2434,7 +2434,7 @@ static int systemd_timer_write_service_template(const char *exec_path)
24342434
"LockPersonality=yes\n"
24352435
"MemoryDenyWriteExecute=yes\n"
24362436
"NoNewPrivileges=yes\n"
2437-
"RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6\n"
2437+
"RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6 AF_VSOCK\n"
24382438
"RestrictNamespaces=yes\n"
24392439
"RestrictRealtime=yes\n"
24402440
"RestrictSUIDSGID=yes\n"

0 commit comments

Comments
 (0)