dazuko-help
[Top][All Lists]
Advanced

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

Re: [Dazuko-help] Dazuko MAKE error


From: John Ogness
Subject: Re: [Dazuko-help] Dazuko MAKE error
Date: Thu, 01 Oct 2009 16:52:43 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)

On 2009-10-01, address@hidden 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




reply via email to

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