apparmor/apparmor-2.7-branch.diff
Stephan Kulow b2f1c70e39 Accepting request 98697 from security:apparmor:factory
- Update to AppArmor 2.7.0 (= r1858)
  - make traceroute6 work (bnc#733312)
  - allow access to pyconfig.h in abstractions/python (lp#840734)
  - fix logprof/genprof for hex-encoded program filenames (= filenames
    containing space etc.)
- add apparmor-2.7-branch.diff with some upstreamed fixes:
  - usr.sbin.smbd needs read access for /etc/netgroup (bnc#738041)
  - create /etc/apparmor.d/tunables/multiarch.d as directory, not as file
  - fix syntax error in abstractons/python

- changed a $ -> % (typo)

OBS-URL: https://build.opensuse.org/request/show/98697
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/apparmor?expand=0&rev=31
2012-01-05 12:51:05 +00:00

37 lines
1.3 KiB
Diff

svn diff -r1858..1861 > 2.7-branch.diff
=== modified file 'profiles/Makefile'
--- profiles/Makefile 2011-10-19 22:23:19 +0000
+++ profiles/Makefile 2012-01-03 22:45:00 +0000
@@ -56,6 +56,7 @@
${PROFILES_DEST}/program-chunks \
${PROFILES_DEST}/tunables \
${PROFILES_DEST}/tunables/home.d \
+ ${PROFILES_DEST}/tunables/multiarch.d \
${PROFILES_DEST}/local
install -m 644 ${PROFILES_TO_COPY} ${PROFILES_DEST}
install -m 644 ${ABSTRACTIONS_TO_COPY} ${PROFILES_DEST}/abstractions
=== modified file 'profiles/apparmor.d/abstractions/python'
--- profiles/apparmor.d/abstractions/python 2011-11-30 16:56:45 +0000
+++ profiles/apparmor.d/abstractions/python 2012-01-03 20:23:30 +0000
@@ -31,4 +31,4 @@
/usr/lib/wx/python/*.pth r,
# python build configuration and headers
- /usr/include/python{2,3}.[0-7]*/pyconfig.h
+ /usr/include/python{2,3}.[0-7]*/pyconfig.h r,
=== modified file 'profiles/apparmor.d/usr.sbin.smbd'
--- profiles/apparmor.d/usr.sbin.smbd 2011-11-01 17:28:49 +0000
+++ profiles/apparmor.d/usr.sbin.smbd 2011-12-30 20:55:58 +0000
@@ -21,6 +21,7 @@
capability sys_tty_config,
/etc/mtab r,
+ /etc/netgroup r,
/etc/printcap r,
/proc/*/mounts r,
/proc/sys/kernel/core_pattern r,