* configure.ac (AC_FUNC_MMAP): Added.
authortwisti <none@none>
Tue, 25 Jul 2006 11:38:18 +0000 (11:38 +0000)
committertwisti <none@none>
Tue, 25 Jul 2006 11:38:18 +0000 (11:38 +0000)
commitc88eaa31900406448860f9b279949aa6dcaaba02
treec75d00383d27e77054efdd335e9fe8a493d441f0
parent8a69dab06c18d4a68949f096e1f41fbd0a9c5348
* configure.ac (AC_FUNC_MMAP): Added.
(AC_CHECK_FUNCS): Removed mprotect.

* src/mm/memory.c (DEFAULT_CODEMEM_SIZE): Renamed to
DEFAULT_CODE_MEMORY_SIZE.
(codememlock): Renamed to lock_code_memory.
(codememptr): Renamed to code_memory.
(codememsize): Renamed to code_memory_size.
(pagesize): Added global static variable.
(memory_init): Use new variable names and set pagesize.
(memory_cnew): Don't use malloc/mprotect as this makes some problems
with selinux enabled distributions. Instead use mmap.
configure.ac
src/mm/memory.c