summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * net.cc (wsock_event): Add destructor.Corinna Vinschen2001-06-032-0/+10
|
* * dlfcn.cc (dlclose): Do not call FreeLibrary if the symbol to close wasChristopher Faylor2001-06-032-1/+8
| | | | obtained by dlopen(NULL,...).
* * syscalls.cc (sleep): Try to be a little more accomodating of signal arrival.Christopher Faylor2001-06-032-7/+17
| | | | Ensure that the signal handler is called.
* * cygheap.cc (cygheap_root::cygheap_rot): Remove constructor.Christopher Faylor2001-06-037-138/+201
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | (cygheap_root::~cygheap_root): Remove destructor. (cygheap_root::operator =): Remove. (cygheap_root::set): New method. * cygheap.h (cygheap_root): Reflect above changes. Store root info in mount-like structure. (cygheap_root:posix_ok): New method. (cygheap_root::ischroot_native): Ditto. (cygheap_root::unchroot): Ditto. (cygheap_root::exists): Ditto. (cygheap_root::posix_length): Ditto. (cygheap_root::posix_path): Ditto. (cygheap_root::native_length): Ditto. (cygheap_root::native_path): Ditto. * dir.cc (opendir): Remove special chroot test. * path.cc (path_prefix_p): Remove front end. (normalize_posix_path): Reorganize chroot tests to accomodate new convention of allowing paths using posix chroot prefix. (path_conv::check): Pass a "already ran normalize" option to conv_to_win32_path. Return if there is an error from this function. (mount_info::conv_to_win32_path): Add extra argument. Don't call normalize_posix_path if caller has already done so. Substitute chroot setting, if any, for root translation. Add chroot checking to final output step. * shared_info (mount_info): Accomodate additional argument to conv_to_win32_path. * syscalls.cc (chroot): Store both normalized posix path and native path in chroot.
* * path.cc (chdir): Really make sure that isspace gets only an unsigned char.Christopher Faylor2001-06-012-1/+6
|
* * syscalls.cc (_rename): Handle the case that `foo' is renamed toCorinna Vinschen2001-06-012-8/+33
| | | | `bar' while `bar.lnk' is an existing shortcut-symlink.
* revert.Christopher Faylor2001-06-011-14/+14
|
* * fhandler.cc (fhandler_disk_file::fstat): Avoid clearing S_IFMT bits sinceChristopher Faylor2001-05-312-3/+11
| | | | we've already pre-cleared everything anyway.
* Maintain 80 col line length.Christopher Faylor2001-05-311-1/+2
|
* * path.cc (chdir): Always send unsigned chars to isspace since newlib's isspaceChristopher Faylor2001-05-318-62/+91
| | | | | | | | | | | | | | | | | | | | doesn't deal well with "negative" chars. * fhandler.cc (fhandler_disk_file::open): Propagate remote status of file garnered from path_conv. Move #! checking to fstat. (fhandler_disk_file::fstat): Reorganize st_mode setting to eliminate duplication. Move check for #! here from fhandler::open. * fhandler.h (fhandler_base::isremote): New method. (fhandler_base::set_isremote): Ditto. (fhandler_base::set_execable_p): Also record "don't care if executable state". (fhandler_base::dont_care_if_execable): New method. * path.cc (path_conv::check): Clear new flags. Appropriately set vol_flags, drive_type, and is_remote_drive. * path.h: Add new flags and methods for manipulating them. * syscalls.cc (_unlink): Use isremote() to determine if a path is remote rather than calling GetDriveType. (stat_worker): Ditto. * security.cc (get_file_attribute): Or attribute with result of NTReadEA to be consistent with get_nt_attribute.
* New entry "How do I print under Cygwin?"David Starks-Browning2001-05-301-0/+6
|
* New entry "Where is Objective C?"David Starks-Browning2001-05-301-0/+8
|
* New entry "How do I contribute to Cygwin?"David Starks-Browning2001-05-301-0/+5
|
* * Makefile.in: Tweak to attempt to accomodate older texi2html.Christopher Faylor2001-05-302-1/+5
|
* * sec_helper.cc (cygsid::getfrompw): Change parameter to `const'.Corinna Vinschen2001-05-295-190/+140
| | | | | | | | | | | (cygsid::getfromgr): Ditto. * security.cc: Use `sys_mbstowcs' and `sys_wcstombs' throughout. (extract_nt_dom_user): Try to get user and domain from SID in pw->pw_gecos first. * security.h (class cygsid): Change parameter of getfrompw() and getfromgr() to `const'. * uinfo.cc (internal_getlogin): Change order for evaluating user information in winNT case. Drop usage of NetWkstaUserGetInfo().
* * Makefile.in: Accomodate newer versions of docbook and openjade.Christopher Faylor2001-05-293-8/+12
|
* Avoid NAME too long error.Christopher Faylor2001-05-291-14/+14
|
* Expand entry "why doesn't my script work"David Starks-Browning2001-05-291-1/+2
|
* Update entry about PATH, now done in /etc/profile not cygwin.bat.David Starks-Browning2001-05-291-26/+10
| | | | Remove entry "Where can I find 'which'" since it's included now.
* Add pointer to google for searching list archives.David Starks-Browning2001-05-291-0/+2
|
* Remove distinction between latest and contrib in list of packages.David Starks-Browning2001-05-291-20/+14
|
* * shortcut.c (check_shortcut): Treat only Cygwin shortcuts as symlinks.Corinna Vinschen2001-05-292-2/+9
|
* * ltcf-cxx.sh (osf3/osf4/osf5): Support creation of C++ sharedAlexandre Oliva2001-05-282-30/+35
| | | | libraries when using g++ with native linker.
* * ltconfig, ltmain.sh: Upgrade to libtool 1.4a 1.641.2.256.Alexandre Oliva2001-05-283-34/+39
|
* Handle printf ("%#.0o",0);Nick Clifton2001-05-282-0/+16
|
* Fix some entries.Alan Modra2001-05-283-4/+9
|
* Fix bug when both pointers have matching, non-word alignment, and the lengthNick Clifton2001-05-252-85/+95
| | | | | is <= 4 but more than enough to move them over a word boundary. Add comments explaining what each instruction does.
* * path.cc (symlink_info::check): Correctly set 'ext_tacked_on'. Use this toChristopher Faylor2001-05-252-15/+20
| | | | | determine if user specified 'foo.lnk' explicitly. Reorganize slightly to get rid of one goto.
* * path.cc (symlink_info::check): Add a check to return correctlyCorinna Vinschen2001-05-252-1/+6
| | | | if incoming `*.lnk' file is not a symlink.
* * path.cc (slash_drive_prefix_p): Remove.Christopher Faylor2001-05-253-45/+20
| | | | | | | | (mount_info::slash_drive_to_win32_path): Ditto. (mount_info::conv_to_win32_path): Remove slash drive prefix check. (mount_info::add_item): Ditto. (mount_info::del_item): Ditto. * shared_info.h (mount_info): Remove slash_drive_to_win32_path declaration.
* Support for xcoff64, enable ld for aixTom Rix2001-05-242-12/+7
|
* Support for xcoff64Tom Rix2001-05-245-224/+986
|
* * exceptions.cc (handle_exceptions): Bump repeat count for debugging kick out.Christopher Faylor2001-05-244-12/+36
| | | | | | | | | | * fhandler.h (fhandler_dev_dsp): Add a fixup_after_exec. * fhandler_dsp.cc (class Audio): Add TOT_BLOCK_SIZE to enum. (operator new): New. (bigwavebuffer): Declare using TOT_BLOCK_SIZE to avoid buffer overruns. (Audio::Audio): Optimize slightly. (fhandler_dev_dsp::open): Allocate s_audio using static buffer. (fhandler_dev_dsp::fixup_after_exec): New function. Ditto.
* Add MIPS r12k supportNick Clifton2001-05-232-0/+5
|
* * syscalls.cc (seteuid): Restrict overriding external providedCorinna Vinschen2001-05-232-13/+28
| | | | | | user tokens to ntsec. Don't test external tokens for primary group to evaluate if it should be overridden. Restrict creating internal tokens to ntsec.
* 2001-05-23 John Healy <jhealy@redhat.com>John Healy2001-05-232-1/+5
| | | | * cgen.h: Increased CGEN_MAX_SYNTAX_ELEMENTS to 48.
* * syscalls.cc (chown_worker): Don't check for ENOSYS.Corinna Vinschen2001-05-232-6/+10
|
* * 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.