acadia-newlib/winsup/cygwin
Takashi Yano b58b5a9660 Cygwin: pty: Do not set internal handles in HPCON inheritable.
- The internal handles in HPCON should not be inheritable, however,
  the current code duplicates them as inheritable when handing over
  ownership of the pseudo console. This patch fixes the issue.

Addresses: https://cygwin.com/pipermail/cygwin/2022-April/251222.html
2022-04-12 01:27:13 +09:00
..
include Cygwin: termios: Ensure detection of GDB inferior in process_sigs(). 2022-02-28 08:00:16 +09:00
lib Cygwin: update C++ dialect to gnu++14 2020-05-30 19:41:18 +02:00
libc Cygwin: resolver: cygwin_query() skip response header on internal error 2022-01-19 15:26:14 +01:00
math change _COMPILING_NEWLIB to _LIBC 2021-11-15 19:32:23 -05:00
regex Cygwin: Add 'fallthrough' pseudo keyword for switch/case use 2020-08-05 21:58:22 +02:00
release Cygwin: pipe: Avoid deadlock for non-cygwin writer. 2022-04-02 01:03:15 +09:00
tzcode winsup: delete old _LIBC logic 2021-11-10 20:16:15 -05:00
DevNotes
Makefile.am newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
ROADMAP
advapi32.cc
aio.cc Cygwin: Add 'fallthrough' pseudo keyword for switch/case use 2020-08-05 21:58:22 +02:00
analyze_sigfe
assert.cc
autoload.cc Cygwin: drop autoloading kernel32 symbols available since Windows 7 2022-01-28 10:36:54 +01:00
automode.c
binmode.c
child_info.h Cygwin: drop Vista WOW64 specific child process handle bug 2021-10-29 14:52:58 +02:00
clock.cc Cygwin: drop support for systems not supporting QueryUnbiasedInterruptTime 2021-10-29 18:19:40 +02:00
clock.h Cygwin: clocks: Add CLOCK_REALTIME_ALARM/CLOCK_BOOTTIME_ALARM clocks 2019-01-22 15:42:07 +01:00
collate.h
common.din Cygwin: export new sig2str/str2sig 2021-08-02 13:57:03 +02:00
config.h.in Cygwin: Use automake (v5) 2021-04-27 16:49:56 +01:00
cpuid.h Cygwin: C++17: register keyword is deprecated 2021-08-26 22:14:11 +02:00
crt0.c Cygwin: 32 bit: remove old code to 16 bit align stack 2020-02-28 15:02:09 +01:00
ctype.cc
cxx.cc cxx.cc: Fix dynamic initialization for static local variables 2021-01-18 12:22:53 +01:00
cygerrno.h
cygheap.cc Cygwin: add init_cygheap::compute_sigblkmask method 2022-03-01 16:23:24 +01:00
cygheap.h Cygwin: add init_cygheap::compute_sigblkmask method 2022-03-01 16:23:24 +01:00
cygheap_malloc.h Cygwin: posix timers: allocate timer_tracker on system heap. 2019-01-22 16:38:14 +01:00
cyglsa.h
cygmagic Cygwin: Have cygmagic not create output if an error occurs 2020-11-25 13:34:18 +00:00
cygmalloc.h Cygwin: convert malloc lock to SRWLOCK 2021-10-26 18:47:22 +02:00
cygserver.h Cygwin: cygserver: drop useless packed attribute 2020-02-26 20:55:14 +01:00
cygserver_ipc.h
cygserver_msg.h
cygserver_pwdgrp.h Cygwin: fix formatting: drop spaces leading tabs 2020-03-11 13:45:58 +01:00
cygserver_sem.h
cygserver_setpwd.h
cygserver_shm.h
cygthread.cc Cygwin: cygthread: set thread name before calling thread func 2019-01-23 21:45:59 +01:00
cygthread.h
cygtls.cc Make __sdidinit unused 2022-02-22 12:38:46 +01:00
cygtls.h Make __sdidinit unused 2022-02-22 12:38:46 +01:00
cygtls_padsize.h
cygwait.cc Ensure nanosleep(2) never returns negative rem 2021-07-22 09:57:40 +02:00
cygwait.h
cygwin-cxx.h
cygwin-shilka
cygwin.ldif
cygwin.sc.in Cygwin: loader script: add DWARF 5 sections 2021-08-27 14:27:41 +02:00
cygwin_version.h
cygxdr.cc
cygxdr.h
dcrt0.cc Make __sdidinit unused 2022-02-22 12:38:46 +01:00
debug.cc
debug.h
devices.cc Cygwin: Implicitly support the /dev/fd symlink and friends 2022-02-22 13:33:00 +01:00
devices.h Cygwin: unlink: filter out virtual files and devices early on 2022-02-22 13:33:06 +01:00
devices.in Cygwin: Implicitly support the /dev/fd symlink and friends 2022-02-22 13:33:00 +01:00
dir.cc change _COMPILING_NEWLIB to _LIBC 2021-11-15 19:32:23 -05:00
dlfcn.cc Cygwin: Define PSAPI_VERSION as 1 before including psapi.h 2021-07-09 13:24:08 +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
dtable.cc Cygwin: Implicitly support the /dev/fd symlink and friends 2022-02-22 13:33:00 +01:00
dtable.h Cygwin: remove the OPEN_MAX_MAX macro 2021-02-01 09:55:08 -05:00
environ.cc Cygwin: C++17: register keyword is deprecated 2021-08-26 22:14:11 +02:00
environ.h
errno.cc Cygwin: errno: handle ERROR_CASE_DIFFERING_NAMES_IN_DIR 2021-12-02 14:16:05 +01:00
exception.h
exceptions.cc Cygwin: pty: Avoid cutting the branch the pty master is sitting on. 2022-03-01 19:40:46 +09:00
exec.cc
external.cc Cygwin: fix formatting: collapse whitespace-only lines 2020-03-11 13:45:58 +01:00
fcntl.cc Cygwin: remove the OPEN_MAX_MAX macro 2021-02-01 09:55:08 -05:00
fenv.c Cygwin: don't export _feinitialise from newlib 2021-04-13 12:55:34 +02:00
fhandler.cc Cygwin: fsync: Return EINVAL for special files. 2022-03-14 19:38:49 +09:00
fhandler.h Cygwin: pipe: Avoid deadlock for non-cygwin writer. 2022-04-02 01:03:15 +09:00
fhandler_clipboard.cc Cygwin: clipboard: Make intent of the code clearer. 2021-12-11 23:25:16 +09:00
fhandler_console.cc Cygwin: console: Do not use memcmp() to compare INPUT_RECORD. 2022-03-19 09:21:04 +09:00
fhandler_cygdrive.cc change _COMPILING_NEWLIB to _LIBC 2021-11-15 19:32:23 -05:00
fhandler_dev.cc change _COMPILING_NEWLIB to _LIBC 2021-11-15 19:32:23 -05:00
fhandler_dev_fd.cc Cygwin: Implicitly support the /dev/fd symlink and friends 2022-02-22 13:33:00 +01:00
fhandler_disk_file.cc Cygwin: errno: handle ERROR_CASE_DIFFERING_NAMES_IN_DIR 2021-12-02 14:16:05 +01:00
fhandler_dsp.cc Cygwin: Add 'fallthrough' pseudo keyword for switch/case use 2020-08-05 21:58:22 +02:00
fhandler_fifo.cc Cygwin: fhandler_fifo::raw_read: handle STATUS_PENDING 2021-11-23 15:50:01 -05:00
fhandler_floppy.cc Cygwin: raw disk I/O: lock floppys as well 2020-04-24 16:22:26 +02:00
fhandler_mqueue.cc Cygwin: fhandler_mqueue::mq_open: fix typo 2021-05-26 12:48:58 -04:00
fhandler_netdrive.cc Cygwin: fhandler_netdrive: improve debug output 2021-11-22 10:38:09 +01:00
fhandler_nodevice.cc
fhandler_pipe.cc Cygwin: pipe: Avoid deadlock for non-cygwin writer. 2022-04-02 01:03:15 +09:00
fhandler_proc.cc fhandler_proc.cc(format_proc_cpuinfo): add Linux Superb Owl cpuinfo flags 2022-04-01 14:53:43 +02:00
fhandler_process.cc Cygwin: /proc/<PID>/status: Fill SigPnd, SigBlk and SigIgn values with life 2022-03-01 16:23:24 +01: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: drop internal O_NOSYMLINK and O_DIROPEN flags 2020-09-07 22:45:56 +02:00
fhandler_procsys.cc Cygwin: fhandler_procsys::readdir: fix NtQueryDirectoryObject usage 2021-08-19 21:17:11 +02:00
fhandler_procsysvipc.cc change _COMPILING_NEWLIB to _LIBC 2021-11-15 19:32:23 -05:00
fhandler_random.cc
fhandler_raw.cc Cygwin: return better inode numbers for block device entries in /proc/sys 2021-08-19 16:08:34 +02:00
fhandler_registry.cc change _COMPILING_NEWLIB to _LIBC 2021-11-15 19:32:23 -05:00
fhandler_serial.cc fhandler_serial.cc: MARK and SPACE parity for serial port 2021-02-02 10:41:01 +01:00
fhandler_signalfd.cc Cygwin: return full sigset_t from sig_send 2019-07-12 17:27:26 +02:00
fhandler_socket.cc Cygwin: Add 'fallthrough' pseudo keyword for switch/case use 2020-08-05 21:58:22 +02:00
fhandler_socket_inet.cc Cygwin: remove support for Vista entirely 2021-10-29 18:19:45 +02:00
fhandler_socket_local.cc Cygwin: connect: implement resetting a connected DGRAM socket 2021-04-27 10:01:45 -04:00
fhandler_socket_unix.cc Cygwin: add fhandler_base::npfs_handle 2021-09-13 17:45:53 +02: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: pty: Stop to use PID_NEW_PG flag as a marker for GDB. 2022-03-04 03:18:30 +09:00
fhandler_timerfd.cc Cygwin: timerfd: rework implementation 2019-02-25 21:01:32 +01:00
fhandler_tty.cc Cygwin: pty: Do not set internal handles in HPCON inheritable. 2022-04-12 01:27:13 +09:00
fhandler_virtual.cc Cygwin: drop internal O_NOSYMLINK and O_DIROPEN flags 2020-09-07 22:45:56 +02:00
fhandler_virtual.h Cygwin: fix formatting: drop trailing whitespace 2020-03-11 13:45:58 +01:00
fhandler_windows.cc Cygwin: Add 'fallthrough' pseudo keyword for switch/case use 2020-08-05 21:58:22 +02:00
fhandler_zero.cc
flock.cc Cygwin: move get_obj_handle_count() to miscfuncs.cc 2021-09-13 17:45:54 +02:00
fork.cc Cygwin: convert malloc lock to SRWLOCK 2021-10-26 18:47:22 +02:00
forkable.cc Cygwin: dll_list: no recursive use of nt_max_path_buf 2019-06-03 18:38:16 +02:00
gcc_seh.h Cygwin: add header defining GCC exception codes 2020-08-20 10:46:23 -04:00
gcrt0.c
gendef
gendevices
gentls_offsets Cygwin: Remove ccwrap 2020-10-18 14:55:13 +01:00
glob.cc Cygwin: Add 'fallthrough' pseudo keyword for switch/case use 2020-08-05 21:58:22 +02:00
glob_pattern_p.cc
globals.cc Cygwin: pinfo: Fix exit code for non-cygwin apps which reads console. 2022-02-28 20:10:02 +09:00
gmon.c Cygwin: Zero out gmon header before use 2021-06-26 15:24:27 +01:00
gmon.h
grp.cc Cygwin: Add 'fallthrough' pseudo keyword for switch/case use 2020-08-05 21:58:22 +02:00
heap.cc Cygwin: convert malloc lock to SRWLOCK 2021-10-26 18:47:22 +02:00
heap.h Cygwin: convert malloc lock to SRWLOCK 2021-10-26 18:47:22 +02:00
hookapi.cc Cygwin: fix formatting: drop spaces leading tabs 2020-03-11 13:45:58 +01:00
how-autoload-works.txt
how-cygheap-works.txt
how-cygtls-works.txt
how-fhandlers-work.txt
how-signals-work.txt
how-spawn-works.txt
how-startup-shutdown-works.txt
how-to-debug-cygwin.txt
i686.din Remove matherr, and SVID and X/Open math library configurations 2019-01-23 10:46:24 +01:00
init.cc Cygwin: 32 bit: remove old code to 16 bit align stack 2020-02-28 15:02:09 +01:00
ioctl.cc Cygwin: open: support Linux-specific O_PATH flag 2019-01-07 19:35:00 +01:00
ipc.cc
kernel32.cc
lc_era.h Cygwin: drop support for systems not supporting RFC 4646 locales 2021-10-29 18:19:45 +02:00
lc_msg.h Cygwin: drop support for systems not supporting RFC 4646 locales 2021-10-29 18:19:45 +02:00
ldap.cc Cygwin: ldap: Fix overwriting domain when creating naming context 2019-03-02 12:43:34 +01:00
ldap.h Cygwin: fix formatting: drop trailing whitespace 2020-03-11 13:45:58 +01:00
libstdcxx_wrapper.cc Cygwin: update C++ dialect to gnu++14 2020-05-30 19:41:18 +02:00
loadavg.cc Cygwin: loadavg: improve debugging of load_init 2019-03-12 17:09:42 +01:00
loadavg.h
lsearch.cc
malloc.cc malloc/nano-malloc: correctly check for out-of-bounds allocation reqs 2020-11-17 10:52:34 +01:00
malloc_wrapper.cc Cygwin: convert malloc lock to SRWLOCK 2021-10-26 18:47:22 +02:00
math.h
mcount.c
mcountFunc.S
miscfuncs.cc Cygwin: drop support for systems not supporting processor groups 2021-10-29 18:19:45 +02:00
miscfuncs.h Cygwin: move get_obj_handle_count() to miscfuncs.cc 2021-09-13 17:45:54 +02:00
mkglobals_h
mkimport
mktemp.cc
mkvers.sh Cygwin: version: Use UTC timestamp as build time 2019-01-24 11:39:43 +01:00
mmap.cc Cygwin: fix initializing MEM_EXTENDED_PARAMETER, take 2 2021-09-08 10:07:46 +02:00
mmap_alloc.cc Cygwin: mmap_alloc: fix comment to document using the extended memory API 2020-04-07 18:23:11 +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
mount.cc Cygwin: C++17: register keyword is deprecated 2021-08-26 22:14:11 +02:00
mount.h Cygwin: mount: remove unused method mount_info::set_flags_from_win32_path 2019-02-18 10:23:15 +01:00
mqueue_types.h Cygwin: path_conv: fix mqueue path check 2021-05-25 22:03:36 +02:00
msg.cc
mtinfo.h
net.cc Cygwin: remove support for Vista entirely 2021-10-29 18:19:45 +02:00
netdb.cc
nfs.cc
nfs.h
nlsfuncs.cc Cygwin: drop support for systems not supporting RFC 4646 locales 2021-10-29 18:19:45 +02:00
ntdll.h Cygwin: errno: handle ERROR_CASE_DIFFERING_NAMES_IN_DIR 2021-12-02 14:16:05 +01:00
ntea.cc Cygwin: fix formatting: drop trailing whitespace 2020-03-11 13:45:58 +01:00
ntsecapi.h
passwd.cc Cygwin: Add 'fallthrough' pseudo keyword for switch/case use 2020-08-05 21:58:22 +02:00
path.cc Cygwin: path: Convert type of variable 'remlen' to DWORD. 2022-03-14 21:56:03 +09:00
path.h Cygwin: get_nt_native_path: allow to append suffix 2021-05-25 16:31:26 +02:00
pathfinder.h
perprocess.h
pinfo.cc Cygwin: _pinfo::siginfo: fix sig_send call 2022-03-02 09:48:01 +01:00
pinfo.h Cygwin: /proc/<PID>/status: Fill SigPnd, SigBlk and SigIgn values with life 2022-03-01 16:23:24 +01:00
poll.cc
posix_ipc.cc Cygwin: POSIX msg queues: move all mq_* functionality into fhandler_mqueue 2021-05-25 20:15:16 +02:00
posix_timer.cc Cygwin: posix timers: fix uninitialized variable 2020-02-26 16:59:56 +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
profil.h
pseudo-reloc.cc Cygwin: avoid GCC 10 error with -Werror=narrowing 2020-09-28 14:11:27 +01:00
pthread.cc Cygwin: implement sem_clockwait 2021-07-29 17:13:47 +02:00
pwdgrp.h Cygwin: fix formatting: drop spaces leading tabs 2020-03-11 13:45:58 +01:00
quotactl.cc Cygwin: Add 'fallthrough' pseudo keyword for switch/case use 2020-08-05 21:58:22 +02:00
random.cc
registry.cc
registry.h
regparm.h
resource.cc Cygwin: get/setrlimit: move RLIMIT_AS handling into static functions 2021-11-30 12:55:14 +01:00
scandir.cc
sched.cc Cygwin: drop support for systems not supporting processor groups 2021-10-29 18:19:45 +02:00
sec_acl.cc Cygwin: ACLs: don't set indicator for default ACEs prematurely 2022-01-25 19:53:40 +01:00
sec_auth.cc Cygwin: remove unused lsaauth authentication function 2021-10-29 21:03:07 +02:00
sec_helper.cc Cygwin: fix formatting: drop trailing whitespace 2020-03-11 13:45:58 +01:00
sec_posixacl.cc Cygwin: Add 'fallthrough' pseudo keyword for switch/case use 2020-08-05 21:58:22 +02:00
sec_posixacl.h Fix invalid acl_entry_t on 32-bit Cygwin 2020-07-10 10:29:47 +02:00
security.cc Cygwin: AF_UNIX: use FILE_OPEN_REPARSE_POINT when needed 2020-10-04 12:53:04 -04:00
security.h Cygwin: remove unused lsaauth authentication function 2021-10-29 21:03:07 +02:00
select.cc Cygwin: pty: Rearrange reset_switch_to_nat_pipe() calls. 2022-03-04 20:04:15 +09:00
select.h Cygwin: console: Fix "Bad file descriptor" error in script command. 2021-01-20 10:19:39 +01:00
sem.cc
setlsapwd.cc
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: handle_sigprocmask: If new signal set is NULL, ignore "how" 2022-03-01 16:23:24 +01:00
sigproc.cc Cygwin: pipe: Avoid deadlock for non-cygwin writer. 2022-04-02 01:03:15 +09:00
sigproc.h Cygwin: pipe: Avoid deadlock for non-cygwin writer. 2022-04-02 01:03:15 +09:00
smallprint.cc Cygwin: pty: Implement new pseudo console support. 2020-08-22 13:43:49 +02:00
sortdin
spawn.cc Cygwin: pipe: Avoid deadlock for non-cygwin writer. 2022-04-02 01:03:15 +09:00
speclib
spinlock.h Cygwin: spinlock: remove useless get_ll call 2018-11-26 17:59:10 +01:00
strace.cc Cygwin: pty: Implement new pseudo console support. 2020-08-22 13:43:49 +02:00
strfuncs.cc Cygwin: C++17: register keyword is deprecated 2021-08-26 22:14:11 +02:00
string.h Cygwin: C++17: register keyword is deprecated 2021-08-26 22:14:11 +02:00
strsep.cc Cygwin: C++17: register keyword is deprecated 2021-08-26 22:14:11 +02:00
strsig.cc Cygwin: rename NSIG to _NSIG, change visibility of NSIG to MISC 2020-02-18 11:25:12 +01:00
sync.cc
sync.h
syscalls.cc Replace _fwalk() calls with _fwalk_reent() 2022-03-31 07:54:04 +02:00
sysconf.cc Cygwin: sysconf: don't set errno for unsupported options 2022-03-02 22:02:59 +01:00
syslog.cc Fix a problem that connection to syslogd fails. 2018-07-06 10:41:21 +02:00
termios.cc Cygwin: cfsetspeed: allow speed to be a numerical baud rate 2021-07-12 16:26:13 -04:00
textmode.c
textreadmode.c
thread.cc Make __sdidinit unused 2022-02-22 12:38:46 +01:00
thread.h fix race condition in List_insert 2021-08-23 19:36:10 +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 Cygwin: Align *utime*() with POSIX/glibc 2021-01-26 17:27:35 +01:00
tls_pbuf.cc
tls_pbuf.h Cygwin: fix formatting: drop trailing whitespace 2020-03-11 13:45:58 +01: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: Stop to use PID_NEW_PG flag as a marker for GDB. 2022-03-04 03:18:30 +09:00
tty.h Cygwin: pty: Rename some functions/variables with the name *pcon*. 2022-03-01 22:09:01 +09:00
uinfo.cc Cygwin: fetch Windows directory on all platforms and use throughout 2021-05-07 23:05:24 +02:00
uname.cc Revert "Cygwin: Make sure newer apps get uname_x even when loading uname dynamically" 2021-03-08 10:33:30 +01:00
update-copyright
userinfo.h
vstrlist.h
wait.cc
wchar.h Cygwin: convert sys_wcstombs/sys_mbstowcs wrapper to inline functions 2020-07-10 10:29:33 +02:00
wincap.cc Cygwin: wincap: Add capabilities for Windows 11. 2022-02-16 19:59:14 +09:00
wincap.h Cygwin: wincap: Add capabilities for Windows 11. 2022-02-16 19:59:14 +09:00
window.cc
winf.cc
winf.h
wininfo.h
winlean.h Cygwin: set NTDDI_VERSION to enable more recent windows definitions 2021-05-26 11:01:32 +02:00
winsup.h Cygwin: introduce isabspath_strict macro 2021-11-11 10:48:22 +01:00
winver.rc
x86_64.din