diff options
author | 2021-01-18 18:59:35 +0100 | |
---|---|---|
committer | 2021-01-18 18:59:35 +0100 | |
commit | 6613769d6c06bbc7cf989bd23c10dce957ff68ff (patch) | |
tree | 2f6856b0847341c8c91097a41cd5dcd9d3d9bd34 | |
parent | harden and fix cheese.profile (diff) | |
download | firejail-6613769d6c06bbc7cf989bd23c10dce957ff68ff.tar.gz firejail-6613769d6c06bbc7cf989bd23c10dce957ff68ff.tar.zst firejail-6613769d6c06bbc7cf989bd23c10dce957ff68ff.zip |
Add profile for guvcview
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | RELNOTES | 3 | ||||
-rw-r--r-- | etc/inc/disable-programs.inc | 1 | ||||
-rw-r--r-- | etc/profile-a-l/guvcview.profile | 55 |
4 files changed, 59 insertions, 2 deletions
@@ -195,4 +195,4 @@ Stats: | |||
195 | 195 | ||
196 | ### New profiles: | 196 | ### New profiles: |
197 | 197 | ||
198 | spectacle, chromium-browser-privacy, gtk-straw-viewer, gtk-youtube-viewer, gtk2-youtube-viewer, gtk3-youtube-viewer, straw-viewer, lutris, dolphin-emu, authenticator-rs, servo, tutanota-desktop, npm, marker, yarn, lsar, unar, agetpkg, mdr, shotwell, qnapi | 198 | spectacle, chromium-browser-privacy, gtk-straw-viewer, gtk-youtube-viewer, gtk2-youtube-viewer, gtk3-youtube-viewer, straw-viewer, lutris, dolphin-emu, authenticator-rs, servo, tutanota-desktop, npm, marker, yarn, lsar, unar, agetpkg, mdr, shotwell, qnapi, guvcview |
@@ -7,7 +7,8 @@ firejail (0.9.65) baseline; urgency=low | |||
7 | * new profiles: spectacle, chromium-browser-privacy, gtk-straw-viewer | 7 | * new profiles: spectacle, chromium-browser-privacy, gtk-straw-viewer |
8 | * new profiles: gtk-youtube-viewer, gtk2-youtube-viewer, gtk3-youtube-viewer | 8 | * new profiles: gtk-youtube-viewer, gtk2-youtube-viewer, gtk3-youtube-viewer |
9 | * new profiles: straw-viewer, lutris, dolphin-emu, authenticator-rs, servo | 9 | * new profiles: straw-viewer, lutris, dolphin-emu, authenticator-rs, servo |
10 | * new profiles: npm, marker | 10 | * new profiles: npm, marker, yarn, lsar, unar, agetpkg, mdr, shotwell, qnapi |
11 | * new profiles: guvcview | ||
11 | 12 | ||
12 | -- netblue30 <netblue30@yahoo.com> Wed, 21 Oct 2020 09:00:00 -0500 | 13 | -- netblue30 <netblue30@yahoo.com> Wed, 21 Oct 2020 09:00:00 -0500 |
13 | 14 | ||
diff --git a/etc/inc/disable-programs.inc b/etc/inc/disable-programs.inc index 26bcb987f..8b81927e3 100644 --- a/etc/inc/disable-programs.inc +++ b/etc/inc/disable-programs.inc | |||
@@ -253,6 +253,7 @@ blacklist ${HOME}/.config/google-chrome-unstable | |||
253 | blacklist ${HOME}/.config/gpicview | 253 | blacklist ${HOME}/.config/gpicview |
254 | blacklist ${HOME}/.config/gthumb | 254 | blacklist ${HOME}/.config/gthumb |
255 | blacklist ${HOME}/.config/gummi | 255 | blacklist ${HOME}/.config/gummi |
256 | blacklist ${HOME}/.config/guvcview2 | ||
256 | blacklist ${HOME}/.config/gwenviewrc | 257 | blacklist ${HOME}/.config/gwenviewrc |
257 | blacklist ${HOME}/.config/hexchat | 258 | blacklist ${HOME}/.config/hexchat |
258 | blacklist ${HOME}/.config/homebank | 259 | blacklist ${HOME}/.config/homebank |
diff --git a/etc/profile-a-l/guvcview.profile b/etc/profile-a-l/guvcview.profile new file mode 100644 index 000000000..46fc06940 --- /dev/null +++ b/etc/profile-a-l/guvcview.profile | |||
@@ -0,0 +1,55 @@ | |||
1 | # Firejail profile for guvcview | ||
2 | # Description: GTK+ base UVC Viewer | ||
3 | # This file is overwritten after every install/update | ||
4 | # Persistent local customizations | ||
5 | include guvcview.local | ||
6 | # Persistent global definitions | ||
7 | include globals.local | ||
8 | |||
9 | noblacklist ${HOME}/.config/guvcview2 | ||
10 | |||
11 | noblacklist ${PICTURES} | ||
12 | noblacklist ${VIDEOS} | ||
13 | |||
14 | include disable-common.inc | ||
15 | include disable-devel.inc | ||
16 | include disable-exec.inc | ||
17 | include disable-interpreters.inc | ||
18 | include disable-passwdmgr.inc | ||
19 | include disable-programs.inc | ||
20 | include disable-shell.inc | ||
21 | include disable-xdg.inc | ||
22 | |||
23 | mkdir ${HOME}/.config/guvcview2 | ||
24 | whitelist ${HOME}/.config/guvcview2 | ||
25 | whitelist ${PICTURES} | ||
26 | whitelist ${VIDEOS} | ||
27 | include whitelist-common.inc | ||
28 | include whitelist-runuser-common.inc | ||
29 | include whitelist-usr-share-common.inc | ||
30 | include whitelist-var-common.inc | ||
31 | |||
32 | apparmor | ||
33 | caps.drop all | ||
34 | net none | ||
35 | nodvd | ||
36 | nogroups | ||
37 | nonewprivs | ||
38 | noroot | ||
39 | notv | ||
40 | nou2f | ||
41 | protocol unix,netlink | ||
42 | seccomp | ||
43 | seccomp.block-secondary | ||
44 | shell none | ||
45 | tracelog | ||
46 | |||
47 | disable-mnt | ||
48 | private-bin guvcview | ||
49 | private-cache | ||
50 | private-dev | ||
51 | private-etc alsa,alternatives,asound.conf,bumblebee,dconf,drirc,fonts,glvnd,gtk-3.0,ld.so.cache,ld.so.conf,ld.so.conf.d,ld.so.preload,machine-id,nvidia,pango,pulse,X11 | ||
52 | private-tmp | ||
53 | |||
54 | dbus-user none | ||
55 | dbus-system none | ||