diff options
author | 2021-01-31 16:37:35 +0000 | |
---|---|---|
committer | 2021-01-31 16:37:35 +0000 | |
commit | f6d86439d9f084c5a00287c3f1630b96a9c76485 (patch) | |
tree | b328de7779cf6d06d0a1e15444ee96df4e05ffd9 | |
parent | build: clean generated test/Makefile (diff) | |
download | firejail-f6d86439d9f084c5a00287c3f1630b96a9c76485.tar.gz firejail-f6d86439d9f084c5a00287c3f1630b96a9c76485.tar.zst firejail-f6d86439d9f084c5a00287c3f1630b96a9c76485.zip |
Add profile for avidemux (#3935)
* Update disable-programs.inc
* Update disable-programs.inc
* Update firecfg.config
* Create avidemux.profile
* Update avidemux.profile
-rw-r--r-- | etc/inc/disable-programs.inc | 2 | ||||
-rw-r--r-- | etc/profile-a-l/avidemux.profile | 53 | ||||
-rw-r--r-- | src/firecfg/firecfg.config | 1 |
3 files changed, 56 insertions, 0 deletions
diff --git a/etc/inc/disable-programs.inc b/etc/inc/disable-programs.inc index 5910d3543..cc1fad2df 100644 --- a/etc/inc/disable-programs.inc +++ b/etc/inc/disable-programs.inc | |||
@@ -50,6 +50,7 @@ blacklist ${HOME}/.asunder_album_title | |||
50 | blacklist ${HOME}/.atom | 50 | blacklist ${HOME}/.atom |
51 | blacklist ${HOME}/.attic | 51 | blacklist ${HOME}/.attic |
52 | blacklist ${HOME}/.audacity-data | 52 | blacklist ${HOME}/.audacity-data |
53 | blacklist ${HOME}/.avidemux6 | ||
53 | blacklist ${HOME}/.balsa | 54 | blacklist ${HOME}/.balsa |
54 | blacklist ${HOME}/.bcast5 | 55 | blacklist ${HOME}/.bcast5 |
55 | blacklist ${HOME}/.bibletime | 56 | blacklist ${HOME}/.bibletime |
@@ -158,6 +159,7 @@ blacklist ${HOME}/.config/asunder | |||
158 | blacklist ${HOME}/.config/atril | 159 | blacklist ${HOME}/.config/atril |
159 | blacklist ${HOME}/.config/audacious | 160 | blacklist ${HOME}/.config/audacious |
160 | blacklist ${HOME}/.config/autokey | 161 | blacklist ${HOME}/.config/autokey |
162 | blacklist ${HOME}/.config/avidemux3_qt5rc | ||
161 | blacklist ${HOME}/.config/aweather | 163 | blacklist ${HOME}/.config/aweather |
162 | blacklist ${HOME}/.config/backintime | 164 | blacklist ${HOME}/.config/backintime |
163 | blacklist ${HOME}/.config/baloofilerc | 165 | blacklist ${HOME}/.config/baloofilerc |
diff --git a/etc/profile-a-l/avidemux.profile b/etc/profile-a-l/avidemux.profile new file mode 100644 index 000000000..b5d662d60 --- /dev/null +++ b/etc/profile-a-l/avidemux.profile | |||
@@ -0,0 +1,53 @@ | |||
1 | # Firejail profile for Avidemux | ||
2 | # Description: Avidemux is a free video editor designed for simple cutting, filtering and encoding tasks. | ||
3 | # Persistent local customizations | ||
4 | include avidemux.local | ||
5 | # Persistent global definitions | ||
6 | include globals.local | ||
7 | |||
8 | noblacklist ${HOME}/.avidemux6 | ||
9 | noblacklist ${HOME}/.config/avidemux3_qt5rc | ||
10 | noblacklist ${VIDEOS} | ||
11 | |||
12 | include disable-common.inc | ||
13 | include disable-devel.inc | ||
14 | include disable-exec.inc | ||
15 | include disable-interpreters.inc | ||
16 | include disable-passwdmgr.inc | ||
17 | include disable-programs.inc | ||
18 | include disable-shell.inc | ||
19 | include disable-xdg.inc | ||
20 | |||
21 | mkdir ${HOME}/.avidemux6 | ||
22 | mkdir ${HOME}/.config/avidemux3_qt5rc | ||
23 | whitelist ${HOME}/.avidemux6 | ||
24 | whitelist ${HOME}/.config/avidemux3_qt5rc | ||
25 | whitelist ${VIDEOS} | ||
26 | include whitelist-common.inc | ||
27 | include whitelist-runuser-common.inc | ||
28 | include whitelist-usr-share-common.inc | ||
29 | include whitelist-var-common.inc | ||
30 | |||
31 | apparmor | ||
32 | caps.drop all | ||
33 | net none | ||
34 | nodvd | ||
35 | nogroups | ||
36 | nonewprivs | ||
37 | noroot | ||
38 | notv | ||
39 | nou2f | ||
40 | novideo | ||
41 | protocol unix | ||
42 | seccomp | ||
43 | seccomp.block-secondary | ||
44 | shell none | ||
45 | tracelog | ||
46 | |||
47 | private-bin avidemux3_cli,avidemux3_jobs_qt5,avidemux3_qt5 | ||
48 | private-cache | ||
49 | private-dev | ||
50 | private-tmp | ||
51 | |||
52 | dbus-user none | ||
53 | dbus-system none | ||
diff --git a/src/firecfg/firecfg.config b/src/firecfg/firecfg.config index e924ef2ec..b10507bcd 100644 --- a/src/firecfg/firecfg.config +++ b/src/firecfg/firecfg.config | |||
@@ -69,6 +69,7 @@ autokey-gtk | |||
69 | autokey-qt | 69 | autokey-qt |
70 | autokey-run | 70 | autokey-run |
71 | autokey-shell | 71 | autokey-shell |
72 | avidemux3_qt5 | ||
72 | aweather | 73 | aweather |
73 | baloo_file | 74 | baloo_file |
74 | baloo_filemetadata_temp_extractor | 75 | baloo_filemetadata_temp_extractor |