dazuko-devel
[Top][All Lists]
Advanced

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

[Dazuko-devel] Stacking Issue (Possible Bug)


From: Abhishek Nayani
Subject: [Dazuko-devel] Stacking Issue (Possible Bug)
Date: Wed, 24 Aug 2005 11:57:56 -0600

Hi,

When I stack another LSM module on top of dazuko, none of the hooks of
the second module are being called even though the registeration
succeeds. On looking at the registeration code, there seems to be a bug
(correct me if am mistaken) in dazuko_register_security function where
you  setup the hooks for the secondary module. The following patch fixes
the issue:

--- dazuko_linux26.c.old        2005-08-24 17:14:47.031585448 +0530
+++ dazuko_linux26.c    2005-08-24 17:15:14.500409552 +0530
@@ -691,7 +691,7 @@

               if (ext_func != def_func && daz_func == NULL)
               {
-                       daz_func = ext_func;
+                       *daz_func_p = ext_func;
               }

               daz_p += sizeof(void *);

Regards,
Abhi.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]