mmap(2) segaults with certain len values and MAP_ANON|MAP_FIXED

Alexander Best alexbestms at math.uni-muenster.de
Wed Nov 4 20:26:30 UTC 2009


just had a look at the linux mmap(2) manual and noticed a very neat thing they
seem to have in most manuals:

in the ERRORS section they also document which signals one has to expect. for
mmap they are SIGSEGV and SIGBUS.

thanks very useful imo.

alex


More information about the freebsd-hackers mailing list