Source-Changes archive

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

Re: CVS commit: src/sys/uvm



On May 11, 11:09pm, pooka%cs.hut.fi@localhost (Antti Kantee) wrote:
-- Subject: Re: CVS commit: src/sys/uvm

| On Fri May 11 2007 at 20:05:51 +0000, Christos Zoulas wrote:
| > 
| > Module Name:        src
| > Committed By:       christos
| > Date:               Fri May 11 20:05:51 UTC 2007
| > 
| > Modified Files:
| >     src/sys/uvm: uvm_mmap.c
| > 
| > Log Message:
| > fix bogus wrap tests; ssize_t != int...
| 
| I'd argue that it's still bogus.  Why would it be illegal for the size
| parameter to be <0 when typecast to ssize_t?

This test makes the upper limit of the size to 1/2 of the available space.
I don't know why it was put there but all the mapping functions have it.
Look at the next commit :-)

christos



Home | Main Index | Thread Index | Old Index