aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/pinfo.h
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2003-09-20 00:31:13 +0000
committerChristopher Faylor <me@cgf.cx>2003-09-20 00:31:13 +0000
commitd1fb625d2bbe16aeb77d403d62742b0240ca7024 (patch)
tree282edbea12074ba940905d8930168a69d63c3601 /winsup/cygwin/pinfo.h
parent41946df6111b6daf93518b22ca49c54544c77599 (diff)
downloadnewlib-d1fb625d2bbe16aeb77d403d62742b0240ca7024.zip
newlib-d1fb625d2bbe16aeb77d403d62742b0240ca7024.tar.gz
newlib-d1fb625d2bbe16aeb77d403d62742b0240ca7024.tar.bz2
* syscalls.cc (system): Strip signal considerations from here so that they are
not inherited by a child process. * spawn.cc (spawn_guts): Handle system() signal stuff here. * winsup.h (_P_SYSTEM): Define.
Diffstat (limited to 'winsup/cygwin/pinfo.h')
-rw-r--r--winsup/cygwin/pinfo.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/winsup/cygwin/pinfo.h b/winsup/cygwin/pinfo.h
index 518252c..97c2c3d 100644
--- a/winsup/cygwin/pinfo.h
+++ b/winsup/cygwin/pinfo.h
@@ -234,6 +234,8 @@ void __stdcall set_myself (pid_t pid, HANDLE h = NULL);
extern pinfo myself;
#define _P_VFORK 0
+#define _P_SYSTEM 512
+
extern void __stdcall pinfo_fixup_after_fork ();
extern HANDLE hexec_proc;