mirror of
https://github.com/YunoHost-Apps/osjs_ynh.git
synced 2024-09-03 19:56:11 +02:00
Fix sandboxing: disable @privileged
This commit is contained in:
parent
f541a94c00
commit
1f9cffdf50
1 changed files with 3 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
[Unit]
|
||||
Description=OS.js: web-desktop.
|
||||
Description=OS.js: web-desktop.
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
|
@ -33,7 +33,8 @@ ProtectKernelModules=yes
|
|||
ProtectKernelTunables=yes
|
||||
LockPersonality=yes
|
||||
SystemCallArchitectures=native
|
||||
SystemCallFilter=~@clock @debug @module @mount @obsolete @reboot @setuid @swap @cpu-emulation @privileged
|
||||
SystemCallFilter=~@clock @debug @module @mount @obsolete @reboot @setuid @swap @cpu-emulation
|
||||
# @privileged
|
||||
|
||||
# Denying access to capabilities that should not be relevant for webapps
|
||||
# Doc: https://man7.org/linux/man-pages/man7/capabilities.7.html
|
||||
|
|
Loading…
Add table
Reference in a new issue