About this list Date view Thread view Subject view Author view Attachment view

From: Warren Togami (warren_at_togami.com)
Date: Sat 17 Jan 2004 - 04:11:38 GMT


gcc32 -D__KERNEL__ -I/root/kernel/linux-2.4.24-vs1.3.5/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-fomit-frame-pointer -mno-red-zone -mcmodel=kernel -pipe
-fno-reorder-blocks -finline-limit=2000 -fno-strength-reduce
-Wno-sign-compare -fno-asynchronous-unwind-tables -nostdinc
-iwithprefix include -DKBUILD_BASENAME=sys_x86_64 -c -o sys_x86_64.o
sys_x86_64.c
sys_x86_64.c: In function `sys_uname':
sys_x86_64.c:115: request for member `virt' in something not a structure
or union
make[1]: *** [sys_x86_64.o] Error 1
make[1]: Leaving directory
`/root/kernel/linux-2.4.24-vs1.3.5/arch/x86_64/kernel'
make: *** [_dir_arch/x86_64/kernel] Error 2

asmlinkage long sys_uname(struct new_utsname * name)
{
         int err;
         struct new_utsname tmp, *pttmp;
 
 

         down_read(&uts_sem);
         if (current->vx_info) {
; #### FAILURE HERE ####
                 tmp = current->vx_info.virt.utsname;
                 pttmp = &tmp;
         }
         else
                 pttmp = &system_utsname;
         err=copy_to_user(name, pttmp, sizeof (*name));
         up_read(&uts_sem);
         if (personality(current->personality) == PER_LINUX32)
                 err = copy_to_user(name->machine, "i686", 5);
         return err?-EFAULT:0;
}

Warren
_______________________________________________
Vserver mailing list
Vserver_at_list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


About this list Date view Thread view Subject view Author view Attachment view
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Sat 17 Jan 2004 - 04:12:34 GMT by hypermail 2.1.3