diff options
author | 2018-03-05 14:08:32 +0100 | |
---|---|---|
committer | 2018-03-05 14:08:32 +0100 | |
commit | b12589f30c1cb6b5b214ee12dcdb4dd847d7da41 (patch) | |
tree | b436b71e6ac6400e3eb64116e1209c1d05a17851 /etc/code.profile | |
parent | blacklist smartgit password file - #1796 (diff) | |
parent | Add VS Code profile - see request in #1139 (diff) | |
download | firejail-b12589f30c1cb6b5b214ee12dcdb4dd847d7da41.tar.gz firejail-b12589f30c1cb6b5b214ee12dcdb4dd847d7da41.tar.zst firejail-b12589f30c1cb6b5b214ee12dcdb4dd847d7da41.zip |
Merge branch 'master' of https://github.com/netblue30/firejail
Diffstat (limited to 'etc/code.profile')
-rw-r--r-- | etc/code.profile | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/etc/code.profile b/etc/code.profile new file mode 100644 index 000000000..af7d379ed --- /dev/null +++ b/etc/code.profile | |||
@@ -0,0 +1,36 @@ | |||
1 | # Firejail profile for Visual Studio Code | ||
2 | # This file is overwritten after every install/update | ||
3 | # Persistent local customizations | ||
4 | include /etc/firejail/code.local | ||
5 | # Persistent global definitions | ||
6 | include /etc/firejail/globals.local | ||
7 | |||
8 | noblacklist ${HOME}/.vscode | ||
9 | noblacklist ${HOME}/.config/Code | ||
10 | |||
11 | include /etc/firejail/disable-common.inc | ||
12 | include /etc/firejail/disable-passwdmgr.inc | ||
13 | include /etc/firejail/disable-programs.inc | ||
14 | |||
15 | caps.drop all | ||
16 | net none | ||
17 | netfilter | ||
18 | nodvd | ||
19 | nogroups | ||
20 | nonewprivs | ||
21 | noroot | ||
22 | nosound | ||
23 | notv | ||
24 | novideo | ||
25 | protocol unix,inet,inet6,netlink | ||
26 | seccomp | ||
27 | shell none | ||
28 | |||
29 | private-dev | ||
30 | private-tmp | ||
31 | |||
32 | # Disabling noexec ${HOME} for now since it will | ||
33 | # probably interfere with running some programmes | ||
34 | # in VS Code | ||
35 | # noexec ${HOME} | ||
36 | noexec /tmp | ||