-
Notifications
You must be signed in to change notification settings - Fork 555
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New profile: koreader.profile (#6243)
Description: Ebook reader application. https://koreader.rocks/
- Loading branch information
Showing
3 changed files
with
67 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -482,6 +482,7 @@ knotes | |
kodi | ||
konversation | ||
kopete | ||
koreader | ||
krita | ||
#krunner | ||
ktorrent | ||
|