Subject: Re: vm_mmap question
To: None <gwr@mc.com>
From: Paul Kranenburg <pk@cs.few.eur.nl>
List: tech-kern
Date: 12/01/1994 21:17:34
> While scrutinizing vm_mmap.c I noticed that a "hint" address
> (non-zero address when the MAP_FIXED flag is NOT set) does
> not appear to be checked to make sure it is in user space.
> 

The address is checked by other vm_map_* routines against the boundaries
in the VM map associated with the process. Though I guess you'll get
ENOMEM in stead of EINVAL.

-pk