On 2009-10-01, [email protected] wrote: > I tried to compile Dazuko for my Centos 5.3 System running Kernel > 2.6.18 (and equivalent sources).. > following result: > ... > CC [M] /root/dazuko-2.3.7/dazuko_linux26_lsm.o > In file included from /root/dazuko-2.3.7/dazuko_linux26_lsm.c:23: > /root/dazuko-2.3.7/dazuko_linux26_lsm.h:666: warning: initialization from > incompatible pointer type > /root/dazuko-2.3.7/dazuko_linux26_lsm.h:759: warning: initialization from > incompatible pointer type > /root/dazuko-2.3.7/dazuko_linux26_lsm.c: In function > âdazuko_security_vm_enough_memoryâ: > /root/dazuko-2.3.7/dazuko_linux26_lsm.c:163: warning: passing argument 1 of > âdazuko_security_ops.vm_enough_memoryâ makes integer from pointer without a > cast > /root/dazuko-2.3.7/dazuko_linux26_lsm.c:163: error: too many arguments to > function âdazuko_security_ops.vm_enough_memoryâ
These errors occur because Dazuko 2.3.7 does not support the LSM API your system is using. Since Dazuko is no longer maintained, you are not likely to get a fix posted. Things you could try: - Try using syscall-hooking instead of LSM. $ ./configure --enable-syscalls --mapfile=/path/to/mapfile - Try to fix the dazuko_linux26_lsm.c file yourself. Basically the functions of this file simply call the lower level. If you compare it with your "include/linux/security.h" file, you may see that is isn't too much work to get it to match your LSM API. - Use a recent kernel and DazukoFS 3.1.0 instead. John Ogness -- Dazuko Maintainer _______________________________________________ Dazuko-help mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/dazuko-help
