* syscalls.cc (seteuid32): Call set_cygwin_privileges on primary token
as well.
This commit is contained in:
parent
b4311a9067
commit
dfbf36f8db
|
@ -1,3 +1,8 @@
|
|||
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.
|
||||
|
|
|
@ -2805,6 +2805,7 @@ seteuid32 (__uid32_t uid)
|
|||
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 ())
|
||||
|
|
Loading…
Reference in New Issue