mirror of
https://github.com/whippyshou/mastodon
synced 2024-11-27 14:28:55 +09:00
templates/systemd/mastodon: optimize SystemCallFilters (#16127)
This commit is contained in:
parent
0bc909687a
commit
7da104eb11
2
dist/mastodon-sidekiq.service
vendored
2
dist/mastodon-sidekiq.service
vendored
@ -38,7 +38,7 @@ PrivateMounts=true
|
||||
ProtectClock=true
|
||||
# System Call Filtering
|
||||
SystemCallArchitectures=native
|
||||
SystemCallFilter=~@clock @cpu-emulation @debug @keyring @module @mount @obsolete @privileged @raw-io @reboot @resources @setuid @swap
|
||||
SystemCallFilter=~@clock @cpu-emulation @debug @keyring @module @mount @obsolete @raw-io @reboot @setuid @swap
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
2
dist/mastodon-web.service
vendored
2
dist/mastodon-web.service
vendored
@ -38,7 +38,7 @@ PrivateMounts=true
|
||||
ProtectClock=true
|
||||
# System Call Filtering
|
||||
SystemCallArchitectures=native
|
||||
SystemCallFilter=~@clock @cpu-emulation @debug @keyring @module @mount @obsolete @privileged @raw-io @reboot @resources @setuid @swap
|
||||
SystemCallFilter=~@clock @cpu-emulation @debug @keyring @module @mount @obsolete @raw-io @reboot @resources @setuid @swap
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
Loading…
Reference in New Issue
Block a user