-
Notifications
You must be signed in to change notification settings - Fork 567
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* firecfg.config alpine * Create alpinef.profile * Create alpine.profile * disable-programs.inc alpine * workaround in comment * Update etc/profile-a-l/alpine.profile Co-authored-by: rusty-snake <41237666+rusty-snake@users.noreply.github.com> * deactivating whitelists in ${HOME} * comment Co-authored-by: rusty-snake <41237666+rusty-snake@users.noreply.github.com>
- Loading branch information
1 parent
1a66c8b
commit 1ca9046
Showing
4 changed files
with
130 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,104 @@ | ||
# Firejail profile for alpine | ||
# Description: Text-based email and newsgroups reader | ||
# This file is overwritten after every install/update | ||
quiet | ||
# Persistent local customizations | ||
include alpine.local | ||
# Persistent global definitions | ||
include globals.local | ||
|
||
# Workaround for bug https://github.com/netblue30/firejail/issues/2747 | ||
# firejail --private-bin=sh --include='${CFG}/allow-bin-sh.inc' --profile=alpine sh -c '(alpine)' | ||
|
||
noblacklist /var/mail | ||
noblacklist /var/spool/mail | ||
noblacklist ${DOCUMENTS} | ||
noblacklist ${HOME}/.addressbook | ||
noblacklist ${HOME}/.alpine-smime | ||
noblacklist ${HOME}/.mailcap | ||
noblacklist ${HOME}/.mh_profile | ||
noblacklist ${HOME}/.mime.types | ||
noblacklist ${HOME}/.newsrc | ||
noblacklist ${HOME}/.pine-crash | ||
noblacklist ${HOME}/.pine-debug1 | ||
noblacklist ${HOME}/.pine-debug2 | ||
noblacklist ${HOME}/.pine-debug3 | ||
noblacklist ${HOME}/.pine-debug4 | ||
noblacklist ${HOME}/.pine-interrupted-mail | ||
noblacklist ${HOME}/.pinerc | ||
noblacklist ${HOME}/.pinercex | ||
noblacklist ${HOME}/.signature | ||
noblacklist ${HOME}/mail | ||
|
||
blacklist /tmp/.X11-unix | ||
blacklist ${RUNUSER}/wayland-* | ||
|
||
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 | ||
|
||
#whitelist ${DOCUMENTS} | ||
#whitelist ${DOWNLOADS} | ||
#whitelist ${HOME}/.addressbook | ||
#whitelist ${HOME}/.alpine-smime | ||
#whitelist ${HOME}/.mailcap | ||
#whitelist ${HOME}/.mh_profile | ||
#whitelist ${HOME}/.mime.types | ||
#whitelist ${HOME}/.newsrc | ||
#whitelist ${HOME}/.pine-crash | ||
#whitelist ${HOME}/.pine-interrupted-mail | ||
#whitelist ${HOME}/.pinerc | ||
#whitelist ${HOME}/.pinercex | ||
#whitelist ${HOME}/.pine-debug1 | ||
#whitelist ${HOME}/.pine-debug2 | ||
#whitelist ${HOME}/.pine-debug3 | ||
#whitelist ${HOME}/.pine-debug4 | ||
#whitelist ${HOME}/.signature | ||
#whitelist ${HOME}/mail | ||
whitelist /var/mail | ||
whitelist /var/spool/mail | ||
#include whitelist-common.inc | ||
include whitelist-runuser-common.inc | ||
include whitelist-usr-share-common.inc | ||
include whitelist-var-common.inc | ||
|
||
apparmor | ||
caps.drop all | ||
ipc-namespace | ||
machine-id | ||
netfilter | ||
no3d | ||
nodvd | ||
nogroups | ||
noinput | ||
nonewprivs | ||
noroot | ||
nosound | ||
notv | ||
nou2f | ||
novideo | ||
protocol unix,inet,inet6 | ||
seccomp | ||
seccomp.block-secondary | ||
shell none | ||
tracelog | ||
|
||
disable-mnt | ||
private-bin alpine | ||
private-cache | ||
private-dev | ||
private-etc alternatives,c-client.cf,ca-certificates,crypto-policies,host.conf,hostname,hosts,krb5.keytab,ld.so.cache,ld.so.conf,ld.so.conf.d,ld.so.preload,locale,locale.alias,locale.conf,localtime,mailcap,mime.types,nsswitch.conf,passwd,pine.conf,pinerc.fixed,pki,protocols,resolv.conf,rpc,services,ssl,terminfo,xdg | ||
private-tmp | ||
writable-run-user | ||
writable-var | ||
|
||
dbus-user none | ||
dbus-system none | ||
|
||
memory-deny-write-execute | ||
read-only ${HOME}/.signature |
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,14 @@ | ||
# Firejail profile for alpinef | ||
# Description: Text-based email and newsgroups reader using function keys | ||
# This file is overwritten after every install/update | ||
quiet | ||
# Persistent local customizations | ||
include alpinef.local | ||
# Persistent global definitions | ||
# added by included profile | ||
#include globals.local | ||
|
||
private-bin alpinef | ||
|
||
# Redirect | ||
include alpine.profile |
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 |
---|---|---|
|
@@ -38,6 +38,8 @@ abrowser | |
akonadi_control | ||
akregator | ||
alacarte | ||
alpine | ||
alpinef | ||
amarok | ||
amule | ||
amuled | ||
|