On Wed, Dec 02, 2009 at 10:41:05PM -0500, Greg Freemyer wrote: <snip> > # map stdin into memory. (Not sure why, see the source) > mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, > 0) = 0xb73ff000 That's not mapping stdin into memory, that's allocating memory, 4096 bytes (a page). You can check by the MAP_ANONYMOUS flag. -- Luciano Rocha <luciano@xxxxxxxxxxx> Eurotux Informática, S.A. <http://www.eurotux.com/>
Attachment:
pgpIsWOjlNaSo.pgp
Description: PGP signature