newlib/winsup
Christopher Faylor 9ba913a56d * autoload.cc: Add dynamic load statements for 'ZwQueryInformationProcess' and
'ZwQueryVirtualMemory'.
* fhandler.h: Change type of bufalloc and filesize members of fhandler_virtual
from int to size_t.  Change type of position member from __off32_t to
__off64_t.  Add new fileid member to fhandler_virtual class.  Make seekdir take
an __off64_t argument.  Make lseek take an __off64_t argument.  Add
fill_filebuf method to fhandler_virtual.  Add fill_filebuf method to
fhandler_proc.  Add fill_filebuf method to fhandler_registry.  Add fill_filebuf
method to fhandler_process.  Add saved_pid and saved_p members to
fhandler_process.
* fhandler_proc.cc (proc_listing_array): Add 'loadavg', 'meminfo', and 'stat'.
(proc_fhandlers array): Ditto.
(fhandler_proc::open): Use fill_filebuf to flesh out the file contents.
(fhandler_proc::fill_filebuf): New method.
(fhandler_proc::format_proc_meminfo): Ditto.
(fhandler_proc::format_proc_stat): Ditto.
(fhandler_proc::format_proc_uptime): Ditto.
* fhandler_process.cc (process_listing): Add 'stat' and 'statm'.
(fhandler_process::fstat): Find the _pinfo structure for the process named in
the filename.  Return ENOENT if the process is no longer around.  Set the gid
and uid fields of the stat structure.
(fhandler_process::open): Store pid and pointer to _pinfo structure in
saved_pid and saved_p respectively.  Use fill_filebuf to flesh out file
contents.
(fhandler_proc::fill_filebuf): New method.
(format_process_stat): New function.
(format_process_status): Ditto.
(format_process_statm): Ditto.
(get_process_state): Ditto.
(get_mem_values): Ditto.
* fhandler_registry.cc (fhandler_registry::seekdir): Change argument type from
__off32_t to __off64_t.
(fhandler_registry::fill_filebuf): New method.
* fhandler_virtual.cc (fhandler_virtual::seekdir): Change argument type from
__off32_t to __off64_t.
(fhandler_virtual::lseek): Ditto.
(fhandler_virtual::fill_filebuf): New method.
(fhandler_virtual::fhandler_virtual): Initialise fileid to -1.
* wincap.cc: Set flag has_process_io_counters appropriately.
* wincap.h: Add flag has_process_io_counters.
2002-05-12 01:37:48 +00:00
..
bz2lib
cygserver * cygserver.cc: Include stdlib.h for exit declaration. 2002-03-15 21:52:05 +00:00
cygwin * autoload.cc: Add dynamic load statements for 'ZwQueryInformationProcess' and 2002-05-12 01:37:48 +00:00
doc expand entry on dir file, may need to update it after installing packages. 2002-03-20 23:53:50 +00:00
mingw * include/mbstring.h: New file. 2002-04-20 13:50:04 +00:00
subauth * Makefile.in: Comment out install for now. 2001-10-12 20:02:41 +00:00
testsuite * winsup.api/systemcall.c (main): Ensure that stdin is redirected. 2002-02-27 23:01:10 +00:00
utils * dumper.cc (usage) Standardize usage output. Generalize to allow use for 2002-05-08 01:55:56 +00:00
w32api * include/commctrl.h (ImageList_DragShowNolock): Remove 2002-05-07 22:58:26 +00:00
ChangeLog * configure.in: Remove cinstall target. 2002-04-25 23:19:28 +00:00
configure * configure.in: Remove cinstall target. 2002-04-25 23:19:28 +00:00
configure.in * configure.in: Remove cinstall target. 2002-04-25 23:19:28 +00:00
CYGWIN_LICENSE
MAINTAINERS Nuke 2001-12-31 23:24:10 +00:00
Makefile.common Add missing ChangeLog. 2001-12-14 18:26:43 +00:00
Makefile.in * configure.in: Remove cinstall target. 2002-04-25 23:19:28 +00:00