Commit Graph

4577 Commits

Author SHA1 Message Date
Corinna Vinschen 15996b6f08 * mmap.cc (fixup_mmaps_after_fork): Copy protection to child process.
Change ambiguous debug output.
2003-01-14 21:01:43 +00:00
Corinna Vinschen 857b65ddba * mmap.cc (mmap_record::access): Change argument type to caddr_t
for strictness.
	(mprotect): Protect against calling VirtualProtect() for shared
	pages on 9x/Me.
	(fixup_mmaps_after_fork): If ReadProcessMemory() fails, try to
	change protection of parent page to PAGE_READONLY, then try again.
	Revert protection afterwards.
2003-01-14 20:40:09 +00:00
Christopher Faylor 9a47ce7f74 spacing cleanup 2003-01-14 20:31:47 +00:00
Thomas Pfaff ee8d419fd4 Add winsup.api/pthread/cancel10.c 2003-01-14 20:22:20 +00:00
Thomas Pfaff e14328f4f7 Apply system_cancel patch 2003-01-14 20:19:27 +00:00
Thomas Pfaff 17f422866a Add winsup.api/pthread/cancel9.c 2003-01-14 20:15:58 +00:00
Thomas Pfaff 4a3584c84b Apply wait_cancel patch 2003-01-14 20:13:09 +00:00
Thomas Pfaff 35dbe79943 Add winsup.api/pthread/cancel7.c and winsup.api/pthread/cancel8.c 2003-01-14 20:09:13 +00:00
Thomas Pfaff 7ec66a2c28 Apply sleep_cancel patch 2003-01-14 20:05:49 +00:00
Thomas Pfaff d83b482409 Add winsup.api/pthread/cancel6.c 2003-01-14 20:03:41 +00:00
Thomas Pfaff 3457ce4d88 Apply handle_sigsuspend patch 2003-01-14 19:55:42 +00:00
Christopher Faylor 2673d5f209 * fhandler_dsp.cc (fhandler_dsp::ioctl): Add limited support for
SNDCTL_DSP_GETFMTS.
2003-01-14 02:08:35 +00:00
David Starks-Browning bd14387749 update link for commercial inquiries 2003-01-13 22:17:01 +00:00
Christopher Faylor c901fafc73 Change location. 2003-01-13 21:11:19 +00:00
David Starks-Browning 337e9503bb Reformatting.
New location for Open Source Definition.
2003-01-13 21:06:12 +00:00
David Starks-Browning d3939f963a cygcheck output should be attached, not pasted
(diff thanks to Igor Pechtchanski)
2003-01-13 20:51:49 +00:00
David Starks-Browning cb95f738e9 update commercial references from Cygnus to Red Hat, Inc. 2003-01-13 20:44:05 +00:00
Nick Clifton 948039cf4a Change EM_MSP430 value to new, officially assigned number. 2003-01-13 16:37:47 +00:00
Christopher Faylor 9f0d3f37f3 * ntdll.h: Fix typo. 2003-01-13 03:55:00 +00:00
Corinna Vinschen 7f129d8753 * uname.cc (uname): Use cygwin_gethostname() to retrieve hostname. 2003-01-12 11:45:54 +00:00
Corinna Vinschen ab2dbccc11 * sec_acl.cc (search_ace): Use id == -1, instead of < 0, as wildcard.
(setacl): Start the search for a matching default at the next entry.
	Invalidate the type of merged entries instead of clearing it.
	Use well_known_creator for default owner and owning group and do
	not try to merge non-default and default entries in these cases.
	(getacl): Recognize well_known_creator for default owner and group.
	(acl_worker): Improve errno settings and streamline the nontsec case.
	* security.cc (write_sd): Remove the call to set_process_privilege.
	(alloc_sd): If the owner changes, call set_process_privilege and return
	immediately on failure. Change inheritance rules: on new directories add
	inherit only allow ACEs for creator_owner, creator_group and everyone.
	Preserve all inheritances through chmod and chown calls. Introduce
	isownergroup to implement the uid == gid case, to keep the inheritance
	code simple. Do not initialize owner_sid and group_sid and stop using
	the variable psd.
2003-01-12 11:38:51 +00:00
Danny Smith a545b16de6 * mingwex/math/llround.c: Correct function name and
change return value to long long.
2003-01-11 10:52:20 +00:00
Danny Smith c3e8272116 * include/winnt.h (IMAGE_FILE_AGGRESIVE_WS_TRIM
IMAGE_FILE_LARGE_ADDRESS_AWARE): Add defines.
2003-01-11 06:06:46 +00:00
Danny Smith 18d821e186 * include/accctrl.h (enum _SE_OBJECT_TYPE): Add
SE_REGISTRY_WOW64_32KEY.
2003-01-11 04:08:15 +00:00
Danny Smith 82409119c0 * include/commctrl.h (HDN_GETDISPINFO[AW]: Add defines.
(tagNMHDDISPINFO[AW}: Add structures and typedefs.
2003-01-11 03:43:14 +00:00
Christopher Faylor 68115c74c5 * net.cc: Use gethostname define from winsock2.h. 2003-01-11 01:29:18 +00:00
Christopher Faylor 7ba5067f87 * include/winsock2.h: Remove gethostname from INSIDE_CYGWIN protection. 2003-01-11 01:28:37 +00:00
Nathanael Nerode 6309c9315a * configure.in: Substitute TOPLEVEL_CONFIGURE_ARGUMENTS.
* Makefile.tpl: Pass TOPLEVEL_CONFIGURE_ARGUMENTS to gcc.
	* Makefile.in: Regenerate.
	* configure: Regenerate.
2003-01-10 21:43:31 +00:00
Christopher Faylor e3abf9861a * path.cc: Unrevert below reversion except for mount_info::conv_to_posix_path
part.
2003-01-10 21:24:04 +00:00
Corinna Vinschen df2caa88ca * path.cc: Revert patch from 2003-01-09 to normalize a windows path
rather than converting to posix.
2003-01-10 20:25:47 +00:00
Corinna Vinschen dc8d11f52e * autoload.cc (gethostname): Make call optional, return 1 if function
can't get loaded.
	* net.cc (cygwin_gethostname): Call GetComputerName if return value
	of gethostname is non-zero.
2003-01-10 12:55:47 +00:00
Corinna Vinschen e136dbc297 Split ChangeLog, create ChangeLog-2002.
Fix copyright dates.
2003-01-10 12:32:49 +00:00
Corinna Vinschen 70d61f30fe * cygwin.din: add asprintf and vasprintf, as well as the reentrant
versions and underscore variants.
	* include/cygwin/version.h: bump CYGWIN_VERSION_API_MINOR.
2003-01-10 12:19:17 +00:00
Corinna Vinschen a771176720 * net.cc (cygwin_gethostname): Fix call to wsock function gethostname. 2003-01-10 11:58:52 +00:00
Corinna Vinschen e410614acf * setfacl (usage): Remove double ":" for mask and other. 2003-01-10 11:39:19 +00:00
DJ Delorie be99c75bd8 merge from gcc 2003-01-10 03:27:26 +00:00
Christopher Faylor d5223b2b0a * cygthread.cc (cygthread::cygthread): Be more noisy about odd condition.
* miscfuncs.cc (low_priority_sleep): Sleep in regular priority if that's what
we're currently running at.
2003-01-10 03:13:45 +00:00
Thomas Pfaff 65f207e8b9 Apply pthread_types_patch 2003-01-09 21:14:33 +00:00
Thomas Pfaff 09cbb9d6b7 Apply pthread_cancel_patch 2003-01-09 20:57:54 +00:00
Thomas Pfaff 72fcbc3ee6 Add pthread_mutex tests 2003-01-09 20:51:55 +00:00
DJ Delorie 8ccfe116d0 * Makefile.tpl (BASE_FLAGS_TO_PASS): Also pass DESTDIR.
(install-info, dir.info): Prepend $(DESTDIR) to $(infodir).
* Makefile.in: Regenerate.
2003-01-09 20:50:25 +00:00
Thomas Pfaff 5d68d1de45 Applied pthread_mutex patch 2003-01-09 20:50:23 +00:00
Alexandre Oliva a54470c774 * configure.in: Remove Makefile in build, host and target modules
unless configure was run with --no-recursion.
* configure: Rebuilt.
2003-01-09 20:45:29 +00:00
Thomas Pfaff ed9fe4559c Applied cond_init patch 2003-01-09 20:40:44 +00:00
Corinna Vinschen 93353aee63 * fhandler_disk_file.cc (num_entries): Return 2 as link count if
directory unreadable.
2003-01-09 17:15:44 +00:00
Corinna Vinschen 3eb27a4e9e * security.cc (get_nt_attribute): Always return -1 when read_sd()
fails.
	(get_file_attribute): Set permissions to 0 and owner/group to -1
	if security descriptor is unreadable.
2003-01-09 11:44:17 +00:00
Christopher Faylor 85ba109de7 Use isdirsep rather than SLASH_P throughout.
* path.cc (iscygdrive): Disallow /cygdrive\x.
(normalize_posix_path): "Normalize" a windows path, if detected, rather than
converting to posix.
* fhandler_serial.cc (fhandler_serial::tcsetattr): Add support and capability
checking for B230400 bitrate.
(fhandler_serial::tcgetattr): Add support for B230400 bitrate.
* include/sys/termios.h: Add B230400 definition for Posix support of 230.4Kbps.
2003-01-09 08:22:05 +00:00
Chris Demetriou 9f05d3a44a [ ChangeLog ]
2003-01-08  Chris Demetriou  <cgd@broadcom.com>

        * config.guess: Update to 2003-01-03 version.
        * config.sub: Update to 2003-01-03 version.

[ dejagnu/ChangeLog ]
2003-01-08  Chris Demetriou  <cgd@broadcom.com>

        * config.guess: Update to 2003-01-03 version.
        * config.sub: Update to 2003-01-03 version.

[ readline/ChangeLog.gdb ]
2003-01-08  Chris Demetriou  <cgd@broadcom.com>

        * config.guess: Update to 2003-01-03 version.
        * config.sub: Update to 2003-01-03 version.
2003-01-08 22:09:30 +00:00
Corinna Vinschen f1c9046a57 * mkpasswd.cc (current_user): Create.
(usage): Reorganize to support Win95/98/ME.
	(main): Add option for -c. Reorganize to parse options for
	Win95/98/ME and to call current_user. Add username in gecos field
	on Win95/98/ME.
	* mkgroup.cc (enum_groups): Print gid with %u.
	(print_win_error): Create from passwd.cc.
	(current_group): Create.
	(usage): Reorganize to support Win95/98/ME.
	(main): Add option for -c. Reorganize to parse options for
	Win95/98/ME and to call current_group.
2003-01-08 17:38:11 +00:00
Richard Sandiford afa53b05b0 * mips/crt0.S (_start): Allocate 64 bytes of stack instead of 32.
Pass an empty argv and envp to main().
2003-01-08 12:54:29 +00:00