aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar rusty-snake <41237666+rusty-snake@users.noreply.github.com>2021-01-18 18:59:35 +0100
committerLibravatar rusty-snake <41237666+rusty-snake@users.noreply.github.com>2021-01-18 18:59:35 +0100
commit6613769d6c06bbc7cf989bd23c10dce957ff68ff (patch)
tree2f6856b0847341c8c91097a41cd5dcd9d3d9bd34
parentharden and fix cheese.profile (diff)
downloadfirejail-6613769d6c06bbc7cf989bd23c10dce957ff68ff.tar.gz
firejail-6613769d6c06bbc7cf989bd23c10dce957ff68ff.tar.zst
firejail-6613769d6c06bbc7cf989bd23c10dce957ff68ff.zip
Add profile for guvcview
-rw-r--r--README.md2
-rw-r--r--RELNOTES3
-rw-r--r--etc/inc/disable-programs.inc1
-rw-r--r--etc/profile-a-l/guvcview.profile55
4 files changed, 59 insertions, 2 deletions
diff --git a/README.md b/README.md
index 69e059bba..2f118ab11 100644
--- a/README.md
+++ b/README.md
@@ -195,4 +195,4 @@ Stats:
195 195
196### New profiles: 196### New profiles:
197 197
198spectacle, 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 198spectacle, 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
diff --git a/RELNOTES b/RELNOTES
index 705ef8500..fc4f0144d 100644
--- a/RELNOTES
+++ b/RELNOTES
@@ -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
253blacklist ${HOME}/.config/gpicview 253blacklist ${HOME}/.config/gpicview
254blacklist ${HOME}/.config/gthumb 254blacklist ${HOME}/.config/gthumb
255blacklist ${HOME}/.config/gummi 255blacklist ${HOME}/.config/gummi
256blacklist ${HOME}/.config/guvcview2
256blacklist ${HOME}/.config/gwenviewrc 257blacklist ${HOME}/.config/gwenviewrc
257blacklist ${HOME}/.config/hexchat 258blacklist ${HOME}/.config/hexchat
258blacklist ${HOME}/.config/homebank 259blacklist ${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
5include guvcview.local
6# Persistent global definitions
7include globals.local
8
9noblacklist ${HOME}/.config/guvcview2
10
11noblacklist ${PICTURES}
12noblacklist ${VIDEOS}
13
14include disable-common.inc
15include disable-devel.inc
16include disable-exec.inc
17include disable-interpreters.inc
18include disable-passwdmgr.inc
19include disable-programs.inc
20include disable-shell.inc
21include disable-xdg.inc
22
23mkdir ${HOME}/.config/guvcview2
24whitelist ${HOME}/.config/guvcview2
25whitelist ${PICTURES}
26whitelist ${VIDEOS}
27include whitelist-common.inc
28include whitelist-runuser-common.inc
29include whitelist-usr-share-common.inc
30include whitelist-var-common.inc
31
32apparmor
33caps.drop all
34net none
35nodvd
36nogroups
37nonewprivs
38noroot
39notv
40nou2f
41protocol unix,netlink
42seccomp
43seccomp.block-secondary
44shell none
45tracelog
46
47disable-mnt
48private-bin guvcview
49private-cache
50private-dev
51private-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
52private-tmp
53
54dbus-user none
55dbus-system none