aboutsummaryrefslogtreecommitdiffstats
path: root/etc/profile-a-l/cargo.profile
blob: a0fe8ddf1758784698dd7445da30d2602907211d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Firejail profile for cargo
# Description: The Rust package manager
# This file is overwritten after every install/update
quiet
# Persistent local customizations
include cargo.local
# Persistent global definitions
include globals.local

ignore read-only ${HOME}/.cargo/bin

noblacklist ${HOME}/.cargo/credentials
noblacklist ${HOME}/.cargo/credentials.toml

#whitelist ${HOME}/.cargo
#whitelist ${HOME}/.rustup

#private-bin cargo,rustc
private-etc @tls-ca,host.conf,magic,magic.mgc,rpc,services

memory-deny-write-execute

# Redirect
include build-systems-common.profile