2009-10-07 Corinna Vinschen <corinna@vinschen.de>
+ * syscalls.cc (seteuid32): Call set_cygwin_privileges on primary token
+ as well.
+
+2009-10-07 Corinna Vinschen <corinna@vinschen.de>
+
* fhandler.h (fhandler_pty_master::tcgetpgrp): Declare.
* fhandler_termios.cc (fhandler_termios::tcgetpgrp): Only return
valid pgid if tty is controlling tty. Set errno to ENOTTY and
cygheap->user.curr_primary_token = NO_IMPERSONATION;
return -1;
}
+ set_cygwin_privileges (cygheap->user.curr_primary_token);
set_cygwin_privileges (cygheap->user.curr_imp_token);
}
if (!cygheap->user.reimpersonate ())