summaryrefslogtreecommitdiff
path: root/profiles
diff options
context:
space:
mode:
authorjc_gargma <jc_gargma@iserlohn-fortress.net>2022-02-11 14:36:09 -0800
committerjc_gargma <jc_gargma@iserlohn-fortress.net>2022-02-11 14:36:09 -0800
commit8e5b10420591022054d22075e86201314be69a36 (patch)
treed1bd6ed54f1ca44bcb34a0101af2f18f84933131 /profiles
parentFix controller support for mgba and desmume (diff)
downloadfirejail-profiles-8e5b10420591022054d22075e86201314be69a36.tar.xz
Fix controller support for fceux.
Add net none to ppsspp by default, and add name_to_handle_at explanation.
Diffstat (limited to 'profiles')
-rw-r--r--profiles/fceux.profile3
-rw-r--r--profiles/ppsspp.local5
2 files changed, 7 insertions, 1 deletions
diff --git a/profiles/fceux.profile b/profiles/fceux.profile
index d573af7..bdbc3fe 100644
--- a/profiles/fceux.profile
+++ b/profiles/fceux.profile
@@ -15,8 +15,9 @@ include whitelist-common.inc
seccomp !name_to_handle_at
-# noinput breaks joysticks
+# fceux requires input and protocol netlink for controller support
ignore noinput
+protocol unix,netlink
ignore memory-deny-write-execute
diff --git a/profiles/ppsspp.local b/profiles/ppsspp.local
index bc75bbf..394df2a 100644
--- a/profiles/ppsspp.local
+++ b/profiles/ppsspp.local
@@ -4,7 +4,12 @@ read-only ${HOME}/games/Emulators/PSPGAMES
# machine-id, obs, and alsa don't get along
#ignore machine-id
+net none
+
+# # seccomp breaks integrated file manager on qt applications
+# # due to syscall name_to_handle_at
seccomp !name_to_handle_at
# # private-dev no longer breaks controllers
+# It relies on input and protocol netlink now
private-dev