Copyright (c) 2003 Bruce M Simpson <firstname.lastname@example.org>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
(The comments found at the beginning of the groff file "man9/vm_map_check_protection.9freebsd".)
- check memory protection for a vm_map
Fa vm_map_t map vm_offset_t start vm_offset_t end vm_prot_t protection
function asserts that the target
allows the specified privilege
over the entire address range from
Fa end .
The region MUST be contiguous; no holes are allowed.
This code does not and SHOULD not check whether the contents of
the region are accessible.
For example, a small file may be mapped into an address space which
is significantly larger in size.
function returns TRUE if the privilege is allowed; if it is not allowed,
or if any other error occurred, the value FALSE is returned.
This manual page was written by
An Bruce M Simpson Aq email@example.com .