diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2019-02-02 12:23:39 +0100 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2019-02-02 12:23:39 +0100 |
commit | 448cf5aa4b429d5a9cebf92a0da4ab4b5b6d23fe (patch) | |
tree | c5ea92662a8dc652312ea2330f079e3b8b3af43c /winsup/utils | |
parent | 231ad6941f9ade7bde67d27929da5a776ebd9457 (diff) | |
download | cygnal-448cf5aa4b429d5a9cebf92a0da4ab4b5b6d23fe.tar.gz cygnal-448cf5aa4b429d5a9cebf92a0da4ab4b5b6d23fe.tar.bz2 cygnal-448cf5aa4b429d5a9cebf92a0da4ab4b5b6d23fe.zip |
Cygwin: processes: fix handling of native Windows processes
Since commit b5e1003722cb14235c4f166be72c09acdffc62ea, native
Windows processes not started by Cygwin processes don't have a
Cygwin PID anymore. This breaks ps -W and kill -f <WINPID>.
Introduce MAX_PID (65536 for now).
Cygwin processes as well as native Windows processes started
from a Cygwin process get a PID < MAX_PID. All other native
Windows processes get a faked Cygwin PID >= MAX_PID.
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'winsup/utils')
0 files changed, 0 insertions, 0 deletions