diff options
author | 2021-11-12 16:14:25 +0100 | |
---|---|---|
committer | 2021-11-12 16:14:25 +0100 | |
commit | b645afec54661da5afe7ffe9ff3de1b664753427 (patch) | |
tree | ad75750a5165ad35071e038352a701fdc4651a37 | |
parent | readme update (diff) | |
download | firejail-b645afec54661da5afe7ffe9ff3de1b664753427.tar.gz firejail-b645afec54661da5afe7ffe9ff3de1b664753427.tar.zst firejail-b645afec54661da5afe7ffe9ff3de1b664753427.zip |
Add OpenStego profile
-rw-r--r-- | etc/inc/disable-programs.inc | 1 | ||||
-rw-r--r-- | etc/profile-m-z/openstego.profile | 63 | ||||
-rw-r--r-- | src/firecfg/firecfg.config | 1 |
3 files changed, 65 insertions, 0 deletions
diff --git a/etc/inc/disable-programs.inc b/etc/inc/disable-programs.inc index e78f15e10..254d05e8e 100644 --- a/etc/inc/disable-programs.inc +++ b/etc/inc/disable-programs.inc | |||
@@ -1120,6 +1120,7 @@ blacklist ${HOME}/TeamSpeak3-Client-linux_x86 | |||
1120 | blacklist ${HOME}/hyperrogue.ini | 1120 | blacklist ${HOME}/hyperrogue.ini |
1121 | blacklist ${HOME}/i2p | 1121 | blacklist ${HOME}/i2p |
1122 | blacklist ${HOME}/mps | 1122 | blacklist ${HOME}/mps |
1123 | blacklist ${HOME}/openstego.ini | ||
1123 | blacklist ${HOME}/wallet.dat | 1124 | blacklist ${HOME}/wallet.dat |
1124 | blacklist ${HOME}/yt-dlp.conf | 1125 | blacklist ${HOME}/yt-dlp.conf |
1125 | blacklist ${RUNUSER}/*firefox* | 1126 | blacklist ${RUNUSER}/*firefox* |
diff --git a/etc/profile-m-z/openstego.profile b/etc/profile-m-z/openstego.profile new file mode 100644 index 000000000..1f1ae406d --- /dev/null +++ b/etc/profile-m-z/openstego.profile | |||
@@ -0,0 +1,63 @@ | |||
1 | # Firejail profile for OpenStego | ||
2 | # Description: Steganography application that provides data hiding and watermarking functionality | ||
3 | # This file is overwritten after every install/update | ||
4 | # Persistent local customizations | ||
5 | include openstego.local | ||
6 | # Persistent global definitions | ||
7 | include globals.local | ||
8 | |||
9 | noblacklist ${HOME}/openstego.ini | ||
10 | |||
11 | # Allow java (blacklisted by disable-devel.inc) | ||
12 | include allow-java.inc | ||
13 | |||
14 | include disable-common.inc | ||
15 | include disable-devel.inc | ||
16 | include disable-exec.inc | ||
17 | include disable-interpreters.inc | ||
18 | include disable-programs.inc | ||
19 | include disable-passwdmgr.inc | ||
20 | |||
21 | mkfile ${HOME}/openstego.ini | ||
22 | whitelist ${HOME}/openstego.ini | ||
23 | whitelist ${HOME}/.java | ||
24 | whitelist ${PICTURES} | ||
25 | whitelist ${DOCUMENTS} | ||
26 | whitelist ${DESKTOP} | ||
27 | include whitelist-common.inc | ||
28 | |||
29 | whitelist /usr/share/java | ||
30 | include whitelist-usr-share-common.inc | ||
31 | include whitelist-var-common.inc | ||
32 | |||
33 | # AppArmor breaks Java interpreter | ||
34 | ignore apparmor | ||
35 | |||
36 | caps.drop all | ||
37 | |||
38 | # Makes fonts look grainy | ||
39 | #ipc-namespace | ||
40 | |||
41 | machine-id | ||
42 | net none | ||
43 | no3d | ||
44 | nogroups | ||
45 | noinput | ||
46 | nonewprivs | ||
47 | noroot | ||
48 | nosound | ||
49 | notv | ||
50 | nou2f | ||
51 | novideo | ||
52 | seccomp | ||
53 | shell none | ||
54 | tracelog | ||
55 | |||
56 | disable-mnt | ||
57 | private-bin openstego,readlink,dirname,bash,sh | ||
58 | private-cache | ||
59 | private-dev | ||
60 | private-tmp | ||
61 | |||
62 | dbus-user none | ||
63 | dbus-system none | ||
diff --git a/src/firecfg/firecfg.config b/src/firecfg/firecfg.config index 3ec5f9660..7b74a7c70 100644 --- a/src/firecfg/firecfg.config +++ b/src/firecfg/firecfg.config | |||
@@ -615,6 +615,7 @@ openmw-launcher | |||
615 | openoffice.org | 615 | openoffice.org |
616 | openshot | 616 | openshot |
617 | openshot-qt | 617 | openshot-qt |
618 | openstego | ||
618 | openttd | 619 | openttd |
619 | opera | 620 | opera |
620 | opera-beta | 621 | opera-beta |