2019-04-17 11:21:15 +02:00
|
|
|
# Last Modified: Fri Apr 14 14:11:09 2019
|
2009-01-08 18:10:09 +01:00
|
|
|
#include <tunables/global>
|
|
|
|
|
2010-09-27 16:02:12 +02:00
|
|
|
/usr/share/gitweb/gitweb.cgi {
|
2009-01-08 18:10:09 +01:00
|
|
|
#include <abstractions/base>
|
|
|
|
#include <abstractions/bash>
|
|
|
|
#include <abstractions/nameservice>
|
|
|
|
#include <abstractions/perl>
|
2019-10-14 12:31:49 +02:00
|
|
|
#include <abstractions/private-files-strict>
|
2009-01-08 18:10:09 +01:00
|
|
|
|
2019-04-17 11:21:15 +02:00
|
|
|
/{usr/,}bin/bash rix,
|
|
|
|
/{usr/,}bin/tar rix,
|
2014-11-24 11:18:04 +01:00
|
|
|
/usr/bin/gzip rix,
|
|
|
|
/usr/bin/bzip2 rix,
|
|
|
|
/usr/bin/zip rix,
|
2009-01-08 18:10:09 +01:00
|
|
|
/dev/tty rw,
|
|
|
|
/etc/gitweb.conf r,
|
|
|
|
/etc/mime.types r,
|
2019-10-14 12:31:49 +02:00
|
|
|
/proc/loadavg r,
|
2009-01-08 18:10:09 +01:00
|
|
|
/proc/meminfo r,
|
|
|
|
/proc/sys/kernel/ngroups_max r,
|
|
|
|
/srv/git/ r,
|
|
|
|
/srv/git/** r,
|
|
|
|
/usr/bin/perl ix,
|
2009-10-03 03:33:25 +02:00
|
|
|
/usr/lib/git/git rix,
|
|
|
|
/usr/bin/git-receive-pack rix,
|
2010-09-27 16:02:12 +02:00
|
|
|
/usr/share/gitweb/* r,
|
|
|
|
/usr/share/gitweb/static/* r,
|
2019-10-14 12:31:49 +02:00
|
|
|
owner /**/ r,
|
|
|
|
owner /**/.git/** r,
|
|
|
|
owner @{HOME}/.gitconfig r,
|
2009-01-08 18:10:09 +01:00
|
|
|
}
|