diff options
author | 2019-08-22 11:29:13 +0200 | |
---|---|---|
committer | 2019-08-22 11:29:13 +0200 | |
commit | 4ceb6d89143c99d1e60bec264d59dd8a7c257327 (patch) | |
tree | ed20c9b4dc8f5682bfd2350ea6d0dc64f2776683 /etc | |
parent | Enable private-bin in transmission-daemon (diff) | |
download | firejail-4ceb6d89143c99d1e60bec264d59dd8a7c257327.tar.gz firejail-4ceb6d89143c99d1e60bec264d59dd8a7c257327.tar.zst firejail-4ceb6d89143c99d1e60bec264d59dd8a7c257327.zip |
Introduce allow-common-devel.inc
Diffstat (limited to 'etc')
-rw-r--r-- | etc/allow-common-devel.inc | 13 | ||||
-rw-r--r-- | etc/atom.profile | 14 | ||||
-rw-r--r-- | etc/brackets.profile | 10 | ||||
-rw-r--r-- | etc/code.profile | 11 | ||||
-rw-r--r-- | etc/geany.profile | 9 | ||||
-rw-r--r-- | etc/gedit.profile | 9 | ||||
-rw-r--r-- | etc/gnome-builder.profile | 10 | ||||
-rw-r--r-- | etc/templates/profile.template | 3 |
8 files changed, 33 insertions, 46 deletions
diff --git a/etc/allow-common-devel.inc b/etc/allow-common-devel.inc new file mode 100644 index 000000000..da1cdb3d3 --- /dev/null +++ b/etc/allow-common-devel.inc | |||
@@ -0,0 +1,13 @@ | |||
1 | # Rust | ||
2 | noblacklist ${HOME}/.cargo/config | ||
3 | noblacklist ${HOME}/.cargo/registry | ||
4 | |||
5 | # Git | ||
6 | noblacklist ${HOME}/.config/git | ||
7 | noblacklist ${HOME}/.gitconfig | ||
8 | noblacklist ${HOME}/.git-credentials | ||
9 | |||
10 | # Python | ||
11 | noblacklist ${HOME}/.python-history | ||
12 | noblacklist ${HOME}/.python_history | ||
13 | noblacklist ${HOME}/.pythonhist | ||
diff --git a/etc/atom.profile b/etc/atom.profile index 4bb37552b..b9cb49d08 100644 --- a/etc/atom.profile +++ b/etc/atom.profile | |||
@@ -8,17 +8,9 @@ include globals.local | |||
8 | 8 | ||
9 | noblacklist ${HOME}/.atom | 9 | noblacklist ${HOME}/.atom |
10 | noblacklist ${HOME}/.config/Atom | 10 | noblacklist ${HOME}/.config/Atom |
11 | # allow rust | 11 | |
12 | noblacklist ${HOME}/.cargo/config | 12 | # Allows files commonly used by IDEs |
13 | noblacklist ${HOME}/.cargo/registry | 13 | include allow-common-devel.inc |
14 | # allow git config files | ||
15 | noblacklist ${HOME}/.config/git | ||
16 | noblacklist ${HOME}/.gitconfig | ||
17 | noblacklist ${HOME}/.git-credentials | ||
18 | # allow python dev files | ||
19 | noblacklist ${HOME}/.python-history | ||
20 | noblacklist ${HOME}/.python_history | ||
21 | noblacklist ${HOME}/.pythonhist | ||
22 | 14 | ||
23 | include disable-common.inc | 15 | include disable-common.inc |
24 | include disable-exec.inc | 16 | include disable-exec.inc |
diff --git a/etc/brackets.profile b/etc/brackets.profile index 3e157d841..b7d560bbc 100644 --- a/etc/brackets.profile +++ b/etc/brackets.profile | |||
@@ -8,13 +8,9 @@ include globals.local | |||
8 | noblacklist ${HOME}/.config/Brackets | 8 | noblacklist ${HOME}/.config/Brackets |
9 | #noblacklist /opt/brackets/ | 9 | #noblacklist /opt/brackets/ |
10 | #noblacklist /opt/google/ | 10 | #noblacklist /opt/google/ |
11 | # Uncomment the next two lines if you are developing rust. | 11 | |
12 | # or put it in your brackets.local | 12 | # Allows files commonly used by IDEs |
13 | #noblacklist ${HOME}/.cargo/config | 13 | include allow-common-devel.inc |
14 | #noblacklist ${HOME}/.cargo/registry | ||
15 | noblacklist ${HOME}/.config/git | ||
16 | noblacklist ${HOME}/.gitconfig | ||
17 | noblacklist ${HOME}/.git-credentials | ||
18 | 14 | ||
19 | include disable-common.inc | 15 | include disable-common.inc |
20 | include disable-passwdmgr.inc | 16 | include disable-passwdmgr.inc |
diff --git a/etc/code.profile b/etc/code.profile index 76320d56b..7ac4e1619 100644 --- a/etc/code.profile +++ b/etc/code.profile | |||
@@ -5,19 +5,14 @@ include code.local | |||
5 | # Persistent global definitions | 5 | # Persistent global definitions |
6 | include globals.local | 6 | include globals.local |
7 | 7 | ||
8 | noblacklist ${HOME}/.cargo/config | ||
9 | noblacklist ${HOME}/.cargo/registry | ||
10 | noblacklist ${HOME}/.config/Code | 8 | noblacklist ${HOME}/.config/Code |
11 | noblacklist ${HOME}/.config/Code - OSS | 9 | noblacklist ${HOME}/.config/Code - OSS |
12 | noblacklist ${HOME}/.config/git | ||
13 | noblacklist ${HOME}/.gitconfig | ||
14 | noblacklist ${HOME}/.git-credentials | ||
15 | noblacklist ${HOME}/.python-history | ||
16 | noblacklist ${HOME}/.python_history | ||
17 | noblacklist ${HOME}/.pythonhist | ||
18 | noblacklist ${HOME}/.vscode | 10 | noblacklist ${HOME}/.vscode |
19 | noblacklist ${HOME}/.vscode-oss | 11 | noblacklist ${HOME}/.vscode-oss |
20 | 12 | ||
13 | # Allows files commonly used by IDEs | ||
14 | include allow-common-devel.inc | ||
15 | |||
21 | include disable-common.inc | 16 | include disable-common.inc |
22 | include disable-passwdmgr.inc | 17 | include disable-passwdmgr.inc |
23 | include disable-programs.inc | 18 | include disable-programs.inc |
diff --git a/etc/geany.profile b/etc/geany.profile index 53a718d63..31599e32a 100644 --- a/etc/geany.profile +++ b/etc/geany.profile | |||
@@ -7,12 +7,9 @@ include geany.local | |||
7 | include globals.local | 7 | include globals.local |
8 | 8 | ||
9 | noblacklist ${HOME}/.config/geany | 9 | noblacklist ${HOME}/.config/geany |
10 | noblacklist ${HOME}/.config/git | 10 | |
11 | noblacklist ${HOME}/.gitconfig | 11 | # Allows files commonly used by IDEs |
12 | noblacklist ${HOME}/.git-credentials | 12 | include allow-common-devel.inc |
13 | noblacklist ${HOME}/.python-history | ||
14 | noblacklist ${HOME}/.python_history | ||
15 | noblacklist ${HOME}/.pythonhist | ||
16 | 13 | ||
17 | include disable-common.inc | 14 | include disable-common.inc |
18 | include disable-passwdmgr.inc | 15 | include disable-passwdmgr.inc |
diff --git a/etc/gedit.profile b/etc/gedit.profile index 763d33eb1..837396654 100644 --- a/etc/gedit.profile +++ b/etc/gedit.profile | |||
@@ -8,12 +8,9 @@ include globals.local | |||
8 | 8 | ||
9 | noblacklist ${HOME}/.config/enchant | 9 | noblacklist ${HOME}/.config/enchant |
10 | noblacklist ${HOME}/.config/gedit | 10 | noblacklist ${HOME}/.config/gedit |
11 | noblacklist ${HOME}/.config/git | 11 | |
12 | noblacklist ${HOME}/.gitconfig | 12 | # Allows files commonly used by IDEs |
13 | noblacklist ${HOME}/.git-credentials | 13 | include allow-common-devel.inc |
14 | noblacklist ${HOME}/.python-history | ||
15 | noblacklist ${HOME}/.python_history | ||
16 | noblacklist ${HOME}/.pythonhist | ||
17 | 14 | ||
18 | include disable-common.inc | 15 | include disable-common.inc |
19 | # include disable-devel.inc | 16 | # include disable-devel.inc |
diff --git a/etc/gnome-builder.profile b/etc/gnome-builder.profile index 46281af6e..ab2ca183b 100644 --- a/etc/gnome-builder.profile +++ b/etc/gnome-builder.profile | |||
@@ -6,14 +6,8 @@ include gnome-builder.local | |||
6 | # Persistent global definitions | 6 | # Persistent global definitions |
7 | include globals.local | 7 | include globals.local |
8 | 8 | ||
9 | noblacklist ${HOME}/.cargo/config | 9 | # Allows files commonly used by IDEs |
10 | noblacklist ${HOME}/.cargo/registry | 10 | include allow-common-devel.inc |
11 | noblacklist ${HOME}/.config/git | ||
12 | noblacklist ${HOME}/.gitconfig | ||
13 | noblacklist ${HOME}/.git-credentials | ||
14 | noblacklist ${HOME}/.python-history | ||
15 | noblacklist ${HOME}/.python_history | ||
16 | noblacklist ${HOME}/.pythonhist | ||
17 | 11 | ||
18 | include disable-common.inc | 12 | include disable-common.inc |
19 | include disable-passwdmgr.inc | 13 | include disable-passwdmgr.inc |
diff --git a/etc/templates/profile.template b/etc/templates/profile.template index 2fc5c3ef1..0d67e222f 100644 --- a/etc/templates/profile.template +++ b/etc/templates/profile.template | |||
@@ -87,6 +87,9 @@ include globals.local | |||
87 | # Allow lua (blacklisted by disable-interpreters.inc) | 87 | # Allow lua (blacklisted by disable-interpreters.inc) |
88 | #include allow-lua.inc | 88 | #include allow-lua.inc |
89 | 89 | ||
90 | # Allows files commonly used by IDEs | ||
91 | #include allow-common-devel.inc | ||
92 | |||
90 | #include disable-common.inc | 93 | #include disable-common.inc |
91 | #include disable-devel.inc | 94 | #include disable-devel.inc |
92 | #include disable-exec.inc | 95 | #include disable-exec.inc |