summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/include
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/include')
-rw-r--r--winsup/cygwin/include/cygwin/version.h6
-rw-r--r--winsup/cygwin/include/sys/cygwin.h7
2 files changed, 9 insertions, 4 deletions
diff --git a/winsup/cygwin/include/cygwin/version.h b/winsup/cygwin/include/cygwin/version.h
index 2e1b898c4..6f9bb11a6 100644
--- a/winsup/cygwin/include/cygwin/version.h
+++ b/winsup/cygwin/include/cygwin/version.h
@@ -44,7 +44,7 @@ details. */
/* The current cygwin version is 1.1.0 */
#define CYGWIN_VERSION_DLL_MAJOR 1001
-#define CYGWIN_VERSION_DLL_MINOR 4
+#define CYGWIN_VERSION_DLL_MINOR 5
/* Major numbers before CYGWIN_VERSION_DLL_EPOCH are
incompatible. */
@@ -115,10 +115,12 @@ details. */
with crt0 startup code.
24: Export poll and _poll.
25: Export getmode and _getmode.
+ 26: CW_GET_CYGDRIVE_PREFIXES addition to external.cc
+ 27: CW_GETPINFO_FULL addition to external.cc
*/
#define CYGWIN_VERSION_API_MAJOR 0
-#define CYGWIN_VERSION_API_MINOR 24
+#define CYGWIN_VERSION_API_MINOR 28
/* There is also a compatibity version number associated with the
shared memory regions. It is incremented when incompatible
diff --git a/winsup/cygwin/include/sys/cygwin.h b/winsup/cygwin/include/sys/cygwin.h
index 978e976d5..8d7b5d433 100644
--- a/winsup/cygwin/include/sys/cygwin.h
+++ b/winsup/cygwin/include/sys/cygwin.h
@@ -60,7 +60,8 @@ typedef enum
CW_READ_V1_MOUNT_TABLES,
CW_USER_DATA,
CW_PERFILE,
- CW_GET_CYGDRIVE_PREFIXES
+ CW_GET_CYGDRIVE_PREFIXES,
+ CW_GETPINFO_FULL
} cygwin_getinfo_types;
#define CW_NEXTPID 0x80000000 // or with pid to get next one
@@ -86,7 +87,9 @@ enum
PID_USETTY = 0x1000, // Setting this enables or disables cygwin's
// tty support. This is inherited by
// all execed or forked processes.
- PID_REPARENT = 0x2000 // child has execed
+ PID_REPARENT = 0x2000, // child has execed
+ PID_EXECED = 0x4000, // redirect to original pid info block
+ PID_NOREDIR = 0x8000 // don't redirect if execed
};
#ifdef WINVER