| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
|
|
|
|
|
| |
exists.
(mount_info::conv_to_win32_path): Use existing code for dealing with relative
path names when input is already a win32 path.
|
| |
|
|
|
|
| |
in stating a non-existant file.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
name check. Windows 95 seems to null-terminate the directory otherwise.
(interrupt_on_return): Issue a fatal error if we can't find the caller's stack.
* spawn.cc (find_exec): Accept a path_conv argument rather than a buffer so
that the caller can find things out about a translated path.
(perhaps_suffix): Ditto.
(spawn_guts): Allocate path_conv stuff here so that we can find out stuff about
the translated path (this is work in progress).
* environ.cc (environ_init): Accept an as-yet unused argument indicating
whether we were invoked from a cygwin parent or not.
(winenv): Ditto.
(posify): Accept an argument indicating whether the path has already been
translated.
* dlfcn.cc (check_access): Provide a path_conv buffer to find_exec.
* exec.cc (sexecvpe): Ditto.
* path.cc (path_conv::check): Rename from path_conv::path_conv.
(mount_item::getmntent): Recognize "Cygwin executable" bit.
(symlink_info::check): Remove debugging statements.
* path.h (class path_conv): Add iscygexec method. Rewrite constructor to call
"check" method to allow multiple operations on a path_conv variable.
* pinfo.cc (pinfo_init): Pass argument to environ_init.
* shared.h: Bump PROC_MAGIC.
* winsup.h: Reflect above changes to function arguments.
* include/sys/mount.h: Add MOUNT_CYGWIN_EXEC type.
|
|
|
|
| |
each drives root dir on 9X.
|
|
|
|
| |
* include/winspool.h: Add 2 more PRINTER_ATTRIBUTE_* macros.
|
|
|
|
|
|
|
| |
* include/ddeml.h (DdeCreateStringHandle{A,W}): Fix prototype.
* include/shlobj.h (IShellLink{A,W}::GetPath): Fix prototype.
* include/wingdi.h: Add LPFNDEVMODE and LPFNDEVCAPS callbacks.
* include/winuser.h: Add WM_* macros. Add PCOPYDATASTRUCT typedef.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
| |
information for Windows 9x so that function keys will work correctly.
|
|
|
|
| |
* cygwin.din (inet_network): new export
|
| |
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
accomodate Windows 95.
|
|
|
|
| |
access into account.
|
| |
|
|
|
|
|
|
|
| |
(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.
|
|
|
|
|
|
|
| |
successful call to ImpersonateLogedOnUser (NT only).
(setgid): Ditto.
(seteuid): Call setuid.
(setegid): Call setgid.
|
|
|
|
| |
of NetGetAnyDCName().
|
|
|
|
| |
* configure: Regenerate.
|
|
|
|
| |
MoveFileEx(..., MOVEFILE_REPLACE_EXISTING).
|
| |
|
| |
|
| |
|
|
|
|
| |
spec, even within a quoted string.
|
|
|
|
| |
spec.
|
| |
|
| |
|
|
|
|
|
|
| |
specific stuff.
* syscalls.cc (_unlink): Continue with chmod'ing file even if DELETE_ON_CLOSE
succeeds, if file still exists.
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
to think is equivalent to VK_CLEAR.
* debug.cc (thread_stub): Eliminate initialization of reent stuff.
* init.cc (dll_entry): Move it here.
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
|
|
|
|
|
|
|
|
| |
* 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'.
|
|
|
|
| |
if path contains backslashes.
|
|
|
|
| |
(doit): Ditto.
|
| |
|
|
|
|
| |
path when we've found a symlink but aren't following symlinks.
|
| |
|
|
|
|
| |
Microsoft usage.
|
|
|
|
| |
(doit): New function.
|
| |
|
|
|
|
| |
when passed to submakes. Eliminate vestigal use of MAKEOVERRIDES.
|
|
|
|
| |
* Makefile.common: Ditto.
|
| |
|
|
|
|
| |
determination or overflow an array.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|