Skip to content

Commit

Permalink
maintenance(systemd): support the Windows Subsystem for Linux (#605)
Browse files Browse the repository at this point in the history
This is a companion to gitgitgadget#1586 and
fixes #604.
  • Loading branch information
dscho committed Nov 3, 2023
2 parents 721d43a + 9736923 commit 605d332
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builtin/gc.c
Original file line number Diff line number Diff line change
Expand Up @@ -2495,7 +2495,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"
Expand Down

0 comments on commit 605d332

Please sign in to comment.