helpDazuko - Support: sr #103222, dazuko-2.0.3pre3 won't compile on...

 
 

sr #103222: dazuko-2.0.3pre3 won't compile on Mandrake Linux 10

Submitter:  None
Submitted:  Fri 23 Jul 2004 05:53:10 PM UTC
 
Assigned to:  ogman Originator Email:  -email is unavailable-
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment (Rich Markup)
   

Comment Type & Canned Response:
       

 

( Jump to the original submission )

Wed 03 Nov 2004 07:46:40 PM UTC, comment #18: 

Hi,

I am closing this support request since it was solved. I will be including this information in the FAQ soon.

John Ogness

John Ogness <ogman>
Project Administrator
Wed 03 Nov 2004 10:18:40 AM UTC, comment #17: 

Hello,
  I also just followed the instructions for getting dazuko to work in Mandrake 10.0. everything went well until i reboot. Then i get all kind of kernel boot errors and the system loads with only half of it working. The "make modules_install" is somehow trying to load modules that are not needed and is causing problems. Any suggestions how to get around this would be great!

Anonymous
Tue 19 Oct 2004 11:15:09 AM UTC, comment #16: 

At last!!!

Dazuko compiles!!! ^_^

However, the new kernel won't work: lots of FAILED messages.  I will look into it. I used the config that was in the /boot and made the changes as required.  Strange...

Thanks alot!  All i need now is my kernel to work!!!

Anonymous
Fri 15 Oct 2004 09:14:38 AM UTC, comment #15: 

OK! I got it installed for Mandrake 10.0. There are several problems here:

1. Mandrake 10.0 does not have Security turned on in the default kernel (this is what generated all the error messages). It also means that you MUST rebuild the kernel with Mandrake 10.0.

2. The Dazuko "configure" script was falsely identifying Problem #1. It should have exitted with an error saying that Security is not enabled. In the next pre-release, this will be fixed.

3. After rebuilding the kernel, running "make modules_install" does not install the security modules.

If you know these 3 problems, then it is possible to install Dazuko 2.0.4-pre3 on Mandrake 10.0. Assuming you have installed the kernel-source package, here is the step by step procedure of what to do:

(change to kernel source directory)
# cd /lib/modules/`uname -r`/build

(copy in the current kernel configuration)
# cp /boot/config-`uname -r` .config

(configure the kernel)
# make menuconfig
Security options -> Enable different security modules [*]
Security options -> Default Linux Capabilities <M>
exit, saving changes

(build the kernel)
# make

(install kernel modules)
# make modules_install

(create security module directory)
# mkdir /lib/modules/`uname -r`/kernel/security

(copy over security modules)
# cp security/*.ko /lib/modules/`uname -r`/kernel/security

(install kernel)
# cp System.map /boot/System.map-`uname -r`
# cp .config /boot/config-`uname -r`
# cp arch/i386/boot/bzImage /boot/vmlinuz-`uname -r`

(update lilo)
# lilo

(build dazuko)
# cd <path-to-dazuko-source>
# ./configure
# make

(install dazuko kernel module)
# cp dazuko.ko /lib/modules/`uname r`/kernel/security
# depmod -a

(reboot machine)
# reboot

Since Mandrake 10.0 uses devfs, there is nothing more that you must do. After rebooting, you can load dazuko with:

# modprobe dazuko

You can have Dazuko automatically load at startup by adding "dazuko" to /etc/modprobe.preload

That's it! Let me know how it goes.

John Ogness

John Ogness <ogman>
Project Administrator
Thu 14 Oct 2004 05:30:00 PM UTC, comment #14: 

Argh!!!

Doesn't compile!  Hope you can get it working soon!

Don't give up!

Anonymous
Thu 14 Oct 2004 03:47:04 PM UTC, comment #13: 

Sorry for the delay!

I'm still having problems even with a clean installation of MDK 10.

I've noticed that there's an update (8th Oct).  I will try that and let you know.

Anonymous
Tue 28 Sep 2004 08:08:41 AM UTC, comment #12: 

Hello again!

It still won't have it!  I'm starting to think that maybe one of the updates has caused this error.  I might wipe the root partition and see if it works with a clean installation.

I've also found out how to re-compile the kernel as well!  I may try the latest 2.6 and 2.4 kernel if all else fails.

This problem seems to be unique to me at the moment.  So my aim to get it working.  I'll keep you posted... BTW, what kernel version did you try?

Anonymous
Fri 24 Sep 2004 08:10:40 AM UTC, comment #11: 

Hello!

I am using the kernel that came with Mandrake 10.0.  I don't even know how to customise the kernel!!! At least, not yet!!!

I have done ALL the updates using the "Updates" option in the "Software Management".

I've got some free time tonight so I will try it again... Maybe I'll try using the "standard" kernel and not the SMP one...

Does dazuko require this to compile properly on my SMP PC "make dazuko-smp"?  It's mentioned on the ClamAV help. Just wandering...

Anonymous
Thu 23 Sep 2004 10:20:46 AM UTC, comment #10: 

Hi,

I have tried and tried and I cannot reproduce your problem. The errors show that the security_operations structure is unknown, but this cannot be since <linux/security.h> is included in the dazuko_linux26_lsm.h file. The configure script detected that Security is enabled in the kernel. Are you using Mandrake 10 as is or have you done some customizing to the kernel?

John Ogness

John Ogness <ogman>
Project Administrator
Sun 19 Sep 2004 12:45:08 PM UTC, comment #9: 

Hmmm,

This is very strange. I will have to download this kernel version and try it myself. Mandrake is obviously doing some major tweaking of LSM.

John Ogness

John Ogness <ogman>
Project Administrator
Fri 17 Sep 2004 05:40:00 PM UTC, comment #8: 

Argh!!! Still won't work! Here is the CONFIGURE output: -

checking host system type... Linux
kernel source in /lib/modules/2.6.3-7mdk-p3-smp-64GB/build... yes
checking if Linux is RSBAC patched... no
checking if devfs is enabled... yes
checking if Linux version is 2.6... yes
checking if security module support is enabled... yes
configure: creating Makefile
configure: creating library/Makefile
configure: creating example_c/Makefile

./configure successful

=======================
 Configuration summary
=======================

module events = ON_OPEN ON_CLOSE ON_EXEC
devfs support = yes
rsbac support = no
module debug = no
library 1.x compatibility = yes

MAKE output (cut, due to excessive errors being throw out!!!): -
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_inode_removexattr':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:452: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:452: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_inode_getsecurity':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:463: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:463: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_inode_setsecurity':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:470: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:470: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_inode_listsecurity':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:477: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:477: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_file_permission':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:484: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:484: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_file_alloc_security':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:491: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:491: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_file_free_security':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:498: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:498: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_file_ioctl':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:503: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:503: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_file_mmap':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:510: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:510: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_file_mprotect':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:517: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:517: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_file_lock':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:524: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:524: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_file_fcntl':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:531: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:531: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_file_set_fowner':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:538: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:538: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_file_send_sigiotask':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:545: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:545: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_file_receive':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:552: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:552: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_task_create':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:559: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:559: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_task_alloc_security':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:566: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:566: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_task_free_security':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:573: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:573: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_task_setuid':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:578: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:578: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_task_post_setuid':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:585: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:585: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_task_setgid':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:592: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:592: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_task_setpgid':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:599: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:599: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_task_getpgid':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:606: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:606: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_task_getsid':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:613: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:613: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_task_setgroups':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:628: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:628: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_task_setnice':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:636: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:636: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_task_setrlimit':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:643: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:643: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_task_setscheduler':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:650: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:650: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_task_getscheduler':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:657: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:657: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_task_kill':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:664: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:664: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_task_wait':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:671: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:671: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_task_prctl':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:678: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:678: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_task_reparent_to_init':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:685: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:685: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_task_to_inode':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:693: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:693: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_ipc_permission':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:698: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:698: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_msg_msg_alloc_security':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:705: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:705: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_msg_msg_free_security':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:712: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:712: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_msg_queue_alloc_security':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:717: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:717: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_msg_queue_free_security':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:724: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:724: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_msg_queue_associate':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:729: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:729: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_msg_queue_msgctl':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:736: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:736: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_msg_queue_msgsnd':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:743: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:743: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_msg_queue_msgrcv':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:750: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:750: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_shm_alloc_security':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:757: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:757: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_shm_free_security':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:764: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:764: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_shm_associate':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:769: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:769: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_shm_shmctl':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:776: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:776: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_shm_shmat':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:787: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:787: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_sem_alloc_security':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:794: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:794: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_sem_free_security':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:801: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:801: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_sem_associate':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:806: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:806: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_sem_semctl':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:813: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:813: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_sem_semop':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:820: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:820: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_d_instantiate':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:827: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:827: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_getprocattr':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:832: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:832: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_setprocattr':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:839: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:839: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_netlink_send':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:854: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:854: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_netlink_recv':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:862: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:862: error: invalid use of undefined type `struct security_operations'
include/linux/security.h: At top level:
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.h:340: error: storage size of `dazuko_security_ops' isn't known
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.h:343: error: storage size of `dazuko_register_security_ops' isn't known
make[2]: *** [/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.o] Error 1
make[1]: *** [/home/danny/Programs/dazuko-2.0.4-pre2] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.3-7mdk'
make: *** [dummy_rule.o] Error 2/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_inode_removexattr':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:452: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:452: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_inode_getsecurity':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:463: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:463: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_inode_setsecurity':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:470: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:470: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_inode_listsecurity':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:477: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:477: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_file_permission':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:484: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:484: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_file_alloc_security':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:491: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:491: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_file_free_security':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:498: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:498: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_file_ioctl':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:503: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:503: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_file_mmap':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:510: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:510: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_file_mprotect':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:517: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:517: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_file_lock':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:524: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:524: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_file_fcntl':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:531: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:531: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_file_set_fowner':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:538: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:538: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_file_send_sigiotask':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:545: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:545: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_file_receive':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:552: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:552: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_task_create':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:559: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:559: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_task_alloc_security':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:566: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:566: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_task_free_security':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:573: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:573: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_task_setuid':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:578: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:578: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_task_post_setuid':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:585: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:585: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_task_setgid':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:592: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:592: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_task_setpgid':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:599: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:599: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_task_getpgid':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:606: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:606: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_task_getsid':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:613: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:613: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_task_setgroups':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:628: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:628: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_task_setnice':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:636: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:636: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_task_setrlimit':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:643: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:643: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_task_setscheduler':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:650: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:650: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_task_getscheduler':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:657: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:657: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_task_kill':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:664: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:664: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_task_wait':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:671: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:671: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_task_prctl':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:678: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:678: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_task_reparent_to_init':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:685: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:685: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_task_to_inode':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:693: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:693: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_ipc_permission':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:698: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:698: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_msg_msg_alloc_security':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:705: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:705: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_msg_msg_free_security':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:712: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:712: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_msg_queue_alloc_security':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:717: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:717: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_msg_queue_free_security':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:724: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:724: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_msg_queue_associate':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:729: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:729: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_msg_queue_msgctl':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:736: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:736: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_msg_queue_msgsnd':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:743: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:743: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_msg_queue_msgrcv':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:750: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:750: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_shm_alloc_security':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:757: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:757: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_shm_free_security':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:764: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:764: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_shm_associate':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:769: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:769: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_shm_shmctl':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:776: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:776: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_shm_shmat':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:787: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:787: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_sem_alloc_security':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:794: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:794: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_sem_free_security':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:801: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:801: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_sem_associate':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:806: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:806: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_sem_semctl':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:813: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:813: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_sem_semop':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:820: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:820: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_d_instantiate':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:827: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:827: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_getprocattr':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:832: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:832: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_setprocattr':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:839: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:839: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_netlink_send':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:854: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:854: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c: In function `dazuko_security_netlink_recv':
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:862: error: invalid use of undefined type `struct security_operations'
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.c:862: error: invalid use of undefined type `struct security_operations'
include/linux/security.h: At top level:
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.h:340: error: storage size of `dazuko_security_ops' isn't known
/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.h:343: error: storage size of `dazuko_register_security_ops' isn't known
make[2]: *** [/home/danny/Programs/dazuko-2.0.4-pre2/dazuko_linux26_lsm.o] Error 1
make[1]: *** [/home/danny/Programs/dazuko-2.0.4-pre2] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.3-7mdk'
make: *** [dummy_rule.o] Error 2

What's going on now!!!? Any ideas? Hope this helps!

Anonymous
Thu 16 Sep 2004 10:41:37 AM UTC, comment #7: 

Sorry for the delay: i thought you forgot about me!!!

I will try it tonight and i'll let you know!

Anonymous
Mon 13 Sep 2004 06:16:59 PM UTC, comment #6: 

Hi,

Please try 2.0.4-pre2. The support for Linux 2.6 has been completely redone and should work without any problems now.

John Ogness

John Ogness <ogman>
Project Administrator
Sun 05 Sep 2004 12:10:04 PM UTC, comment #5: 

Hi,

Yesterday 2.0.3 was released. Could you try this version?

John Ogness

John Ogness <ogman>
Project Administrator
Thu 05 Aug 2004 06:17:59 PM UTC, comment #4: 

Nope!

Here is the console: -

make -C /usr/src/linux SUBDIRS=/home/danny/Programs/dazuko-2.0.3-pre3 modules
make[1]: Entering directory `/usr/src/linux-2.6.3-15mdk'
  CC      scripts/empty.o
  MKELF   scripts/elfconfig.h
  HOSTCC  scripts/file2alias.o
  HOSTCC  scripts/modpost.o
  HOSTLD  scripts/modpost
  SPLIT   include/linux/autoconf.h -> include/config/*

      • Warning: Overriding SUBDIRS on the command line can cause
      •          inconsistencies

  CC      arch/i386/kernel/asm-offsets.s
  CHK     include/asm-i386/asm_offsets.h
  CC [M]  /home/danny/Programs/dazuko-2.0.3-pre3/dazuko_xp.o
  CC [M]  /home/danny/Programs/dazuko-2.0.3-pre3/dazuko_call.o
  CC [M]  /home/danny/Programs/dazuko-2.0.3-pre3/dazuko_linux26.o
In file included from /home/danny/Programs/dazuko-2.0.3-pre3/dazuko_linux26.c:34:
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_ops_linux26.h:8: error: variable `dazuko_ops' has initializer but incomplete type
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_ops_linux26.h:9: error: unknown field `inode_permission' specified in initializer
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_ops_linux26.h:9: warning: excess elements in struct initializer
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_ops_linux26.h:9: warning: (near initialization for `dazuko_ops')
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_ops_linux26.h:10: error: unknown field `ptrace' specified in initializer
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_ops_linux26.h:10: warning: excess elements in struct initializer
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_ops_linux26.h:10: warning: (near initialization for `dazuko_ops')
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_ops_linux26.h:10: error: unknown field `capget' specified in initializer
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_ops_linux26.h:10: warning: excess elements in struct initializer
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_ops_linux26.h:10: warning: (near initialization for `dazuko_ops')
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_ops_linux26.h:10: error: unknown field `capset_check' specified in initializer
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_ops_linux26.h:10: warning: excess elements in struct initializer
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_ops_linux26.h:10: warning: (near initialization for `dazuko_ops')
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_ops_linux26.h:10: error: unknown field `capset_set' specified in initializer
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_ops_linux26.h:10: warning: excess elements in struct initializer
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_ops_linux26.h:10: warning: (near initialization for `dazuko_ops')
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_ops_linux26.h:10: error: unknown field `capable' specified in initializer
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_ops_linux26.h:10: warning: excess elements in struct initializer
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_ops_linux26.h:10: warning: (near initialization for `dazuko_ops')
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_ops_linux26.h:10: error: unknown field `netlink_send' specified in initializer
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_ops_linux26.h:10: warning: excess elements in struct initializer
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_ops_linux26.h:10: warning: (near initialization for `dazuko_ops')
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_ops_linux26.h:10: error: unknown field `netlink_recv' specified in initializer
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_ops_linux26.h:10: warning: excess elements in struct initializer
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_ops_linux26.h:10: warning: (near initialization for `dazuko_ops')
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_ops_linux26.h:10: error: unknown field `bprm_compute_creds' specified in initializer
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_ops_linux26.h:10: warning: excess elements in struct initializer
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_ops_linux26.h:10: warning: (near initialization for `dazuko_ops')
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_ops_linux26.h:10: error: unknown field `bprm_set_security' specified in initializer
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_ops_linux26.h:10: warning: excess elements in struct initializer
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_ops_linux26.h:10: warning: (near initialization for `dazuko_ops')
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_ops_linux26.h:10: error: unknown field `bprm_secureexec' specified in initializer
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_ops_linux26.h:10: warning: excess elements in struct initializer
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_ops_linux26.h:10: warning: (near initialization for `dazuko_ops')
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_ops_linux26.h:10: error: unknown field `inode_setxattr' specified in initializer
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_ops_linux26.h:10: warning: excess elements in struct initializer
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_ops_linux26.h:10: warning: (near initialization for `dazuko_ops')
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_ops_linux26.h:10: error: unknown field `inode_removexattr' specified in initializer
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_ops_linux26.h:10: warning: excess elements in struct initializer
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_ops_linux26.h:10: warning: (near initialization for `dazuko_ops')
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_ops_linux26.h:10: error: unknown field `task_post_setuid' specified in initializer
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_ops_linux26.h:10: warning: excess elements in struct initializer
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_ops_linux26.h:10: warning: (near initialization for `dazuko_ops')
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_ops_linux26.h:10: error: unknown field `task_reparent_to_init' specified in initializer
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_ops_linux26.h:10: warning: excess elements in struct initializer
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_ops_linux26.h:10: warning: (near initialization for `dazuko_ops')
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_ops_linux26.h:10: error: unknown field `syslog' specified in initializer
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_ops_linux26.h:10: warning: excess elements in struct initializer
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_ops_linux26.h:10: warning: (near initialization for `dazuko_ops')
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_ops_linux26.h:10: error: unknown field `vm_enough_memory' specified in initializer
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_ops_linux26.h:10: warning: excess elements in struct initializer
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_ops_linux26.h:10: warning: (near initialization for `dazuko_ops')
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_linux26.c: In function `xp_sys_hook':
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_linux26.c:636: warning: implicit declaration of function `register_security'
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_linux26.c:638: warning: implicit declaration of function `mod_reg_security'
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_linux26.c: In function `xp_sys_unhook':
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_linux26.c:668: warning: implicit declaration of function `mod_unreg_security'
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_linux26.c:670: warning: implicit declaration of function `unregister_security'
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_linux26.c: At top level:
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_ops_linux26.h:8: error: storage size of `dazuko_ops' isn't known
make[2]: *** [/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_linux26.o] Error 1
make[1]: *** [/home/danny/Programs/dazuko-2.0.3-pre3] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.3-15mdk'
make: *** [dummy_rule.o] Error 2

Anonymous
Wed 04 Aug 2004 05:06:54 PM UTC, comment #3: 

Does it work if you manually add:

#include <linux/security.h>

to the top of dazuko_ops_linux26.h?

John Ogness <ogman>
Project Administrator
Sun 01 Aug 2004 08:35:23 AM UTC, comment #2: 

Hello!

Sorry about the delay! I didn't expect a response that quick!!!

Here is the configure output: -

checking host system type... Linux
kernel source in /lib/modules/2.6.3-7mdk-p3-smp-64GB/build... yes
checking if Linux is RSBAC patched... no
checking if devfs is enabled... yes
checking if Linux version is 2.6... yes
checking if security module support is enabled... yes
checking if default capabilities are needed... yes
grabbing capabilitiy_ops... ok
configure: creating Makefile
configure: creating library/Makefile
configure: creating example_c/Makefile

./configure successful

=======================
 Configuration summary
=======================

module events = ON_OPEN ON_CLOSE ON_EXEC
devfs support = yes
rsbac support = no
default capabilities = yes
module debug = no
library 1.x compatibility = yes

Here is the dazuko_ops_linux26.h: -

#ifndef DAZUKO_OPS
#define DAZUKO_OPS

static inline int dazuko_inode_permission(struct inode inode, int mask, struct nameidata nd);

static struct security_operations dazuko_ops = {
.inode_permission = dazuko_inode_permission,
 .ptrace = cap_ptrace, .capget = cap_capget, .capset_check = cap_capset_check, .capset_set = cap_capset_set, .capable = cap_capable, .netlink_send = cap_netlink_send, .netlink_recv = cap_netlink_recv, .bprm_compute_creds = cap_bprm_compute_creds, .bprm_set_security = cap_bprm_set_security, .bprm_secureexec = cap_bprm_secureexec, .inode_setxattr = cap_inode_setxattr, .inode_removexattr = cap_inode_removexattr, .task_post_setuid = cap_task_post_setuid, .task_reparent_to_init = cap_task_reparent_to_init, .syslog = cap_syslog, .vm_enough_memory = cap_vm_enough_memory,
};

#endif

I'm not sure whether I'm using the correct option to boot linux in LILO, they are about 5 options.  The one i chose was linux-p3-smp-64Gb. There is also linux-smp, but I've got 1Gb of ram... Maybe I should ask on an linux forum.

Anonymous
Mon 26 Jul 2004 07:35:28 AM UTC, comment #1: 

Hi,

The output from running `configure' would help. I would also be interested in seeing what the "dazuko_ops_linux26.h" file looks like. (This file is generated by the configure script.)

John Ogness

John Ogness <ogman>
Project Administrator
Fri 23 Jul 2004 05:53:10 PM UTC, original submission:  

Hello!

I'm having a problem compiling dazuko on my linux pc. You helped me out when I couldn't compile it on my FreeBSD pc and I hope you can help me again!

Here is the console output: -

make -C /lib/modules/2.6.3-7mdk-p3-smp-64GB/build SUBDIRS=/home/danny/Programs/dazuko-2.0.3-pre3 modules
make[1]: Entering directory `/usr/src/linux-2.6.3-7mdk'
  CC      scripts/empty.o
  MKELF   scripts/elfconfig.h
  HOSTCC  scripts/file2alias.o
  HOSTCC  scripts/modpost.o
  HOSTLD  scripts/modpost
  SPLIT   include/linux/autoconf.h -> include/config/*

      • Warning: Overriding SUBDIRS on the command line can cause
      •          inconsistencies

  CC      arch/i386/kernel/asm-offsets.s
  CHK     include/asm-i386/asm_offsets.h
  CC [M]  /home/danny/Programs/dazuko-2.0.3-pre3/dazuko_xp.o
  CC [M]  /home/danny/Programs/dazuko-2.0.3-pre3/dazuko_call.o
  CC [M]  /home/danny/Programs/dazuko-2.0.3-pre3/dazuko_linux26.o
In file included from /home/danny/Programs/dazuko-2.0.3-pre3/dazuko_linux26.c:34:
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_ops_linux26.h:6: error: variable `dazuko_ops' has initializer but incomplete type
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_ops_linux26.h:7: error: unknown field `inode_permission' specified in initializer
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_ops_linux26.h:7: warning: excess elements in struct initializer
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_ops_linux26.h:7: warning: (near initialization for `dazuko_ops')
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_ops_linux26.h:8: error: unknown field `ptrace' specified in initializer
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_ops_linux26.h:8: warning: excess elements in struct initializer
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_ops_linux26.h:8: warning: (near initialization for `dazuko_ops')
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_ops_linux26.h:8: error: unknown field `capget' specified in initializer
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_ops_linux26.h:8: warning: excess elements in struct initializer
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_ops_linux26.h:8: warning: (near initialization for `dazuko_ops')
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_ops_linux26.h:8: error: unknown field `capset_check' specified in initializer
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_ops_linux26.h:8: warning: excess elements in struct initializer
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_ops_linux26.h:8: warning: (near initialization for `dazuko_ops')
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_ops_linux26.h:8: error: unknown field `capset_set' specified in initializer
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_ops_linux26.h:8: warning: excess elements in struct initializer
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_ops_linux26.h:8: warning: (near initialization for `dazuko_ops')
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_ops_linux26.h:8: error: unknown field `capable' specified in initializer
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_ops_linux26.h:8: warning: excess elements in struct initializer
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_ops_linux26.h:8: warning: (near initialization for `dazuko_ops')
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_ops_linux26.h:8: error: unknown field `netlink_send' specified in initializer
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_ops_linux26.h:8: warning: excess elements in struct initializer
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_ops_linux26.h:8: warning: (near initialization for `dazuko_ops')
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_ops_linux26.h:8: error: unknown field `netlink_recv' specified in initializer
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_ops_linux26.h:8: warning: excess elements in struct initializer
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_ops_linux26.h:8: warning: (near initialization for `dazuko_ops')
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_ops_linux26.h:8: error: unknown field `bprm_compute_creds' specified in initializer
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_ops_linux26.h:8: warning: excess elements in struct initializer
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_ops_linux26.h:8: warning: (near initialization for `dazuko_ops')
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_ops_linux26.h:8: error: unknown field `bprm_set_security' specified in initializer
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_ops_linux26.h:8: warning: excess elements in struct initializer
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_ops_linux26.h:8: warning: (near initialization for `dazuko_ops')
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_ops_linux26.h:8: error: unknown field `bprm_secureexec' specified in initializer
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_ops_linux26.h:8: warning: excess elements in struct initializer
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_ops_linux26.h:8: warning: (near initialization for `dazuko_ops')
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_ops_linux26.h:8: error: unknown field `inode_setxattr' specified in initializer
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_ops_linux26.h:8: warning: excess elements in struct initializer
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_ops_linux26.h:8: warning: (near initialization for `dazuko_ops')
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_ops_linux26.h:8: error: unknown field `inode_removexattr' specified in initializer
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_ops_linux26.h:8: warning: excess elements in struct initializer
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_ops_linux26.h:8: warning: (near initialization for `dazuko_ops')
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_ops_linux26.h:8: error: unknown field `task_post_setuid' specified in initializer
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_ops_linux26.h:8: warning: excess elements in struct initializer
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_ops_linux26.h:8: warning: (near initialization for `dazuko_ops')
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_ops_linux26.h:8: error: unknown field `task_reparent_to_init' specified in initializer
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_ops_linux26.h:8: warning: excess elements in struct initializer
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_ops_linux26.h:8: warning: (near initialization for `dazuko_ops')
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_ops_linux26.h:8: error: unknown field `syslog' specified in initializer
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_ops_linux26.h:8: warning: excess elements in struct initializer
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_ops_linux26.h:8: warning: (near initialization for `dazuko_ops')
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_ops_linux26.h:8: error: unknown field `vm_enough_memory' specified in initializer
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_ops_linux26.h:8: warning: excess elements in struct initializer
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_ops_linux26.h:8: warning: (near initialization for `dazuko_ops')
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_linux26.c: In function `xp_sys_hook':
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_linux26.c:636: warning: implicit declaration of function `register_security'
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_linux26.c:638: warning: implicit declaration of function `mod_reg_security'
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_linux26.c: In function `xp_sys_unhook':
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_linux26.c:668: warning: implicit declaration of function `mod_unreg_security'
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_linux26.c:670: warning: implicit declaration of function `unregister_security'
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_linux26.c: At top level:
/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_ops_linux26.h:6: error: storage size of `dazuko_ops' isn't known
make[2]: *** [/home/danny/Programs/dazuko-2.0.3-pre3/dazuko_linux26.o] Error 1
make[1]: *** [/home/danny/Programs/dazuko-2.0.3-pre3] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.3-7mdk'
make: *** [dummy_rule.o] Error 2

I ran "configure" and "make" as root.

To my knowledge, Mandrake Linux 10 uses kernel version 2.6.3, Is there any problems with this kernel?

Oh! I using a dual 2.8Ghz Xeon pc, if that helps.

Hope you can help me again! Thanks in advance!

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

 

 

 

Follow 2 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2004-11-03 ogman Open/ClosedOpen Closed
2004-07-26 ogman Assigned toNone ogman

Back to the top


Powered by Savane 3.9