[apparmor] [patch] Samba "vfs objects"

Christian Boltz apparmor at cboltz.de
Mon Oct 31 19:12:07 UTC 2011


Hello,

here's patch for the smbd profile (already included in the openSUSE 
package, the timeline was too short to push it upstream and wait for the 
RC2 release ;-)

---------------------------------------------------------------------

Allow loading the libraries used for Samba "vfs objects = ..."

References: https://bugzilla.novell.com/show_bug.cgi?id=725967

Signed-off-by: Christian Boltz <apparmor at cboltz.de>


=== modified file 'profiles/apparmor.d/usr.sbin.smbd'
--- profiles/apparmor.d/usr.sbin.smbd   2011-08-27 18:50:42 +0000
+++ profiles/apparmor.d/usr.sbin.smbd   2011-10-26 20:43:13 +0000
@@ -24,6 +24,7 @@
   /etc/printcap r,
   /proc/*/mounts r,
   /proc/sys/kernel/core_pattern r,
+  /usr/lib64/samba/vfs/*.so mr,
   /usr/sbin/smbd mr,
   /etc/samba/* rwk,
   /var/cache/samba/** rwk,


Regards,

Christian Boltz
-- 
Wenn man keine Vögel mag, ist es völlig in Ordnung, mit Kanonen auf
Spatzen zu schiessen.                         [Ratti in suse-linux]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: apparmor-samba-vfs-objects.diff
Type: text/x-patch
Size: 563 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20111031/f68b949f/attachment.bin>


More information about the AppArmor mailing list