[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] xsm/flask: Add missing unlock on error path



# HG changeset patch
# User Daniel De Graaf <dgdegra@xxxxxxxxxxxxx>
# Date 1324218726 0
# Node ID a854e1660c477c08d31410c50f9dce629805ef30
# Parent  a4bff36780a31a9b8d820671c907bd93411e5e26
xsm/flask: Add missing unlock on error path

Signed-off-by: Daniel De Graaf <dgdegra@xxxxxxxxxxxxx>
---


diff -r a4bff36780a3 -r a854e1660c47 xen/xsm/flask/ss/services.c
--- a/xen/xsm/flask/ss/services.c       Fri Dec 16 18:46:27 2011 +0000
+++ b/xen/xsm/flask/ss/services.c       Sun Dec 18 14:32:06 2011 +0000
@@ -1428,6 +1428,7 @@
         }
         if ( validate_classes(&policydb) )
         {
+            LOAD_UNLOCK;
             printk(KERN_ERR
                    "Flask:  the definition of a class is incorrect\n");
             sidtab_destroy(&sidtab);

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.