mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-21 06:45:29 -06:00
apparmor
This commit is contained in:
parent
5b081b6981
commit
255697b15a
15 changed files with 68 additions and 5 deletions
|
|
@ -23,7 +23,9 @@ include disable-xdg.inc
|
|||
|
||||
include whitelist-var-common.inc
|
||||
|
||||
apparmor
|
||||
caps.drop all
|
||||
net none
|
||||
netfilter
|
||||
no3d
|
||||
nodvd
|
||||
|
|
|
|||
|
|
@ -22,6 +22,7 @@ include whitelist-common.inc
|
|||
include whitelist-usr-share-common.inc
|
||||
include whitelist-var-common.inc
|
||||
|
||||
apparmor
|
||||
caps.drop all
|
||||
machine-id
|
||||
net none
|
||||
|
|
|
|||
|
|
@ -17,7 +17,9 @@ include disable-xdg.inc
|
|||
|
||||
include whitelist-var-common.inc
|
||||
|
||||
apparmor
|
||||
caps.drop all
|
||||
net none
|
||||
netfilter
|
||||
no3d
|
||||
nodvd
|
||||
|
|
|
|||
|
|
@ -23,6 +23,7 @@ include disable-xdg.inc
|
|||
|
||||
include whitelist-var-common.inc
|
||||
|
||||
apparmor
|
||||
caps.drop all
|
||||
netfilter
|
||||
no3d
|
||||
|
|
@ -37,8 +38,9 @@ seccomp
|
|||
shell none
|
||||
tracelog
|
||||
|
||||
private-bin env,gio-launch-desktop,gnome-music,python*,yelp
|
||||
# private-bin calls a file manager - whatever is installed!
|
||||
#private-bin env,gio-launch-desktop,gnome-music,python*,yelp
|
||||
private-dev
|
||||
private-etc alternatives,asound.conf,fonts,machine-id,pulse
|
||||
private-etc alternatives,asound.conf,fonts,machine-id,pulse,fonts,xdg,gtk-3.0,dconf,selinux,
|
||||
private-tmp
|
||||
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@ include disable-programs.inc
|
|||
|
||||
include whitelist-var-common.inc
|
||||
|
||||
apparmor
|
||||
caps.drop all
|
||||
netfilter
|
||||
nodvd
|
||||
|
|
|
|||
|
|
@ -26,7 +26,8 @@ include whitelist-common.inc
|
|||
include whitelist-usr-share-common.inc
|
||||
include whitelist-var-common.inc
|
||||
|
||||
caps.drop all
|
||||
apparmor
|
||||
aps.drop all
|
||||
ipc-namespace
|
||||
machine-id
|
||||
netfilter
|
||||
|
|
|
|||
41
etc/kmplayer.profile
Normal file
41
etc/kmplayer.profile
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
# Firejail profile for mplayer
|
||||
# Description: mplayer KDE GUI (movie player)
|
||||
# This file is overwritten after every install/update
|
||||
# Persistent local customizations
|
||||
include kmplayer.local
|
||||
# Persistent global definitions
|
||||
include globals.local
|
||||
|
||||
noblacklist ${HOME}/.config/kmplayerrc
|
||||
noblacklist ${HOME}/.kde/share/config/kmplayerrc
|
||||
noblacklist ${HOME}/.local/share/kmplayer
|
||||
noblacklist ${MUSIC}
|
||||
noblacklist ${VIDEOS}
|
||||
|
||||
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-xdg.inc
|
||||
|
||||
include whitelist-usr-share-common.inc
|
||||
include whitelist-var-common.inc
|
||||
|
||||
apparmor
|
||||
caps.drop all
|
||||
netfilter
|
||||
nogroups
|
||||
nonewprivs
|
||||
noroot
|
||||
nou2f
|
||||
protocol unix,inet,inet6,netlink
|
||||
seccomp
|
||||
shell none
|
||||
|
||||
# private-bin kmplayer,mplayer
|
||||
private-cache
|
||||
private-dev
|
||||
private-tmp
|
||||
|
||||
|
|
@ -22,8 +22,10 @@ include disable-programs.inc
|
|||
|
||||
include whitelist-var-common.inc
|
||||
|
||||
apparmor
|
||||
caps.drop all
|
||||
ipc-namespace
|
||||
net none
|
||||
netfilter
|
||||
nodvd
|
||||
nogroups
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ whitelist /usr/share/libquvi-scripts
|
|||
include whitelist-usr-share-common.inc
|
||||
include whitelist-var-common.inc
|
||||
|
||||
# apparmor - makes settings immutable
|
||||
apparmor
|
||||
caps.drop all
|
||||
netfilter
|
||||
# nodbus - makes settings immutable
|
||||
|
|
@ -38,7 +38,7 @@ noroot
|
|||
notv
|
||||
nou2f
|
||||
novideo
|
||||
protocol unix,inet,inet6
|
||||
protocol unix,inet,inet6,netlink
|
||||
seccomp
|
||||
shell none
|
||||
tracelog
|
||||
|
|
|
|||
|
|
@ -17,7 +17,11 @@ include disable-interpreters.inc
|
|||
include disable-passwdmgr.inc
|
||||
include disable-programs.inc
|
||||
|
||||
include whitelist-var-common.inc
|
||||
|
||||
apparmor
|
||||
caps.drop all
|
||||
net none
|
||||
netfilter
|
||||
no3d
|
||||
nodvd
|
||||
|
|
|
|||
|
|
@ -23,6 +23,7 @@ whitelist /usr/share/shellcheck
|
|||
include whitelist-usr-share-common.inc
|
||||
include whitelist-var-common.inc
|
||||
|
||||
apparmor
|
||||
caps.drop all
|
||||
ipc-namespace
|
||||
machine-id
|
||||
|
|
|
|||
|
|
@ -10,6 +10,7 @@ noblacklist ${HOME}/.simutrans
|
|||
|
||||
include disable-common.inc
|
||||
include disable-devel.inc
|
||||
include disable-exec.inc
|
||||
include disable-interpreters.inc
|
||||
include disable-passwdmgr.inc
|
||||
include disable-programs.inc
|
||||
|
|
@ -17,7 +18,9 @@ include disable-programs.inc
|
|||
mkdir ${HOME}/.simutrans
|
||||
whitelist ${HOME}/.simutrans
|
||||
include whitelist-common.inc
|
||||
include whitelist-var-common.inc
|
||||
|
||||
apparmor
|
||||
caps.drop all
|
||||
net none
|
||||
nodbus
|
||||
|
|
|
|||
|
|
@ -28,6 +28,7 @@ whitelist /usr/share/smtube
|
|||
include whitelist-usr-share-common.inc
|
||||
include whitelist-var-common.inc
|
||||
|
||||
apparmor
|
||||
caps.drop all
|
||||
netfilter
|
||||
nodvd
|
||||
|
|
|
|||
|
|
@ -21,6 +21,7 @@ whitelist ${HOME}/.widelands
|
|||
include whitelist-common.inc
|
||||
include whitelist-var-common.inc
|
||||
|
||||
apparmor
|
||||
caps.drop all
|
||||
ipc-namespace
|
||||
netfilter
|
||||
|
|
|
|||
|
|
@ -15,6 +15,7 @@ include disable-xdg.inc
|
|||
|
||||
include whitelist-var-common.inc
|
||||
|
||||
apparmor
|
||||
caps.drop all
|
||||
net none
|
||||
no3d
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue