Debian Codegraph @

etc/profile-a-l/green-recoder.profile

raw
1 # Firejail profile for green-recorder
2 # Description: A simple screen recorder for Linux desktop (supports Wayland & Xorg)
3 # This file is overwritten after every install/update
4 # Persistent local customizations
5 include green-recorder.local
6 # Persistent global definitions
7 include globals.local
8
9 noblacklist ${HOME}/.config/green-recorder
10
11 # Allow python 3 (blacklisted by disable-interpreters.inc)
12 include allow-python3.inc
13
14 # Allow /bin/sh (blacklisted by disable-shell.inc)
15 include allow-bin-sh.inc
16
17 noblacklist ${VIDEOS}
18
19 blacklist /usr/libexec
20
21 include disable-common.inc
22 include disable-devel.inc
23 include disable-exec.inc
24 include disable-interpreters.inc
25 include disable-programs.inc
26 include disable-shell.inc
27 include disable-xdg.inc
28
29 mkdir ${HOME}/.config/green-recorder
30 whitelist ${HOME}/.config/green-recorder
31 whitelist ${DOWNLOADS}
32 whitelist ${VIDEOS}
33 whitelist /usr/share/ffmpeg
34 whitelist /usr/share/green-recorder
35 include whitelist-common.inc
36 include whitelist-run-common.inc
37 include whitelist-runuser-common.inc
38 include whitelist-usr-share-common.inc
39 include whitelist-var-common.inc
40
41 apparmor
42 caps.drop all
43 net none
44 nodvd
45 nogroups
46 noinput
47 nonewprivs
48 noprinters
49 noroot
50 notv
51 nou2f
52 novideo
53 protocol unix
54 # allow set_mempolicy, which is required to encode using libx265
55 seccomp !set_mempolicy
56 seccomp.block-secondary
57 tracelog
58
59 disable-mnt
60 private-bin awk,bash,convert,ffmpeg,green-recorder,grep,mv,pactl,ps,python*,sh,sleep,xdg-open,xdpyinfo,xwininfo
61 private-cache
62 private-dev
63 private-etc @x11
64 private-tmp
65
66 dbus-user filter
67 dbus-user.talk org.freedesktop.Notifications
68 dbus-user.talk org.gnome.Shell.*
69 ?ALLOW_TRAY: dbus-user.talk org.kde.StatusNotifierWatcher
70 dbus-system none
71
72 restrict-namespaces