diff options
author | Christopher Faylor <me@cgf.cx> | 2003-09-13 21:14:15 +0400 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2003-09-13 21:14:15 +0400 |
commit | 276448cf67102d31ccd1c5b4186ac84aeeabf9d2 (patch) | |
tree | 73b24056d7a9df2a389957df9565e85b8338fc54 /winsup/cygwin/syscalls.cc | |
parent | 4442ed917116bd362a591a418430b3a173ca6b26 (diff) |
* 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.
Diffstat (limited to 'winsup/cygwin/syscalls.cc')
-rw-r--r-- | winsup/cygwin/syscalls.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/syscalls.cc b/winsup/cygwin/syscalls.cc index a6a2b1bc7..041482346 100644 --- a/winsup/cygwin/syscalls.cc +++ b/winsup/cygwin/syscalls.cc @@ -1961,7 +1961,7 @@ setpgid (pid_t pid, pid_t pgid) } else { - pinfo p (pid); + pinfo p (pid, PID_MAP_RW); if (!p) { set_errno (ESRCH); |