aboutsummaryrefslogtreecommitdiffstats
path: root/etc/profile-a-l/code.profile
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2020-04-21 08:24:28 -0400
committerLibravatar netblue30 <netblue30@yahoo.com>2020-04-21 08:24:28 -0400
commit018d75775eab4a0f045949a9d069c57686ca2686 (patch)
treeaac3a1a65cca0d4875795c55109a5c3e35efdefb /etc/profile-a-l/code.profile
parentsmall fixes (diff)
downloadfirejail-018d75775eab4a0f045949a9d069c57686ca2686.tar.gz
firejail-018d75775eab4a0f045949a9d069c57686ca2686.tar.zst
firejail-018d75775eab4a0f045949a9d069c57686ca2686.zip
reorganize github etc directory
Diffstat (limited to 'etc/profile-a-l/code.profile')
-rw-r--r--etc/profile-a-l/code.profile42
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
4include code.local
5# Persistent global definitions
6include globals.local
7
8noblacklist ${HOME}/.config/Code
9noblacklist ${HOME}/.config/Code - OSS
10noblacklist ${HOME}/.vscode
11noblacklist ${HOME}/.vscode-oss
12
13# Allows files commonly used by IDEs
14include allow-common-devel.inc
15
16include disable-common.inc
17include disable-passwdmgr.inc
18include disable-programs.inc
19
20caps.drop all
21netfilter
22nodvd
23nogroups
24nonewprivs
25noroot
26nosound
27notv
28nou2f
29novideo
30protocol unix,inet,inet6,netlink
31seccomp
32shell none
33
34private-cache
35private-dev
36private-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}
42noexec /tmp