aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar pirate486743186 <okgomdjgbmoij@gmail.com>2021-06-04 22:24:09 +0200
committerLibravatar GitHub <noreply@github.com>2021-06-04 20:24:09 +0000
commitf32b5d95996d661632edc6ce8d377276ae32db7c (patch)
treed42646ddc57100dd7f1d36a433a1fc617891893d
parentMerge pull request #4326 from jsquyres/pr/master/dont-quote-all-cmdlines (diff)
downloadfirejail-f32b5d95996d661632edc6ce8d377276ae32db7c.tar.gz
firejail-f32b5d95996d661632edc6ce8d377276ae32db7c.tar.zst
firejail-f32b5d95996d661632edc6ce8d377276ae32db7c.zip
creating googler and ddgr profiles (#4333)
* Create googler-common.profile * Create googler.profile * Create ddgr.profile * Update firecfg.config * sort fix * space * space * tightening * comment * fix comment * fix private-etc and ${DOWNLOADS} * fix sort * redundant ${DOWNLOADS}
-rw-r--r--etc/profile-a-l/ddgr.profile13
-rw-r--r--etc/profile-a-l/googler-common.profile61
-rw-r--r--etc/profile-a-l/googler.profile13
-rw-r--r--src/firecfg/firecfg.config2
4 files changed, 89 insertions, 0 deletions
diff --git a/etc/profile-a-l/ddgr.profile b/etc/profile-a-l/ddgr.profile
new file mode 100644
index 000000000..b1d41ddf7
--- /dev/null
+++ b/etc/profile-a-l/ddgr.profile
@@ -0,0 +1,13 @@
1# Firejail profile for ddgr
2# Description: Search DuckDuckGo from your terminal
3# This file is overwritten after every install/update
4quiet
5# Persistent local customizations
6include ddgr.local
7# Persistent global definitions
8include globals.local
9
10private-bin ddgr
11
12# Redirect
13include googler-common.profile
diff --git a/etc/profile-a-l/googler-common.profile b/etc/profile-a-l/googler-common.profile
new file mode 100644
index 000000000..26ff4c617
--- /dev/null
+++ b/etc/profile-a-l/googler-common.profile
@@ -0,0 +1,61 @@
1# Firejail profile for googler clones
2# Description: common profile for googler clones
3# This file is overwritten after every install/update
4# Persistent local customizations
5include googler-common.local
6# Persistent global definitions
7# added by caller profile
8#include globals.local
9
10blacklist /tmp/.X11-unix
11blacklist ${RUNUSER}
12
13noblacklist ${HOME}/.w3m
14
15# Allow /bin/sh (blacklisted by disable-shell.inc)
16include allow-bin-sh.inc
17# Allow python (blacklisted by disable-interpreters.inc)
18include allow-python3.inc
19
20include disable-common.inc
21include disable-devel.inc
22include disable-exec.inc
23include disable-interpreters.inc
24include disable-passwdmgr.inc
25include disable-programs.inc
26include disable-shell.inc
27include disable-xdg.inc
28
29whitelist ${HOME}/.w3m
30include whitelist-usr-share-common.inc
31include whitelist-var-common.inc
32
33apparmor
34caps.drop all
35ipc-namespace
36machine-id
37netfilter
38no3d
39nodvd
40nogroups
41noinput
42nonewprivs
43noroot
44nosound
45notv
46nou2f
47novideo
48protocol unix,inet,inet6
49seccomp.block-secondary
50shell none
51tracelog
52
53disable-mnt
54private-bin env,python3*,sh,w3m
55private-cache
56private-dev
57private-etc ca-certificates,crypto-policies,host.conf,hostname,hosts,nsswitch.conf,pki,protocols,resolv.conf,rpc,services,ssl
58private-tmp
59
60dbus-user none
61dbus-system none
diff --git a/etc/profile-a-l/googler.profile b/etc/profile-a-l/googler.profile
new file mode 100644
index 000000000..9d67006f6
--- /dev/null
+++ b/etc/profile-a-l/googler.profile
@@ -0,0 +1,13 @@
1# Firejail profile for googler
2# Description: Search Google from your terminal
3# This file is overwritten after every install/update
4quiet
5# Persistent local customizations
6include googler.local
7# Persistent global definitions
8include globals.local
9
10private-bin googler
11
12# Redirect
13include googler-common.profile
diff --git a/src/firecfg/firecfg.config b/src/firecfg/firecfg.config
index 245e6a4a0..61ca2c74e 100644
--- a/src/firecfg/firecfg.config
+++ b/src/firecfg/firecfg.config
@@ -167,6 +167,7 @@ cvlc
167cyberfox 167cyberfox
168darktable 168darktable
169dconf-editor 169dconf-editor
170ddgr
170ddgtk 171ddgtk
171deadbeef 172deadbeef
172deluge 173deluge
@@ -350,6 +351,7 @@ google-chrome-unstable
350google-earth 351google-earth
351google-earth-pro 352google-earth-pro
352google-play-music-desktop-player 353google-play-music-desktop-player
354googler
353gpa 355gpa
354gpicview 356gpicview
355gpredict 357gpredict