Age | Commit message (Collapse) | Author |
|
* include/cygwin/version.h: Bump API minor version.
* cygheap.h (class cygheap_user): Add member groups.
* security.h (class cygsidlist): Add members type and maxcount,
methods position, addfromgr, alloc_sids and free_sids and
operator+= (const PSID psid). Modify contains () to call
position () and optimize add () to use maxcount.
(class user_groups): Create.
Update declarations of verify_token and create_token.
* security.cc (cygsidlist::alloc_sids): New.
(cygsidlist::free_sids): New.
(get_token_group_sidlist): Create from get_group_sidlist.
(get_initgroups_sidlist): Create from get_group_sidlist.
(get_group_sidlist): Suppress.
(get_setgroups_sidlist): Create.
(verify_token): Modify arguments. Add setgroups case.
(create_token): Modify arguments. Call get_initgroups_sidlist and
get_setgroups_sidlist as needed. Set SE_GROUP_LOGON_ID from auth_pos
outside of the loop. Rename the various group sid lists consistently.
* syscalls.cc (seteuid32): Modify to use cygheap->user.groups.
(setegid32): Call cygheap->user.groups.update_pgrp.
* grp.cc (setgroups): Create.
(setgroups32): Create.
* uinfo.cc (internal_getlogin): Initialize and update user.groups.pgsid.
* cygwin.din: Add setgroups and setgroups32.
|
|
method.
* select.cc (peek_console): Ditto.
* fhandler_termios.cc (fhandler_termios::bg_check): Send "stopped" signal to
entire process group as dictated by SUSv3.
* termios.cc (tcsetattr): Detect when stopped signal sent and force a stop
before setting anything.
|
|
|
|
|
|
|
|
default now.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
the caller.
* syscalls.cc (_close): Return result of fhandler::close to the caller.
|
|
|
|
* include/exdisp.h: New file.
* include/exdispid.h: New file.
* include/mshtml.h: New file.
* lib/test.c: #include exdisp.h and mshtml.h
* lib/uuid.c (CLSID_WebBrowser, DIID_DWebBrowserEvents,
DIID_DWebBrowserEvents2, IID_IHTMLDocument, IID_IHTMLDocument2,
IID_IHTMLElement, IID_IHTMLSelectionObject, IID_IHTMLTxtRange,
IID_IWebBrowser, IID_IWebBrowser2, IID_IWebBrowserApp):
New GUIDs.
* include/docobj.h: New file.
* include/idispids.h: New file.
* include/objidl.h (IID_IMoniker): Declare.
* include/ocidl.h (READYSTATE): New enum.
(IOleInPlaceSiteEx): New interface.
* include/olectlid.h (IID_IEnumSTATSTG): New interface
identifier.
* include/oleidl.h (IOleItemContainer, IOleInPlaceObject,
IOleInPlaceSite): New interfaces.
* lib/test.c: #include docobj.h,idispids.h,
|
|
(allow_smbntsec): Default to off.
|
|
|
|
changed and stop if not so.
|
|
(BFFM_SETSTATUSTEXT, BFFM_SETSELECTION): UNICODE them.
|
|
* include/commctrl.h: Avoid redefinition of CDN_FIRST/LAST.
* include/commdlg.h: Likewise.
|
|
|
|
to 'supports_reading_modem_output_lines' throughout (negated meaning).
* wincap.cc: Ditto.
* wincap.h: Ditto.
|
|
|
|
(fcloseall_r): Ditto.
|
|
(readlink): Use path_conv method rather than field.
* fhandler_disk_file.cc (fhandler_disk_file::fstat_helper): Ditto, throughout.
* path.h (path_conv): Make fileattr private.
* exceptions.cc (try_to_debug): Default to idle priority when looping.
|
|
NONAMELESSUNION:
(V_VT): Likewise.
|
|
* wincap.cc: Set flag must_init_serial_line appropriately.
* wincap.h: Add flag must_init_serial_line.
|
|
even if DC is available but access fails.
|
|
not bool, for C as well as C++.
|
|
|
|
the class - rts,dtr and method ioctl(). Variables rts and dtr
important for Win 9x only.
* fhandler_serial.cc (fhandler_serial::open): Add initial setting
of dtr and rts. Important for Win 9x only.
(fhandler_serial::ioctl): New function. Implements commands TIOCMGET,
TIOCMSET and TIOCINQ.
(fhandler_serial::tcflush): Fixed found error.
(fhandler_serial::tcsetattr): Add settings of rts and dtr. Important
for Win 9x only.
* termios.h: Add new defines as a support for ioctl() function
on serial device.
|
|
* include/shlwapi.h: New file.
Thanks to: Mattia Barbon <mbarbon@dsi.unive.it> and
Victor Porton <porton@narod.ru> for contributions.
* lib/shlwapi.def: New file.
* lib/test.c: #include shlwapi.h.
|
|
* include/shlobj.h (FCIDM_MENU_FAVORITES): Remove bogus
character.
* include/winsock2.h (struct sockaddr): Use __int64 instead of
long long.
* include/kernel32.c (GetCurrentFiber, GetFiberData): Watcom
does not need external library functions.
|
|
rewrite.
(doit): Avoid use of cx register. Just change one word to avoid races.
|
|
* include/winbase.h (GetEnvironmentStringsA): Remove duplicate
definition.
(Interlocked*): Wrap in #ifndef __INTERLOCKED_DECLARED to
avoid compile error when already defined.
2002-07-20 Steven Edwards <Steven_Ed4153@yahoo.com>
* include/winuser.h (WM_MENURBUTTONUP): Add define.
|
|
|
|
(get_supplementary_group_sidlist): Evolve into get_unix_group_sidlist.
(get_user_local_groups): Add check for duplicates.
(get_user_primary_group): Suppress.
(get_group_sidlist): Silently ignore PDC unavailability.
Call get_unix_group_sidlist() before get_user_local_groups().
Remove call to get_supplementary_group_sidlist(). Never call
get_user_primary_group() as the passwd group is always included.
Add well_known_authenticated_users_sid in only one statement.
|
|
|
|
* include/commdlg.h: Define CDN_* notification message constants
as UINT.
2002-07-17 Mattia Barbon <mbarbon@users.sourceforge.net>
* include/commctrl.h: Define notification message constants for
NMHDR.code as UINT.
|
|
* include/ddeml.h (MH_*) Add defines.
(MONHSZSTRUCT): Add structure and typedefs.
(MONLINKSTRUCT): Ditto.
(MONCONVSTRUCT): Ditto.
(MONCBSTRUCT): Ditto.
(MONERRSTRUCT): Ditto.
(MONMSGSTRUCT): Ditto.
* include/windef.h: Don't define __cdecl or _cdecl for
__WATCOM__.
Don't define _export or __export for __WATCOM__.
* include/windows.h (imm.h): #include.
* include/winnt.h (LPEXCEPTION_RECORD): Add typedef.
2002-07-17 Danny Smith <dannysmith@users.sourceforge.net>
* include/wtypes.h: Remove duplicate #includes of rhc.h and
rpcndr.h.
|
|
|
|
|
|
* exceptions.cc (error_start_init): Use the name derived from GetModuleName
rather than myself->progname.
|
|
warning.
* shared.cc (memory_init): Remove debug_init call.
* debug.h (handle_list): Change "clexec" to "inherited".
* debug.cc: Remove a spurious declaration.
(setclexec): Conditionalize away since it is currently unused.
(add_handle): Use inherited field rather than clexec.
(debug_fixup_after_fork_exec): Ditto. Move debugging output to delete_handle.
(delete_handle): Add debugging output.
* fhandler.cc (fhandler_base::set_inheritance): Don't bother setting
inheritance in debugging table since the handle was never protected anyway.
(fhandler_base::fork_fixup): Ditto.
* exceptions.cc (debugger_command): Revert.
|
|
|
|
|