OSDN Git Service

* pinfo.h (winpids::pid_access): New element.
authorcgf <cgf>
Wed, 17 Sep 2003 01:15:55 +0000 (01:15 +0000)
committercgf <cgf>
Wed, 17 Sep 2003 01:15:55 +0000 (01:15 +0000)
commitd6df39189c51174b23a899db156d0d33bd41b1c1
treee099d1d309e45be2a8831af539fbbd723afbe9a0
parentab4da190e1a1081d56ef59b0d54844809fe2ee07
* 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.
winsup/cygwin/ChangeLog
winsup/cygwin/fhandler_termios.cc
winsup/cygwin/include/sys/cygwin.h
winsup/cygwin/pinfo.cc
winsup/cygwin/pinfo.h
winsup/cygwin/signal.cc
winsup/cygwin/sigproc.cc