diff options
author | 2023-03-15 12:26:12 +0000 | |
---|---|---|
committer | 2023-03-15 12:26:12 +0000 | |
commit | 58732a65458b368ec8cddde7deff3ec1dfbda4b7 (patch) | |
tree | 9ff3286906875ddf1ef27966e919cc4b7c44caf2 /etc/profile-m-z | |
parent | fix ani-cli.profile (#5733) (diff) | |
download | firejail-58732a65458b368ec8cddde7deff3ec1dfbda4b7.tar.gz firejail-58732a65458b368ec8cddde7deff3ec1dfbda4b7.tar.zst firejail-58732a65458b368ec8cddde7deff3ec1dfbda4b7.zip |
Add profiles for jami and postman (#5691)
Diffstat (limited to 'etc/profile-m-z')
-rw-r--r-- | etc/profile-m-z/Postman.profile | 10 | ||||
-rw-r--r-- | etc/profile-m-z/postman.profile | 28 |
2 files changed, 38 insertions, 0 deletions
diff --git a/etc/profile-m-z/Postman.profile b/etc/profile-m-z/Postman.profile new file mode 100644 index 000000000..d08acf60b --- /dev/null +++ b/etc/profile-m-z/Postman.profile | |||
@@ -0,0 +1,10 @@ | |||
1 | # Firejail profile for Postman | ||
2 | # This file is overwritten after every install/update | ||
3 | # Persistent local customizations | ||
4 | include Postman.local | ||
5 | # Persistent global definitions | ||
6 | # added by included profile | ||
7 | #include globals.local | ||
8 | |||
9 | # Redirect | ||
10 | include postman.profile | ||
diff --git a/etc/profile-m-z/postman.profile b/etc/profile-m-z/postman.profile new file mode 100644 index 000000000..c8f00584d --- /dev/null +++ b/etc/profile-m-z/postman.profile | |||
@@ -0,0 +1,28 @@ | |||
1 | # Firejail profile for postman | ||
2 | # Description: API testing platform | ||
3 | # This file is overwritten after every install/update | ||
4 | # Persistent local customizations | ||
5 | include postman.local | ||
6 | # Persistent global definitions | ||
7 | include globals.local | ||
8 | |||
9 | noblacklist ${HOME}/.config/Postman | ||
10 | noblacklist ${HOME}/Postman | ||
11 | |||
12 | mkdir ${HOME}/.config/Postman | ||
13 | mkdir ${HOME}/Postman | ||
14 | whitelist ${HOME}/.config/Postman | ||
15 | whitelist ${HOME}/Postman | ||
16 | include whitelist-run-common.inc | ||
17 | |||
18 | protocol unix,inet,inet6,netlink | ||
19 | |||
20 | private-bin electron,electron[0-9],electron[0-9][0-9],locale,node,Postman,postman,sh | ||
21 | private-etc alternatives,ca-certificates,crypto-policies,fonts,hosts,ld.so.cache,ld.so.conf,ld.so.conf.d,ld.so.preload,localtime,nsswitch.conf,pki,resolv.conf,ssl | ||
22 | # private-opt breaks file-copy-limit, use a whitelist instead of draining RAM | ||
23 | # https://github.com/netblue30/firejail/discussions/5307 | ||
24 | #private-opt postman | ||
25 | whitelist /opt/postman | ||
26 | |||
27 | # Redirect | ||
28 | include electron-common.profile | ||