Skip to content

Commit a3aea60

Browse files
flatpak: Tighten sandbox
- Remove network permission - Add ipc permission - Replace broad devices permission with only dri and input permissions - Make filesystem permissions read-only (:ro)
1 parent cf829a9 commit a3aea60

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

flatpak/io.github.hedge_dev.unleashedrecomp.json

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,16 @@
55
"sdk": "org.freedesktop.Sdk",
66
"sdk-extensions" : [ "org.freedesktop.Sdk.Extension.llvm18" ],
77
"finish-args": [
8-
"--share=network",
8+
"--share=ipc",
99
"--socket=wayland",
1010
"--socket=fallback-x11",
1111
"--socket=pulseaudio",
12-
"--device=all",
13-
"--filesystem=host",
14-
"--filesystem=/media",
15-
"--filesystem=/run/media",
16-
"--filesystem=/mnt"
12+
"--device=dri",
13+
"--device=input",
14+
"--filesystem=host:ro",
15+
"--filesystem=/media:ro",
16+
"--filesystem=/run/media:ro",
17+
"--filesystem=/mnt:ro"
1718
],
1819
"modules": [
1920
{

0 commit comments

Comments
 (0)