newlib/winsup
Christopher Faylor 74fcdaec20 * autoload.cc (GetSecurityInfo): Define new autoload function.
(RegQueryInfoKeyA): Ditto.
* fhandler.h (fhandler_virtual::fill_filebuf): Change return type to bool.
(fhandler_proc::fill_filebuf): Ditto.
(fhandler_registry::fill_filebuf): Ditto.
(fhandler_process::fill_filebuf): Ditto.
(fhandler_registry::value_name): Add new member.
(fhandler_registry::close): Add new method.
(fhandler_process::p): Remove member.
* fhandler_proc.cc (fhandler_proc::open): Add set_nohandle after calling
superclass method.  Check return value of fill_filebuf.
(fhandler_proc::fill_filebuf): Change return type to bool.  Add return
statement.
* fhandler_process.cc (fhandler_process::open): Add set_nohandle after calling
superclass method.  Remove references to p.  Check return value of
fill_filebuf.
(fhandler_process::fill_filebuf): Change return type to bool.  Don't use
dereference operator on p.  Add return statement.
(fhandler_process::format_process_stat): Fix typo.
* fhandler_registry.cc: Add static open_key declaration.
(fhandler_registry::exists): Assume path is already normalised.  Try opening
the path as a key in its own right first, before reverting to enumerating
subkeys and values of the parent key.
(fhandler_registry::fstat): Add additional code to return more relevant
information about the registry key/value.
(fhandler_registry::readdir): Explicitly set desired access when opening
registry key.  Remove output of buf from debug_printf format string.
(fhandler_registry::open): Use set_io_handle to store registry key handle.  Set
value_name member.  Move code to read a value from the registry to
fill_filebuf.  Add call to fill_filebuf.
(fhandler_registry::close): New method.
(fhandler_registry::fill_filebuf): Change return type to bool.  Add code to
read a value from registry.
(fhandler_registry::open_key): Make function static.  Use KEY_READ as desired
access unless this is the last path component.  Check the return value of
RegOpenKeyEx for an error instead of hKey.
* fhandler_virtual.cc (fhandler_virtual::lseek): Check the return value of
fill_filebuf.
(fhandler_virtual::open): Remove call to set_nohandle.
(fhandler_virtual::fill_filebuf): Change return type to bool.  Add return
statement.
* security.cc (get_nt_object_attribute): New function.
(get_object_attribute): New function.
* security.h (get_object_attribute): New function declaration.
2002-07-02 01:36:15 +00:00
..
bz2lib * Makefile.in: Add -U_WIN32 to CFLAGS compile line to avoid inappropriate 2001-04-19 03:55:02 +00:00
cygserver Use cygwin_{shm,ipc}.h instead of /sys/{shm,ipc}.h throughout. 2002-06-23 22:56:58 +00:00
cygwin * autoload.cc (GetSecurityInfo): Define new autoload function. 2002-07-02 01:36:15 +00:00
doc * ntsec.sgml: Clean up text for examples of /etc/passwd and /etc/group. 2002-06-24 09:30:02 +00:00
mingw * include/tchar.h (_getts): Define as _getws for _UNICODE. 2002-06-18 20:48:57 +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 * mount.cc (main): Ensure that mount_already_exists() also gets default flag 2002-07-01 20:54:35 +00:00
w32api Delete extraneous comment from my previous change. 2002-06-27 20:08:33 +00:00
ChangeLog * configure.in: Complain about lack of w32api directory. 2002-06-02 05:54:33 +00:00
configure * configure.in: Complain about lack of w32api directory. 2002-06-02 05:54:33 +00:00
configure.in * configure.in: Complain about lack of w32api directory. 2002-06-02 05:54:33 +00:00
CYGWIN_LICENSE remove a comma 2002-05-12 19:29:20 +00:00
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