diff options
author | jc_gargma <jc_gargma@iserlohn-fortress.net> | 2020-09-04 09:54:21 -0700 |
---|---|---|
committer | jc_gargma <jc_gargma@iserlohn-fortress.net> | 2020-09-04 09:54:21 -0700 |
commit | 09d8724fbfd0e42de2b9c337c6cfdcf4430fc5aa (patch) | |
tree | b4832b9fe976390312f2850da0d5a6ac646b09c9 /profiles | |
parent | Added profiles for Crusader Kings II and III (diff) | |
download | firejail-profiles-09d8724fbfd0e42de2b9c337c6cfdcf4430fc5aa.tar.xz |
Fix controllers and amdgpu crashing on several emulators
Diffstat (limited to 'profiles')
-rw-r--r-- | profiles/mgba.profile | 5 | ||||
-rw-r--r-- | profiles/mupen64plus-qt.profile | 30 | ||||
-rw-r--r-- | profiles/mupen64plus.local | 2 |
3 files changed, 10 insertions, 27 deletions
diff --git a/profiles/mgba.profile b/profiles/mgba.profile index 6a2fd69..dae77b6 100644 --- a/profiles/mgba.profile +++ b/profiles/mgba.profile @@ -20,7 +20,10 @@ include whitelist-common.inc # kcmp required for amdgpu seccomp !name_to_handle_at,!kcmp -# private-dev breaks joysticks +# netlink required for controller support +protocol unix,netlink + +# private-dev breaks controllers ignore private-dev ignore memory-deny-write-execute diff --git a/profiles/mupen64plus-qt.profile b/profiles/mupen64plus-qt.profile index f1c3931..b139abe 100644 --- a/profiles/mupen64plus-qt.profile +++ b/profiles/mupen64plus-qt.profile @@ -6,32 +6,10 @@ include mupen64plus-qt.local # Persistent global definitions include globals.local -noblacklist ${HOME}/.config/mupen64plus -noblacklist ${HOME}/.local/share/mupen64plus - -include disable-common.inc -include disable-devel.inc -include disable-passwdmgr.inc -include disable-passwdmgr.inc -include disable-programs.inc - -# you'll need to manually whitelist ROM files -mkdir ${HOME}/.config/mupen64plus -mkdir ${HOME}/.local/share/mupen64plus mkdir ${HOME}/.local/share/mupen64plus-qt -whitelist ${HOME}/.config/mupen64plus -whitelist ${HOME}/.local/share/mupen64plus whitelist ${HOME}/.local/share/mupen64plus-qt -whitelist ${HOME}/games/Emulators/N64GAMES -read-only ${HOME}/games/Emulators/N64GAMES -include whitelist-common.inc -caps.drop all -net none -nodbus -nodvd -nonewprivs -noroot -notv -novideo -seccomp +# name_to_handle_at required for kde file manager +seccomp !name_to_handle_at + +include mupen64plus.profile diff --git a/profiles/mupen64plus.local b/profiles/mupen64plus.local index 4c42d1e..67a8550 100644 --- a/profiles/mupen64plus.local +++ b/profiles/mupen64plus.local @@ -1,2 +1,4 @@ whitelist ${HOME}/games/Emulators/N64GAMES read-only ${HOME}/games/Emulators/N64GAMES + +protocol unix |