From 276448cf67102d31ccd1c5b4186ac84aeeabf9d2 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Sat, 13 Sep 2003 17:14:15 +0000 Subject: * include/sys/cygwin.h: Rename PID_UNUSED to PID_MAP_RW. * pinfo.cc (pinfo_init): Initialize myself->gid. (pinfo::init): Create the "access" variable, set it appropriately and use it to specify the requested access. * exceptions.cc (sig_handle_tty_stop): Add PID_MAP_RW in pinfo parent. * signal.cc (kill_worker): Ditto for pinfo dest. * syscalls.cc (setpgid): Ditto for pinfo p. --- winsup/cygwin/exceptions.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'winsup/cygwin/exceptions.cc') diff --git a/winsup/cygwin/exceptions.cc b/winsup/cygwin/exceptions.cc index c1743d239..4206e38de 100644 --- a/winsup/cygwin/exceptions.cc +++ b/winsup/cygwin/exceptions.cc @@ -614,7 +614,7 @@ sig_handle_tty_stop (int sig) its list of subprocesses. */ if (my_parent_is_alive ()) { - pinfo parent (myself->ppid); + pinfo parent (myself->ppid, PID_MAP_RW); if (NOTSTATE (parent, PID_NOCLDSTOP)) sig_send (parent, SIGCHLD); } -- cgit v1.2.3