| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
| |
|
|
|
|
|
| |
* security.cc (alloc_sd): Always set SE_DACL_PROTECTED flag on
Win2K and higher.
|
| |
|
|
|
|
| |
ready to be read whether overlapped_armed or not.
|
|
|
|
| |
implementation.
|
|
|
|
|
|
|
|
|
|
|
| |
`smbntsec'.
* path.cc (path_conv::check): Check path for being a remote path.
If so and `allow_smbntsec' is set to FALSE, set has_acls to FALSE.
* security.cc: Add global definition for `allow_smbntsec'.
* security.h: Add extern declaration for `allow_smbntsec'.
* fhandler.cc (fhandler_disk_file::open): Eliminate extern declaration
of `allow_ntsec'.
* syscalls.cc: Ditto.
|
|
|
|
|
|
|
|
| |
reporting.
(fhandler_console::char_command): Honor mouse events.
(fhandler_console::open): Enable mouse input events.
(fhandler_console::input_tcsetattr): Ditto.
* select.cc (peek_console): Add check for mouse events.
|
|
|
|
|
|
| |
dynamically.
(normalize_win32_path): Ditto.
* Makefile.in: Avoid scanning the directory twice for *.d files.
|
|
|
|
|
|
|
|
| |
method.
* fhandler_console.cc (fhandler_console::read): Revert previously misapplied
patch.
(fhandler_console::char_command): Add a second argument.
(fhandler_console::write): Recognize when a '?' is found after a <esc>[.
|
|
|
|
|
| |
`set_socket_inheritance'.
* include/sys/socket.h: Add SUS defines for option values to `shutdown'.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* dcrt0.cc (dll_crt0_1): Translate command line to OEM if current codepage is
OEM.
* environ.cc: Add new option 'codepage' to CYGWIN environment variable.
* fhandler_clipboard.cc (fhandler_clipboard::read): Read clipboard in OEM mode
if current codepage is OEM.
* fhandler_console.cc (fhandler_console::read): Only translate console input if
current codepage is ANSI.
* fhandler_console.cc (fhandler_console::write_normal): Translate output data
if current codepage is ANSI.
* pinfo.cc (codepage_init): New function. Setup current codepage from CYGWIN
environment variable and set codepage for file APIs.
* security.cc (read_sd): Translate file name to it if current codepage is OEM.
* winsup.h: (sys_wcstombs,sys_mbstowcs): Use current codepage for translations
between multibyte and widechar string and vice versa.
|
|
|
|
|
|
| |
beginning of a path. These should be treated specially regardless of whether
they are UNC paths or old-style //a paths. Avoid adding cwd to a path if the
path already begins with '/'.
|
|
|
|
|
|
| |
Always check for MAX_PATH overrun. Avoid adding one too many backslashes when
src path begins with a slash. From Corinna Vinschen.
* winsup.h: Force demangling for dll_crt0 for newer compilers.
|
| |
|
|
|
|
| |
writev: ditto.
|
|
|
|
|
| |
__END_DECL.
Add declarations for `readv' and `writev'.
|
|
|
|
|
| |
automatic linking with default libraries when linking new-cygwin1.dll.
Link with libgcc.a and libstdc++.a explicitly.
|
|
|
|
| |
(slash_unc_prefix_p): Allow backslash UNC paths.
|
| |
|
|
|
|
|
|
|
|
| |
* configure.in: Find correct c++ compiler.
* configure: Regenerate.
* path.cc (normalize_posix_path): Put correct drive at beginning of \foo style
paths.
(chdir): Don't send non-posix path to cygcwd.set.
|
| |
|
| |
|
|
|
|
| |
is valid, zero if not according to Linux man page.
|
| |
|
|
|
|
|
|
|
|
|
| |
condition.
* path.cc (path_conv::check): Get file system type in call to
GetVolumeInformation to check for file systems with buggy CreateFile.
* path.h (enum path_types): Add PATH_HASBUGGYOPEN.
(class path_conv): Add methods `has_buggy_open' and
`set_has_buggy_open'.
|
|
|
|
|
|
| |
(fhandler_base::raw_read): Detect special case where last error ==
ERROR_NOACCESS but the file is at EOF. Most UNIXes do not consider this to be
an error.
|
| |
|
|
|
|
| |
inet_aton.
|
|
|
|
| |
* cygwin.din: Export cygwin_inet_aton as inet_aton.
|
|
|
|
|
| |
prefix with KEY_READ.
(mount_info::get_cygdrive_info): Ditto.
|
| |
|
| |
|
|
|
|
|
|
| |
"normal" Microsoft programs.
* child_info.h: Bump fork magic number.
* include/sys/mount.h: Add an entry for mixed mode.
|
| |
|
|
|
|
| |
in case of files beginning with a dot.
|
| |
|
| |
|
|
|
|
|
|
| |
(fillin_info): Set `dwBufferSize' to the size of the console buffer.
(clear_screen): Use width of console buffer to calculate how many spaces to
clear.
|
| |
|
|
|
|
| |
reset `cygheap->user.token' to INVALID_HANDLE_VALUE.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* exceptions.cc (interrupt_setup): Don't set signal mask here or races occur
with main thread. Set it in sigdelayed instead.
(sigreturn): Reflect change in stack order of ebp and flags.
(sigdelayed): Set stack frame correctly. Call set_process_mask here with flags
for last trapped signal.
(signal_dispatch): Add newmask.
* sigproc.cc (wait_sig): Eliminate ill-considered attempt to halt looping
signal processors.
|
|
|
|
|
|
| |
that `token' is member of cygheap_user now.
(uinfo_init): Use modified internal_getlogin.
* syscalls.cc (seteuid): Ditto.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
to class cygheap_user.
* pinfo.h: Ditto.
* fork.cc (fork_child): Change usage of `token' and `impersonated'
accordingly.
(fork_parent): Ditto.
* security.cc (cygwin_set_impersonation_token): Ditto.
* sigproc.cc (proc_subproc): Ditto.
* spawn.cc (spawn_guts): Ditto.
* syscalls.cc (seteuid): Ditto.
* uinfo.cc (uinfo_init): Ditto.
|
|
|
|
| |
on creating native Win32 environment.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* child_info.h (child_info): Eliminate parent_alive.
* dcrt0.cc (dll_crt0_1): Call fork_init for debugging pid creation.
* fork.cc (fork_child): Reflect change to fixup_mmaps_after_fork arguments.
(slow_pid_reuse): New function to grab last 'n' pids to prevent pid reuse.
(fork_parent): Move last_fork_proc into slow_pid_reuse. Handle fork_pids
debugging. Eliminate unnecessary call to set_child_mmap_ptr.
(fork_init): New debugging function.
* mmap.cc (fixup_mmaps_after_fork): Renamed from recreate_mmaps_after_fork.
Rely on copied data after a fork.
(set_child_mmap_ptr): Eliminate.
* pinfo.h (_pinfo): Eliminate parent_alive, mmap_ptr and reflect above changes.
* spawn.cc (spawn_guts): Eliminate vestiges of "old way" of sending new hProc
to parent process.
|
| |
|