diff options
author | pirate486743186 <okgomdjgbmoij@gmail.com> | 2021-06-04 22:24:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-04 20:24:09 +0000 |
commit | f32b5d95996d661632edc6ce8d377276ae32db7c (patch) | |
tree | d42646ddc57100dd7f1d36a433a1fc617891893d | |
parent | Merge pull request #4326 from jsquyres/pr/master/dont-quote-all-cmdlines (diff) | |
download | firejail-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.profile | 13 | ||||
-rw-r--r-- | etc/profile-a-l/googler-common.profile | 61 | ||||
-rw-r--r-- | etc/profile-a-l/googler.profile | 13 | ||||
-rw-r--r-- | src/firecfg/firecfg.config | 2 |
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 | ||
4 | quiet | ||
5 | # Persistent local customizations | ||
6 | include ddgr.local | ||
7 | # Persistent global definitions | ||
8 | include globals.local | ||
9 | |||
10 | private-bin ddgr | ||
11 | |||
12 | # Redirect | ||
13 | include 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 | ||
5 | include googler-common.local | ||
6 | # Persistent global definitions | ||
7 | # added by caller profile | ||
8 | #include globals.local | ||
9 | |||
10 | blacklist /tmp/.X11-unix | ||
11 | blacklist ${RUNUSER} | ||
12 | |||
13 | noblacklist ${HOME}/.w3m | ||
14 | |||
15 | # Allow /bin/sh (blacklisted by disable-shell.inc) | ||
16 | include allow-bin-sh.inc | ||
17 | # Allow python (blacklisted by disable-interpreters.inc) | ||
18 | include allow-python3.inc | ||
19 | |||
20 | include disable-common.inc | ||
21 | include disable-devel.inc | ||
22 | include disable-exec.inc | ||
23 | include disable-interpreters.inc | ||
24 | include disable-passwdmgr.inc | ||
25 | include disable-programs.inc | ||
26 | include disable-shell.inc | ||
27 | include disable-xdg.inc | ||
28 | |||
29 | whitelist ${HOME}/.w3m | ||
30 | include whitelist-usr-share-common.inc | ||
31 | include whitelist-var-common.inc | ||
32 | |||
33 | apparmor | ||
34 | caps.drop all | ||
35 | ipc-namespace | ||
36 | machine-id | ||
37 | netfilter | ||
38 | no3d | ||
39 | nodvd | ||
40 | nogroups | ||
41 | noinput | ||
42 | nonewprivs | ||
43 | noroot | ||
44 | nosound | ||
45 | notv | ||
46 | nou2f | ||
47 | novideo | ||
48 | protocol unix,inet,inet6 | ||
49 | seccomp.block-secondary | ||
50 | shell none | ||
51 | tracelog | ||
52 | |||
53 | disable-mnt | ||
54 | private-bin env,python3*,sh,w3m | ||
55 | private-cache | ||
56 | private-dev | ||
57 | private-etc ca-certificates,crypto-policies,host.conf,hostname,hosts,nsswitch.conf,pki,protocols,resolv.conf,rpc,services,ssl | ||
58 | private-tmp | ||
59 | |||
60 | dbus-user none | ||
61 | dbus-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 | ||
4 | quiet | ||
5 | # Persistent local customizations | ||
6 | include googler.local | ||
7 | # Persistent global definitions | ||
8 | include globals.local | ||
9 | |||
10 | private-bin googler | ||
11 | |||
12 | # Redirect | ||
13 | include 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 | |||
167 | cyberfox | 167 | cyberfox |
168 | darktable | 168 | darktable |
169 | dconf-editor | 169 | dconf-editor |
170 | ddgr | ||
170 | ddgtk | 171 | ddgtk |
171 | deadbeef | 172 | deadbeef |
172 | deluge | 173 | deluge |
@@ -350,6 +351,7 @@ google-chrome-unstable | |||
350 | google-earth | 351 | google-earth |
351 | google-earth-pro | 352 | google-earth-pro |
352 | google-play-music-desktop-player | 353 | google-play-music-desktop-player |
354 | googler | ||
353 | gpa | 355 | gpa |
354 | gpicview | 356 | gpicview |
355 | gpredict | 357 | gpredict |