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/include/sys/cygwin.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'winsup/cygwin/include/sys/cygwin.h') diff --git a/winsup/cygwin/include/sys/cygwin.h b/winsup/cygwin/include/sys/cygwin.h index 9dd46db16..36c3f53b1 100644 --- a/winsup/cygwin/include/sys/cygwin.h +++ b/winsup/cygwin/include/sys/cygwin.h @@ -89,7 +89,7 @@ enum PID_ORPHANED = 0x0020, /* Member of an orphaned process group. */ PID_ACTIVE = 0x0040, /* Pid accepts signals. */ PID_CYGPARENT = 0x0080, /* Set if parent was a cygwin app. */ - PID_UNUSED = 0x0100, /* ... */ + PID_MAP_RW = 0x0100, /* Flag to open map rw. */ PID_MYSELF = 0x0200, /* Flag that pid is me. */ PID_NOCLDSTOP = 0x0400, /* Set if no SIGCHLD signal on stop. */ PID_INITIALIZING = 0x0800, /* Set until ready to receive signals. */ -- cgit v1.2.3