Query: vm_page_protect
OS: debian
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
VM_PAGE_PROTECT(9) BSD Kernel Developer's Manual VM_PAGE_PROTECT(9)NAMEvm_page_protect -- lower a page's protectionSYNOPSIS#include <sys/param.h> #include <vm/vm.h> #include <vm/vm_page.h> void vm_page_protect(vm_page_t mem, int prot);DESCRIPTIONThe vm_page_protect() function lowers a page's protection. The protection is never raised by this function; therefore, if the page is already at VM_PROT_NONE, the function does nothing. Its arguments are: mem The page whose protection is lowered. prot The protection the page should be reduced to. If VM_PROT_NONE is specified, then the PG_WRITABLE and PG_MAPPED flags are cleared and the pmap_page's protection is set to VM_PROT_NONE. If VM_PROT_READ is specified, then the PG_WRITABLE flag is cleared and the pmap_page's protection is set to VM_PROT_READ. Higher protection requests are ignored.AUTHORSThis manual page was written by Chad David <davidc@acns.ab.ca>.BSDJuly 14, 2001 BSD
Related Man Pages |
---|
vm_page_free(9) - freebsd |
vm_page_free(9) - debian |
mprotect(2) - freebsd |
vm_page_free_toq(9) - freebsd |
vm_page_try_to_free(9) - freebsd |
Similar Topics in the Unix Linux Community |
---|
Installing Dash Shell on OS X Lion |
One instance of comparing grep and awk |
Find columns in a file based on header and print to new file |
My first PERL incarnation... Audio Oscillograph |