| 1 |
# Firejail profile for linphone |
| 2 |
# Description: SIP softphone - graphical client |
| 3 |
# This file is overwritten after every install/update |
| 4 |
# Persistent local customizations |
| 5 |
include linphone.local |
| 6 |
# Persistent global definitions |
| 7 |
include globals.local |
| 8 |
|
| 9 |
noblacklist ${HOME}/.config/linphone |
| 10 |
noblacklist ${HOME}/.linphone-history.db |
| 11 |
noblacklist ${HOME}/.linphonerc |
| 12 |
noblacklist ${HOME}/.local/share/linphone |
| 13 |
|
| 14 |
include disable-common.inc |
| 15 |
include disable-devel.inc |
| 16 |
include disable-exec.inc |
| 17 |
include disable-interpreters.inc |
| 18 |
include disable-programs.inc |
| 19 |
|
| 20 |
# linphone 4.0 (released 2017-06-26) moved config and database files to respect |
| 21 |
# freedesktop standards. For backward compatibility we continue to whitelist |
| 22 |
# ${HOME}/.linphone-history.db and ${HOME}/.linphonerc but no longer mkfile. |
| 23 |
mkdir ${HOME}/.config/linphone |
| 24 |
mkdir ${HOME}/.local/share/linphone |
| 25 |
whitelist ${HOME}/.config/linphone |
| 26 |
whitelist ${HOME}/.linphone-history.db |
| 27 |
whitelist ${HOME}/.linphonerc |
| 28 |
whitelist ${HOME}/.local/share/linphone |
| 29 |
whitelist ${DOWNLOADS} |
| 30 |
include whitelist-common.inc |
| 31 |
|
| 32 |
caps.drop all |
| 33 |
netfilter |
| 34 |
no3d |
| 35 |
nodvd |
| 36 |
nogroups |
| 37 |
noinput |
| 38 |
nonewprivs |
| 39 |
noroot |
| 40 |
notv |
| 41 |
nou2f |
| 42 |
novideo |
| 43 |
protocol unix,inet,inet6 |
| 44 |
seccomp |
| 45 |
|
| 46 |
disable-mnt |
| 47 |
private-dev |
| 48 |
private-tmp |
| 49 |
|
| 50 |
restrict-namespaces |