aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Vasya Novikov <n1dr+cm3513git@ya.ru>2016-03-02 22:28:56 +0300
committerLibravatar Vasya Novikov <n1dr+cm3513git@ya.ru>2016-03-02 22:28:56 +0300
commitc34312176b7aa77f09598da56809e7156af3c860 (patch)
tree4aadfd64182cd28676e5f850f8daffe9d80b7a19
parentdebugging (diff)
downloadfirejail-c34312176b7aa77f09598da56809e7156af3c860.tar.gz
firejail-c34312176b7aa77f09598da56809e7156af3c860.tar.zst
firejail-c34312176b7aa77f09598da56809e7156af3c860.zip
add hedgewars profile (whitelist)
-rw-r--r--Makefile.in1
-rw-r--r--README1
-rw-r--r--README.md2
-rw-r--r--etc/hedgewars.profile17
-rw-r--r--platform/debian/conffiles1
5 files changed, 21 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index 0f5e2344d..561dea897 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -142,6 +142,7 @@ realinstall:
142 install -c -m 0644 .etc/lxterminal.profile $(DESTDIR)/$(sysconfdir)/firejail/. 142 install -c -m 0644 .etc/lxterminal.profile $(DESTDIR)/$(sysconfdir)/firejail/.
143 install -c -m 0644 .etc/cherrytree.profile $(DESTDIR)/$(sysconfdir)/firejail/. 143 install -c -m 0644 .etc/cherrytree.profile $(DESTDIR)/$(sysconfdir)/firejail/.
144 install -c -m 0644 .etc/wesnoth.profile $(DESTDIR)/$(sysconfdir)/firejail/. 144 install -c -m 0644 .etc/wesnoth.profile $(DESTDIR)/$(sysconfdir)/firejail/.
145 install -c -m 0644 .etc/hedgewars.profile $(DESTDIR)/$(sysconfdir)/firejail/.
145 install -c -m 0644 .etc/vivaldi.profile $(DESTDIR)/$(sysconfdir)/firejail/. 146 install -c -m 0644 .etc/vivaldi.profile $(DESTDIR)/$(sysconfdir)/firejail/.
146 install -c -m 0644 .etc/vivaldi-beta.profile $(DESTDIR)/$(sysconfdir)/firejail/. 147 install -c -m 0644 .etc/vivaldi-beta.profile $(DESTDIR)/$(sysconfdir)/firejail/.
147 sh -c "if [ ! -f $(DESTDIR)/$(sysconfdir)/firejail/login.users ]; then install -c -m 0644 etc/login.users $(DESTDIR)/$(sysconfdir)/firejail/.; fi;" 148 sh -c "if [ ! -f $(DESTDIR)/$(sysconfdir)/firejail/login.users ]; then install -c -m 0644 etc/login.users $(DESTDIR)/$(sysconfdir)/firejail/.; fi;"
diff --git a/README b/README
index 29189e751..53ab416e7 100644
--- a/README
+++ b/README
@@ -25,6 +25,7 @@ yumkam (https://github.com/yumkam)
25 - man page fixes 25 - man page fixes
26Vasya Novikov (https://github.com/vn971) 26Vasya Novikov (https://github.com/vn971)
27 - Wesnoth profile 27 - Wesnoth profile
28 - Hedegewars profile
28 - manpage fixes 29 - manpage fixes
29mahdi1234 (https://github.com/mahdi1234) 30mahdi1234 (https://github.com/mahdi1234)
30 - cherrytree profile 31 - cherrytree profile
diff --git a/README.md b/README.md
index fa622eee5..ac436cd8e 100644
--- a/README.md
+++ b/README.md
@@ -113,4 +113,4 @@ $ man firejail-profile
113 113
114## New security profiles 114## New security profiles
115 115
116lxterminal, Epiphany, cherrytree, Battle for Wesnoth 116lxterminal, Epiphany, cherrytree, Battle for Wesnoth, Hedgewars
diff --git a/etc/hedgewars.profile b/etc/hedgewars.profile
new file mode 100644
index 000000000..03a376e2f
--- /dev/null
+++ b/etc/hedgewars.profile
@@ -0,0 +1,17 @@
1# whitelist profile for Hedgewars (game)
2
3include /etc/firejail/disable-common.inc
4include /etc/firejail/disable-devel.inc
5include /etc/firejail/disable-mgmt.inc
6include /etc/firejail/disable-secret.inc
7include /etc/firejail/disable-terminals.inc
8
9caps.drop all
10noroot
11private-dev
12whitelist /tmp/.X11-unix
13seccomp
14tracelog
15
16mkdir ~/.hedgewars
17whitelist ~/.hedgewars
diff --git a/platform/debian/conffiles b/platform/debian/conffiles
index d8b3dadb8..7c5cba882 100644
--- a/platform/debian/conffiles
+++ b/platform/debian/conffiles
@@ -68,5 +68,6 @@
68/etc/firejail/lxterminal.profile 68/etc/firejail/lxterminal.profile
69/etc/firejail/cherrytree.profile 69/etc/firejail/cherrytree.profile
70/etc/firejail/wesnoth.profile 70/etc/firejail/wesnoth.profile
71/etc/firejail/hedgewars.profile
71/etc/firejail/vivaldi.profile 72/etc/firejail/vivaldi.profile
72/etc/firejail/vivaldi-beta.profile 73/etc/firejail/vivaldi-beta.profile