Subject: MAP_ANON
To: None <>
From: =?ISO-8859-1?Q?Erik_=C4ngg=E5rd?= <>
List: tech-kern
Date: 03/17/2003 14:58:46

man (2) mmap says:

     MAP_ANON    Map anonymous memory not associated with any specific file.
                 The file descriptor used for creating MAP_ANON regions is
                 used only for naming, and may be specified as -1 if no name
                 is associated with the region.

But the ERRORS section of the same man page and the code in 
sys/uvm/uvm_mmap.c suggest that the file descriptor must be -1 when 
using MAP_ANON. Has this feature (creating a MAP_ANON region with an fd 
used only for naming) been removed or has it not been implemented yet? 
Or am I just confused?