mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-21 06:45:29 -06:00
New profile: koreader.profile (#6243)
Description: Ebook reader application. https://koreader.rocks/
This commit is contained in:
parent
8636d32664
commit
c334f62e78
3 changed files with 67 additions and 0 deletions
|
|
@ -527,6 +527,7 @@ blacklist ${HOME}/.config/kmplayerrc
|
|||
blacklist ${HOME}/.config/knotesrc
|
||||
blacklist ${HOME}/.config/konversation.notifyrc
|
||||
blacklist ${HOME}/.config/konversationrc
|
||||
blacklist ${HOME}/.config/koreader
|
||||
blacklist ${HOME}/.config/kritarc
|
||||
blacklist ${HOME}/.config/ktorrentrc
|
||||
blacklist ${HOME}/.config/ktouch2rc
|
||||
|
|
|
|||
65
etc/profile-a-l/koreader.profile
Normal file
65
etc/profile-a-l/koreader.profile
Normal file
|
|
@ -0,0 +1,65 @@
|
|||
# Firejail profile for koreader
|
||||
# Description: Ebook reader application
|
||||
# This file is overwritten after every install/update
|
||||
# Persistent local customizations
|
||||
include koreader.local
|
||||
# Persistent global definitions
|
||||
include globals.local
|
||||
|
||||
blacklist /usr/libexec
|
||||
|
||||
noblacklist ${HOME}/.config/koreader
|
||||
noblacklist ${DOCUMENTS}
|
||||
|
||||
# Allow lua (blacklisted by disable-interpreters.inc)
|
||||
include allow-lua.inc
|
||||
|
||||
include disable-common.inc
|
||||
include disable-devel.inc
|
||||
include disable-exec.inc
|
||||
include disable-interpreters.inc
|
||||
include disable-proc.inc
|
||||
include disable-programs.inc
|
||||
include disable-xdg.inc
|
||||
|
||||
mkdir ${HOME}/.config/koreader
|
||||
whitelist ${HOME}/.config/koreader
|
||||
include whitelist-common.inc
|
||||
include whitelist-run-common.inc
|
||||
include whitelist-runuser-common.inc
|
||||
include whitelist-usr-share-common.inc
|
||||
|
||||
apparmor
|
||||
caps.drop all
|
||||
ipc-namespace
|
||||
machine-id
|
||||
net none
|
||||
#no3d
|
||||
nodvd
|
||||
nogroups
|
||||
noinput
|
||||
nonewprivs
|
||||
noprinters
|
||||
noroot
|
||||
nosound
|
||||
notv
|
||||
nou2f
|
||||
novideo
|
||||
protocol unix,netlink
|
||||
seccomp
|
||||
seccomp.block-secondary
|
||||
tracelog
|
||||
|
||||
private-cache
|
||||
private-dev
|
||||
private-etc
|
||||
private-lib
|
||||
private-tmp
|
||||
|
||||
dbus-user none
|
||||
dbus-system none
|
||||
|
||||
read-only ${HOME}
|
||||
read-write ${HOME}/.config/koreader
|
||||
read-write ${DOWNLOADS}
|
||||
restrict-namespaces
|
||||
|
|
@ -482,6 +482,7 @@ knotes
|
|||
kodi
|
||||
konversation
|
||||
kopete
|
||||
koreader
|
||||
krita
|
||||
#krunner
|
||||
ktorrent
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue