2011-01-17 17:43:05 +01:00
|
|
|
From: Jeff Mahoney <jeffm@suse.com>
|
|
|
|
Subject: apparmor-profiles: Add support for eDirectory calls from nscd
|
|
|
|
References: bnc#621394
|
|
|
|
|
|
|
|
eDirectory hooks into nscd and provides its own libraries. In order for
|
|
|
|
this to operate properly with AppArmor, it needs to be told about these
|
|
|
|
libraries.
|
|
|
|
|
|
|
|
This patch adds a new abstract profile and includes it in the nameservice
|
|
|
|
profile.
|
|
|
|
|
|
|
|
Signed-off-by: Jeff Mahoney <jeffm@suse.com>
|
|
|
|
---
|
|
|
|
profiles/apparmor.d/abstractions/nameservice | 3 +++
|
|
|
|
profiles/apparmor.d/abstractions/novell-edirectory | 13 +++++++++++++
|
|
|
|
2 files changed, 16 insertions(+)
|
|
|
|
|
2014-09-07 21:10:23 +02:00
|
|
|
Index: profiles/apparmor.d/abstractions/nameservice
|
|
|
|
===================================================================
|
|
|
|
--- profiles/apparmor.d/abstractions/nameservice.orig 2014-09-03 21:21:31.000000000 +0200
|
|
|
|
+++ profiles/apparmor.d/abstractions/nameservice 2014-09-07 17:53:18.412834868 +0200
|
|
|
|
@@ -81,6 +81,9 @@
|
2011-01-17 17:43:05 +01:00
|
|
|
# kerberos
|
|
|
|
#include <abstractions/kerberosclient>
|
|
|
|
|
|
|
|
+ # Novell eDirectory
|
|
|
|
+ #include <abstractions/novell-edirectory>
|
|
|
|
+
|
|
|
|
# TCP/UDP network access
|
|
|
|
network inet stream,
|
|
|
|
network inet6 stream,
|
2014-09-07 21:10:23 +02:00
|
|
|
Index: profiles/apparmor.d/abstractions/novell-edirectory
|
|
|
|
===================================================================
|
|
|
|
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
|
|
|
|
+++ profiles/apparmor.d/abstractions/novell-edirectory 2014-09-07 17:53:18.412834868 +0200
|
2011-01-17 17:43:05 +01:00
|
|
|
@@ -0,0 +1,13 @@
|
|
|
|
+# $Id$
|
|
|
|
+# ------------------------------------------------------------------
|
|
|
|
+#
|
|
|
|
+# Copyright (C) 2010 Novell/SUSE
|
|
|
|
+#
|
|
|
|
+# This program is free software; you can redistribute it and/or
|
|
|
|
+# modify it under the terms of version 2 of the GNU General Public
|
|
|
|
+# License published by the Free Software Foundation.
|
|
|
|
+#
|
|
|
|
+# ------------------------------------------------------------------
|
|
|
|
+
|
|
|
|
+ /opt/novell/eDirectory/lib/lib*so* r,
|
|
|
|
+ /opt/novell/eDirectory/lib64/lib*so* r,
|