summaryrefslogtreecommitdiff
path: root/profiles
diff options
context:
space:
mode:
Diffstat (limited to 'profiles')
-rw-r--r--profiles/mgba.profile5
-rw-r--r--profiles/mupen64plus-qt.profile30
-rw-r--r--profiles/mupen64plus.local2
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