Skip to content

Commit

Permalink
Merge pull request #2883 from flacks/profiles/whalebird
Browse files Browse the repository at this point in the history
Add Whalebird profile
  • Loading branch information
SkewedZeppelin committed Aug 1, 2019
2 parents a02d122 + eb39b0d commit 94f86d7
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 0 deletions.
1 change: 1 addition & 0 deletions etc/disable-programs.inc
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,7 @@ blacklist ${HOME}/.config/vivaldi
blacklist ${HOME}/.config/vivaldi-snapshot
blacklist ${HOME}/.config/vlc
blacklist ${HOME}/.config/wesnoth
blacklist ${HOME}/.config/Whalebird
blacklist ${HOME}/.config/wireshark
blacklist ${HOME}/.config/xchat
blacklist ${HOME}/.config/xed
Expand Down
45 changes: 45 additions & 0 deletions etc/whalebird.profile
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# Firejail profile for whalebird
# Description: Electron-based Mastodon/Pleroma client
# This file is overwritten after every install/update
# Persistent local customizations
include whalebird.local
# Persistent global definitions
include globals.local

noblacklist ${HOME}/.config/Whalebird

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

mkdir ${HOME}/.config/Whalebird
whitelist ${HOME}/.config/Whalebird
whitelist ${DOWNLOADS}
include whitelist-common.inc
include whitelist-var-common.inc

apparmor
caps.drop all
netfilter
no3d
nodvd
nogroups
nonewprivs
noroot
notv
nou2f
novideo
protocol unix,inet,inet6
seccomp
shell none

disable-mnt
private-bin whalebird
private-cache
private-dev
private-etc fonts,machine-id
private-tmp
1 change: 1 addition & 0 deletions src/firecfg/firecfg.config
Original file line number Diff line number Diff line change
Expand Up @@ -641,6 +641,7 @@ weechat
weechat-curses
wesnoth
wget
whalebird
whois
widelands
wine
Expand Down

0 comments on commit 94f86d7

Please sign in to comment.