summaryrefslogtreecommitdiffstats
path: root/winsup
Commit message (Collapse)AuthorAgeFilesLines
* * fhandler.cc (fhandler_disk_file::open): Check for allow_ntsecCorinna Vinschen2000-04-255-149/+121
| | | | | | | | | | | | | when determining exec flag. * path.cc (symlink_info::check): Remove call to get_file_attribute(). * security.cc (read_sd): Rename, ditto for variables to conform to common naming convention. Use GetFileSecurity() instead of BackupRead() to avoid permission problems when reading ACLs. (write_sd): Same renaming as for read_sd(). (alloc_sd): Change default permissions according to Linux permissions for group and world when write permission is set. * syscalls.cc (stat_worker): Avoid different permission problems when requesting file informations.
* Forgot ChangeLogCorinna Vinschen2000-04-251-0/+4
|
* * net.cc: Avoid a warning in declaration inet_network.Corinna Vinschen2000-04-251-1/+1
|
* * fhandler_console.cc (fhandler_console::read): Detect extended keycodeChristopher Faylor2000-04-242-1/+6
| | | | information for Windows 9x so that function keys will work correctly.
* * net.cc (cygwin_inet_network): new function.DJ Delorie2000-04-243-0/+18
| | | | * cygwin.din (inet_network): new export
* Fix handling of /.filenameChristopher Faylor2000-04-212-2/+6
|
* * path.cc (normalize_posix_path): Previous two patches were still incorrect soChristopher Faylor2000-04-212-57/+57
| | | | | | rewrite this function to deal with trailing dots. (mount_info::conv_to_win32_path): Just check for '/' where appropriate. Eliminate nofinalslash call since it is handled in normalize_posix_path now.
* * exceptions.cc (handle_exceptions): Search further for stack info toChristopher Faylor2000-04-202-1/+6
| | | | accomodate Windows 95.
* * path.cc (normalize_posix_path): Previous change failed to take rootChristopher Faylor2000-04-202-2/+7
| | | | access into account.
* * syscalls.cc (_link): Check new link path for trailing dot.Corinna Vinschen2000-04-202-7/+13
|
* * fhandler.h (fhandler_base::hclose): New virtual method.Christopher Faylor2000-04-204-21/+34
| | | | | | | (fhandler_base::set_inheritance): Make this a method so that we can use the appropriate close methods. * fhandler.cc (fhandler_base::set_inheritance): Ditto. * path.cc (normalize_posix_path): Eliminate /. trailing path component.
* * syscalls.cc (setuid): Allow switching user context afterCorinna Vinschen2000-04-192-12/+58
| | | | | | | successful call to ImpersonateLogedOnUser (NT only). (setgid): Ditto. (seteuid): Call setuid. (setegid): Call setgid.
* * uinfo.cc (internal_getlogin): Use NetGetDCName() insteadCorinna Vinschen2000-04-192-4/+9
| | | | of NetGetAnyDCName().
* * configure.in: Change HEADER_SUBDIR to mingw32.Christopher Faylor2000-04-193-54/+70
| | | | * configure: Regenerate.
* * syscalls.cc (_rename): Try MoveFile() at first beforeDJ Delorie2000-04-192-25/+32
| | | | MoveFileEx(..., MOVEFILE_REPLACE_EXISTING).
* don't put api internals in general tarballDJ Delorie2000-04-191-4/+4
|
* add commands for building a doc kitchen-sink-tarballDJ Delorie2000-04-191-0/+23
|
* clean up SGML for latest version of jade/docbookDJ Delorie2000-04-199-20/+43
|
* * dcrt0.cc (globify): Don't use \ quoting when apparently quoting a DOS pathChristopher Faylor2000-04-182-5/+3
| | | | spec, even within a quoted string.
* * dcrt0.cc (globify): Don't use \ quoting when apparently quoting a DOS pathChristopher Faylor2000-04-182-1/+12
| | | | spec.
* * remove dependence on where pwd isDJ Delorie2000-04-182-1/+5
|
* Remove obsolete setting.Christopher Faylor2000-04-161-4/+0
|
* * init.cc (dll_entry): Use better check for determining when to set threadChristopher Faylor2000-04-163-3/+13
| | | | | | specific stuff. * syscalls.cc (_unlink): Continue with chmod'ing file even if DELETE_ON_CLOSE succeeds, if file still exists.
* * mkpasswd.c (main): Use GetDCName instead of GetAnyDCName.Corinna Vinschen2000-04-153-20/+38
| | | | | | | | | | | Don't create extra passwd entry for administrators group if local_groups is set. (usage): Change usage text slightly. (enum_users): Loop while ERROR_MORE_DATA is returned. (enum_local_groups): Ditto. * mkgroup.c (enum_local_groups): Ditto. (enum_groups) Ditto. (usage): Change usage text slightly.
* * fhandler_console.cc (keytable): Add support for keypad 5 key, which MS seemsChristopher Faylor2000-04-154-10/+14
| | | | | | to think is equivalent to VK_CLEAR. * debug.cc (thread_stub): Eliminate initialization of reent stuff. * init.cc (dll_entry): Move it here.
* * dcrt0.cc (insert_file): Avoid freeing previously allocated argument list.Christopher Faylor2000-04-135-69/+83
| | | | | | | | | | * path.cc (symlink_info::check): Rename from symlink_check_one. Use new symlink_info struct for communication. (path_conv::path_conv): Use symlink_info structure for communication with symlink_info::check. Fix typo which resulted in symbolic links always being resolved. (readlink): Use stat_suffixes array when resolving a link. * syscalls.cc (stat_suffixes): Make global.
* * include/cygwin/version.h: Bump minor api to reflect export change.Corinna Vinschen2000-04-132-1/+6
|
* * cygwin.din: Add symbol for `lacl'.Corinna Vinschen2000-04-134-5/+37
| | | | | | | | | * security.cc (ReadSD): Add debug output. (acl_worker): New static function. (acl): Call acl_worker now. (lacl): New function. (facl): Call acl_worker now. * include/cygwin/acl.h: Add prototype for `lacl'.
* * path.cc (conv_to_win32_path): Detect a win32 pathCorinna Vinschen2000-04-131-4/+24
| | | | if path contains backslashes.
* * cygpath.cc (main): Add -a -o and -c options.Christopher Faylor2000-04-132-13/+71
| | | | (doit): Ditto.
* Fix typo.Christopher Faylor2000-04-131-4/+3
|
* * path.cc (path_conv::path_conv): Ensure that suffix is correctly copied toChristopher Faylor2000-04-122-18/+24
| | | | path when we've found a symlink but aren't following symlinks.
* Add a debugging line.Christopher Faylor2000-04-111-0/+1
|
* * include/winbase.h: Change first argument of ENUMRES* types to coincide withChristopher Faylor2000-04-112-3/+8
| | | | Microsoft usage.
* * cygpath.cc (main): Add -f option for processing a group of paths from a file.Christopher Faylor2000-04-112-49/+102
| | | | (doit): New function.
* * include/string.h: Use proper prototype for _strerror.Christopher Faylor2000-04-102-1/+5
|
* * Makefile.common: Resolve srcdir to absolute path or it will confuse usagesChristopher Faylor2000-04-102-4/+11
| | | | when passed to submakes. Eliminate vestigal use of MAKEOVERRIDES.
* * Makefile.in: Work around MAKEOVERRIDES problem with older versions of make.Christopher Faylor2000-04-093-5/+23
| | | | * Makefile.common: Ditto.
* Remove erroneous entry.Christopher Faylor2000-04-081-1/+0
|
* * fhandler.cc (fhandler_disk_file::fstat): Allocate enough space for root dirChristopher Faylor2000-04-082-2/+8
| | | | determination or overflow an array.
* * exceptions.cc (sigsave): Copy on fork so that we can restore correct behaviorChristopher Faylor2000-04-086-38/+64
| | | | | | | | | | | | | in forked process. (interruptible): Flag as interruptible when running in main process module. (interrupt_setup): Save return address and address of return address. (signal_fixup_after_fork): New function. Uses above two values to restore proper behavior to forked process. (interrupt_on_return): Pass return address address to interupt_setup. (interrupt_now): Pass NULL for return address address to interrupt_setup. * fork.cc (fork): Call signal_fixup_after_fork. * shared.h: Lint cleanups. * winsup.h: Ditto.
* Updated to build cinstall with mingw. See Changelog for numerous setup.c ↵Ron Parker2000-04-073-28/+23
| | | | changes.
* Bump minor version.Christopher Faylor2000-04-071-1/+1
|
* * fhandler.h (select_stuff): Eliminate use of 'total'.Christopher Faylor2000-04-033-7/+11
| | | | | | * select.cc (cygwin_select): Ditto. (select_stuff::wait): Use maximum size for w4 rather than calculating what will fit.
* * grp.cc (parse_grp): Save empty array instead ofCorinna Vinschen2000-04-032-1/+6
| | | | NULL in gr_mem if no supplementary group is given.
* update copyright.Christopher Faylor2000-04-031-1/+1
|
* * newlib/libc/include/sys/unistd.h: Add prototypes forCorinna Vinschen2000-04-024-18/+88
| | | | | | | | | | | | | | fchmod, fchown, lchown. * winsup/cygwin/syscalls.cc (chown_worker): Use previous uid/gid if new uid/gid is -1. New static function with chown functionality. (chown): Call chown_worker with SYMLINK_FOLLOW. (fchown): New function. Call chown_worker with SYMLINK_FOLLOW. (lchown): New function. Call chown_worker with SYMLINK_IGNORE. * cygwin.din: Add symbols for fchown, lchown. * path.cc (symlink): Call `set_file_attribute()' and `SetFileAttributeA()' instead of `chmod()' to set uid/gid correct.
* * include/wininet.h: Add three more "INTERNET_OPTIONS".Christopher Faylor2000-04-022-0/+7
|
* * MAINTAINERS: Add Ron Parker as maintainer of cinstall stuff.Christopher Faylor2000-03-313-0/+5
| | | | Add ChangeLog to doc directory.
* 2000-03-30 Mumit Khan <khan@xraylith.wisc.edu>Mumit Khan2000-03-312-1/+6
| | | | * Makefile.in (subdirs): Workaround for broken shells.