Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/dev



On Thu, Oct 13, 2016 at 08:56:31AM +0000, Ryo Shimizu wrote:
 > Modified Files:
 > 	src/sys/dev: mm.c
 > 
 > Log Message:
 > /dev/mem cannot lseek over 0x80000000 on 32bit architectures.

This isn't enough (at least pedantically) because uio_offset is
signed.

(in fact, since uio_offset is signed, I imagine seeking to/past
0x8000 0000 0000 0000 on 64-bit architectures also has problems)

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index