+2003-03-07 Corinna Vinschen <corinna@vinschen.de>
+
+ * syscalls.cc (seteuid32): Fix formatting.
+
2003-03-04 Thomas Pfaff <tpfaff@gmx.net>
* thread.cc (MTinterface::fixup_after_fork): Initialize mainthread
/* Set process def dacl to allow access to impersonated token */
char dacl_buf[MAX_DACL_LEN (5)];
- if (usersid != (origpsid = cygheap->user.orig_sid ())) psid2 = usersid;
+ if (usersid != (origpsid = cygheap->user.orig_sid ()))
+ psid2 = usersid;
if (sec_acl ((PACL) dacl_buf, FALSE, origpsid, psid2))
{
TOKEN_DEFAULT_DACL tdacl;
groups.ischanged = FALSE;
return 0;
- failed:
+failed:
cygheap->user.token = sav_token;
cygheap->user.impersonated = sav_impersonated;
if (cygheap->user.issetuid ()
- && !ImpersonateLoggedOnUser (cygheap->user.token))
+ && !ImpersonateLoggedOnUser (cygheap->user.token))
system_printf ("Impersonating in seteuid failed: %E");
return -1;
}