[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
hurd-l4/libhurd-mm mmap.c map.h map.c anonymous...
From: |
Neal H. Walfield |
Subject: |
hurd-l4/libhurd-mm mmap.c map.h map.c anonymous... |
Date: |
Wed, 18 Jun 2008 13:52:30 +0000 |
CVSROOT: /sources/hurd
Module name: hurd-l4
Changes by: Neal H. Walfield <neal> 08/06/18 13:52:30
Modified files:
libhurd-mm : mmap.c map.h map.c anonymous.c ChangeLog
Added files:
libhurd-mm : mprotect.c
Log message:
2008-06-18 Neal H. Walfield <address@hidden>
* mmap.c (mmap): If MAP_FIXED is specified, first unmap the
region.
(mmap): Don't panic if we fail to create a pager, just return
MAP_FAILED.
* map.h (map_destroy_t): New define.
(struct map): Add field destroy.
(map_create): Take additional argument destroy.
* map.c (map_create): Take additional argument destroy. Set
MAP->DESTROY to it.
(map_destroy): Call MAP->DESTROY. If MAP->PAGER->NO_REFS is
NULL,
unlock MAP->PAGER->LOCK.
* anonymous.c (offset_compare): Support comparing ranges.
(mdestroy): New function.
(destroy): Don't free ANON->MAP_AREA.
(anonymous_pager_alloc): Pass mdestroy to map_create.
* mprotect.c: New file.
* Makefile.am (libhurd_mm_a_SOURCES): Add mprotect.c.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/libhurd-mm/mmap.c?cvsroot=hurd&r1=1.9&r2=1.10
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/libhurd-mm/map.h?cvsroot=hurd&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/libhurd-mm/map.c?cvsroot=hurd&r1=1.5&r2=1.6
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/libhurd-mm/anonymous.c?cvsroot=hurd&r1=1.14&r2=1.15
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/libhurd-mm/ChangeLog?cvsroot=hurd&r1=1.93&r2=1.94
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/libhurd-mm/mprotect.c?cvsroot=hurd&rev=1.1
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- hurd-l4/libhurd-mm mmap.c map.h map.c anonymous...,
Neal H. Walfield <=