>From what I tested till now dazuko 2.3.5 is not working with kernel version 2.6.27-x but I can tell you for sure that dazuko 2.3.5 is working with kernel 2.6.26
And if you want to use dazuko with kernel 2.6.26 you should not compile dazuko as a module. There is a dazuko patch available for kernel 2.6.26 The steps you should follow to get dazuko 2.3.5 working with kernel 2.6.26 are: 1. Download kernel version 2.6.26 from kernel.org (or using apt-get on ubuntu) 2. Copy the config file from the current running kernel to the sources you just downloaded.(you can find the config file of the current running kernel in /boot/config-XXXXXX) 3. Patch your kernel with the dazuko patch. Instructions can be found at http://dazuko.dnsalias.org/files/README-dazuko-patch 4. run make menuconfig and select to build dazuko. Select Security Options -> Dazuko from the "make menuconfig" menu. Also you should compile capabilities. 5. run make config to compile your kernel (or use comman "fakeroot make-kpkg --revision=custom.1.0 kernel_image") 6. Update your boot loader, restart you computer and select your new kernel. 7. Test dazuko. To test dazuko download dazuko sources and compile library with the following command: ./configure --without-module --with-library Then "cd exemple_c" and "make". After this will have an executable file "exemple" that you can use to test dazuko I did the same and dazuko is working. Bye -- Loredan Stancu | system administrator | [EMAIL PROTECTED] MyClar Connection | http://www.myclar.ro | [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: > Message: 1 > Date: Sat, 15 Nov 2008 16:14:34 +0100 > From: Martin Stoll <[EMAIL PROTECTED]> > Subject: [Dazuko-help] compiling problem on ubuntu 8-10 > To: [email protected] > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; charset="iso-8859-15" > > Hello > When trying to compile dazuko 2.3.5 on ubuntu 8-10 i get errors about > dereferencing of incomplete pointer. it happens when i try to use make. The > same thing happens at my fathers PC, that was updated to the newest > kernel-version available for ubuntu 8-10. > I attach what i found on the screen. > can anyone help? > Thanks > Martin Stoll > ___________________________________________________________________ > Kennen Sie schon die Blockbuster-Aktion von WEB.DE? > Jeden Monat 2 Freifilme sichern unter http://www.blockbuster.web.de > > -------------- next part -------------- > Script wurde gestartet: Sa 15 Nov 2008 09:30:35 CET > [EMAIL PROTECTED]:~/Desktop/dazuko-2.3.5$ ./configure --enable-syscalls > --mapfile=/boot/System.map-2.6.27-7-generic --disable-chroot-support > checking host system type... Linux > checking for make utility... ok (make) > checking for C compiler... ok (cc) > kernel source in /lib/modules/2.6.27-7-generic/source... no > kernel build source in /lib/modules/2.6.27-7-generic/build... yes > kernel source in /lib/modules/2.6.27-7-generic/build... yes > acquiring Linux kernel code configuration... ok > checking if Linux is RSBAC patched... no > checking if devfs is enabled... no > discovered host system... Linux (2.6.27) > checking for System.map file... ok (/boot/System.map-2.6.27-7-generic) > locating sys_call_table... ok (0xc0385880) > checking sys_call_table status... read-only > > IMPORTANT NOTE: > If you get a kernel panic or segmentation fault while loading > the Dazuko module, you will need to reboot and try to > configure Dazuko again with the --sct-readonly option. > > locating do_execve... ok (0xc01b7ea0) > identifying device API... ok > inspecting class type... ok (class) > inspecting suspend function... ok (suspend2) > inspecting task_struct structure... ok (using parent) > 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 = no > rsbac support = no > hooking via syscalls = yes > local __d_path() = no (using chroot events, see README.linux26) > path resolution = registered daemon context > module debug = no > library 1.x compatibility = yes > > [EMAIL PROTECTED]:~/Desktop/dazuko-2.3.5$ sudo make > [sudo] password for benutzer: > make -C /lib/modules/2.6.27-7-generic/build > SUBDIRS="/home/benutzer/Desktop/dazuko-2.3.5" modules > make[1]: Betrete Verzeichnis '/usr/src/linux-headers-2.6.27-7-generic' > CC [M] /home/benutzer/Desktop/dazuko-2.3.5/dazuko_core.o > CC [M] /home/benutzer/Desktop/dazuko-2.3.5/dazuko_transport.o > CC [M] /home/benutzer/Desktop/dazuko-2.3.5/dazuko_linux.o > /home/benutzer/Desktop/dazuko-2.3.5/dazuko_linux.c: In Funktion > »dazuko_get_files_struct«: > /home/benutzer/Desktop/dazuko-2.3.5/dazuko_linux.c:573: Fehler: > Dereferenzierung eines Zeigers auf unvollständigen Typen > /home/benutzer/Desktop/dazuko-2.3.5/dazuko_linux.c: In Funktion > »dazuko_put_files_struct«: > /home/benutzer/Desktop/dazuko-2.3.5/dazuko_linux.c:585: Fehler: Implizite > Deklaration der Funktion »put_files_struct« > /home/benutzer/Desktop/dazuko-2.3.5/dazuko_linux.c: In Funktion > »dazuko_get_filename_dentry«: > /home/benutzer/Desktop/dazuko-2.3.5/dazuko_linux.c:659: Fehler: »struct > nameidata« hat kein Element namens »dentry« > /home/benutzer/Desktop/dazuko-2.3.5/dazuko_linux.c: In Funktion > »dazuko_fcheck_files«: > /home/benutzer/Desktop/dazuko-2.3.5/dazuko_linux.c:710: Fehler: > Dereferenzierung eines Zeigers auf unvollständigen Typen > /home/benutzer/Desktop/dazuko-2.3.5/dazuko_linux.c:721: Fehler: Implizite > Deklaration der Funktion »files_fdtable« > /home/benutzer/Desktop/dazuko-2.3.5/dazuko_linux.c:721: Warnung: > Initialisierung erzeugt Zeiger von Ganzzahl ohne Typkonvertierung > /home/benutzer/Desktop/dazuko-2.3.5/dazuko_linux.c:723: Fehler: > Dereferenzierung eines Zeigers auf unvollständigen Typen > /home/benutzer/Desktop/dazuko-2.3.5/dazuko_linux.c:725: Fehler: > Dereferenzierung eines Zeigers auf unvollständigen Typen > /home/benutzer/Desktop/dazuko-2.3.5/dazuko_linux.c:726: Fehler: > Dereferenzierung eines Zeigers auf unvollständigen Typen > /home/benutzer/Desktop/dazuko-2.3.5/dazuko_linux.c:726: Warnung: »int« ist > Standardtyp in Deklaration von »_________p1« > /home/benutzer/Desktop/dazuko-2.3.5/dazuko_linux.c:726: Fehler: > Dereferenzierung eines Zeigers auf unvollständigen Typen > /home/benutzer/Desktop/dazuko-2.3.5/dazuko_linux.c:726: Fehler: > Dereferenzierung eines Zeigers auf unvollständigen Typen > /home/benutzer/Desktop/dazuko-2.3.5/dazuko_linux.c:726: Warnung: »int« ist > Standardtyp in Deklaration von »type name« > /home/benutzer/Desktop/dazuko-2.3.5/dazuko_linux.c:726: Warnung: Zuweisung > erzeugt Zeiger von Ganzzahl ohne Typkonvertierung > /home/benutzer/Desktop/dazuko-2.3.5/dazuko_linux.c:740: Fehler: > Dereferenzierung eines Zeigers auf unvollständigen Typen > /home/benutzer/Desktop/dazuko-2.3.5/dazuko_linux.c: In Funktion > »dazuko_get_fd_dentry«: > /home/benutzer/Desktop/dazuko-2.3.5/dazuko_linux.c:763: Fehler: > Dereferenzierung eines Zeigers auf unvollständigen Typen > /home/benutzer/Desktop/dazuko-2.3.5/dazuko_linux.c:799: Fehler: > Dereferenzierung eines Zeigers auf unvollständigen Typen > /home/benutzer/Desktop/dazuko-2.3.5/dazuko_linux.c: In Funktion > »dazuko_get_full_filename«: > /home/benutzer/Desktop/dazuko-2.3.5/dazuko_linux.c:899: Fehler: »struct > nameidata« hat kein Element namens »mnt« > /home/benutzer/Desktop/dazuko-2.3.5/dazuko_linux.c:910: Warnung: Übergabe > des Arguments 1 von »d_path« von inkompatiblem Zeigertyp > /home/benutzer/Desktop/dazuko-2.3.5/dazuko_linux.c:910: Warnung: Übergabe > des Arguments 2 von »d_path« von inkompatiblem Zeigertyp > /home/benutzer/Desktop/dazuko-2.3.5/dazuko_linux.c:910: Warnung: Übergabe > des Arguments 3 von »d_path« erzeugt Ganzzahl von Zeiger ohne > Typkonvertierung > /home/benutzer/Desktop/dazuko-2.3.5/dazuko_linux.c:910: Fehler: zu viele > Argumente für Funktion »d_path« > /home/benutzer/Desktop/dazuko-2.3.5/dazuko_linux.c:912: Fehler: Ungültige > Operanden für binäres != (haben »struct dentry *« und »struct path«) > /home/benutzer/Desktop/dazuko-2.3.5/dazuko_linux.c: In Funktion > »dazuko_fill_file_struct_cleanup«: > /home/benutzer/Desktop/dazuko-2.3.5/dazuko_linux.c:1004: Fehler: Implizite > Deklaration der Funktion »path_release« > /home/benutzer/Desktop/dazuko-2.3.5/dazuko_linux.c: In Funktion > »linux_dazuko_sys_execve«: > /home/benutzer/Desktop/dazuko-2.3.5/dazuko_linux.c:1849: Fehler: »struct > pt_regs« hat kein Element namens »ebx« > /home/benutzer/Desktop/dazuko-2.3.5/dazuko_linux.c:1887: Fehler: »struct > pt_regs« hat kein Element namens »ebx« > /home/benutzer/Desktop/dazuko-2.3.5/dazuko_linux.c:1891: Fehler: »struct > pt_regs« hat kein Element namens »ecx« > /home/benutzer/Desktop/dazuko-2.3.5/dazuko_linux.c:1891: Fehler: »struct > pt_regs« hat kein Element namens »edx« > /home/benutzer/Desktop/dazuko-2.3.5/dazuko_linux.c: In Funktion > »xp_sys_hook«: > /home/benutzer/Desktop/dazuko-2.3.5/dazuko_linux.c:2179: Fehler: Ungültige > Operanden für binäres == (haben »struct path« und »void *«) > /home/benutzer/Desktop/dazuko-2.3.5/dazuko_linux.c:2187: Fehler: »struct > fs_struct« hat kein Element namens »rootmnt« > /home/benutzer/Desktop/dazuko-2.3.5/dazuko_linux.c:2217: Fehler: Implizite > Deklaration der Funktion »class_device_create« > /home/benutzer/Desktop/dazuko-2.3.5/dazuko_linux.c:2257: Fehler: »struct > fs_struct« hat kein Element namens »rootmnt« > /home/benutzer/Desktop/dazuko-2.3.5/dazuko_linux.c:2261: Fehler: inkompatible > Typen in Zuweisung > /home/benutzer/Desktop/dazuko-2.3.5/dazuko_linux.c: In Funktion > »xp_sys_unhook«: > /home/benutzer/Desktop/dazuko-2.3.5/dazuko_linux.c:2427: Fehler: Implizite > Deklaration der Funktion »class_device_destroy« > /home/benutzer/Desktop/dazuko-2.3.5/dazuko_linux.c: In Funktion »xp_print«: > /home/benutzer/Desktop/dazuko-2.3.5/dazuko_linux.c:2470: Warnung: Format ist > kein Zeichenkettenliteral, und keine Formatargumente > make[2]: *** [/home/benutzer/Desktop/dazuko-2.3.5/dazuko_linux.o] Fehler 1 > make[1]: *** [_module_/home/benutzer/Desktop/dazuko-2.3.5] Fehler 2 > make[1]: Verlasse Verzeichnis '/usr/src/linux-headers-2.6.27-7-generic' > make: *** [dummy_rule] Fehler 2 > [EMAIL PROTECTED]:~/Desktop/dazuko-2.3.5$ exit > > Script beendet: Sa 15 Nov 2008 09:32:11 CET > > ------------------------------ > > _______________________________________________ > Dazuko-help mailing list > [email protected] > http://lists.nongnu.org/mailman/listinfo/dazuko-help > > > End of Dazuko-help Digest, Vol 63, Issue 2 > ****************************************** _______________________________________________ Dazuko-help mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/dazuko-help
