summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * libc/include/sys/types.h: Don't define __MS_types__ for Cygwin. Don't defineChristopher Faylor2003-02-102-5/+9
| | | | some types under cygwin.
* * include/_mingw.h (_CRTIMP): Define for __GNUC__ ifDanny Smith2003-02-1030-1061/+1128
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | __declspec(dllimport) supported. (__cdecl): Define if not already defined. (__stdcall): Likewise. * include/dirent.h: Qualify fuctions with __cdecl. * include/fenv.h: Likewise. * include/inttypes.h: Likewise. * include/assert.h: Qualify fuctions with __cdecl. Qualify CRT dll imports with _CRTIMP. * include/conio.h: Likewise. * include/ctype.h: Likewise. * include/direct.h: Likewise. * include/dos.h: Likewise. * include/errno.h: Likewise. * include/float.h: Likewise. * include/io.h: Likewise. * include/locale.h: Likewise. * include/malloc.h: Likewise. * include/math.h: Likewise. * include/mbctype.h: Likewise. * include/mbstring.h: Likewise. * include/process.h: Likewise. * include/setjmp.h: Likewise. * include/signal.h: Likewise. * include/stdio.h: Likewise. * include/stdlib.h: Likewise. * include/string.h: Likewise. * include/time.h: Likewise. * include/wchar.h: Likewise. * include/wctype.h: Likewise. * include/sys/stat.h: Likewise. * include/sys/timeb.h: Likewise. * include/sys/utime.h: Likewise. * include/ctype.h: Guard ctype inlines with __NO_INLINE__. * include/wctype.h: Guard wctype inlines with __NO_INLINE__. * include/stdio.h (__VALIST): Guard against prior definition.
* * include/w32api.h: Increment version to 2.3.Earnie Boyd2003-02-103-3/+8
| | | | * Makefile.in: Ditto.
* Add support for marking ARM ELF binaries as support the Cirrus EP9312 MaverickNick Clifton2003-02-102-0/+5
| | | | floating point co-processor.
* * include/GL/gl.h: Remove include of glext.h.Earnie Boyd2003-02-091-0/+2
| | | | Thanks to Greg Couch <gregcouch@users.sf.net>
* * include/secext.h: New file. Declare EXTENDED_NAME_FORMAT.Earnie Boyd2003-02-095-2/+46
| | | | | | * include/security.h: Include secext.h. * include/winbase.h: Declare COMPUTER_NAME_FORMAT. Thanks to Dimitri Papadopoulos <dimitri_at@users.sf.net>
* * lib/ddk/ntoskrnl.def (Ke386IoSetAccessProcess): Activate export.Earnie Boyd2003-02-092-3/+10
| | | | | | (Ke386QueryToAccessMap): Ditto. (Ke386SetIoAccessMap): Ditto. Thanks to Marcel Telka <telka@users.sf.net>
* clarifyChristopher Faylor2003-02-081-1/+1
|
* * include/cygwin/version.h: Bump DLL minor number.Christopher Faylor2003-02-083-2/+11
| | | | | * malloc.cc (DEFAULT_MMAP_THRESHOLD): Bump down to 16MB thanks to below changes.
* * winsup.api/winsup.exp (ws_spawn): Tweak slightly to work with tcl 8.4.1.Christopher Faylor2003-02-082-1/+6
|
* * include/_mingw.h: Change version to 3.0Earnie Boyd2003-02-083-4/+9
| | | | * Makefile.in: Ditto.
* * include/stdlib.h: Make words after #endif a comment.Earnie Boyd2003-02-082-1/+5
|
* 2003-02-07 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2003-02-08129-3153/+5368
| | | | | | | | | | | | | | | | | | * acinclude.m4 (--disable-newlib-supplied-syscalls): New configuration option to allow disabling of syscalls being supplied in newlib. * aclocal.m4: Regenerated. * configure: Ditto. * configure.host: Add support of new configuration option and add -D__NO_SYSCALLS__ if newlib supplied syscalls are disabled. * doc/aclocal.m4: Regenerated. * doc/configure: Ditto. * libc/*aclocal.m4: Ditto. * libc/*configure: Ditto. * libm/*aclocal.m4: Ditto. * libm/*configure: Ditto. * libc/sys/arm/Makefile.am: Don't build syscalls.o if new option is disabled. * libc/sys/arm/Makefile.in: Regenerated.
* * libltp/lib/parse_opts.c: Deal with C warnings.Christopher Faylor2003-02-085-21/+29
| | | | | * winsup.api/pthread/cancel12.c: Ditto. * winsup.api/winsup.exp: Don't use -g3.
* * dump_setup.cc (compar): Use case insensitive comparisons.Christopher Faylor2003-02-072-11/+11
| | | | | (dump_setup): Calculate package_len based on already used "len". Don't bother with version_len.
* * dump_setup.cc (dump_setup): Compute the longest package nameCorinna Vinschen2003-02-072-1/+12
| | | | and align columns properly.
* * ntsec.sgml: Add note on special names for missing user/group.Corinna Vinschen2003-02-072-0/+67
|
* * mmap.cc (mmap_record::alloc_map): De-inline. Add offset and lengthCorinna Vinschen2003-02-072-104/+121
| | | | | | | | | | | | | | | | parameter. Only protect pages actually unused currently. Do job of map_map() when initializing a map. (mmap_record::map_map): Reduce functionality for the reuse case of private anonymous mapping. (mmap_record::fixup_map): Format change. (list::add_record): Add offset and length parameter to call mmap_record::alloc_map() correctly. (mmap64): Rename `l' variable to `map_list'. Accomodate above changes. (munmap): Rename `l' variable to `map_list'. (msync): Ditto. (fhandler_disk_file::mmap): Streamline code. (mprotect): Ditto. (fixup_mmaps_after_fork): Rename `l' variable to `map_list'.
* Christopher Faylor <cgf@redhat.com>Christopher Faylor2003-02-072-4/+14
| | | | | | * exceptions.cc (try_to_debug): Set priority of current thread rather than the main thread. Make busy waiting loop less busy. Restore priority when function returns.
* * malloc.cc (DEFAULT_MMAP_THRESHOLD): Set high to avoid mmaps.Christopher Faylor2003-02-073-0/+11
| | | | * pipe.cc (fhandler_pipe::close): Avoid extraneous this->.
* * pipe.cc (fhandler_pipe::close): Avoid extraneous this->.Christopher Faylor2003-02-071-1/+1
|
* * cygcheck.cc (common_apps): Add some more apps.Christopher Faylor2003-02-073-1/+13
| | | | * path.cc (get_cygdrive): Correctly set system flag.
* * heap.cc (heap_init): Remove debugging code.Christopher Faylor2003-02-072-15/+5
|
* * configure.in: Make w32api directory optional.Christopher Faylor2003-02-073-22/+36
| | | | * configure: Regenerate.
* * include/locale.h: Include stddef.h for definition of NULL.Danny Smith2003-02-072-0/+8
|
* Source Navigator is now on sourceforge...Keith Seitz2003-02-066-303/+92
| | | | | | | | * Makefile.def: Remove "snavigator", "grep", and "db" modules. * Makefile.tpl: Remove "all-snavigator" and "all-grep". * Makefile.in: Regenerated. * configure.in: Remove all traces of snavigator, db, and grep. * configure: Regenerated.
* * security.h: Introduce names UNKNOWN_UID and UNKNOWN_GID and deleteCorinna Vinschen2003-02-066-47/+18
| | | | | | | | | | declaration of is_grp_member. * uinfo.cc (internal_getlogin): Use UNKNOWN_GID. * passwd.cc (pwdgrp::read_passwd): Use UNKNOWN_UID. * grp.cc (pwdgrp::read_group): Change group name to provide better feedback. (getgrgid): Use gid16togid32. * sec_helper.cc (is_grp_member): Delete.
* * setup-net.sgml: Add "setup-maxmem" sectionJoshua Daniel Franklin2003-02-062-0/+69
|
* * path.cc: Change 'to_posix_p' to 'to_posix' throughout.Christopher Faylor2003-02-052-15/+29
| | | | (conv_path_list_buf_size): Accommodate relative paths.
* 2003-02-05 Chris Demetriou <cgd@broadcom.com>Jeff Johnston2003-02-053-18/+39
| | | | | | | | * mips/configure.in (mipsisa32el-*-*): Handle in the same way as mipsisa32-*-*. (mipsisa32r2-*-*, mipsisa32r2el-*-*): New, handled in the same way as mipsisa32-*-*. * mips/configure: Regenerate.
* 2003-02-05 Chris Demetriou <cgd@broadcom.com>Jeff Johnston2003-02-053-20/+29
| | | | | | * mips/cfe.c (hardware_hazard_hook): Move... * mips/cfe_prestart.S (hardware_hazard_hook): To here, and translate into assembly.
* 2003-02-05 Jonathan Larmour <jifl@eCosCentric.com>Jeff Johnston2003-02-055-0/+17
| | | | | | | | | * libc/stdio/vsprintf.c (vsprintf, _vsprintf_r): Set _file fd to -1 to be sure it cannot later match a valid file fd causing isatty() to return 1. * libc/stdio/asprintf.c (asprintf, _asprintf_r): Ditto. * libc/stdio/sprintf.c (sprintf, _sprintf_r): Ditto. * libc/stdio/vasprintf.c (vasprintf, _vasprintf_r): Ditto.
* * path.cc (etc::dir_changed): Fix debug printf.Christopher Faylor2003-02-052-2/+5
|
* * sec_acl.cc (setacl): Move all permission settings to beginning ofCorinna Vinschen2003-02-053-99/+244
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | loop. Set default rights to same values as in alloc_sd(). Set DELETE for owner and default owner only if S_IWOTH is given. * sec_acl.cc: Change all __aclent16_t to __aclent32_t except in wrapper function definitions. Replace call to the aclXYZ functions by calls aclXYZ32. (searchace): Change type of third argument to __uid32_t and use ILLEGAL_UID instead of -1; (setacl): Remove some initializations. Only give STANDARD_RIGHTS_WRITE for S_IWOTH. Replace -1 by ILLEGAL_UID. (getacl): Change type of owner_sid, group_sid and ace_sid to cygpsid. In last else clause, suppress second call to ace_sid.get_id and use TRUE in first call. Replace EqualSid by ==. (acl_access): Call internal_getgroups in USER and GROUP cases. (acecmp: Define static. (acl32): Create from 16 bit type. (facl32): Ditto. (lacl32): Ditto. (aclcheck32): Ditto. (aclsort32): Ditto. (acltomode32): Ditto. (aclfrommode32): Ditto. (acltopbits32): Ditto. (aclfrompbits32): Ditto. (acltotext32): Ditto. (aclfromtext32): Ditto, and use strechr. (acl16to32): Create. (acl): Make it a wrapper function. (facl): Ditto. (lacl): Ditto. (aclcheck): Ditto. (aclsort): Ditto. (acltomode): Ditto. (aclfrommode): Ditto. (acltopbits): Ditto. (aclfrompbits): Ditto. (acltotext): Ditto. (aclfromtext): Ditto. * security.cc (write_sd): Call set_process_privilege and check ownership. (alloc_sd): Remove call to set_process_privilege and the owner check.
* * include/basetypes.h (_GUID_DEFINED): Add deprecation warning, startEarnie Boyd2003-02-055-9/+35
| | | | | | | using GUID_DEFINED instead. * include/sqltypes.h: Ditto. * include/winnt.h: Ditto. * include/ddk/scsiwmi.h: Ditto.
* * include/sys/cygwin.h: Use C-style comments.Christopher Faylor2003-02-052-21/+25
|
* * sec_helper.cc (get_sids_info): New function.Corinna Vinschen2003-02-053-24/+72
| | | | | | | | | | | * security.cc (extract_nt_dom_user): Simplify with strechr. (get_user_groups): Initialize glen to MAX_SID_LEN. (get_user_local_groups): Ditto. (get_attribute_from_acl): Define ace_sid as cygpsid. (get_nt_attribute): Define owner_sid and group_sid as cygpsid. Call get_sids_info instead of cygsid.get_{u,g}id and is_grp_member. (get_nt_object_attribute): Ditto. (alloc_sd): Define ace_sid as cygpsid.
* Correct typo in last changelog entry.Danny Smith2003-02-041-1/+1
|
* * include/shlwapi.h (PathRelativePathTo[AW]): CorrectDanny Smith2003-02-042-2/+8
| | | | | protototypes. Thanks to: John Dallaway <jld@ecoscentric.com>.
* * syscalls.cc (struct system_cleanup_args): New struct.Thomas Pfaff2003-02-042-8/+31
| | | | | | (system_cleanup): New function. (system): Use pthread_cleanup_push and _pop to save and restore signal handlers and sigprocmask.
* * winsup.api/pthread/cancel11.c: New test.Thomas Pfaff2003-02-043-0/+149
| | | | * winsup.api/pthread/cancel12.c: Ditto.
* * path.cc (symlink): Create security attributes so that only theCorinna Vinschen2003-02-043-5/+8
| | | | | | user can modify the symlink. * security.cc (set_security_attribute): Remove symlink special handling.
* * grp.cc (internal_getgroups): Do not return without closingCorinna Vinschen2003-02-042-20/+26
| | | | the process handle.
* * security.h (class cygpsid): New class.Corinna Vinschen2003-02-046-91/+123
| | | | | | | | | | | | | | | | | (class cygsid): Use cygpsid as base. Remove members psid, get_id, get_uid, get_gid, string, debug_printf and the == and != operators. (cygsidlist::clear_supp): Only do work if setgroups has been called. * sec_helper.cc: Define sid_auth NO_COPY. (cygpsid::operator==): New operator. (cygpsid::get_id): New function. (cygpsid::string): New function. (cygsid::string): Delete. (cygsid::get_id): Delete. * pwdgrp.h: Change arguments of internal_getpwsid, internal_getgrsid and internal_getgroups to cygpsid. * passwd.cc (internal_getpwsid): Change argument from cygsid to cygpsid. * grp.cc (internal_getgrsid): Ditto. (internal_getgroups): Ditto.
* * ppc.h: Add TLS relocs. Format.Alan Modra2003-02-043-125/+205
| | | | * ppc64.h: Likewise.
* Eliminate most unneeded this-> pointers throughout.Christopher Faylor2003-02-0414-33/+37
|
* 2003-02-03 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2003-02-032-18/+36
| | | | | | * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate the format buffer based on the precision, after we have processed the input value in a local buffer and know its relative magnitude.
* * security.h: Add third argument to set_process_privilege.Corinna Vinschen2003-02-035-8/+33
| | | | | | | | | * autoload.cc: Add OpenThreadToken. * sec_helper.cc (set_process_privilege): Add and use use_thread argument. * security.cc (alloc_sd): Modify call to set_process_privilege. Remember the result in each process. If failed and file owner is not the user, fail.
* * fhandler_socket.cc (fhandler_socket::recvfrom): Return bufferCorinna Vinschen2003-02-032-1/+18
| | | | | length and don't set errno in case of WSAEMSGSIZE error. (fhandler_socket::recvmsg): Ditto.
* * cygwinenv.sgml: Add section for 'CYGWIN codepage:[ansi|oem]'Joshua Daniel Franklin2003-02-033-1/+32
|