mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-23 06:02:23 -06:00
52 lines
1.1 KiB
Text
52 lines
1.1 KiB
Text
# Firejail profile for mpDris2
|
|
# Description: MPRIS2 support for MPD
|
|
# This file is overwritten after every install/update
|
|
# Persistent local customizations
|
|
include mpDris2.local
|
|
# Persistent global definitions
|
|
include globals.local
|
|
|
|
noblacklist ${HOME}/.config/mpDris2
|
|
|
|
# Allow python (blacklisted by disable-interpreters.inc)
|
|
noblacklist ${PATH}/python2*
|
|
noblacklist ${PATH}/python3*
|
|
noblacklist /usr/lib/python2*
|
|
noblacklist /usr/lib/python3*
|
|
noblacklist /usr/local/lib/python2*
|
|
noblacklist /usr/local/lib/python3*
|
|
|
|
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
|
|
|
|
caps.drop all
|
|
machine-id
|
|
netfilter
|
|
no3d
|
|
nodvd
|
|
nogroups
|
|
nonewprivs
|
|
noroot
|
|
nosound
|
|
notv
|
|
nou2f
|
|
novideo
|
|
protocol unix,inet,inet6
|
|
seccomp
|
|
shell none
|
|
|
|
private-bin mpDris2,notify-send,python*
|
|
private-cache
|
|
private-dev
|
|
private-etc alternatives,hosts,nsswitch.conf
|
|
private-lib libdbus-1.so.*,libdbus-glib-1.so.*,libgirepository-1.0.so.*,libnotify.so.*,libpython*,python2*,python3*
|
|
private-tmp
|
|
|
|
# memory-deny-write-execute - Breaks on Arch
|
|
|
|
read-only ${HOME}
|