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)
committerJordan Gordeev <jgordeev@dir.bg>
Sun, 26 Apr 2009 19:18:10 +0000 (22:18 +0300)
commit0cf41d5efd460f6695245a7ee68a85cf195b3f9b
tree97de118a2320cf195151a6702665d96e8f3fb8d7
parentc065129d9b559c4dda62925b43d5d08c7c33abd5
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