summaryrefslogtreecommitdiff
path: root/profiles/hg.profile
blob: c72365fbbc27dc8258059637a74f9790e394dca8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
# Firejail profile for hg
# This file is overwritten after every install/update
quiet
# Persistent local customizations
include hg.local
# Persistent global definitions
include globals.local

noblacklist ${HOME}/.config/nano
noblacklist ${HOME}/.emacs
noblacklist ${HOME}/.emacs.d
noblacklist ${HOME}/.hgrc
#noblacklist ${HOME}/.gnupg
noblacklist ${HOME}/.nanorc
noblacklist ${HOME}/.oh-my-zsh
#noblacklist ${HOME}/.ssh
noblacklist ${HOME}/.vim
noblacklist ${HOME}/.viminfo

# Allow ssh (blacklisted by disable-common.inc)
include allow-ssh.inc

blacklist /tmp/.X11-unix
blacklist ${RUNUSER}/wayland-*

include disable-common.inc
include disable-exec.inc
include disable-passwdmgr.inc
include disable-programs.inc

whitelist ${HOME}/.config/nano
whitelist ${HOME}/.emacs
whitelist ${HOME}/.emacs.d
whitelist ${HOME}/.hgrc
#whitelist ${HOME}/.gnupg
#read-only ${HOME}/.gnupg
whitelist ${HOME}/.nanorc
read-only ${HOME}/.nanorc
whitelist ${HOME}/.oh-my-zsh
#whitelist ${HOME}/.ssh
#read-only ${HOME}/.ssh
whitelist ${HOME}/.vim
whitelist ${HOME}/.viminfo
whitelist ${HOME}/build
whitelist ${HOME}/workspace

caps.drop all
ipc-namespace
machine-id
netfilter
no3d
nodvd
nogroups
noinput
nonewprivs
noroot
nosound
notv
nou2f
novideo
protocol inet,inet6
#protocol unix,inet,inet6
seccomp
shell none

private-bin hg,python2
private-cache
private-dev

memory-deny-write-execute