newlib-cygwin/winsup/cygwin/include/sys
Christopher Faylor 54030e2146 * child_info.h (CURR_CHILD_INFO_MAGIC): Reset.
(child_info_fork::heaptop): Remove obsolete element.
(child_info_fork::heabbase): Ditto.
(child_info_fork::heapptr): Ditto.
(child_info_fork::mount_table): New element.
(child_info_fork::myself_addr): Ditto.
* dcrt0.cc (dll_crt0_1): Set mount_table and myself_addr when forking.
(initial_env): Add newline to "sleeping" message.
* dll_init.cc (reserve_upto): Accommodate cygwin heap when freeing memory.
Make debugging output a little more descriptive.
* fork.cc (fork_parent): Save mount_table and myself_addr.
* pinfo.cc (myself_addr): New variable.
(set_myself): Pass PID_MYSELF flag to init.
(pinfo::Init): Honor PID_MYSELF.  Save address where myself shared memory
resides in myself_addr, for fork.
* pinfo.h (myself_addr): Declare.
* shared.cc (memory_init): On fork, use previously saved address for location
of mount table.
* include/sys/cygwin.h (PID_MYSELF): New value.
* dtable.cc (dtable::stdio_init): Don't pass access type to
init_std_file_from_handle.  It's always the same.
(dtable::init_std_file_from_handle): Remove access type argument.  Assume
read/write.
* dtable.h (dtable::init_std_file_from_handle): Ditto for declaration.
* exceptions.cc (try_to_debug): Don't try to debug if already being debugged.
* fhandler_console.cc (shared_console_info_save): New variable.
(fhandler_console::get_tty_stuff): Save address of shared console stuff for
fork.
2002-10-14 20:25:52 +00:00
..
acl.h Update copyrights. 2001-09-11 20:01:02 +00:00
cdefs.h * include/a.out.h: Add copyright hint. 2001-03-05 21:29:24 +00:00
copying.dj Whitespace cleanup. 2000-10-28 05:41:44 +00:00
cygwin.h * child_info.h (CURR_CHILD_INFO_MAGIC): Reset. 2002-10-14 20:25:52 +00:00
file.h * include/sys/file.h: Revert special X_OK usage. Just make it a constant. 2001-05-08 01:36:50 +00:00
ioctl.h Add copyright stuff 2002-01-13 20:03:03 +00:00
mman.h * include/a.out.h: Add copyright hint. 2001-03-05 21:29:24 +00:00
mount.h * external.cc (cygwin_internal): Make v1 mount table access invalid. 2002-06-09 00:31:03 +00:00
mtio.h * include/a.out.h: Add copyright hint. 2001-03-05 21:29:24 +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
resource.h Eliminate excess whitespace. 2001-11-05 06:09:15 +00:00
select.h Update copyrights. 2001-09-11 20:01:02 +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
strace.h * include/sys/strace.h (strace): Avoid use of constructor. 2002-06-10 19:58:21 +00:00
syslog.h * include/a.out.h: Add copyright hint. 2001-03-05 21:29:24 +00:00
sysmacros.h * syscalls.cc (stat64_to_stat32): Transform st_dev correctly. 2002-06-03 17:44:09 +00:00
termio.h * include/a.out.h: Add copyright hint. 2001-03-05 21:29:24 +00:00
termios.h * fhandler.h (class fhandler_serial): Add new members of 2002-07-22 09:11:45 +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
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 * include/a.out.h: Add copyright hint. 2001-03-05 21:29:24 +00:00