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:
Diffstat (limited to 'winsup/cygwin/shared.h')
-rw-r--r--winsup/cygwin/shared.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/winsup/cygwin/shared.h b/winsup/cygwin/shared.h
index 5c5ea8348..d6e465544 100644
--- a/winsup/cygwin/shared.h
+++ b/winsup/cygwin/shared.h
@@ -102,6 +102,11 @@ class pinfo
uid_t real_uid; /* Remains intact on seteuid, replaced by setuid */
gid_t real_gid; /* Ditto */
+ /* Filled when chroot() is called by the process or one of it's parents.
+ Saved without trailing backslash. */
+ char root[MAX_PATH+1];
+ size_t rootlen;
+
/* Non-zero if process was stopped by a signal. */
char stopsig;