]> sourceware.org Git - newlib-cygwin.git/commit
Cygwin: Correct /proc/*/stat for processes without ctty
authorAndy Koppe <andy.koppe@gmail.com>
Wed, 9 Nov 2022 20:34:30 +0000 (20:34 +0000)
committerCorinna Vinschen <corinna@vinschen.de>
Thu, 10 Nov 2022 09:07:05 +0000 (10:07 +0100)
commit59b8ee7d7066b9a3f39e1c765d0cecb5d9bc07fd
treeecc1ae797960ff6b3f0c4a5209e6b30ad9e5f516
parent67459ce679f42ef81faaeb2401593105d6fbbf5d
Cygwin: Correct /proc/*/stat for processes without ctty

Report 0 instead of 268435455 (i.e. 0xFFFFFFF) in the tty field of
/proc/*/stat for processes without a controlling terminal. This is what
the procps utility expects when selecting or excluding such processes.
winsup/cygwin/fhandler/process.cc
This page took 0.031225 seconds and 5 git commands to generate.