MPROTECT(2) BSD Programmer's Manual MPROTECT(2) NNAAMMEE mmpprrootteecctt - control the protection of pages SSYYNNOOPPSSIISS mmpprrootteecctt(_c_a_d_d_r___t _a_d_d_r, _i_n_t _l_e_n, _i_n_t _p_r_o_t); DDEESSCCRRIIPPTTIIOONN The mmpprrootteecctt() system call changes the specified pages to have protection _p_r_o_t. Not all implementations will guarantee protection on a page basis; the granularity of protection changes may be as large as an entire re- gion. SSEEEE AALLSSOO msync(2), munmap(2), madvise(2), mincore(2) HHIISSTTOORRYY The mmpprrootteecctt() function first appeared in 4.4BSD. 4.4BSD June 9, 1993 1