Skip to content

Commit

Permalink
Apparmor: add local configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
Vladimir Schowalter committed Aug 2, 2017
1 parent 75a75e8 commit c5e188c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,8 @@ ifeq ($(HAVE_APPARMOR),-DHAVE_APPARMOR)
# install apparmor profile
sh -c "if [ ! -d $(DESTDIR)/$(sysconfdir)/apparmor.d ]; then install -d -m 755 $(DESTDIR)/$(sysconfdir)/apparmor.d; fi;"
install -c -m 0644 etc/firejail-default $(DESTDIR)/$(sysconfdir)/apparmor.d/.
sh -c "if [ ! -d $(DESTDIR)/$(sysconfdir)/apparmor.d/local ]; then install -d -m 755 $(DESTDIR)/$(sysconfdir)/apparmor.d/local; fi;"
install -c -m 0644 etc/firejail-local $(DESTDIR)/$(sysconfdir)/apparmor.d/local/.
endif
# man pages
install -m 0755 -d $(DESTDIR)/$(mandir)/man1
Expand Down
1 change: 1 addition & 0 deletions etc/firejail-default
Original file line number Diff line number Diff line change
Expand Up @@ -154,4 +154,5 @@ remount,
umount,
pivot_root,

#include <local/firejail-local>
}
1 change: 1 addition & 0 deletions etc/firejail-local
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Site-specific additions and overrides for 'firejail-default'

0 comments on commit c5e188c

Please sign in to comment.