diff options
author | ಚಿರಾಗ್ ನಟರಾಜ್ <chiraag.nataraj@gmail.com> | 2019-02-17 22:36:53 +0000 |
---|---|---|
committer | ಚಿರಾಗ್ ನಟರಾಜ್ <chiraag.nataraj@gmail.com> | 2019-02-17 22:36:53 +0000 |
commit | 51a5286c529d54fcae7fe9b0744e6a11c2820f5d (patch) | |
tree | cf40bc78b5e73da5bd8aca410a747491a7168dd4 | |
parent | Merge pull request #2415 from netblue30/privetc_alternatives (diff) | |
download | firejail-51a5286c529d54fcae7fe9b0744e6a11c2820f5d.tar.gz firejail-51a5286c529d54fcae7fe9b0744e6a11c2820f5d.tar.zst firejail-51a5286c529d54fcae7fe9b0744e6a11c2820f5d.zip |
Fix #2414 by providing optional relaxed include file
-rw-r--r-- | etc/feh-network.inc | 2 | ||||
-rw-r--r-- | etc/feh.profile | 5 |
2 files changed, 7 insertions, 0 deletions
diff --git a/etc/feh-network.inc b/etc/feh-network.inc new file mode 100644 index 000000000..b74486f4f --- /dev/null +++ b/etc/feh-network.inc | |||
@@ -0,0 +1,2 @@ | |||
1 | ignore net none | ||
2 | private-etc resolv.conf,ca-certificates,ssl | ||
diff --git a/etc/feh.profile b/etc/feh.profile index eb6f311bb..f020bace5 100644 --- a/etc/feh.profile +++ b/etc/feh.profile | |||
@@ -12,6 +12,11 @@ include disable-interpreters.inc | |||
12 | include disable-passwdmgr.inc | 12 | include disable-passwdmgr.inc |
13 | include disable-programs.inc | 13 | include disable-programs.inc |
14 | 14 | ||
15 | # This profile disables network access | ||
16 | # In order to enable network access, | ||
17 | # uncomment the following or put it in your feh.local: | ||
18 | # include feh-network.inc | ||
19 | |||
15 | caps.drop all | 20 | caps.drop all |
16 | net none | 21 | net none |
17 | no3d | 22 | no3d |