Stacking Issue (Possible Bug)

"Abhishek Nayani" <[email protected]>
Newsgroups gmane.linux.dazuko.devel
Message-ID <[email protected]>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.