diff options
author | kib <kib@FreeBSD.org> | 2014-06-09 03:37:41 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2014-06-09 03:37:41 +0000 |
commit | 7f8a65c9fc018bdfb897ec396fdb4f936ac9bb1f (patch) | |
tree | 3ecb1fd37dae1609bc6f8f9f07a7e4692fb26d7f /secure/lib/libcrypto/man/i2d_PKCS7_bio_stream.3 | |
parent | 75f744e82fe6d8a90e0ec3568a49089050a00b27 (diff) | |
download | FreeBSD-src-7f8a65c9fc018bdfb897ec396fdb4f936ac9bb1f.zip FreeBSD-src-7f8a65c9fc018bdfb897ec396fdb4f936ac9bb1f.tar.gz |
Make mmap(MAP_STACK) search for the available address space, similar
to !MAP_STACK mapping requests. For MAP_STACK | MAP_FIXED, clear any
mappings which could previously exist in the used range.
For this, teach vm_map_find() and vm_map_fixed() to handle
MAP_STACK_GROWS_DOWN or _UP cow flags, by calling a new
vm_map_stack_locked() helper, which is factored out from
vm_map_stack().
The side effect of the change is that MAP_STACK started obeying
MAP_ALIGNMENT and MAP_32BIT flags.
Reported by: rwatson
Reviewed by: alc
Sponsored by: The FreeBSD Foundation
MFC after: 2 weeks
Diffstat (limited to 'secure/lib/libcrypto/man/i2d_PKCS7_bio_stream.3')
0 files changed, 0 insertions, 0 deletions