Re: 32 bit Linux lseek missing overflow check (was: Re: Linuxolator patches: stat and lseek SEEK_END for disk devices)

2010-03-02 Thread Juergen Lock
In article <201003020750.20845@freebsd.org> you write: >On Monday 01 March 2010 1:25:53 pm John Baldwin wrote: >> On Friday 26 February 2010 4:09:52 pm Juergen Lock wrote: >> > On Fri, Feb 26, 2010 at 11:21:05AM -0500, John Baldwin wrote: >> > > On Thursday 25 February 2010 3:28:50 pm Juergen L

Re: 32 bit Linux lseek missing overflow check (was: Re: Linuxolator patches: stat and lseek SEEK_END for disk devices)

2010-03-02 Thread John Baldwin
On Monday 01 March 2010 1:25:53 pm John Baldwin wrote: > On Friday 26 February 2010 4:09:52 pm Juergen Lock wrote: > > On Fri, Feb 26, 2010 at 11:21:05AM -0500, John Baldwin wrote: > > > On Thursday 25 February 2010 3:28:50 pm Juergen Lock wrote: > > > > On Tue, Feb 23, 2010 at 10:50:10PM +0100, Ju

Re: 32 bit Linux lseek missing overflow check (was: Re: Linuxolator patches: stat and lseek SEEK_END for disk devices)

2010-03-01 Thread John Baldwin
On Friday 26 February 2010 4:09:52 pm Juergen Lock wrote: > On Fri, Feb 26, 2010 at 11:21:05AM -0500, John Baldwin wrote: > > On Thursday 25 February 2010 3:28:50 pm Juergen Lock wrote: > > > On Tue, Feb 23, 2010 at 10:50:10PM +0100, Juergen Lock wrote: > > > > Hi! > > > > > > > > Before this get

Re: 32 bit Linux lseek missing overflow check (was: Re: Linuxolator patches: stat and lseek SEEK_END for disk devices)

2010-02-26 Thread Juergen Lock
On Fri, Feb 26, 2010 at 11:21:05AM -0500, John Baldwin wrote: > On Thursday 25 February 2010 3:28:50 pm Juergen Lock wrote: > > On Tue, Feb 23, 2010 at 10:50:10PM +0100, Juergen Lock wrote: > > > Hi! > > > > > > Before this gets buried on -hackers in another thead... :) > > > > > > I now have d

Re: 32 bit Linux lseek missing overflow check (was: Re: Linuxolator patches: stat and lseek SEEK_END for disk devices)

2010-02-26 Thread John Baldwin
On Thursday 25 February 2010 3:28:50 pm Juergen Lock wrote: > On Tue, Feb 23, 2010 at 10:50:10PM +0100, Juergen Lock wrote: > > Hi! > > > > Before this gets buried on -hackers in another thead... :) > > > > I now have disks appear as block devices for Linux processes (there > > already was comm

32 bit Linux lseek missing overflow check (was: Re: Linuxolator patches: stat and lseek SEEK_END for disk devices)

2010-02-25 Thread Juergen Lock
On Tue, Feb 23, 2010 at 10:50:10PM +0100, Juergen Lock wrote: > Hi! > > Before this gets buried on -hackers in another thead... :) > > I now have disks appear as block devices for Linux processes (there > already was commented out code for that in linux_stats.c, I hope my > version is now `corr

Linuxolator patches: stat and lseek SEEK_END for disk devices

2010-02-23 Thread Juergen Lock
Hi! Before this gets buried on -hackers in another thead... :) I now have disks appear as block devices for Linux processes (there already was commented out code for that in linux_stats.c, I hope my version is now `correct enough' to be usable [1]), and I made a simple patch to make lseek SEEK_