summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * lib/mapi32.def: Add MAPISendMail.Christopher Faylor2001-05-222-0/+5
|
* * include/w32api.h: Update version.Earnie Boyd2001-05-223-4/+10
| | | | * Makefile.in: Ditto.
* * signal.cc (sleep): Protect with sigframe.Christopher Faylor2001-05-222-0/+5
|
* * security.cc (get_file_attribute): Don't set errno.Corinna Vinschen2001-05-222-2/+4
|
* * ltcf-cxx.sh (allow_undefined_flag, no_undefined_flag)Alexandre Oliva2001-05-222-2/+7
| | | | [aix4*|aix5*]: Prepend blank.
* * configure.in: Allow --enable-newvfork to turn NEWVFORK on and off.Christopher Faylor2001-05-213-15/+22
| | | | * configure: Regenerate.
* * include/cygwin/version.h: Bump minor version number.Christopher Faylor2001-05-212-1/+5
|
* * winsup.api/mmaptest01.c: Add log output.Corinna Vinschen2001-05-214-4/+13
| | | | | * winsup.api/mmaptest02.c: Write log output to stdout. * winsup.api/mmaptest03.c: Ditto.
* * ltconfig, ltmain.sh, libtool.m4, ltcf-c.sh, ltcf-cxx.sh,Alexandre Oliva2001-05-207-273/+286
| | | | | ltcf-gcj.sh: Upgraded to libtool 1.4a 1.641.2.254. Rebuilt a number of subdir/configure scripts to use the new libtool.m4.
* * fhandler_dsp.cc: Reformat to GNU standards.Christopher Faylor2001-05-202-282/+293
| | | | | (s_audio): Change to a pointer throughout. (fhandler_dev_dsp::open): Initialize s_audio, if required.
* * autoload.cc: Add load statements for `LookupAccountNameW',Corinna Vinschen2001-05-209-161/+1041
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `LsaClose', `LsaEnumerateAccountRights', `LsaFreeMemory', `LsaOpenPolicy', `LsaQueryInformationPolicy', `NetLocalGroupEnum', `NetLocalGroupGetMembers', `NetServerEnum', `NetUserGetGroups' and `NtCreateToken'. * ntdll.h: Add declaration for `NtCreateToken'. * sec_helper.cc: Add `well_known_local_sid', `well_known_dialup_sid', `well_known_network_sid', `well_known_batch_sid', `well_known_interactive_sid', `well_known_service_sid' and `well_known_authenticated_users_sid'. (cygsid::string): Define as const method. (cygsid::get_sid): Set psid to NO_SID on error. (cygsid::getfromstr): Ditto. (cygsid::getfrompw): Simplify. (cygsid::getfromgr): Check for gr == NULL. (legal_sid_type): Move to security.h. (set_process_privilege): Return -1 on error, otherwise 0 or 1 related to previous privilege setting. * security.cc (extract_nt_dom_user): Remove `static'. (lsa2wchar): New function. (open_local_policy): Ditto. (close_local_policy): Ditto. (get_lsa_srv_inf): Ditto. (get_logon_server): Ditto. (get_logon_server_and_user_domain): Ditto. (get_user_groups): Ditto. (is_group_member): Ditto. (get_user_local_groups): Ditto. (sid_in_token_groups): Ditto. (get_user_primary_group): Ditto. (get_group_sidlist): Ditto. (get_system_priv_list): Ditto. (get_priv_list): Ditto. (get_dacl): Ditto. (create_token): Ditto. (subauth): Return immediately if SE_TCB_NAME can't be assigned. Change all return statements in case of error to jumps to `out' label. Add `out' label to support cleanup. * security.h: Add extern declarations for `well_known_local_sid', `well_known_dialup_sid', `well_known_network_sid', `well_known_batch_sid', `well_known_interactive_sid', `well_known_service_sid' and `well_known_authenticated_users_sid'. Add extern declarations for functions `create_token', `extract_nt_dom_user' and `get_logon_server_and_user_domain'. (class cygsid): Add method `assign'. Change operator= to call new `assign' method. Add `debug_print' method. (class cygsidlist): New class. (legal_sid_type): Moved from sec_helper.cc to here. * spawn.cc (spawn_guts) Revert reversion of previous patch. Call `RevertToSelf' and `ImpersonateLoggedOnUser' instead of `seteuid' again. * syscalls.cc (seteuid): Rearranged. Call `create_token' now when needed. Call `subauth' if `create_token' fails. Try setting token owner and primary group only if token was not explicitely created by `create_token'. * uinfo.cc (internal_getlogin): Try harder to generate correct user information. Especially don't trust return value of `GetUserName'.
* * Makefile.in: Use 'rm -f' when cleaning.Christopher Faylor2001-05-202-1/+5
|
* * fork.cc (fork_parent): Move atforkprepare call here.Christopher Faylor2001-05-202-5/+10
| | | | (fork): From here.
* * autoload.cc: Add missing load statement for `CancelIo'.Corinna Vinschen2001-05-192-0/+5
|
* * grp.cc (read_etc_group): Don't copy mutex on fork.Christopher Faylor2001-05-194-11/+12
| | | | | | * pwd.cc (read_etc_passwd): Ditto. * autoload.cc (LoadDLLfuncEx): Use LoadDLLprime to initialize DLL specific area.
* * net.cc (wsock_event::wait): Explicitely cancel IO when a signalCorinna Vinschen2001-05-182-1/+13
| | | | | arrived to avoid data loss. Fallback to blocking IO when canceling fails.
* * include/winnt.h: Define SE_GROUP_LOGON_ID as unsigned to avoidCorinna Vinschen2001-05-172-2/+7
| | | | compiler warnings.
* * include/ntdef.h: Protect definition of OBJECT_ATTRIBUTES againstCorinna Vinschen2001-05-173-0/+10
| | | | | previous definition in include/ntsecapi.h. * include/ntsecapi.h: Vice versa.
* * security.cc (cygwin_set_impersonation_token): Never destroyCorinna Vinschen2001-05-172-3/+8
| | | | | previous token object. (subauth): Create token source with well defined identifier.
* Revert accidentally checked in ChangeLog.Corinna Vinschen2001-05-171-4/+0
|
* * cygsuba.c: Create token source with well defined identifier.Corinna Vinschen2001-05-171-0/+4
|
* Add missing ChangeLog entry.Corinna Vinschen2001-05-171-0/+7
|
* * uinfo.cc (uinfo_init): Just set user token to INVALID_HANDLE_VALUE.Corinna Vinschen2001-05-162-1/+6
| | | | Token value is already invalid at that point.
* merge from gccDJ Delorie2001-05-162-2/+6
|
* * net.cc (errmap): Add missing mapping from WSAEINTR to EINTR.Corinna Vinschen2001-05-162-0/+5
|
* * include/winnt.h: Add defines for group attributes.Corinna Vinschen2001-05-161-3/+11
| | | | | | Add define for SYSTEM_LUID. Add missing types `PTOKEN_DEFAULT_DACL', `PTOKEN_OWNER' and `PTOKEN_PRIMARY_GROUP'.
* * sec_helper.cc (legal_sid_type): Fix conditional. Change toCorinna Vinschen2001-05-162-3/+8
| | | | inline function.
* * autoload.h: Eliminate.Christopher Faylor2001-05-165-235/+295
| | | | | | | | | | * autoload.cc: Pull in autoload.h. Eliminate many macros. Rewrite to avoid necessity of initialization routines. Just use a standard one. (wsock_init): New function. Moved from net.cc. * net.cc (wsock_init): Move to autoload.cc. (wsadata): Make global. * dtable.cc (dtable::build_fhandler): Use more reliable method for checking if net stuff has been loaded.
* * fork.cc (fork): Eliminate superfluous call to getuid().Corinna Vinschen2001-05-1512-163/+181
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * security.h: New define `NO_SID'. Remove declarations of functions moved to methods into class cygsid. (class cygsid): Declare new methods `getfromstr', `get_sid', `getfrompw', `getfromgr', `get_rid', `get_uid', `get_gid', `string' and new constructors and operators =, == and !=. Declare new global cygsids `well_known_XXX_sid' substituting the corresponding `get_XXX_sid' functions. Remove declarations of these functions. * sec_helper.cc (well_known_admin_sid): New global variable. (well_known_system_sid): Ditto (well_known_creator_owner_sid): Ditto (well_known_world_sid): Ditto (cygsid::string): New method, substituting `convert_sid_to_string_sid'. (cygsid::get_sid): New method, substituting `get_sid'. (cygsid::getfromstr): New method, substituting `convert_string_sid_to_sid'. (cygsid::getfrompw): New method, substituting `get_pw_sid'. (cygsid::getfromgr): New method, substituting `get_gr_sid'. (cygsid::get_id): New method, substituting `get_id_from_sid'. (get_admin_sid): Eliminated. (get_system_sid): Ditto. (get_creator_owner_sid): Ditto. (get_world_sid): Ditto. * grp.cc: Use new cygsid methods and well known sids throughout. * registry.cc: Ditto. * sec_acl.cc: Ditto. * security.cc: Ditto. * shared.cc: Ditto. * syscalls.cc (seteuid): Ditto. Eliminate redundant conditional. * uinfo.cc (internal_getlogin): Ditto. * spawn.cc (spawn_guts) Revert previous patch.
* Remove definition of EM_MIPS_RS4_BE. The constant was never in active useNick Clifton2001-05-152-1/+5
| | | | and is used otherwise by the ABI.
* Fix MIPS disassembler so that it produces reassemblable code.Nick Clifton2001-05-152-0/+5
|
* * winsup.api/winsup.exp: Force linking all tests against binmode.o.Corinna Vinschen2001-05-152-1/+5
|
* * fhandler_socket.cc (fhandler_socket::ioctl): Convert s_addrCorinna Vinschen2001-05-152-1/+7
| | | | field to host byte order before comparing with INADDR_LOOPBACK.
* * autoload.cc: Add autoload statements for ws2_32 functionsCorinna Vinschen2001-05-154-25/+191
| | | | | | | | | | | | | | `WSACloseEvent', `WSACreateEvent', `WSAGetOverlappedResult', `WSARecv', `WSARecvFrom', `WSASend', `WSASendTo' and `WSASetEvent', `WSAWaitForMultipleEvents'. * net.cc: Define wsock_evt. (wsock_event): New class. (cygwin_sendto): Use overlapped socket io if available. (cygwin_recvfrom): Ditto. (cygwin_recv): Ditto. (cygwin_send): Ditto. * security.cc (subauth): Set Win32 error to 0 to safely ask for the error code of dynamically loaded function `LsaRegisterLogonProcess'.
* * Makefile.common: Change method for finding current directory.Christopher Faylor2001-05-152-1/+11
|
* * errno.cc (_sys_errlist): Add missing commas.Christopher Faylor2001-05-142-2/+6
|
* 2001-05-14 H.J. Lu <hjl@gnu.org>H.J. Lu2001-05-142-2/+7
| | | | | * config.if (libc_interface): Set to -libc6.2- for cross compiling to Linux/glibc 2.2.
* * security.cc (subauth): Check if Secur32.dll could be loaded.Corinna Vinschen2001-05-142-0/+9
|
* * path.cc (path_conv::check): Revert allow_ntsec check so that volume info isChristopher Faylor2001-05-142-2/+7
| | | | always retrieved and isdisk setting is properly set.
* Fix formatting.Christopher Faylor2001-05-141-4/+4
|
* * fhandler_tty.cc (fhandler_tty_common::dup): Preserve O_NOCTTY when duping aChristopher Faylor2001-05-132-1/+6
| | | | filehandle.
* * dir.cc (rmdir): Rearrange slightly to allow removing directoriesCorinna Vinschen2001-05-122-13/+34
| | | | even when R/O attribute is set.
* Correct cvtps2dq, movdq2q, movq2dq, and movq problems.Alan Modra2001-05-122-3/+9
|
* * external.cc (fillout_pinfo): Use correct pids.Christopher Faylor2001-05-113-3/+11
| | | | | * path.cc (mount_info::conv_to_win32_path): Correct test for whether to include a slash.
* merge from gccDJ Delorie2001-05-112-10/+4
|
* * elfxx-ia64.c (is_unwind_section_name): Consider linkonce unwindJakub Jelinek2001-05-112-0/+7
| | | | | | | | | | | | | | | | | | | | | | | sections as well. (elfNN_ia64_final_write_processing): Map .gnu.linkonce.ia64unw.FOO to .gnu.linkonce.t.FOO text section. * readelf.c (process_unwind): Print all unwind sections, not just one. * config/tc-ia64.c (special_linkonce_name): New. (make_unw_section): Map .gnu.linkonce.t.FOO text section into .gnu.linkonce.ia64unw{,i}.FOO. (ia64_elf_section_type): Handle .gnu.linkonce.ia64unw{,i}.FOO. (dot_endp): Add comment about it. * elf/ia64.h (ELF_STRING_ia64_unwind_once): Define. (ELF_STRING_ia64_unwind_info_once): Define. * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Put .gnu.linkonce.ia64unw{,i} sections into corresponding .IA_64.unwind* output sections. * emulparams/elf64_aix.sh (OTHER_READONLY_SECTIONS): Likewise.
* * exceptions.cc (handle_exceptions): Don't print message when executing from aChristopher Faylor2001-05-112-2/+7
| | | | cygwin program.
* Christopher Faylor <cgf@redhat.com>Christopher Faylor2001-05-112-9/+49
| | | | | * environ.cc (winenv): Always add SYSTEMDRIVE and SYSYEMROOT to win32-style environment if they don't already exist.
* remove erroneous header.Christopher Faylor2001-05-091-1/+0
|
* * path.cc (mount_info::conv_to_win32_path): Treat UNC paths the same as pathsChristopher Faylor2001-05-092-1/+6
| | | | including `:' or `\'.