diff options
author | netblue30 <netblue30@yahoo.com> | 2016-01-31 08:29:55 -0500 |
---|---|---|
committer | netblue30 <netblue30@yahoo.com> | 2016-01-31 08:29:55 -0500 |
commit | c1009ab9fc1045961ddc9e99262a2d04698784ce (patch) | |
tree | 462a9dce8409a770787582ce54c8feceb5639d02 | |
parent | Merge pull request #272 from mcarpenter/typos (diff) | |
parent | add mupen64plus profile (diff) | |
download | firejail-c1009ab9fc1045961ddc9e99262a2d04698784ce.tar.gz firejail-c1009ab9fc1045961ddc9e99262a2d04698784ce.tar.zst firejail-c1009ab9fc1045961ddc9e99262a2d04698784ce.zip |
Merge pull request #275 from kalegrill/mupen64plus
add mupen64plus profile
-rw-r--r-- | Makefile.in | 1 | ||||
-rw-r--r-- | etc/mupen64plus.profile | 12 |
2 files changed, 13 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in index 591e53cf0..1ed3e4df1 100644 --- a/Makefile.in +++ b/Makefile.in | |||
@@ -135,6 +135,7 @@ realinstall: | |||
135 | install -c -m 0644 .etc/mathematica.profile $(DESTDIR)/$(sysconfdir)/firejail/. | 135 | install -c -m 0644 .etc/mathematica.profile $(DESTDIR)/$(sysconfdir)/firejail/. |
136 | install -c -m 0644 .etc/Mathematica.profile $(DESTDIR)/$(sysconfdir)/firejail/. | 136 | install -c -m 0644 .etc/Mathematica.profile $(DESTDIR)/$(sysconfdir)/firejail/. |
137 | install -c -m 0644 .etc/uget-gtk.profile $(DESTDIR)/$(sysconfdir)/firejail/. | 137 | install -c -m 0644 .etc/uget-gtk.profile $(DESTDIR)/$(sysconfdir)/firejail/. |
138 | install -c -m 0644 .etc/mupen64plus.profile $(DESTDIR)/$(sysconfdir)/firejail/. | ||
138 | bash -c "if [ ! -f $(DESTDIR)/$(sysconfdir)/firejail/login.users ]; then install -c -m 0644 etc/login.users $(DESTDIR)/$(sysconfdir)/firejail/.; fi;" | 139 | bash -c "if [ ! -f $(DESTDIR)/$(sysconfdir)/firejail/login.users ]; then install -c -m 0644 etc/login.users $(DESTDIR)/$(sysconfdir)/firejail/.; fi;" |
139 | rm -fr .etc | 140 | rm -fr .etc |
140 | # man pages | 141 | # man pages |
diff --git a/etc/mupen64plus.profile b/etc/mupen64plus.profile new file mode 100644 index 000000000..f21c35609 --- /dev/null +++ b/etc/mupen64plus.profile | |||
@@ -0,0 +1,12 @@ | |||
1 | # mupen64plus profile | ||
2 | # manually whitelist ROM files | ||
3 | include /etc/firejail/disable-mgmt.inc | ||
4 | include /etc/firejail/disable-secret.inc | ||
5 | include /etc/firejail/disable-common.inc | ||
6 | include /etc/firejail/disable-devel.inc | ||
7 | whitelist ${HOME}/.local/share/mupen64plus/ | ||
8 | whitelist ${HOME}/.config/mupen64plus/ | ||
9 | noroot | ||
10 | caps.drop all | ||
11 | seccomp | ||
12 | net none | ||