mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-16 14:16:16 -06:00
Commons of opengl-game-wrapper.sh
[skip ci] - Add allow-opengl-game.inc - Add profiles for alienarena-wrapper, ballbuster-wrapper, colorful-wrapper, etr-wrapper, gl-117-wrapper, glaxium-wrapper, neverball-wrapper, neverputt-wrapper, pinball-wrapper, supertuxkart-wrapper - Use allow-opengl-game.inc in xonotic.profile and the profiles above - xonotic.profile: simplify private-bin by using xonotic*
This commit is contained in:
parent
18adb74645
commit
41f69f7a74
15 changed files with 153 additions and 7 deletions
3
etc/inc/allow-opengl-game.inc
Normal file
3
etc/inc/allow-opengl-game.inc
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
noblacklist ${PATH}/bash
|
||||
whitelist /usr/share/opengl-games-utils/opengl-game-functions.sh
|
||||
private-bin basename,bash,cut,glxinfo,grep,head,sed,zenity
|
||||
14
etc/profile-a-l/alienarena-wrapper.profile
Normal file
14
etc/profile-a-l/alienarena-wrapper.profile
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
# Firejail profile for alienarena-wrapper
|
||||
# This file is overwritten after every install/update
|
||||
# Persistent local customizations
|
||||
include alienarena-wrapper.local
|
||||
# Persistent global definitions
|
||||
# added by included profile
|
||||
#include globals.local
|
||||
|
||||
include allow-opengl-game.inc
|
||||
|
||||
private-bin alienarena-wrapper
|
||||
|
||||
# Redirect
|
||||
include alienarena.profile
|
||||
14
etc/profile-a-l/ballbuster-wrapper.profile
Normal file
14
etc/profile-a-l/ballbuster-wrapper.profile
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
# Firejail profile for ballbuster-wrapper
|
||||
# This file is overwritten after every install/update
|
||||
# Persistent local customizations
|
||||
include ballbuster-wrapper.local
|
||||
# Persistent global definitions
|
||||
# added by included profile
|
||||
#include globals.local
|
||||
|
||||
include allow-opengl-game.inc
|
||||
|
||||
private-bin ballbuster-wrapper
|
||||
|
||||
# Redirect
|
||||
include ballbuster.profile
|
||||
14
etc/profile-a-l/colorful-wrapper.profile
Normal file
14
etc/profile-a-l/colorful-wrapper.profile
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
# Firejail profile for colorful-wrapper
|
||||
# This file is overwritten after every install/update
|
||||
# Persistent local customizations
|
||||
include colorful-wrapper.local
|
||||
# Persistent global definitions
|
||||
# added by included profile
|
||||
#include globals.local
|
||||
|
||||
include allow-opengl-game.inc
|
||||
|
||||
private-bin colorful-wrapper
|
||||
|
||||
# Redirect
|
||||
include colorful.profile
|
||||
14
etc/profile-a-l/etr-wrapper.profile
Normal file
14
etc/profile-a-l/etr-wrapper.profile
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
# Firejail profile for etr-wrapper
|
||||
# This file is overwritten after every install/update
|
||||
# Persistent local customizations
|
||||
include etr-wrapper.local
|
||||
# Persistent global definitions
|
||||
# added by included profile
|
||||
#include globals.local
|
||||
|
||||
include allow-opengl-game.inc
|
||||
|
||||
private-bin etr-wrapper
|
||||
|
||||
# Redirect
|
||||
include etr.profile
|
||||
14
etc/profile-a-l/gl-117-wrapper.profie
Normal file
14
etc/profile-a-l/gl-117-wrapper.profie
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
# Firejail profile for gl-117-wrapper
|
||||
# This file is overwritten after every install/update
|
||||
# Persistent local customizations
|
||||
include gl-117-wrapper.local
|
||||
# Persistent global definitions
|
||||
# added by included profile
|
||||
#include globals.local
|
||||
|
||||
include allow-opengl-game.inc
|
||||
|
||||
private-bin gl-117-wrapper
|
||||
|
||||
# Redirect
|
||||
include gl-117.profile
|
||||
14
etc/profile-a-l/glaxium-wrapper.profie
Normal file
14
etc/profile-a-l/glaxium-wrapper.profie
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
# Firejail profile for glaxium-wrapper
|
||||
# This file is overwritten after every install/update
|
||||
# Persistent local customizations
|
||||
include glaxium-wrapper.local
|
||||
# Persistent global definitions
|
||||
# added by included profile
|
||||
#include globals.local
|
||||
|
||||
include allow-opengl-game.inc
|
||||
|
||||
private-bin glaxium-wrapper
|
||||
|
||||
# Redirect
|
||||
include glaxium.profile
|
||||
14
etc/profile-m-z/neverball-wrapper.profie
Normal file
14
etc/profile-m-z/neverball-wrapper.profie
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
# Firejail profile for neverball-wrapper
|
||||
# This file is overwritten after every install/update
|
||||
# Persistent local customizations
|
||||
include neverball-wrapper.local
|
||||
# Persistent global definitions
|
||||
# added by included profile
|
||||
#include globals.local
|
||||
|
||||
include allow-opengl-game.inc
|
||||
|
||||
private-bin neverball-wrapper
|
||||
|
||||
# Redirect
|
||||
include neverball.profile
|
||||
14
etc/profile-m-z/neverputt-wrapper.profie
Normal file
14
etc/profile-m-z/neverputt-wrapper.profie
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
# Firejail profile for neverputt-wrapper
|
||||
# This file is overwritten after every install/update
|
||||
# Persistent local customizations
|
||||
include neverputt-wrapper.local
|
||||
# Persistent global definitions
|
||||
# added by included profile
|
||||
#include globals.local
|
||||
|
||||
include allow-opengl-game.inc
|
||||
|
||||
private-bin neverputt-wrapper
|
||||
|
||||
# Redirect
|
||||
include neverputt.profile
|
||||
14
etc/profile-m-z/pinball-wrapper.profie
Normal file
14
etc/profile-m-z/pinball-wrapper.profie
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
# Firejail profile for pinball-wrapper
|
||||
# This file is overwritten after every install/update
|
||||
# Persistent local customizations
|
||||
include pinball-wrapper.local
|
||||
# Persistent global definitions
|
||||
# added by included profile
|
||||
#include globals.local
|
||||
|
||||
include allow-opengl-game.inc
|
||||
|
||||
private-bin pinball-wrapper
|
||||
|
||||
# Redirect
|
||||
include pinball.profile
|
||||
|
|
@ -1,10 +1,11 @@
|
|||
# Firejail profile for scorched3d
|
||||
# Firejail profile for scorched3d-wrapper
|
||||
# This file is overwritten after every install/update
|
||||
# Persistent local customizations
|
||||
include scorched3d-wrapper.local
|
||||
|
||||
whitelist /usr/share/opengl-games-utils
|
||||
private-bin basename,bash,cut,glxinfo,grep,head,sed,zenity
|
||||
include allow-opengl-game.inc
|
||||
|
||||
private-bin scorched3d-wrapper
|
||||
|
||||
# Redirect
|
||||
include scorched3d.profile
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ shell none
|
|||
tracelog
|
||||
|
||||
disable-mnt
|
||||
private-bin scorched3d,scorched3d-wrapper,scorched3dc,scorched3ds
|
||||
private-bin scorched3d,scorched3dc,scorched3ds
|
||||
private-cache
|
||||
private-dev
|
||||
private-tmp
|
||||
|
|
|
|||
14
etc/profile-m-z/supertuxkart-wrapper.profile
Normal file
14
etc/profile-m-z/supertuxkart-wrapper.profile
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
# Firejail profile for supertuxkart-wrapper
|
||||
# This file is overwritten after every install/update
|
||||
# Persistent local customizations
|
||||
include supertuxkart-wrapper.local
|
||||
# Persistent global definitions
|
||||
# added by included profile
|
||||
#include globals.local
|
||||
|
||||
include allow-opengl-game.inc
|
||||
|
||||
private-bin supertuxkart-wrapper
|
||||
|
||||
# Redirect
|
||||
include supertuxkart.profile
|
||||
|
|
@ -8,12 +8,16 @@ include globals.local
|
|||
|
||||
noblacklist ${HOME}/.xonotic
|
||||
|
||||
include allow-bin-sh.inc
|
||||
include allow-opengl-game.inc
|
||||
|
||||
include disable-common.inc
|
||||
include disable-devel.inc
|
||||
include disable-exec.inc
|
||||
include disable-interpreters.inc
|
||||
include disable-passwdmgr.inc
|
||||
include disable-programs.inc
|
||||
include disable-shell.inc
|
||||
include disable-xdg.inc
|
||||
|
||||
mkdir ${HOME}/.xonotic
|
||||
|
|
@ -41,7 +45,7 @@ tracelog
|
|||
|
||||
disable-mnt
|
||||
private-cache
|
||||
private-bin basename,bash,blind-id,cut,darkplaces-glx,darkplaces-sdl,dirname,glxinfo,grep,head,ldd,netstat,ps,readlink,sed,sh,uname,xonotic,xonotic-glx,xonotic-linux32-dedicated,xonotic-linux32-glx,xonotic-linux32-sdl,xonotic-linux64-dedicated,xonotic-linux64-glx,xonotic-linux64-sdl,xonotic-sdl,xonotic-sdl-wrapper,zenity
|
||||
private-bin blind-id,darkplaces-glx,darkplaces-sdl,dirname,ldd,netstat,ps,readlink,sh,uname,xonotic*
|
||||
private-dev
|
||||
private-etc alternatives,asound.conf,ca-certificates,crypto-policies,drirc,fonts,group,host.conf,hostname,hosts,ld.so.cache,ld.so.preload,localtime,machine-id,nsswitch.conf,passwd,pki,pulse,resolv.conf,ssl
|
||||
private-tmp
|
||||
|
|
|
|||
|
|
@ -678,7 +678,6 @@ runenpass.sh
|
|||
sayonara
|
||||
scallion
|
||||
scorched3d
|
||||
scorched3d-wrapper
|
||||
scorchwentbonkers
|
||||
scribus
|
||||
sdat2img
|
||||
|
|
@ -872,7 +871,6 @@ xmr-stak
|
|||
xonotic
|
||||
xonotic-glx
|
||||
xonotic-sdl
|
||||
xonotic-sdl-wrapper
|
||||
xournal
|
||||
xournalpp
|
||||
xpdf
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue