diff options
Diffstat (limited to 'winsup/cygwin/shared.h')
-rw-r--r-- | winsup/cygwin/shared.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/winsup/cygwin/shared.h b/winsup/cygwin/shared.h index 5c6eff5f1..1b594d5d7 100644 --- a/winsup/cygwin/shared.h +++ b/winsup/cygwin/shared.h @@ -93,6 +93,15 @@ class pinfo char logsrv[256]; /* Logon server, may be fully qualified DNS name */ char domain[MAX_COMPUTERNAME_LENGTH+1]; /* Logon domain of the user */ + /* token is needed if sexec should be called. It can be set by a call + to `set_impersonation_token()'. */ + HANDLE token; + BOOL impersonated; + uid_t orig_uid; /* Remains intact also after impersonation */ + uid_t orig_gid; /* Ditto */ + uid_t real_uid; /* Remains intact on seteuid, replaced by setuid */ + gid_t real_gid; /* Ditto */ + /* Non-zero if process was stopped by a signal. */ char stopsig; |