diff options
author | 2019-03-07 16:48:53 -0500 | |
---|---|---|
committer | 2019-03-07 16:48:53 -0500 | |
commit | 2dbbb92d936935f6edcd12345461d152ea7b5dc4 (patch) | |
tree | f9e0416a746fd0db134c239953e1989014479ec1 | |
parent | merges (diff) | |
download | firejail-2dbbb92d936935f6edcd12345461d152ea7b5dc4.tar.gz firejail-2dbbb92d936935f6edcd12345461d152ea7b5dc4.tar.zst firejail-2dbbb92d936935f6edcd12345461d152ea7b5dc4.zip |
Add a profile for pragha
+ add code-oss to firecfg
+ potential fix for https://github.com/netblue30/firejail/issues/2051#issuecomment-470665213
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | RELNOTES | 2 | ||||
-rw-r--r-- | etc/disable-programs.inc | 1 | ||||
-rw-r--r-- | etc/pragha.profile | 39 | ||||
-rw-r--r-- | etc/wire-desktop.profile | 2 | ||||
-rw-r--r-- | src/firecfg/firecfg.config | 1 |
6 files changed, 44 insertions, 3 deletions
@@ -102,4 +102,4 @@ We also keep a list of profile fixes for previous released versions in [etc-fixe | |||
102 | ## Current development version: 0.9.59 | 102 | ## Current development version: 0.9.59 |
103 | 103 | ||
104 | ## New profiles: | 104 | ## New profiles: |
105 | crow, nyx, klavaro, mypaint, celluoid, nano, transgui, sysprof, simplescreenrecorder, geekbench, xfce4-mixer, pavucontrol, d-feet, seahorse, secret-tool, gnome-keyring, regextester, hardinfo, gnome-system-log, gnome-nettool, netactview, redshift, devhelp, assogiate, subdownloader, font-manager, exfalso, gconf-editor, dconf-editor, mpdris2, sysprof-cli, seahorse-tool, secret-tool, dconf, gsettings, code-oss | 105 | crow, nyx, klavaro, mypaint, celluoid, nano, transgui, sysprof, simplescreenrecorder, geekbench, xfce4-mixer, pavucontrol, d-feet, seahorse, secret-tool, gnome-keyring, regextester, hardinfo, gnome-system-log, gnome-nettool, netactview, redshift, devhelp, assogiate, subdownloader, font-manager, exfalso, gconf-editor, dconf-editor, mpdris2, sysprof-cli, seahorse-tool, secret-tool, dconf, gsettings, code-oss, pragha |
@@ -6,7 +6,7 @@ firejail (0.9.59) baseline; urgency=low | |||
6 | * new profiles: netactview, redshift, devhelp, assogiate, subdownloader | 6 | * new profiles: netactview, redshift, devhelp, assogiate, subdownloader |
7 | * new profiles: font-manager, exfalso, gconf-editor, dconf-editor | 7 | * new profiles: font-manager, exfalso, gconf-editor, dconf-editor |
8 | * new profiles: sysprof-cli, seahorse-tool, secret-tool, dconf, gsettings | 8 | * new profiles: sysprof-cli, seahorse-tool, secret-tool, dconf, gsettings |
9 | * new profiles: code-oss | 9 | * new profiles: code-oss, pragha |
10 | * memory-deny-write-execute now also blocks memfd_create | 10 | * memory-deny-write-execute now also blocks memfd_create |
11 | 11 | ||
12 | firejail (0.9.58,2) baseline; urgency=low | 12 | firejail (0.9.58,2) baseline; urgency=low |
diff --git a/etc/disable-programs.inc b/etc/disable-programs.inc index 54b10acc4..971e00f18 100644 --- a/etc/disable-programs.inc +++ b/etc/disable-programs.inc | |||
@@ -239,6 +239,7 @@ blacklist ${HOME}/.config/pitivi | |||
239 | blacklist ${HOME}/.config/pix | 239 | blacklist ${HOME}/.config/pix |
240 | blacklist ${HOME}/.config/pluma | 240 | blacklist ${HOME}/.config/pluma |
241 | blacklist ${HOME}/.config/ppsspp | 241 | blacklist ${HOME}/.config/ppsspp |
242 | blacklist ${HOME}/.config/pragha | ||
242 | blacklist ${HOME}/.config/psi+ | 243 | blacklist ${HOME}/.config/psi+ |
243 | blacklist ${HOME}/.config/qBittorrent | 244 | blacklist ${HOME}/.config/qBittorrent |
244 | blacklist ${HOME}/.config/qBittorrentrc | 245 | blacklist ${HOME}/.config/qBittorrentrc |
diff --git a/etc/pragha.profile b/etc/pragha.profile new file mode 100644 index 000000000..a595caee9 --- /dev/null +++ b/etc/pragha.profile | |||
@@ -0,0 +1,39 @@ | |||
1 | # Firejail profile for pragha | ||
2 | # Description: A lightweight GTK music player | ||
3 | # This file is overwritten after every install/update | ||
4 | # Persistent local customizations | ||
5 | include pragha.local | ||
6 | # Persistent global definitions | ||
7 | include globals.local | ||
8 | |||
9 | noblacklist ${HOME}/.config/pragha | ||
10 | noblacklist ${MUSIC} | ||
11 | |||
12 | include disable-common.inc | ||
13 | include disable-devel.inc | ||
14 | include disable-interpreters.inc | ||
15 | include disable-passwdmgr.inc | ||
16 | include disable-programs.inc | ||
17 | include disable-xdg.inc | ||
18 | |||
19 | include whitelist-var-common.inc | ||
20 | |||
21 | caps.drop all | ||
22 | netfilter | ||
23 | no3d | ||
24 | nogroups | ||
25 | nonewprivs | ||
26 | noroot | ||
27 | notv | ||
28 | nou2f | ||
29 | novideo | ||
30 | protocol unix,inet,inet6 | ||
31 | seccomp | ||
32 | shell none | ||
33 | |||
34 | private-dev | ||
35 | private-etc alternatives,asound.conf,ca-certificates,fonts,host.conf,hostname,hosts,pulse,resolv.conf,ssl,pki,crypto-policies,gtk-3.0,xdg,machine-id | ||
36 | private-tmp | ||
37 | |||
38 | noexec ${HOME} | ||
39 | noexec /tmp | ||
diff --git a/etc/wire-desktop.profile b/etc/wire-desktop.profile index e974e4304..3953de614 100644 --- a/etc/wire-desktop.profile +++ b/etc/wire-desktop.profile | |||
@@ -35,7 +35,7 @@ shell none | |||
35 | # it is not in PATH. To use Wire with firejail, run "firejail /opt/wire-desktop/wire-desktop" | 35 | # it is not in PATH. To use Wire with firejail, run "firejail /opt/wire-desktop/wire-desktop" |
36 | 36 | ||
37 | disable-mnt | 37 | disable-mnt |
38 | private-bin wire-desktop | 38 | private-bin wire-desktop,bash,sh,env,electron |
39 | private-dev | 39 | private-dev |
40 | private-etc alternatives,fonts,machine-id,resolv.conf,ca-certificates,ssl,pki,crypto-policies | 40 | private-etc alternatives,fonts,machine-id,resolv.conf,ca-certificates,ssl,pki,crypto-policies |
41 | private-tmp | 41 | private-tmp |
diff --git a/src/firecfg/firecfg.config b/src/firecfg/firecfg.config index 0633d62e9..35dda8393 100644 --- a/src/firecfg/firecfg.config +++ b/src/firecfg/firecfg.config | |||
@@ -98,6 +98,7 @@ clipit | |||
98 | cliqz | 98 | cliqz |
99 | cmus | 99 | cmus |
100 | code | 100 | code |
101 | code-oss | ||
101 | conkeror | 102 | conkeror |
102 | conky | 103 | conky |
103 | corebird | 104 | corebird |