dazuko-help
[Top][All Lists]
Advanced

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

[Dazuko-help] Compiling fails on 2.6.22.19 on a static Kernel with grsec


From: Darko Hojnik
Subject: [Dazuko-help] Compiling fails on 2.6.22.19 on a static Kernel with grsec and linux-vserver
Date: Tue, 03 Jun 2008 01:04:30 +0200

Hi

On my produktive Server i am running Kernel 2.6.22.19 with the latest
stable Patch vor Linux-Vserver combinited with Grsecurity. The Kernel is
compiled complete staticly and so it is not able loading any Modules.
Now i try to intigrade dazuko inside staticly to use it in a virtualized
Mailserver with Exim and ClamAV. I have patched the Kernel with the
Prepatch from dazuko but the build fails

***snip
include/linux/module.h:621: warning: unused parameter ‘drv’
In file included from include/linux/fs.h:296,
                 from include/linux/security.h:25,
                 from security/dazuko/hooks.c:24:
include/linux/kdev_t.h: In function ‘new_valid_dev’:
include/linux/kdev_t.h:36: warning: unused parameter ‘dev’
include/linux/kdev_t.h: In function ‘huge_valid_dev’:
include/linux/kdev_t.h:55: warning: unused parameter ‘dev’
In file included from include/linux/security.h:25,
                 from security/dazuko/hooks.c:24:
include/linux/fs.h: In function ‘__simple_attr_check_format’:
include/linux/fs.h:2049: warning: unused parameter ‘fmt’
In file included from include/linux/sched.h:51,
                 from include/linux/security.h:32,
                 from security/dazuko/hooks.c:24:
include/linux/timex.h: In function ‘time_interpolator_update’:
include/linux/timex.h:281: warning: unused parameter ‘delta_nsec’
In file included from include/linux/sched.h:76,
                 from include/linux/security.h:32,
                 from security/dazuko/hooks.c:24:
include/linux/seccomp.h: In function ‘has_secure_computing’:
include/linux/seccomp.h:32: warning: unused parameter ‘ti’
In file included from include/linux/rtmutex.h:16,
                 from include/linux/sched.h:79,
                 from include/linux/security.h:32,
                 from security/dazuko/hooks.c:24:
include/linux/plist.h: In function ‘plist_head_init’:
include/linux/plist.h:128: warning: unused parameter ‘lock’
In file included from include/linux/sched.h:79,
                 from include/linux/security.h:32,
                 from security/dazuko/hooks.c:24:
include/linux/rtmutex.h: In function
‘rt_mutex_debug_check_no_locks_freed’:
include/linux/rtmutex.h:46: warning: unused parameter ‘from’
include/linux/rtmutex.h:47: warning: unused parameter ‘len’
In file included from include/linux/security.h:32,
                 from security/dazuko/hooks.c:24:
include/linux/sched.h: In function ‘select_nohz_load_balancer’:
include/linux/sched.h:204: warning: unused parameter ‘cpu’
In file included from include/linux/aio.h:5,
                 from include/linux/sched.h:276,
                 from include/linux/security.h:32,
                 from security/dazuko/hooks.c:24:
include/linux/workqueue.h: In function
‘cancel_rearming_delayed_workqueue’:
include/linux/workqueue.h:173: warning: unused parameter ‘wq’
In file included from include/linux/security.h:32,
                 from security/dazuko/hooks.c:24:
include/linux/sched.h: In function ‘prefetch_stack’:
include/linux/sched.h:839: warning: unused parameter ‘t’
include/linux/sched.h: In function ‘lock_need_resched’:
include/linux/sched.h:1711: warning: unused parameter ‘lock’
include/linux/sched.h: In function ‘add_rchar’:
include/linux/sched.h:1802: warning: unused parameter ‘tsk’
include/linux/sched.h:1802: warning: unused parameter ‘amt’
include/linux/sched.h: In function ‘add_wchar’:
include/linux/sched.h:1806: warning: unused parameter ‘tsk’
include/linux/sched.h:1806: warning: unused parameter ‘amt’
include/linux/sched.h: In function ‘inc_syscr’:
include/linux/sched.h:1810: warning: unused parameter ‘tsk’
include/linux/sched.h: In function ‘inc_syscw’:
include/linux/sched.h:1814: warning: unused parameter ‘tsk’
security/dazuko/hooks.c: In function ‘dazuko_inode_need_killpriv’:
security/dazuko/hooks.c:126: error: ‘struct security_operations’ has no
member named ‘inode_need_killpriv’
security/dazuko/hooks.c: In function ‘dazuko_inode_killpriv’:
security/dazuko/hooks.c:131: error: ‘struct security_operations’ has no
member named ‘inode_killpriv’
security/dazuko/hooks.c: In function ‘dazuko_vm_enough_memory’:
security/dazuko/hooks.c:173: warning: passing argument 1 of
‘secondary_ops->vm_enough_memory’ makes integer from pointer without a
cast
security/dazuko/hooks.c:173: error: too many arguments to function
‘secondary_ops->vm_enough_memory’
security/dazuko/hooks.c: At top level:
security/dazuko/hooks.c:213: error: unknown field ‘inode_need_killpriv’
specified in initializer
security/dazuko/hooks.c:213: warning: initialization from incompatible
pointer type
security/dazuko/hooks.c:214: error: unknown field ‘inode_killpriv’
specified in initializer
security/dazuko/hooks.c:214: warning: initialization from incompatible
pointer type
security/dazuko/hooks.c:225: warning: initialization from incompatible
pointer type
make[3]: *** [security/dazuko/hooks.o] Fehler 1
make[2]: *** [security/dazuko] Fehler 2
make[1]: *** [security] Fehler 2
make[1]: Leaving directory
`/usr/src/linux-headers-2.6.22.19-vs2.2.0.7-grsec'
make: *** [debian/stamp-build-kernel] Fehler 2
bitch:/usr/src/linux-headers-2.6.22.19-vs2.2.0.7-grsec# 
***snap

In the attachment, my Kernelconfig. I am thinking i can send this
Massage for an Bugreport only.

kind regards Darko Hojnik

Attachment: config-2.6.22.19-vs2.2.0.7-grsec
Description: Text document


reply via email to

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