summaryrefslogtreecommitdiff
path: root/profiles
diff options
context:
space:
mode:
authorjc_gargma <jc_gargma@iserlohn-fortress.net>2023-03-23 19:34:15 -0700
committerjc_gargma <jc_gargma@iserlohn-fortress.net>2023-03-23 19:34:15 -0700
commit0ccb8e5a88ac122f2fcb4018a1f8e49fd6f66594 (patch)
treee26b10672d117c3e536428ac6a70471ed911c018 /profiles
parentUpdate PKGBUILD. (diff)
downloadfirejail-profiles-0ccb8e5a88ac122f2fcb4018a1f8e49fd6f66594.tar.xz
Add more read-write paths and fix a type in bannerlord profile.
Diffstat (limited to 'profiles')
-rw-r--r--profiles/wine_mount-and-blade-ii.profile15
1 files changed, 11 insertions, 4 deletions
diff --git a/profiles/wine_mount-and-blade-ii.profile b/profiles/wine_mount-and-blade-ii.profile
index e25bdb3..9a7dc45 100644
--- a/profiles/wine_mount-and-blade-ii.profile
+++ b/profiles/wine_mount-and-blade-ii.profile
@@ -5,26 +5,33 @@ include mount-and-blade-ii.local
include globals.local
noblacklist ${HOME}/.local/share/wineprefixes/MountAndBladeBannerlord
+
whitelist ${HOME}/.local/share/wineprefixes/MountAndBladeBannerlord
+
mkfile ${HOME}/.local/share/wineprefixes/MountAndBladeBannerlord/drive_c/GOG Games/Mount And Blade II Bannerlord/bin/Win64_Shipping_Client/Bannerlord.dxvk-cache
-mkfile ${HOME}/.local/share/wineprefixes/MountAndBladeBannerlord/drive_c/GOG Games/Mount And Blade II Bannerlord/bin/Win64_Shipping_Client/Bannerlord.Native.dxvk-cache
mkfile ${HOME}/.local/share/wineprefixes/MountAndBladeBannerlord/drive_c/GOG Games/Mount And Blade II Bannerlord/bin/Win64_Shipping_Client/Bannerlord_d3d11.log
mkfile ${HOME}/.local/share/wineprefixes/MountAndBladeBannerlord/drive_c/GOG Games/Mount And Blade II Bannerlord/bin/Win64_Shipping_Client/Bannerlord_dxgi.log
+mkfile ${HOME}/.local/share/wineprefixes/MountAndBladeBannerlord/drive_c/GOG Games/Mount And Blade II Bannerlord/bin/Win64_Shipping_Client/Bannerlord.Native.dxvk-cache
+mkfile ${HOME}/.local/share/wineprefixes/MountAndBladeBannerlord/drive_c/GOG Games/Mount And Blade II Bannerlord/bin/Win64_Shipping_Client/Bannerlord.Native_d3d11.log
+mkfile ${HOME}/.local/share/wineprefixes/MountAndBladeBannerlord/drive_c/GOG Games/Mount And Blade II Bannerlord/bin/Win64_Shipping_Client/Bannerlord.Native_dxgi.log
mkfile ${HOME}/.local/share/wineprefixes/MountAndBladeBannerlord/drive_c/GOG Games/Mount And Blade II Bannerlord/bin/Win64_Shipping_Client/imgui.ini
+
read-only ${HOME}/.local/share/wineprefixes/MountAndBladeBannerlord/drive_c/GOG Games/Mount And Blade II Bannerlord
read-write ${HOME}/.local/share/wineprefixes/MountAndBladeBannerlord/drive_c/GOG Games/Mount And Blade II Bannerlord/bin/Win64_Shipping_Client/Bannerlord.dxvk-cache
-read-write ${HOME}/.local/share/wineprefixes/MountAndBladeBannerlord/drive_c/GOG Games/Mount And Blade II Bannerlord/bin/Win64_Shipping_Client/Bannerlord.Native.dxvk-cache
read-write ${HOME}/.local/share/wineprefixes/MountAndBladeBannerlord/drive_c/GOG Games/Mount And Blade II Bannerlord/bin/Win64_Shipping_Client/Bannerlord_d3d11.log
read-write ${HOME}/.local/share/wineprefixes/MountAndBladeBannerlord/drive_c/GOG Games/Mount And Blade II Bannerlord/bin/Win64_Shipping_Client/Bannerlord_dxgi.log
+read-write ${HOME}/.local/share/wineprefixes/MountAndBladeBannerlord/drive_c/GOG Games/Mount And Blade II Bannerlord/bin/Win64_Shipping_Client/Bannerlord.Native.dxvk-cache
+read-write ${HOME}/.local/share/wineprefixes/MountAndBladeBannerlord/drive_c/GOG Games/Mount And Blade II Bannerlord/bin/Win64_Shipping_Client/Bannerlord.Native_d3d11.log
+read-write ${HOME}/.local/share/wineprefixes/MountAndBladeBannerlord/drive_c/GOG Games/Mount And Blade II Bannerlord/bin/Win64_Shipping_Client/Bannerlord.Native_dxgi.log
read-write ${HOME}/.local/share/wineprefixes/MountAndBladeBannerlord/drive_c/GOG Games/Mount And Blade II Bannerlord/bin/Win64_Shipping_Client/imgui.ini
# machine-id, obs, and alsa don't get along
#ignore machine-id
# Bannerlord requires netlink or it will remain on the initial loading screen forever
-protocol unix, netlink
+protocol unix,netlink
-# MB2 requires seccomp and ptrace
+# MB2 requires name_to_handle_at and ptrace
# Not anymore
#seccomp !name_to_handle_at,!ptrace