* syscalls.cc (seteuid32): Call set_cygwin_privileges on primary token
as well.
This commit is contained in:
@ -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>
|
2009-10-07 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* fhandler.h (fhandler_pty_master::tcgetpgrp): Declare.
|
* fhandler.h (fhandler_pty_master::tcgetpgrp): Declare.
|
||||||
|
@ -2805,6 +2805,7 @@ seteuid32 (__uid32_t uid)
|
|||||||
cygheap->user.curr_primary_token = NO_IMPERSONATION;
|
cygheap->user.curr_primary_token = NO_IMPERSONATION;
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
set_cygwin_privileges (cygheap->user.curr_primary_token);
|
||||||
set_cygwin_privileges (cygheap->user.curr_imp_token);
|
set_cygwin_privileges (cygheap->user.curr_imp_token);
|
||||||
}
|
}
|
||||||
if (!cygheap->user.reimpersonate ())
|
if (!cygheap->user.reimpersonate ())
|
||||||
|
Reference in New Issue
Block a user