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.




_______________________________________________
Dazuko-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/dazuko-devel

Reply via email to