* 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.
This commit is contained in:
Christopher Faylor
2003-09-13 17:14:15 +00:00
parent 4442ed9171
commit 276448cf67
6 changed files with 19 additions and 8 deletions

View File

@@ -173,7 +173,7 @@ kill_worker (pid_t pid, int sig)
sig_dispatch_pending ();
int res = 0;
pinfo dest (pid);
pinfo dest (pid, PID_MAP_RW);
BOOL sendSIGCONT;
if (!dest)