dazuko-help
[Top][All Lists]
Advanced

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

Re: UNS: [Bulk] Re: [Dazuko-help] Compile dazuko fails


From: Dirk Vornheder
Subject: Re: UNS: [Bulk] Re: [Dazuko-help] Compile dazuko fails
Date: Thu, 15 May 2008 00:00:33 +0200
User-agent: KMail/1.9.9

> > Compile dazuko cvs version fails under kernel 2.6.25.1:
>
> I've just tried kernel 2.6.25.2
>
> Patching with "patch-linux26-dazuko-2.3.5-pre1.diff"
>
> tells (at the end) in "security/Makefile.rej"
>
> ***************
> *** 4,9 ****
>
>   obj-$(CONFIG_KEYS)                  += keys/
>   subdir-$(CONFIG_SECURITY_SELINUX)   += selinux
>
>   # if we don't select a security model, use the default capabilities
>   ifneq ($(CONFIG_SECURITY),y)
> --- 4,10 ----
>
>   obj-$(CONFIG_KEYS)                  += keys/
>   subdir-$(CONFIG_SECURITY_SELINUX)   += selinux
> + subdir-$(CONFIG_SECURITY_DAZUKO)    += dazuko
>
>   # if we don't select a security model, use the default capabilities
>   ifneq ($(CONFIG_SECURITY),y)
> ***************
> *** 14,18 ****
>   obj-$(CONFIG_SECURITY)                      += security.o dummy.o inode.o
>   # Must precede capability.o in order to stack properly.
>   obj-$(CONFIG_SECURITY_SELINUX)              += selinux/built-in.o
>   obj-$(CONFIG_SECURITY_CAPABILITIES) += commoncap.o capability.o
>   obj-$(CONFIG_SECURITY_ROOTPLUG)             += commoncap.o root_plug.o
> --- 15,20 ----
>   obj-$(CONFIG_SECURITY)                      += security.o dummy.o inode.o
>   # Must precede capability.o in order to stack properly.
>   obj-$(CONFIG_SECURITY_SELINUX)              += selinux/built-in.o
> + obj-$(CONFIG_SECURITY_DAZUKO)               += commoncap.o dazuko/built-in.o
>   obj-$(CONFIG_SECURITY_CAPABILITIES) += commoncap.o capability.o
>   obj-$(CONFIG_SECURITY_ROOTPLUG)             += commoncap.o root_plug.o

Ok but compile fails:

  LD      ipc/built-in.o
  CC      security/security.o
  CC      security/dummy.o
  CC      security/inode.o
  CC      security/commoncap.o
  CC      security/dazuko/hooks.o
  CC      security/dazuko/dazuko_core.o
  CC      security/dazuko/dazuko_transport.o
  CC      security/dazuko/dazuko_linux26.o
security/dazuko/dazuko_linux26.c: In function 'dazuko_get_full_filename':
security/dazuko/dazuko_linux26.c:298: error: 'struct nameidata' has no member 
named 'mnt'
security/dazuko/dazuko_linux26.c:298: error: 'struct nameidata' has no member 
named 'dentry'
security/dazuko/dazuko_linux26.c:318: error: 'struct nameidata' has no member 
named 'mnt'
security/dazuko/dazuko_linux26.c:327: error: 'struct nameidata' has no member 
named 'dentry'
security/dazuko/dazuko_linux26.c:333: warning: passing argument 1 of 'd_path' 
from incompatible pointer type
security/dazuko/dazuko_linux26.c:333: warning: passing argument 2 of 'd_path' 
from incompatible pointer type
security/dazuko/dazuko_linux26.c:333: warning: passing argument 3 of 'd_path' 
makes integer from pointer without a cast
security/dazuko/dazuko_linux26.c:333: error: too many arguments to 
function 'd_path'
make[2]: *** [security/dazuko/dazuko_linux26.o] Error 1
make[1]: *** [security/dazuko] Error 2

Dirk



                
___________________________________________________________ 
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de





reply via email to

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