acadia-newlib/winsup/cygwin/include/sys
Corinna Vinschen a020c74a8d * fhandler.h (fhandler_dev_zero::mmap): Add method.
(fhandler_dev_zero::munmap): Ditto.
	(fhandler_dev_zero::msync): Ditto.
	(fhandler_dev_zero::fixup_mmap_after_fork): Ditto.
	* mmap.cc: Implement anonymous mapping using fhandler_dev_zero class.
	Implement private anonymous maps using VirtualAlloc/VirtualFree.  Fix
	or add some more comments.
	(fh_paging_file): Change to type fhandler_dev_zero.
	(priv): New static inline function to avoid having lots of flag bit
	tests in the code.  Use throughout were appropriate.
	(fixed): Ditto.
	(anonymous): Ditto.
	(noreserve): Ditto.
	(autogrow): Ditto.
	(gen_protect): Never generate PAGE_WRITECOPY protection for
	private anonymous maps.
	(gen_access): Drop FILE_MAP_EXECUTE handling since it's not supported
	correctly on 9x.
	(VirtualProt9x): Move comment from mmap64 here.
	(mmap_record::mmap_record): Gegerate correct device entry for
	anonymous maps, though unused right now.
	(mmap_record::priv): Call global priv function.
	(mmap_record::fixed): Call global fixed function.
	(mmap_record::anonymous): Call global anonymous function.
	(mmap_record::noreserve): Call global noreserve function.
	(mmap_record::autogrow): Call global autogrow function.
	(list::anonymous): New method.  Use throughout were appropriate.
	(mmap_record::compatible_flags): Drop now useless ifdef.
	(mmap_record::alloc_page_map): Accomodate private anonymous maps.
	(mmap_record::map_pages): Accomodate MAP_NORESERVE mappings.
	(mmap_record::unmap_pages): Accomodate private anonymous maps.
	(mmap64): Simplify argument check.  Don't remove the MAP_PRIVATE flag
	for anonymous mappings on 9x anymore since that's now handled
	gracefully.
	(mprotect): Accomodate MAP_NORESERVE mappings.  Fix case when
	non-mmap areas are just MEM_RESERVEd.
	(fhandler_dev_zero::mmap): Implement anonymous mapping here.
	(fhandler_dev_zero::munmap): Ditto.
	(fhandler_dev_zero::msyn): Ditto.
	(fhandler_dev_zero::fixup_mmap_after_fork): Ditto.
	(fixup_mmaps_after_fork): Accomodate private anonymous maps.  Enhance
	debug output in case VirtualProtect fails.
	* include/sys/mman.h: Really define MAP_NORESERVE now.
2005-11-29 16:28:05 +00:00
..
acl.h Update copyrights. 2001-09-11 20:01:02 +00:00
cdefs.h * include/sys/cdefs.h: Remove extra line. 2005-08-08 18:54:28 +00:00
copying.dj white space and minor comment cleanup. 2005-05-02 03:50:11 +00:00
cygwin.h * include/sys/cygwin.h: Define CYGWIN_SIGNAL_STRING. 2005-11-01 05:55:30 +00:00
dirent.h * cygerrno.h (geterrno_from_win_error): Change declaration to default to using 2005-08-20 06:19:55 +00:00
elf32.h * include/sys/cdefs.h (__CONCAT): Define. 2005-08-08 15:00:39 +00:00
elf64.h * include/sys/elf64.h: Fix types to reflect linux usage. 2005-11-14 20:34:33 +00:00
elf_common.h white space 2005-08-12 02:39:13 +00:00
elf_generic.h * include/sys/cdefs.h (__CONCAT): Define. 2005-08-08 15:00:39 +00:00
file.h * Makefile.in: (DLL_OFILES): Add flock.o. 2003-11-29 23:00:51 +00:00
ioctl.h white space 2005-08-12 02:39:13 +00:00
ipc.h * cygserver.h (client_request::request_code_t): Add 2003-11-19 18:50:23 +00:00
lock.h white space and minor comment cleanup. 2005-05-02 03:50:11 +00:00
mman.h * fhandler.h (fhandler_dev_zero::mmap): Add method. 2005-11-29 16:28:05 +00:00
mount.h * cygtls.cc (_cygtls::remove): Eliminate compiler warning. 2005-05-13 03:21:39 +00:00
msg.h * cygserver.h (client_request::request_code_t): Add 2003-11-19 18:50:23 +00:00
mtio.h * include/a.out.h: Add copyright hint. 2001-03-05 21:29:24 +00:00
param.h * times.cc (hires_ms::prime): Comment out call to timeBeginPeriod for now. 2005-11-11 04:07:30 +00:00
poll.h Update copyrights. 2001-09-11 20:01:02 +00:00
procfs.h * include/a.out.h: Add copyright hint. 2001-03-05 21:29:24 +00:00
queue.h Eliminate use of sigframe and sigthread throughout. 2003-11-28 20:55:59 +00:00
resource.h * cygwin.din: Export getpriority and setpriority. 2005-01-25 22:45:11 +00:00
select.h * cygwin.din (pselect): Export. 2005-04-19 08:32:59 +00:00
sem.h * cygserver.h (client_request::request_code_t): Add 2003-11-19 18:50:23 +00:00
shm.h * cygserver.h (client_request::request_code_t): Add 2003-11-19 18:50:23 +00:00
smallprint.h * include/a.out.h: Add copyright hint. 2001-03-05 21:29:24 +00:00
socket.h * fhandler.h (fhandler_socket::recvfrom): Fix prototype. 2002-08-26 09:57:27 +00:00
soundcard.h whitespace cleanup 2001-12-10 03:35:54 +00:00
statfs.h * include/sys/statfs.h: New header file. 2002-07-03 20:31:39 +00:00
statvfs.h * include/sys/statvfs.h (ST_RDONLY): Define. 2005-02-23 16:27:54 +00:00
stdio.h * cygwin.din (getline): Export. 2005-07-09 08:22:39 +00:00
strace.h * include/sys/strace.h (_STRACE_ON): Remove semicolon from definition. 2005-09-22 16:41:36 +00:00
syslog.h * Makefile.in (DLL_OFILES): Add fhandler_mailslot.o. 2005-05-10 20:56:07 +00:00
sysmacros.h * syscalls.cc (stat64_to_stat32): Transform st_dev correctly. 2002-06-03 17:44:09 +00:00
sysproto.h * cygserver.h (client_request::request_code_t): Add 2003-11-19 18:50:23 +00:00
termio.h * include/a.out.h: Add copyright hint. 2001-03-05 21:29:24 +00:00
termios.h * include/sys/termios.h: Define TIOCMBIS and TIOCMBIC. 2005-08-02 09:17:15 +00:00
ttychars.h import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
uio.h * miscfuncs.cc (check_iovec_for_read): Don't check buffer when zero length 2002-08-30 15:47:10 +00:00
un.h Eliminate excess whitespace. 2001-11-05 06:09:15 +00:00
utime.h white space and minor comment cleanup. 2005-05-02 03:50:11 +00:00
utmp.h white space and minor comment cleanup. 2005-05-02 03:50:11 +00:00
utsname.h * include/a.out.h: Add copyright hint. 2001-03-05 21:29:24 +00:00
vfs.h remove erroneous part of comment 2002-03-12 03:36:01 +00:00
wait.h * child_info.h (child_info_spawn::hexec_proc): Eliminate. 2004-11-26 04:15:10 +00:00