* cygheap.h (cygheap_user::deimpersonate): Always RevertToSelf.
This commit is contained in:
parent
c0c32634da
commit
a0e1630add
@ -1,3 +1,7 @@
|
|||||||
|
2007-01-24 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
|
* cygheap.h (cygheap_user::deimpersonate): Always RevertToSelf.
|
||||||
|
|
||||||
2007-01-23 Corinna Vinschen <corinna@vinschen.de>
|
2007-01-23 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* net.cc (gai_errmap): Add EAI_OVERFLOW entry. Fix formatting.
|
* net.cc (gai_errmap): Add EAI_OVERFLOW entry. Fix formatting.
|
||||||
|
@ -181,8 +181,7 @@ public:
|
|||||||
HANDLE token () { return current_token; }
|
HANDLE token () { return current_token; }
|
||||||
void deimpersonate ()
|
void deimpersonate ()
|
||||||
{
|
{
|
||||||
if (issetuid ())
|
RevertToSelf ();
|
||||||
RevertToSelf ();
|
|
||||||
}
|
}
|
||||||
bool reimpersonate ()
|
bool reimpersonate ()
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user