summaryrefslogtreecommitdiffstats
path: root/etc/links.profile
diff options
context:
space:
mode:
authorLibravatar Jose Riha <jose1711@gmail.com>2019-06-02 13:13:58 +0200
committerLibravatar rusty-snake <print_hello_world+Public@protonmail.com>2019-06-02 11:13:58 +0000
commitcdc23478db1a3c4ae256dead1f837c36fc4032ef (patch)
tree2242887518fc3ce31c2cc658963015d95dda6f2b /etc/links.profile
parentinstalling etc/templates in /usr/share/doc/firejail directory (diff)
downloadfirejail-cdc23478db1a3c4ae256dead1f837c36fc4032ef.tar.gz
firejail-cdc23478db1a3c4ae256dead1f837c36fc4032ef.tar.zst
firejail-cdc23478db1a3c4ae256dead1f837c36fc4032ef.zip
Add profile for links and xlinks (#2734)
* Add profile for links and xlinks * Add profile for links and xlinks * (X)links changes from review xlinks redirects to links Add basic private-etc line and a commented, extended private-etc * Add alternatives to private-etc
Diffstat (limited to 'etc/links.profile')
-rw-r--r--etc/links.profile64
1 files changed, 64 insertions, 0 deletions
diff --git a/etc/links.profile b/etc/links.profile
new file mode 100644
index 000000000..99b445fe0
--- /dev/null
+++ b/etc/links.profile
@@ -0,0 +1,64 @@
1# Firejail profile for links
2# Description: Text WWW browser
3# This file is overwritten after every install/update
4# Persistent local customizations
5include links.local
6# Persistent global definitions
7include globals.local
8
9blacklist /tmp/.X11-unix
10
11noblacklist ${HOME}/.links
12
13include disable-common.inc
14include disable-devel.inc
15include disable-exec.inc
16include disable-interpreters.inc
17include disable-passwdmgr.inc
18# you may want to noblacklist files/directories blacklisted in
19# disable-programs.inc and used as associated programs
20include disable-programs.inc
21include disable-xdg.inc
22
23mkdir ${HOME}/.links
24whitelist ${HOME}/.links
25whitelist ${DOWNLOADS}
26include whitelist-var-common.inc
27
28caps.drop all
29ipc-namespace
30# comment machine-id (or put 'ignore machine-id' in your links.local) if you want
31# to allow access only to user-configured associated media player
32machine-id
33netfilter
34# comment no3d (or put 'ignore no3d' in your links.local) if you want
35# to allow access only to user-configured associated media player
36no3d
37nodvd
38nogroups
39nonewprivs
40noroot
41# comment nosound (or put 'ignore nosound' in your links.local) if you want
42# to allow access only to user-configured associated media player
43nosound
44notv
45nou2f
46novideo
47protocol unix,inet,inet6
48seccomp
49shell none
50tracelog
51
52disable-mnt
53# if you want to use user-configured programs add 'private-bin PROGRAM1,PROGRAM2' to your links.local
54# or append 'PROGRAM1,PROGRAM2' to this private-bin line
55private-bin links,sh
56private-cache
57private-dev
58private-etc alternatives,ca-certificates,crypto-policies,nsswitch.conf,pki,resolv.conf,ssl
59# Uncomment the following line (or put it in your links.local) allow external
60# media players
61# private-etc alsa,asound.conf,machine-id,openal,pulse
62private-tmp
63
64memory-deny-write-execute