aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorLibravatar rusty-snake <41237666+rusty-snake@users.noreply.github.com>2021-05-17 09:02:02 +0200
committerLibravatar rusty-snake <41237666+rusty-snake@users.noreply.github.com>2021-05-17 09:02:02 +0200
commit9efbfee6a82eaacb435227fb01e7f77eb599c87f (patch)
treeb2058e9624eb0dd76f1331b574d7a845dd087cbd /etc
parentAdd cargo.profile (diff)
downloadfirejail-9efbfee6a82eaacb435227fb01e7f77eb599c87f.tar.gz
firejail-9efbfee6a82eaacb435227fb01e7f77eb599c87f.tar.zst
firejail-9efbfee6a82eaacb435227fb01e7f77eb599c87f.zip
Harden cargo.profile
Diffstat (limited to 'etc')
-rw-r--r--etc/profile-a-l/cargo.profile12
1 files changed, 2 insertions, 10 deletions
diff --git a/etc/profile-a-l/cargo.profile b/etc/profile-a-l/cargo.profile
index 2e00061d9..043fd6718 100644
--- a/etc/profile-a-l/cargo.profile
+++ b/etc/profile-a-l/cargo.profile
@@ -19,16 +19,6 @@ noblacklist ${HOME}/.cargo/credentials.toml
19# Allows files commonly used by IDEs 19# Allows files commonly used by IDEs
20include allow-common-devel.inc 20include allow-common-devel.inc
21 21
22# Allow lua (blacklisted by disable-interpreters.inc)
23#include allow-lua.inc
24
25# Allow perl (blacklisted by disable-interpreters.inc)
26#include allow-perl.inc
27
28# Allow python (blacklisted by disable-interpreters.inc)
29#include allow-python2.inc
30#include allow-python3.inc
31
32# Allow ssh (blacklisted by disable-common.inc) 22# Allow ssh (blacklisted by disable-common.inc)
33#include allow-ssh.inc 23#include allow-ssh.inc
34 24
@@ -72,9 +62,11 @@ disable-mnt
72#private-bin cargo,rustc 62#private-bin cargo,rustc
73private-cache 63private-cache
74private-dev 64private-dev
65private-etc alternatives,ca-certificates,crypto-policies,group,host.conf,hostname,hosts,ld.so.cache,ld.so.conf,ld.so.conf.d,ld.so.preload,locale,locale.alias,locale.conf,localtime,magic,magic.mgc,nsswitch.conf,passwd,pki,protocols,resolv.conf,rpc,services,ssl
75private-tmp 66private-tmp
76 67
77dbus-user none 68dbus-user none
78dbus-system none 69dbus-system none
79 70
71memory-deny-write-execute
80read-write ${HOME}/.cargo/bin 72read-write ${HOME}/.cargo/bin