On 2008-06-16, Martin Koch <[EMAIL PROTECTED]> wrote: > My .config: ...
I notice from your .config that you are not using a "vanilla" kernel (directly from kernel.org). I do not want to provide support for all the various distributions in the upstream release of Dazuko. The individual distributions should be doing that. Luckily your particular problem was already solved in the past and is part of the Linux 2.6 syscall hooking code. Copying the "fix" from that code I was able to quickly generate this patch. If you apply this patch (after applying the Dazuko patch), it should work. # cd /linux/source/path # cat patch-dazuko-noparent.diff | patch -p1 Hopefully this is the only deviation in the kernel API that Dazuko uses. (For 2.6.25.6 from kernel.org, the release patch works without any problems.) John Ogness -- Dazuko Maintainer
This is a simple patch for kernels that use "p_pptr" instead of "parent" for the name of the pointer to the parent task struct. --- a/security/dazuko/dazuko_linux26.c 2008-06-16 19:37:27.000000000 +0200 +++ b/security/dazuko/dazuko_linux26.c 2008-06-16 19:47:51.000000000 +0200 @@ -426,13 +426,13 @@ if (ts == parent) return 0; - if (ts->parent == NULL) + if (ts->p_pptr == NULL) break; - if (ts == ts->parent) + if (ts == ts->p_pptr) break; - ts = ts->parent; + ts = ts->p_pptr; } return -1;
_______________________________________________ Dazuko-help mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/dazuko-help
