git/usr.share.git-web.gitweb.cgi
Dominique Leuenberger 937fe2e8ec Accepting request 694145 from devel:tools:scm
- update git-web AppArmor profile for bash and tar usrMerge (boo#1132350)

OBS-URL: https://build.opensuse.org/request/show/694145
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/git?expand=0&rev=231
2019-04-17 09:21:15 +00:00

28 lines
622 B
Python

# Last Modified: Fri Apr 14 14:11:09 2019
#include <tunables/global>
/usr/share/gitweb/gitweb.cgi {
#include <abstractions/base>
#include <abstractions/bash>
#include <abstractions/nameservice>
#include <abstractions/perl>
/{usr/,}bin/bash rix,
/{usr/,}bin/tar rix,
/usr/bin/gzip rix,
/usr/bin/bzip2 rix,
/usr/bin/zip rix,
/dev/tty rw,
/etc/gitweb.conf r,
/etc/mime.types r,
/proc/meminfo r,
/proc/sys/kernel/ngroups_max r,
/srv/git/ r,
/srv/git/** r,
/usr/bin/perl ix,
/usr/lib/git/git rix,
/usr/bin/git-receive-pack rix,
/usr/share/gitweb/* r,
/usr/share/gitweb/static/* r,
}