Use MAP_TRYFIXED instead of MAP_FIXED when mapping the red zone.
authorMatthew Dillon <dillon@apollo.backplane.com>
Sat, 25 Apr 2009 18:43:15 +0000 (11:43 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sat, 25 Apr 2009 18:43:15 +0000 (11:43 -0700)
commit9b505694017eeaf48fff9273f503160064583c14
tree21eb98ee252c339cb446426e28a1d80b4c015eaa
parent17e9c4cc4240ac392aaf9180af0240f1b900c0e5
Use MAP_TRYFIXED instead of MAP_FIXED when mapping the red zone.

We want to fail if the user program already faulted through the zone,
though in reality the red zone init occurs before main() is even run so
there is no practical difference.
lib/libthread_xu/thread/thr_init.c