aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorLibravatar The Fox in the Shell <KellerFuchs@hashbang.sh>2017-01-09 23:22:31 +0100
committerLibravatar The Fox in the Shell <KellerFuchs@hashbang.sh>2017-01-09 23:22:31 +0100
commitec719b9e0f4f7258b5f752af4857649a34a35dfe (patch)
tree2889479d9c69cd04843bcc733670ce327cd11845 /etc
parentMerge pull request #1027 from reinerh/cve-references2 (diff)
downloadfirejail-ec719b9e0f4f7258b5f752af4857649a34a35dfe.tar.gz
firejail-ec719b9e0f4f7258b5f752af4857649a34a35dfe.tar.zst
firejail-ec719b9e0f4f7258b5f752af4857649a34a35dfe.zip
etc: Support local customizations in *.inc
This is useful for places, like hashbang.sh, which have site-specific modifications of the *.inc files. With the current setup, the package manager cannot automatically install updated versions of those files, as it would need to somehow merge the site-specific and upstream changes. Having the site-specific changes in separate files solves this.
Diffstat (limited to 'etc')
-rw-r--r--etc/disable-common.inc3
-rw-r--r--etc/disable-common.local1
-rw-r--r--etc/disable-devel.inc3
-rw-r--r--etc/disable-devel.local1
-rw-r--r--etc/disable-passwdmgr.inc3
-rw-r--r--etc/disable-passwdmgr.local1
-rw-r--r--etc/disable-programs.inc3
-rw-r--r--etc/disable-programs.local1
-rw-r--r--etc/whitelist-common.inc3
-rw-r--r--etc/whitelist-common.local1
10 files changed, 20 insertions, 0 deletions
diff --git a/etc/disable-common.inc b/etc/disable-common.inc
index efe5c850d..187d26c83 100644
--- a/etc/disable-common.inc
+++ b/etc/disable-common.inc
@@ -1,3 +1,6 @@
1# Local customizations come here
2include /etc/firejail/disable-common.local
3
1# History files in $HOME 4# History files in $HOME
2blacklist-nolog ${HOME}/.history 5blacklist-nolog ${HOME}/.history
3blacklist-nolog ${HOME}/.*_history 6blacklist-nolog ${HOME}/.*_history
diff --git a/etc/disable-common.local b/etc/disable-common.local
new file mode 100644
index 000000000..c9fbadfaf
--- /dev/null
+++ b/etc/disable-common.local
@@ -0,0 +1 @@
# This file is meant for local customizations of disable-common.local
diff --git a/etc/disable-devel.inc b/etc/disable-devel.inc
index 2ac367f37..07fc3928c 100644
--- a/etc/disable-devel.inc
+++ b/etc/disable-devel.inc
@@ -1,3 +1,6 @@
1# Local customizations come here
2include /etc/firejail/disable-devel.local
3
1# development tools 4# development tools
2 5
3# GCC 6# GCC
diff --git a/etc/disable-devel.local b/etc/disable-devel.local
new file mode 100644
index 000000000..6ce1a8c75
--- /dev/null
+++ b/etc/disable-devel.local
@@ -0,0 +1 @@
# This file is meant for local customizations of disable-devel.local
diff --git a/etc/disable-passwdmgr.inc b/etc/disable-passwdmgr.inc
index 045b4d92b..7d129b2e4 100644
--- a/etc/disable-passwdmgr.inc
+++ b/etc/disable-passwdmgr.inc
@@ -1,3 +1,6 @@
1# Local customizations come here
2include /etc/firejail/disable-passwdmgr.local
3
1blacklist ${HOME}/.pki/nssdb 4blacklist ${HOME}/.pki/nssdb
2blacklist ${HOME}/.lastpass 5blacklist ${HOME}/.lastpass
3blacklist ${HOME}/.keepassx 6blacklist ${HOME}/.keepassx
diff --git a/etc/disable-passwdmgr.local b/etc/disable-passwdmgr.local
new file mode 100644
index 000000000..2a3bb45d3
--- /dev/null
+++ b/etc/disable-passwdmgr.local
@@ -0,0 +1 @@
# This file is meant for local customizations of disable-passwdmgr.local
diff --git a/etc/disable-programs.inc b/etc/disable-programs.inc
index e5eb4f857..96bf1464b 100644
--- a/etc/disable-programs.inc
+++ b/etc/disable-programs.inc
@@ -1,3 +1,6 @@
1# Local customizations come here
2include /etc/firejail/disable-programs.local
3
1blacklist ${HOME}/.*coin 4blacklist ${HOME}/.*coin
2blacklist ${HOME}/.8pecxstudios 5blacklist ${HOME}/.8pecxstudios
3blacklist ${HOME}/.Atom 6blacklist ${HOME}/.Atom
diff --git a/etc/disable-programs.local b/etc/disable-programs.local
new file mode 100644
index 000000000..6c226a331
--- /dev/null
+++ b/etc/disable-programs.local
@@ -0,0 +1 @@
# This file is meant for local customizations of disable-programs.local
diff --git a/etc/whitelist-common.inc b/etc/whitelist-common.inc
index d4e69948e..cf7797100 100644
--- a/etc/whitelist-common.inc
+++ b/etc/whitelist-common.inc
@@ -1,3 +1,6 @@
1# Local customizations come here
2include /etc/firejail/whitelist-common.local
3
1# common whitelist for all profiles 4# common whitelist for all profiles
2 5
3whitelist ~/.XCompose 6whitelist ~/.XCompose
diff --git a/etc/whitelist-common.local b/etc/whitelist-common.local
new file mode 100644
index 000000000..11ed186ce
--- /dev/null
+++ b/etc/whitelist-common.local
@@ -0,0 +1 @@
# This file is meant for local customizations of whitelist-common.local