From owner-freebsd-hackers Fri Mar 1 04:58:51 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id EAA09945 for hackers-outgoing; Fri, 1 Mar 1996 04:58:51 -0800 (PST) Received: from ra.dkuug.dk (ra.dkuug.dk [193.88.44.193]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id EAA09940 for ; Fri, 1 Mar 1996 04:58:46 -0800 (PST) Received: (from sos@localhost) by ra.dkuug.dk (8.6.12/8.6.12) id NAA27917; Fri, 1 Mar 1996 13:44:32 +0100 Message-Id: <199603011244.NAA27917@ra.dkuug.dk> Subject: Re: Linuxulator unhappiness... To: msmith@atrad.adelaide.edu.au (Michael Smith) Date: Fri, 1 Mar 1996 13:44:32 +0100 (MET) Cc: bde@zeta.org.au, hackers@FreeBSD.org, msmith@atrad.adelaide.edu.au In-Reply-To: <199603011158.WAA01482@genesis.atrad.adelaide.edu.au> from "Michael Smith" at Mar 1, 96 10:28:05 pm From: sos@FreeBSD.org Reply-to: sos@FreeBSD.org X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-hackers@FreeBSD.org Precedence: bulk In reply to Michael Smith who wrote: > > Bruce Evans stands accused of saying: > > > > This is probably caused by bogus types and overflow bugs in linux_file.c > > function linux_lseek(): > > > > 1) the offset is declared as `unsigned long' in `struct linux_seek_args'. > > File offsets should normally be signed to avoid problems like the current > > one (that's why off_t is signed). > > exactly, just change the unsigned long to a signed long... > *sigh*. Soren/Peter? Is this one you've fixed? If not, I'll hack at it > a little and try to come up with something that works in the interim 8( I think so, I'll have to check my sorces when I get home. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Soren Schmidt (sos@FreeBSD.org) FreeBSD Core Team So much code to hack -- so little time.