diff options
author | Fred-Barclay <Fred-Barclay@users.noreply.github.com> | 2018-06-11 23:31:23 -0500 |
---|---|---|
committer | Fred-Barclay <Fred-Barclay@users.noreply.github.com> | 2018-06-11 23:31:23 -0500 |
commit | 91cb448fbe749112d31ac918926731a081d0386b (patch) | |
tree | 3117d0dc0f3bdc65207872271787f3af6fe253f1 | |
parent | update man page (private-cache) (diff) | |
download | firejail-91cb448fbe749112d31ac918926731a081d0386b.tar.gz firejail-91cb448fbe749112d31ac918926731a081d0386b.tar.zst firejail-91cb448fbe749112d31ac918926731a081d0386b.zip |
Add profiles for Microsoft Office Online apps (from Manjaro devs)
-rw-r--r-- | README.md | 3 | ||||
-rw-r--r-- | RELNOTES | 2 | ||||
-rw-r--r-- | etc/ms-excel.profile | 12 | ||||
-rw-r--r-- | etc/ms-office.profile | 44 | ||||
-rw-r--r-- | etc/ms-onenote.profile | 12 | ||||
-rw-r--r-- | etc/ms-outlook.profile | 12 | ||||
-rw-r--r-- | etc/ms-powerpoint.profile | 12 | ||||
-rw-r--r-- | etc/ms-skype.profile | 13 | ||||
-rw-r--r-- | etc/ms-word.profile | 12 | ||||
-rw-r--r-- | src/firecfg/firecfg.config | 7 |
10 files changed, 129 insertions, 0 deletions
@@ -99,3 +99,6 @@ We also keep a list of profile fixes for previous released versions in [etc-fixe | |||
99 | 99 | ||
100 | ````` | 100 | ````` |
101 | # Current development version: 0.9.55 | 101 | # Current development version: 0.9.55 |
102 | |||
103 | ## New profiles | ||
104 | Microsoft Office Online | ||
@@ -3,6 +3,8 @@ firejail (0.9.55) baseline; urgency=low | |||
3 | * modif: removed CFG_CHROOT_DESKTOP configuration option | 3 | * modif: removed CFG_CHROOT_DESKTOP configuration option |
4 | * support full paths in private-lib | 4 | * support full paths in private-lib |
5 | * globbing support in private-lib | 5 | * globbing support in private-lib |
6 | * new profiles: ms-excel, ms-office, ms-onenote, ms-outlook, ms-powerpoint | ||
7 | * new profiles: ms-skype, ms-word | ||
6 | -- netblue30 <netblue30@yahoo.com> Fri, 25 May 2018 08:00:00 -0500 | 8 | -- netblue30 <netblue30@yahoo.com> Fri, 25 May 2018 08:00:00 -0500 |
7 | 9 | ||
8 | firejail (0.9.54) baseline; urgency=low | 10 | firejail (0.9.54) baseline; urgency=low |
diff --git a/etc/ms-excel.profile b/etc/ms-excel.profile new file mode 100644 index 000000000..4fb8c6fc1 --- /dev/null +++ b/etc/ms-excel.profile | |||
@@ -0,0 +1,12 @@ | |||
1 | # Firejail profile for Microsoft Office Online - Excel | ||
2 | # This file is overwritten after every install/update | ||
3 | # Persistent local customizations | ||
4 | include /etc/firejail/ms-excel.local | ||
5 | # Persistent global definitions | ||
6 | include /etc/firejail/globals.local | ||
7 | |||
8 | noblacklist ${HOME}/.cache/ms-excel-online | ||
9 | private-bin ms-excel | ||
10 | |||
11 | # Redirect | ||
12 | include /etc/firejail/ms-office.profile | ||
diff --git a/etc/ms-office.profile b/etc/ms-office.profile new file mode 100644 index 000000000..49bc4ad37 --- /dev/null +++ b/etc/ms-office.profile | |||
@@ -0,0 +1,44 @@ | |||
1 | # Firejail profile for Microsoft Office Online | ||
2 | # This file is overwritten after every install/update | ||
3 | # Persistent local customizations | ||
4 | include /etc/firejail/ms-office.local | ||
5 | # Persistent global definitions | ||
6 | include /etc/firejail/globals.local | ||
7 | |||
8 | noblacklist ${HOME}/.cache/ms-office-online | ||
9 | noblacklist ${HOME}/.jak | ||
10 | |||
11 | # Allow python (blacklisted by disable-interpreters.inc) | ||
12 | noblacklist ${PATH}/python2* | ||
13 | noblacklist ${PATH}/python3* | ||
14 | noblacklist /usr/lib/python2* | ||
15 | noblacklist /usr/lib/python3* | ||
16 | |||
17 | include /etc/firejail/disable-common.inc | ||
18 | include /etc/firejail/disable-devel.inc | ||
19 | include /etc/firejail/disable-interpreters.inc | ||
20 | include /etc/firejail/disable-passwdmgr.inc | ||
21 | include /etc/firejail/disable-programs.inc | ||
22 | |||
23 | caps.drop all | ||
24 | netfilter | ||
25 | nodbus | ||
26 | nodvd | ||
27 | nogroups | ||
28 | nonewprivs | ||
29 | noroot | ||
30 | notv | ||
31 | novideo | ||
32 | protocol unix,inet,inet6 | ||
33 | seccomp | ||
34 | shell none | ||
35 | tracelog | ||
36 | |||
37 | disable-mnt | ||
38 | private-bin bash,fonts,env,jak,ms-office,python*,sh | ||
39 | private-etc ca-certificates,resolv.conf,ssl | ||
40 | private-dev | ||
41 | private-tmp | ||
42 | |||
43 | noexec ${HOME} | ||
44 | noexec /tmp | ||
diff --git a/etc/ms-onenote.profile b/etc/ms-onenote.profile new file mode 100644 index 000000000..520544ab4 --- /dev/null +++ b/etc/ms-onenote.profile | |||
@@ -0,0 +1,12 @@ | |||
1 | # Firejail profile for Microsoft Office Online - Onenote | ||
2 | # This file is overwritten after every install/update | ||
3 | # Persistent local customizations | ||
4 | include /etc/firejail/ms-onenote.local | ||
5 | # Persistent global definitions | ||
6 | include /etc/firejail/globals.local | ||
7 | |||
8 | noblacklist ${HOME}/.cache/ms-onenote-online | ||
9 | private-bin ms-onenote | ||
10 | |||
11 | # Redirect | ||
12 | include /etc/firejail/ms-office.profile | ||
diff --git a/etc/ms-outlook.profile b/etc/ms-outlook.profile new file mode 100644 index 000000000..e438bbdfc --- /dev/null +++ b/etc/ms-outlook.profile | |||
@@ -0,0 +1,12 @@ | |||
1 | # Firejail profile for Microsoft Office Online - Outlook | ||
2 | # This file is overwritten after every install/update | ||
3 | # Persistent local customizations | ||
4 | include /etc/firejail/ms-outlook.local | ||
5 | # Persistent global definitions | ||
6 | include /etc/firejail/globals.local | ||
7 | |||
8 | noblacklist ${HOME}/.cache/ms-outlook-online | ||
9 | private-bin ms-outlook | ||
10 | |||
11 | # Redirect | ||
12 | include /etc/firejail/ms-office.profile | ||
diff --git a/etc/ms-powerpoint.profile b/etc/ms-powerpoint.profile new file mode 100644 index 000000000..82be095d0 --- /dev/null +++ b/etc/ms-powerpoint.profile | |||
@@ -0,0 +1,12 @@ | |||
1 | # Firejail profile for Microsoft Office Online - Powerpoint | ||
2 | # This file is overwritten after every install/update | ||
3 | # Persistent local customizations | ||
4 | include /etc/firejail/ms-powerpoint.local | ||
5 | # Persistent global definitions | ||
6 | include /etc/firejail/globals.local | ||
7 | |||
8 | noblacklist ${HOME}/.cache/ms-powerpoint-online | ||
9 | private-bin ms-powerpoint | ||
10 | |||
11 | # Redirect | ||
12 | include /etc/firejail/ms-office.profile | ||
diff --git a/etc/ms-skype.profile b/etc/ms-skype.profile new file mode 100644 index 000000000..fa3c4a314 --- /dev/null +++ b/etc/ms-skype.profile | |||
@@ -0,0 +1,13 @@ | |||
1 | # Firejail profile for Microsoft Office Online - Skype | ||
2 | # This file is overwritten after every install/update | ||
3 | # Persistent local customizations | ||
4 | include /etc/firejail/ms-skype.local | ||
5 | # Persistent global definitions | ||
6 | include /etc/firejail/globals.local | ||
7 | |||
8 | noblacklist ${HOME}/.cache/ms-skype-online | ||
9 | ignore novideo | ||
10 | private-bin ms-skype | ||
11 | |||
12 | # Redirect | ||
13 | include /etc/firejail/ms-office.profile | ||
diff --git a/etc/ms-word.profile b/etc/ms-word.profile new file mode 100644 index 000000000..fdcab27a7 --- /dev/null +++ b/etc/ms-word.profile | |||
@@ -0,0 +1,12 @@ | |||
1 | # Firejail profile for Microsoft Office Online - Word | ||
2 | # This file is overwritten after every install/update | ||
3 | # Persistent local customizations | ||
4 | include /etc/firejail/ms-word.local | ||
5 | # Persistent global definitions | ||
6 | include /etc/firejail/globals.local | ||
7 | |||
8 | noblacklist ${HOME}/.cache/ms-word-online | ||
9 | private-bin ms-word | ||
10 | |||
11 | # Redirect | ||
12 | include /etc/firejail/ms-office.profile | ||
diff --git a/src/firecfg/firecfg.config b/src/firecfg/firecfg.config index b966159c6..da614ae90 100644 --- a/src/firecfg/firecfg.config +++ b/src/firecfg/firecfg.config | |||
@@ -272,6 +272,13 @@ minetest | |||
272 | mousepad | 272 | mousepad |
273 | mplayer | 273 | mplayer |
274 | mpv | 274 | mpv |
275 | ms-excel | ||
276 | ms-office | ||
277 | ms-onenote | ||
278 | ms-outlook | ||
279 | ms-powerpoint | ||
280 | ms-skype | ||
281 | ms-word | ||
275 | multimc5 | 282 | multimc5 |
276 | mumble | 283 | mumble |
277 | mupdf | 284 | mupdf |