On 2008-06-26, Gmail Rhaddamant <address@hidden> wrote:
i am trying to compile dazuko 2.3.5 into the kernel 2.6.25.5 -
opensuse 11.0 x86-64 default kernel
...
LD security/apparmor/apparmor.o
LD security/apparmor/built-in.o
CC security/dazuko/hooks.o
security/dazuko/hooks.c: In function �dazuko_inode_setxattr’:
security/dazuko/hooks.c:116: warning: passing argument 2 of
�secondary_ops->inode_setxattr’ from incompatible pointer type
security/dazuko/hooks.c:116: warning: passing argument 4 of
�secondary_ops->inode_setxattr’ makes pointer from integer without a
cast
security/dazuko/hooks.c:116: error: too few arguments to function
�secondary_ops->inode_setxattr’
security/dazuko/hooks.c: In function �dazuko_inode_removexattr’:
security/dazuko/hooks.c:121: warning: passing argument 2 of
�secondary_ops->inode_removexattr’ from incompatible pointer type
security/dazuko/hooks.c:121: error: too few arguments to function
�secondary_ops->inode_removexattr’
security/dazuko/hooks.c: At top level:
security/dazuko/hooks.c:211: warning: initialization from
incompatible pointer type
security/dazuko/hooks.c:212: warning: initialization from
incompatible pointer type
make[2]: *** [security/dazuko/hooks.o] Error 1
make[1]: *** [security/dazuko] Error 2
make: *** [security] Error 2
Could you post your "include/linux/security.h" file? openSUSE seems to
be using a modified version of the LSM API.
John Ogness
here you are