Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2003-09-17 05:15:56 +0400
committerChristopher Faylor <me@cgf.cx>2003-09-17 05:15:56 +0400
commitdeb648cc8b95ec4b7a5b604d958abd338347811f (patch)
treea0ca911611ebeb6b0b74ec3cbe09dfd230af5380 /winsup/cygwin/include
parent1498189ca897347251470f3dd35e97d2f20f0f4b (diff)
* pinfo.h (winpids::pid_access): New element.
(winpids::winpids): Rejigger to set pinfo_access. * pinfo.cc (winpids::add): Try to open shared memory region with supplied pinfo_access first, then default to readonly. * fhandler_termios.cc (tty_min::kill_pgrp): When getting list of pids to work with, suggest opening with PID_MAP_RW. * signal.cc (kill_pgrp): Ditto. * sigproc.cc (sig_send): Perform a write check on todo prior to attempting to increment it. Return EACCES if we can't write to it.
Diffstat (limited to 'winsup/cygwin/include')
-rw-r--r--winsup/cygwin/include/sys/cygwin.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/include/sys/cygwin.h b/winsup/cygwin/include/sys/cygwin.h
index 36c3f53b1..d1083264b 100644
--- a/winsup/cygwin/include/sys/cygwin.h
+++ b/winsup/cygwin/include/sys/cygwin.h
@@ -49,7 +49,7 @@ struct __cygwin_perfile
/* External interface stuff */
-typedef enum
+typedef
{
CW_LOCK_PINFO,
CW_UNLOCK_PINFO,