* spawn.cc (spawn_guts): Revert removal of ciresrv.moreinfo->uid = ILLEGAL_UID.

This commit is contained in:
Christopher Faylor
2002-06-16 04:25:54 +00:00
parent 40a95e4b23
commit 5c8bce24b3
2 changed files with 6 additions and 0 deletions

View File

@@ -646,6 +646,7 @@ spawn_guts (const char * prog_arg, const char *const *argv,
char wstname[1024];
char dskname[1024];
ciresrv.moreinfo->uid = ILLEGAL_UID;
hwst = GetProcessWindowStation ();
SetUserObjectSecurity (hwst, &dsi, get_null_sd ());
GetUserObjectInformation (hwst, UOI_NAME, wstname, 1024, &n);