On Fri, Jan 16, 2004 at 06:11:38PM -1000, Warren Togami wrote: > 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;
thanks, should be current->vx_info->virt.utsname will be fixed in 1.3.6 best, Herbert > 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 > [EMAIL PROTECTED] > http://list.linux-vserver.org/mailman/listinfo/vserver _______________________________________________ Vserver mailing list [EMAIL PROTECTED] http://list.linux-vserver.org/mailman/listinfo/vserver