-
-
Notifications
You must be signed in to change notification settings - Fork 14k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
nixos/acme: Relax syscall filter after go upgrade
With Go 1.19 calls to setrlimit are required for lego to run. While we could allow setrlimit alone, I think it is not unreasonable to allow @resources in general. Closes: #197513
- Loading branch information
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -62,9 +62,9 @@ let | |
SystemCallArchitectures = "native"; | ||
SystemCallFilter = [ | ||
# 1. allow a reasonable set of syscalls | ||
"@system-service" | ||
"@system-service @resources" | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
mweinelt
via email
Author
Member
|
||
# 2. and deny unreasonable ones | ||
"~@privileged @resources" | ||
"~@privileged" | ||
# 3. then allow the required subset within denied groups | ||
"@chown" | ||
]; | ||
|
@system-service
implies@resources
. We dont need to add it here