diff options
Diffstat (limited to 'etc/profile-a-l/code.profile')
-rw-r--r-- | etc/profile-a-l/code.profile | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/etc/profile-a-l/code.profile b/etc/profile-a-l/code.profile new file mode 100644 index 000000000..6f8a25211 --- /dev/null +++ b/etc/profile-a-l/code.profile | |||
@@ -0,0 +1,42 @@ | |||
1 | # Firejail profile for Visual Studio Code | ||
2 | # This file is overwritten after every install/update | ||
3 | # Persistent local customizations | ||
4 | include code.local | ||
5 | # Persistent global definitions | ||
6 | include globals.local | ||
7 | |||
8 | noblacklist ${HOME}/.config/Code | ||
9 | noblacklist ${HOME}/.config/Code - OSS | ||
10 | noblacklist ${HOME}/.vscode | ||
11 | noblacklist ${HOME}/.vscode-oss | ||
12 | |||
13 | # Allows files commonly used by IDEs | ||
14 | include allow-common-devel.inc | ||
15 | |||
16 | include disable-common.inc | ||
17 | include disable-passwdmgr.inc | ||
18 | include disable-programs.inc | ||
19 | |||
20 | caps.drop all | ||
21 | netfilter | ||
22 | nodvd | ||
23 | nogroups | ||
24 | nonewprivs | ||
25 | noroot | ||
26 | nosound | ||
27 | notv | ||
28 | nou2f | ||
29 | novideo | ||
30 | protocol unix,inet,inet6,netlink | ||
31 | seccomp | ||
32 | shell none | ||
33 | |||
34 | private-cache | ||
35 | private-dev | ||
36 | private-tmp | ||
37 | |||
38 | # Disabling noexec ${HOME} for now since it will | ||
39 | # probably interfere with running some programmes | ||
40 | # in VS Code | ||
41 | # noexec ${HOME} | ||
42 | noexec /tmp | ||