[libvirt] [PATCH] virsh: Use WITH_SECDRIVER_APPARMOR to detect AppArmor support

There is no ENABLE_SECDRIVER_APPARMOR. --- tools/virsh.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/tools/virsh.c b/tools/virsh.c index 4f103ae..b86d92f 100644 --- a/tools/virsh.c +++ b/tools/virsh.c @@ -11847,7 +11847,7 @@ vshShowVersion(vshControl *ctl ATTRIBUTE_UNUSED) vshPrint(ctl, "\n"); vshPrint(ctl, "%s", _(" Miscellaneous:")); -#ifdef ENABLE_SECDRIVER_APPARMOR +#ifdef WITH_SECDRIVER_APPARMOR vshPrint(ctl, " AppArmor"); #endif #ifdef WITH_SECDRIVER_SELINUX -- 1.7.0.4

On 01/14/2011 02:47 PM, Matthias Bolte wrote:
There is no ENABLE_SECDRIVER_APPARMOR. --- tools/virsh.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/tools/virsh.c b/tools/virsh.c index 4f103ae..b86d92f 100644 --- a/tools/virsh.c +++ b/tools/virsh.c @@ -11847,7 +11847,7 @@ vshShowVersion(vshControl *ctl ATTRIBUTE_UNUSED) vshPrint(ctl, "\n");
vshPrint(ctl, "%s", _(" Miscellaneous:")); -#ifdef ENABLE_SECDRIVER_APPARMOR +#ifdef WITH_SECDRIVER_APPARMOR
ACK. -- Eric Blake eblake@redhat.com +1-801-349-2682 Libvirt virtualization library http://libvirt.org

2011/1/14 Eric Blake <eblake@redhat.com>:
On 01/14/2011 02:47 PM, Matthias Bolte wrote:
There is no ENABLE_SECDRIVER_APPARMOR. --- tools/virsh.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/tools/virsh.c b/tools/virsh.c index 4f103ae..b86d92f 100644 --- a/tools/virsh.c +++ b/tools/virsh.c @@ -11847,7 +11847,7 @@ vshShowVersion(vshControl *ctl ATTRIBUTE_UNUSED) vshPrint(ctl, "\n");
vshPrint(ctl, "%s", _(" Miscellaneous:")); -#ifdef ENABLE_SECDRIVER_APPARMOR +#ifdef WITH_SECDRIVER_APPARMOR
ACK.
Thanks, pushed. Matthias
participants (2)
-
Eric Blake
-
Matthias Bolte