acadia-newlib/winsup/cygwin
Corinna Vinschen 57640bee75 Cygwin: fix process parent/child relationship after execve
Commit 5a0f2c00aa "Cygwin: fork/exec: fix child process permissions"
removed the PROCESS_DUP_HANDLE handle permission of the parent process
handle in the child to avoid a security problem.

It turned out that this broke the following scenario: If a process forks
and then the parent execs, the child loses the ability to register the
parent's death.  To wit, after the parent died the child process does
not set its own PPID to 1 anymore.

The current exec mechanism copies required handle values (handles to
keep contact to the child processes) into the child_info for the
about-to-be-exec'ed process.  The exec'ed process is supposed to
duplicate these handles.  This fails, given that we don't allow the
exec'ed process PROCESS_DUP_HANDLE access to the exec'ing process since
commit 5a0f2c00aa.

The fix is to avoid the DuplicateHandle calls in the exec'ed process.

This patch sets the affected handles to "inheritable" in the exec'ing
process at exec time.  The exec'ed process just copies the handle values
and resets handle inheritance to "non-inheritable".  The exec'ing
process doesn't have to reset handle inheritance, it exits after setting
up the exec'ed process anyway.

Testcase: $ ssh-agent /bin/sleep 3

ssh-agent forks and the parent exec's sleep.  After sleep exits, `ps'
should show ssh-agent to have PPID 1, and eventually ssh-agent exits.

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2019-11-02 19:55:24 +01:00
..
include Cygwin: fix CPU_SET macro visibility 2019-09-14 11:31:17 -04:00
lib cygwin: convert most #ifndef __x86_64__ to #ifdef __i386__ 2017-11-27 14:36:06 +01:00
libc cygwin: add catopen, catgets, catclose 2018-01-19 13:19:21 -06:00
math Cygwin: math: Properly propagate input NANs in a few functions 2019-08-20 18:15:16 +02:00
regex regex: Fix typo in CHaddrange 2016-11-24 16:09:31 +01:00
release Cygwin: fix process parent/child relationship after execve 2019-11-02 19:55:24 +01:00
DevNotes
Makefile.in Cygwin: shmat: use mmap allocator strategy on 64 bit 2019-08-08 11:27:52 +02:00
ROADMAP
aclocal.m4
advapi32.cc Switching the Cygwin DLL to LGPLv3+, dropping commercial buyout option 2016-06-23 10:09:17 +02:00
aio.cc Cygwin: clock.h: add valid_timespec() to check timespec for validity 2019-01-18 14:31:01 +01:00
analyze_sigfe Switching the Cygwin DLL to LGPLv3+, dropping commercial buyout option 2016-06-23 10:09:17 +02:00
assert.cc Switching the Cygwin DLL to LGPLv3+, dropping commercial buyout option 2016-06-23 10:09:17 +02:00
autogen.sh
autoload.cc Cygwin: pty: Use autoload feature for pseudo console system calls. 2019-09-15 11:12:45 -04:00
automode.c Switching the Cygwin DLL to LGPLv3+, dropping commercial buyout option 2016-06-23 10:09:17 +02:00
binmode.c Switching the Cygwin DLL to LGPLv3+, dropping commercial buyout option 2016-06-23 10:09:17 +02:00
child_info.h Cygwin: change CURR_CHILD_INFO_MAGIC according to previous patch 2019-02-08 17:48:34 +01:00
clock.cc Cygwin: clocks: Add CLOCK_REALTIME_ALARM/CLOCK_BOOTTIME_ALARM clocks 2019-01-22 15:42:07 +01:00
clock.h Cygwin: clocks: Add CLOCK_REALTIME_ALARM/CLOCK_BOOTTIME_ALARM clocks 2019-01-22 15:42:07 +01:00
collate.h Switching the Cygwin DLL to LGPLv3+, dropping commercial buyout option 2016-06-23 10:09:17 +02:00
common.din Cygwin: Export newlib ndbm functions 2019-07-24 22:32:48 +02:00
config.h.in Remove remnants of never-defined MALLOC_DEBUG and NEWVFORK 2016-04-01 13:53:25 +02:00
configure Rename without-mingw-progs to with-cross-bootstrap 2016-04-04 16:39:41 +02:00
configure.ac Switching the Cygwin DLL to LGPLv3+, dropping commercial buyout option 2016-06-23 10:09:17 +02:00
cpuid.h Switching the Cygwin DLL to LGPLv3+, dropping commercial buyout option 2016-06-23 10:09:17 +02:00
crt0.c cygwin: disable -Wframe-address warning only on GCC 6 or later 2017-10-09 18:08:10 +02:00
ctype.cc Drop global __ctype_ptr__ entirely in favor of using locale_t::ctype_ptr 2016-08-25 14:18:31 +02:00
cxx.cc Switching the Cygwin DLL to LGPLv3+, dropping commercial buyout option 2016-06-23 10:09:17 +02:00
cygerrno.h Cygwin: set/getsockopt: Move implementation into fhandler_socket class 2018-02-20 18:01:40 +01:00
cygheap.cc forkables: On fork failure, retry with hardlinks. 2019-02-07 15:58:02 +01:00
cygheap.h Cygwin: Revert attempting to unload user profile after use 2019-03-04 17:31:27 +01:00
cygheap_malloc.h Cygwin: posix timers: allocate timer_tracker on system heap. 2019-01-22 16:38:14 +01:00
cyglsa.h Switching the Cygwin DLL to LGPLv3+, dropping commercial buyout option 2016-06-23 10:09:17 +02:00
cygmagic Switching the Cygwin DLL to LGPLv3+, dropping commercial buyout option 2016-06-23 10:09:17 +02:00
cygmalloc.h Only define __getreent inline function when building newlib or Cygwin 2016-08-20 17:14:55 +02:00
cygserver.h Switching the Cygwin DLL to LGPLv3+, dropping commercial buyout option 2016-06-23 10:09:17 +02:00
cygserver_ipc.h Switching the Cygwin DLL to LGPLv3+, dropping commercial buyout option 2016-06-23 10:09:17 +02:00
cygserver_msg.h Switching the Cygwin DLL to LGPLv3+, dropping commercial buyout option 2016-06-23 10:09:17 +02:00
cygserver_pwdgrp.h Switching the Cygwin DLL to LGPLv3+, dropping commercial buyout option 2016-06-23 10:09:17 +02:00
cygserver_sem.h Switching the Cygwin DLL to LGPLv3+, dropping commercial buyout option 2016-06-23 10:09:17 +02:00
cygserver_setpwd.h Switching the Cygwin DLL to LGPLv3+, dropping commercial buyout option 2016-06-23 10:09:17 +02:00
cygserver_shm.h Switching the Cygwin DLL to LGPLv3+, dropping commercial buyout option 2016-06-23 10:09:17 +02:00
cygthread.cc Cygwin: cygthread: set thread name before calling thread func 2019-01-23 21:45:59 +01:00
cygthread.h Remove leftover useless copyright hints 2016-06-25 13:36:52 +02:00
cygtls.cc Remove CYGWIN=detect_bloda option 2016-06-25 00:43:01 +02:00
cygtls.h Cygwin: select: revamp non-polling code for signalfd 2019-08-18 14:02:01 +02:00
cygtls_padsize.h Switching the Cygwin DLL to LGPLv3+, dropping commercial buyout option 2016-06-23 10:09:17 +02:00
cygwait.cc Cygwin: cygwait.cc: fix formatting of debug statement 2018-03-05 17:49:50 +01:00
cygwait.h Switching the Cygwin DLL to LGPLv3+, dropping commercial buyout option 2016-06-23 10:09:17 +02:00
cygwin-cxx.h Switching the Cygwin DLL to LGPLv3+, dropping commercial buyout option 2016-06-23 10:09:17 +02:00
cygwin-shilka
cygwin.ldif
cygwin.sc.in
cygwin_version.h Switching the Cygwin DLL to LGPLv3+, dropping commercial buyout option 2016-06-23 10:09:17 +02:00
cygxdr.cc Switching the Cygwin DLL to LGPLv3+, dropping commercial buyout option 2016-06-23 10:09:17 +02:00
cygxdr.h Switching the Cygwin DLL to LGPLv3+, dropping commercial buyout option 2016-06-23 10:09:17 +02:00
dcrt0.cc Cygwin: Fix the address of myself 2019-07-25 10:45:52 +02:00
debug.cc Switching the Cygwin DLL to LGPLv3+, dropping commercial buyout option 2016-06-23 10:09:17 +02:00
debug.h Switching the Cygwin DLL to LGPLv3+, dropping commercial buyout option 2016-06-23 10:09:17 +02:00
devices.cc Cygwin: Provide more COM devices 2019-10-23 10:05:42 +02:00
devices.h Cygwin: timers: implement timerfd 2019-01-15 22:02:33 +01:00
devices.in Cygwin: Provide more COM devices 2019-10-23 10:05:42 +02:00
dir.cc Cygwin: mkdir and rmdir: treat drive names specially 2019-10-07 16:09:41 -04:00
dlfcn.cc forkables: inline dll_list::forkables_supported 2019-02-07 15:58:02 +01:00
dll_init.cc Cygwin: dll_list: stat_real_file_once with ntname 2019-06-03 18:37:52 +02:00
dll_init.h Cygwin: dll_list: drop unused read_fbi method 2019-05-05 10:04:43 -04:00
dllfixdbg Switching the Cygwin DLL to LGPLv3+, dropping commercial buyout option 2016-06-23 10:09:17 +02:00
dtable.cc Cygwin: pty: Switch input and output pipes individually. 2019-09-14 09:19:04 -04:00
dtable.h Switching the Cygwin DLL to LGPLv3+, dropping commercial buyout option 2016-06-23 10:09:17 +02:00
environ.cc Cygwin: build_env: fix off-by-one bug when re-adding PATH 2019-08-07 11:08:01 +02:00
environ.h Move the core environment parsing of environ_init into a new win32env_to_cygenv function. 2017-01-10 16:24:50 +01:00
errno.cc Cygwin: clean error mapping 2018-02-20 17:59:53 +01:00
exception.h cygwin: convert most #ifndef __x86_64__ to #ifdef __i386__ 2017-11-27 14:36:06 +01:00
exceptions.cc Cygwin: Fix signal handling issue introduced by PTY related change. 2019-10-03 09:28:10 -04:00
exec.cc Switching the Cygwin DLL to LGPLv3+, dropping commercial buyout option 2016-06-23 10:09:17 +02:00
external.cc Cygwin: strace: print windows and cygwin pid in event output 2019-03-23 17:50:00 +01:00
fcntl.cc cygwin: convert most #ifndef __x86_64__ to #ifdef __i386__ 2017-11-27 14:36:06 +01:00
fenv.cc Add default implementation of fenv.h and all methods 2019-08-09 17:49:16 +02:00
fhandler.cc Revert "Cygwin: check for STATUS_PENDING in fhandler_base::raw_read" 2019-05-09 14:41:28 -04:00
fhandler.h Cygwin: console: Revive Win7 compatibility. 2019-09-19 22:17:54 -04:00
fhandler_clipboard.cc Switching the Cygwin DLL to LGPLv3+, dropping commercial buyout option 2016-06-23 10:09:17 +02:00
fhandler_console.cc Cygwin: console: Revive Win7 compatibility. 2019-09-19 22:17:54 -04:00
fhandler_cygdrive.cc Cygwin: move fhandler_cygdrive methods into own source file 2019-01-07 12:29:07 +01:00
fhandler_dev.cc Handle up to 63 partitions per drive 2016-06-23 16:56:41 +02:00
fhandler_disk_file.cc Cygwin: socket files are not lnk special files 2019-07-22 08:15:16 -04:00
fhandler_dsp.cc cygwin: Remove comparisons of 'this' to 'NULL' in fhandler_dsp.cc 2017-10-09 11:44:10 +02:00
fhandler_fifo.cc Cygwin: honor the O_PATH flag when opening a FIFO 2019-06-27 07:46:14 -04:00
fhandler_floppy.cc Cygwin: disk device: stop using SetFilePointer 2019-02-09 18:41:47 +01:00
fhandler_netdrive.cc Cygwin: change virtual_ftype_t to not rely on negative values 2019-07-22 18:42:39 +02:00
fhandler_nodevice.cc Switching the Cygwin DLL to LGPLv3+, dropping commercial buyout option 2016-06-23 10:09:17 +02:00
fhandler_pipe.cc Cygwin: [gs]et_io_handle(): renamed to [gs]et_handle(). 2019-03-30 20:08:36 +01:00
fhandler_proc.cc fhandler_proc.cc(format_proc_cpuinfo): or model extension bits 2019-10-07 15:50:33 -04:00
fhandler_process.cc Cygwin: getpriority() and top display for priority is inconsistent 2019-08-08 09:56:49 +02:00
fhandler_process_fd.cc Cygwin: [gs]et_io_handle(): renamed to [gs]et_handle(). 2019-03-30 20:08:36 +01:00
fhandler_procnet.cc Cygwin: change virtual_ftype_t to not rely on negative values 2019-07-22 18:42:39 +02:00
fhandler_procsys.cc Cygwin: change virtual_ftype_t to not rely on negative values 2019-07-22 18:42:39 +02:00
fhandler_procsysvipc.cc Cygwin: change virtual_ftype_t to not rely on negative values 2019-07-22 18:42:39 +02:00
fhandler_random.cc Define RtlGenRandom correctly in ntsecapi.h wrapper 2016-12-14 14:14:28 +01:00
fhandler_raw.cc Cygwin: fhandler_*: remove isdevice() and is_auto_device() 2019-07-22 08:15:16 -04:00
fhandler_registry.cc Cygwin: fix one more check for positive virtual_ftype_t values 2019-07-22 14:06:35 -04:00
fhandler_serial.cc Switching the Cygwin DLL to LGPLv3+, dropping commercial buyout option 2016-06-23 10:09:17 +02:00
fhandler_signalfd.cc Cygwin: return full sigset_t from sig_send 2019-07-12 17:27:26 +02:00
fhandler_socket.cc Cygwin: AF_UNIX: store per-socket info in shared memory 2018-03-12 15:26:12 +01:00
fhandler_socket_inet.cc Cygwin: define MSG_EOR and refuse in send(2) 2019-04-25 19:00:08 +02:00
fhandler_socket_local.cc Cygwin: fix memory corruption/SEGV if certain socket functions fail 2018-10-29 16:32:48 +01:00
fhandler_socket_unix.cc Cygwin: [gs]et_io_handle(): renamed to [gs]et_handle(). 2019-03-30 20:08:36 +01:00
fhandler_tape.cc Cygwin: tape: Handle non-standard "no medium" error code 2018-06-29 15:31:15 +02:00
fhandler_termios.cc Cygwin: fhandler_termios::tcsetpgrp: check that argument is non-negative 2019-07-24 13:26:08 -04:00
fhandler_timerfd.cc Cygwin: timerfd: rework implementation 2019-02-25 21:01:32 +01:00
fhandler_tty.cc Cygwin: pty: Change the timing of clear screen. 2019-10-16 15:15:47 -04:00
fhandler_virtual.cc Cygwin: change virtual_ftype_t to not rely on negative values 2019-07-22 18:42:39 +02:00
fhandler_virtual.h Switching the Cygwin DLL to LGPLv3+, dropping commercial buyout option 2016-06-23 10:09:17 +02:00
fhandler_windows.cc Switching the Cygwin DLL to LGPLv3+, dropping commercial buyout option 2016-06-23 10:09:17 +02:00
fhandler_zero.cc Switching the Cygwin DLL to LGPLv3+, dropping commercial buyout option 2016-06-23 10:09:17 +02:00
flock.cc Cygwin: avoid GCC 8.3 errors with -Werror=class-memaccess 2019-07-16 13:17:43 -04:00
fork.cc Cygwin: pty: Add a workaround for ^C handling. 2019-09-04 16:01:07 +02:00
forkable.cc Cygwin: dll_list: no recursive use of nt_max_path_buf 2019-06-03 18:38:16 +02:00
gcrt0.c Switching the Cygwin DLL to LGPLv3+, dropping commercial buyout option 2016-06-23 10:09:17 +02:00
gendef Switching the Cygwin DLL to LGPLv3+, dropping commercial buyout option 2016-06-23 10:09:17 +02:00
gendevices Handle up to 63 partitions per drive 2016-06-23 16:56:41 +02:00
gentls_offsets Cygwin: gentls_offsets: Remove obsolte 'o' regex option 2019-01-15 13:19:41 +01:00
glob.cc
glob_pattern_p.cc
globals.cc Cygwin: support exFAT and fix remote FAT/FAT32 recognition 2018-12-23 17:53:55 +01:00
gmon.c Throughout Cygwin, use u_intN_t or uintN_t 2016-03-24 16:39:15 +01:00
gmon.h Throughout Cygwin, use u_intN_t or uintN_t 2016-03-24 16:39:15 +01:00
grp.cc Cygwin: seteuid: work with password-less user switch as well 2019-01-24 21:20:09 +01:00
heap.cc Cygwin: Allow accessing 48 bit address space in Windows 8.1 or later 2019-06-04 16:58:53 +02:00
heap.h Switching the Cygwin DLL to LGPLv3+, dropping commercial buyout option 2016-06-23 10:09:17 +02:00
hookapi.cc Cygwin: pty: Move function hook_api() into hookapi.cc. 2019-09-04 11:59:46 +02:00
how-autoload-works.txt Switching the Cygwin DLL to LGPLv3+, dropping commercial buyout option 2016-06-23 10:09:17 +02:00
how-cygheap-works.txt Switching the Cygwin DLL to LGPLv3+, dropping commercial buyout option 2016-06-23 10:09:17 +02:00
how-cygtls-works.txt Switching the Cygwin DLL to LGPLv3+, dropping commercial buyout option 2016-06-23 10:09:17 +02:00
how-fhandlers-work.txt Switching the Cygwin DLL to LGPLv3+, dropping commercial buyout option 2016-06-23 10:09:17 +02:00
how-signals-work.txt Switching the Cygwin DLL to LGPLv3+, dropping commercial buyout option 2016-06-23 10:09:17 +02:00
how-spawn-works.txt
how-startup-shutdown-works.txt Switching the Cygwin DLL to LGPLv3+, dropping commercial buyout option 2016-06-23 10:09:17 +02:00
how-to-debug-cygwin.txt Switching the Cygwin DLL to LGPLv3+, dropping commercial buyout option 2016-06-23 10:09:17 +02:00
i686.din Remove matherr, and SVID and X/Open math library configurations 2019-01-23 10:46:24 +01:00
init.cc Cygwin: pty: add pseudo console support. 2019-08-29 13:47:40 +02:00
ioctl.cc Cygwin: open: support Linux-specific O_PATH flag 2019-01-07 19:35:00 +01:00
ipc.cc Switching the Cygwin DLL to LGPLv3+, dropping commercial buyout option 2016-06-23 10:09:17 +02:00
kernel32.cc Switching the Cygwin DLL to LGPLv3+, dropping commercial buyout option 2016-06-23 10:09:17 +02:00
lc_era.h Cygwin: update era and message locale data 2019-04-30 11:55:04 +02:00
lc_msg.h Cygwin: update era and message locale data 2019-04-30 11:55:04 +02:00
ldap.cc Cygwin: ldap: Fix overwriting domain when creating naming context 2019-03-02 12:43:34 +01:00
ldap.h Cygwin: user profile: fetch roaming profile path via LDAP 2019-02-23 17:22:44 +01:00
libstdcxx_wrapper.cc Switching the Cygwin DLL to LGPLv3+, dropping commercial buyout option 2016-06-23 10:09:17 +02:00
loadavg.cc Cygwin: loadavg: improve debugging of load_init 2019-03-12 17:09:42 +01:00
loadavg.h Implement getloadavg() 2017-03-27 22:03:58 +01:00
localtime.cc TZ: Replace unreliable isupper calls on wchars 2016-05-25 12:13:03 +02:00
lsearch.cc
malloc.cc Only define __getreent inline function when building newlib or Cygwin 2016-08-20 17:14:55 +02:00
malloc_wrapper.cc Switching the Cygwin DLL to LGPLv3+, dropping commercial buyout option 2016-06-23 10:09:17 +02:00
math.h Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
mcount.c Throughout Cygwin, use u_intN_t or uintN_t 2016-03-24 16:39:15 +01:00
mcountFunc.S
miscfuncs.cc Cygwin: fix GCC 8.3 'asm volatile' errors 2019-07-17 10:39:27 -04:00
miscfuncs.h Cygwin: Implement sched_[gs]etaffinity() 2019-06-24 09:18:14 +02:00
mkglobals_h
mkimport
mkstatic
mktemp.cc
mkvers.sh Cygwin: version: Use UTC timestamp as build time 2019-01-24 11:39:43 +01:00
mmap.cc Cygwin: shmat: use mmap allocator strategy on 64 bit 2019-08-08 11:27:52 +02:00
mmap_alloc.cc Cygwin: shmat: use mmap allocator strategy on 64 bit 2019-08-08 11:27:52 +02:00
mmap_alloc.h Cygwin: shmat: use mmap allocator strategy on 64 bit 2019-08-08 11:27:52 +02:00
mmap_helper.h Switching the Cygwin DLL to LGPLv3+, dropping commercial buyout option 2016-06-23 10:09:17 +02:00
mount.cc Cygwin: mount: define binary mount as default 2019-02-18 10:26:53 +01:00
mount.h Cygwin: mount: remove unused method mount_info::set_flags_from_win32_path 2019-02-18 10:23:15 +01:00
msg.cc Switching the Cygwin DLL to LGPLv3+, dropping commercial buyout option 2016-06-23 10:09:17 +02:00
mtinfo.h Switching the Cygwin DLL to LGPLv3+, dropping commercial buyout option 2016-06-23 10:09:17 +02:00
net.cc Minor improvements to socket error handling: 2019-04-23 17:20:57 +02:00
netdb.cc Switching the Cygwin DLL to LGPLv3+, dropping commercial buyout option 2016-06-23 10:09:17 +02:00
nfs.cc Switching the Cygwin DLL to LGPLv3+, dropping commercial buyout option 2016-06-23 10:09:17 +02:00
nfs.h Switching the Cygwin DLL to LGPLv3+, dropping commercial buyout option 2016-06-23 10:09:17 +02:00
nlsfuncs.cc Cygwin: wcsxfrm_l: Only byte swap if dest size is > 0 2019-03-19 21:03:06 +01:00
ntdll.h Cygwin: FIFO: improve raw_write 2019-04-16 12:54:43 +02:00
ntea.cc Cygwin: open: support Linux-specific O_PATH flag 2019-01-07 19:35:00 +01:00
ntsecapi.h Define RtlGenRandom correctly in ntsecapi.h wrapper 2016-12-14 14:14:28 +01:00
passwd.cc cygwin: convert most #ifndef __x86_64__ to #ifdef __i386__ 2017-11-27 14:36:06 +01:00
path.cc Cygwin: normalize_win32_path: improve error checking 2019-09-26 08:52:13 -04:00
path.h Cygwin: socket files are not lnk special files 2019-07-22 08:15:16 -04:00
pathfinder.h dlopen (pathfinder): try each basename per dir 2016-09-08 13:36:31 +02:00
perprocess.h Switching the Cygwin DLL to LGPLv3+, dropping commercial buyout option 2016-06-23 10:09:17 +02:00
pinfo.cc Cygwin: fix process parent/child relationship after execve 2019-11-02 19:55:24 +01:00
pinfo.h Cygwin: fix process parent/child relationship after execve 2019-11-02 19:55:24 +01:00
poll.cc Cygwin: encapsulate Winsock based fhandler_socket classes 2018-02-23 15:24:18 +01:00
posix_ipc.cc Cygwin: clock.h: add valid_timespec() to check timespec for validity 2019-01-18 14:31:01 +01:00
posix_timer.cc Cygwin: posix timers: fix a deadlock 2019-03-08 12:57:42 +01:00
posix_timer.h Cygwin: posix timers: fix overrun count always being 1 too big 2019-01-22 18:20:18 +01:00
profil.c Switching the Cygwin DLL to LGPLv3+, dropping commercial buyout option 2016-06-23 10:09:17 +02:00
profil.h Switching the Cygwin DLL to LGPLv3+, dropping commercial buyout option 2016-06-23 10:09:17 +02:00
pseudo-reloc.cc Silent relocation truncations considered harmful 2016-02-17 10:55:28 +01:00
pthread.cc Cygwin: Implement pthread_tryjoin_np and pthread_timedjoin_np 2018-06-27 17:56:59 +02:00
pwdgrp.h Cygwin: Add name->SID conversion for self-constructed names 2018-08-27 18:28:33 +02:00
quotactl.cc Handle up to 63 partitions per drive 2016-06-23 16:56:41 +02:00
random.cc Cygwin: fix build with GCC 7 2018-04-16 22:46:11 -05:00
registry.cc Switching the Cygwin DLL to LGPLv3+, dropping commercial buyout option 2016-06-23 10:09:17 +02:00
registry.h Switching the Cygwin DLL to LGPLv3+, dropping commercial buyout option 2016-06-23 10:09:17 +02:00
regparm.h Switching the Cygwin DLL to LGPLv3+, dropping commercial buyout option 2016-06-23 10:09:17 +02:00
resource.cc Cygwin: Cleanup time handling 2018-02-07 13:07:44 +01:00
scandir.cc cygwin: export strverscmp, add versionsort 2017-06-19 08:16:42 -05:00
sched.cc Cygwin: Fix return value of sched_getaffinity 2019-06-28 17:10:39 +02:00
sec_acl.cc Cygwin: get_posix_access: avoid negative subscript 2019-08-26 13:38:31 -04:00
sec_auth.cc Cygwin: fix: seteuid32() must return EPERM if privileges are not held. 2019-03-27 17:08:49 +01:00
sec_helper.cc Cygwin: don't return valid acl entry type for unknown SID 2018-08-27 13:48:07 +02:00
sec_posixacl.cc Revamp acl_extended_fd/acl_extended_file to avoid open(2) call 2016-03-10 10:36:00 +01:00
sec_posixacl.h Implement POSIX.1e ACL functions 2016-03-08 13:56:40 +01:00
security.cc Simplify "Windows-standard-like" permissions 2016-08-19 16:50:15 +02:00
security.h Cygwin: Revert attempting to unload user profile after use 2019-03-04 17:31:27 +01:00
select.cc Cygwin: console: Revive Win7 compatibility. 2019-09-19 22:17:54 -04:00
select.h Cygwin: pty: Fix select() with pseudo console support. 2019-09-05 13:59:37 +02:00
sem.cc Switching the Cygwin DLL to LGPLv3+, dropping commercial buyout option 2016-06-23 10:09:17 +02:00
setlsapwd.cc Switching the Cygwin DLL to LGPLv3+, dropping commercial buyout option 2016-06-23 10:09:17 +02:00
shared.cc forkables: simplify disabling via shm 2019-02-07 15:58:02 +01:00
shared_info.h forkables: inline dll_list::forkables_supported 2019-02-07 15:58:02 +01:00
shm.cc Cygwin: shmat: use mmap allocator strategy on 64 bit 2019-08-08 11:27:52 +02:00
signal.cc Cygwin: select: revamp non-polling code for signalfd 2019-08-18 14:02:01 +02:00
sigproc.cc Cygwin: fix process parent/child relationship after execve 2019-11-02 19:55:24 +01:00
sigproc.h Cygwin: return full sigset_t from sig_send 2019-07-12 17:27:26 +02:00
smallprint.cc Cygwin: pty: Limit API hook to the program linked with the APIs. 2019-09-04 15:59:38 +02:00
sortdin
spawn.cc Cygwin: spawnvp, spawnvpe: fail if executable is not in $PATH 2019-10-18 10:38:52 -04:00
speclib
spinlock.h Cygwin: spinlock: remove useless get_ll call 2018-11-26 17:59:10 +01:00
strace.cc Cygwin: pty: Limit API hook to the program linked with the APIs. 2019-09-04 15:59:38 +02:00
strfuncs.cc Cygwin: add transform_chars_af_unix helper 2018-03-02 18:17:17 +01:00
string.h Switching the Cygwin DLL to LGPLv3+, dropping commercial buyout option 2016-06-23 10:09:17 +02:00
strsep.cc
strsig.cc Fix a bug of psiginfo() that changes the orientation of stderr. 2018-07-03 15:38:47 +02:00
sync.cc Switching the Cygwin DLL to LGPLv3+, dropping commercial buyout option 2016-06-23 10:09:17 +02:00
sync.h Switching the Cygwin DLL to LGPLv3+, dropping commercial buyout option 2016-06-23 10:09:17 +02:00
syscalls.cc Cygwin: getpriority() consistent with process priority 2019-10-31 21:40:22 +01:00
sysconf.cc Add support for Hygon Dhyana processor 2019-06-03 10:32:58 +02:00
syslog.cc Fix a problem that connection to syslogd fails. 2018-07-06 10:41:21 +02:00
termios.cc Switching the Cygwin DLL to LGPLv3+, dropping commercial buyout option 2016-06-23 10:09:17 +02:00
textmode.c Switching the Cygwin DLL to LGPLv3+, dropping commercial buyout option 2016-06-23 10:09:17 +02:00
textreadmode.c Switching the Cygwin DLL to LGPLv3+, dropping commercial buyout option 2016-06-23 10:09:17 +02:00
thread.cc Cygwin: return full sigset_t from sig_send 2019-07-12 17:27:26 +02:00
thread.h Cygwin: Implement pthread_tryjoin_np and pthread_timedjoin_np 2018-06-27 17:56:59 +02:00
timerfd.cc Cygwin: timerfd: avoid a deadlock 2019-06-25 15:44:43 -04:00
timerfd.h Cygwin: timerfd: avoid a deadlock 2019-06-25 15:44:43 -04:00
times.cc winsup/cygwin/times.cc (times): follow Linux and allow for a NULL buf argument 2019-09-15 13:12:03 -04:00
tls_pbuf.cc Switching the Cygwin DLL to LGPLv3+, dropping commercial buyout option 2016-06-23 10:09:17 +02:00
tls_pbuf.h Switching the Cygwin DLL to LGPLv3+, dropping commercial buyout option 2016-06-23 10:09:17 +02:00
tlsoffsets.h Cygwin: select: revamp non-polling code for signalfd 2019-08-18 14:02:01 +02:00
tlsoffsets64.h Cygwin: select: revamp non-polling code for signalfd 2019-08-18 14:02:01 +02:00
tty.cc Cygwin: pty: Use system NLS function instead of PTY's own one. 2019-09-15 11:09:06 -04:00
tty.h Cygwin: pty: Use system NLS function instead of PTY's own one. 2019-09-15 11:09:06 -04:00
tz_posixrules.h
uinfo.cc Cygwin: Revert attempting to unload user profile after use 2019-03-04 17:31:27 +01:00
uname.cc Cygwin: unbreak the build with GCC 7 2019-07-19 14:14:33 -04:00
update-copyright
userinfo.h Switching the Cygwin DLL to LGPLv3+, dropping commercial buyout option 2016-06-23 10:09:17 +02:00
vstrlist.h dlopen: switch to new pathfinder class 2016-09-08 13:36:29 +02:00
wait.cc Switching the Cygwin DLL to LGPLv3+, dropping commercial buyout option 2016-06-23 10:09:17 +02:00
wchar.h Consolidate wctomb/mbtowc calls for POSIX-1.2008 2016-08-15 10:56:57 +02:00
wincap.cc Cygwin: Allow accessing 48 bit address space in Windows 8.1 or later 2019-06-04 16:58:53 +02:00
wincap.h Cygwin: Allow accessing 48 bit address space in Windows 8.1 or later 2019-06-04 16:58:53 +02:00
window.cc Switching the Cygwin DLL to LGPLv3+, dropping commercial buyout option 2016-06-23 10:09:17 +02:00
winf.cc Switching the Cygwin DLL to LGPLv3+, dropping commercial buyout option 2016-06-23 10:09:17 +02:00
winf.h Switching the Cygwin DLL to LGPLv3+, dropping commercial buyout option 2016-06-23 10:09:17 +02:00
wininfo.h Switching the Cygwin DLL to LGPLv3+, dropping commercial buyout option 2016-06-23 10:09:17 +02:00
winlean.h Switching the Cygwin DLL to LGPLv3+, dropping commercial buyout option 2016-06-23 10:09:17 +02:00
winsup.h Cygwin: pty: Limit API hook to the program linked with the APIs. 2019-09-04 15:59:38 +02:00
winver.rc Switching the Cygwin DLL to LGPLv3+, dropping commercial buyout option 2016-06-23 10:09:17 +02:00
x86_64.din Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00