Searched refs:mSavedUid (Results 1 – 1 of 1) sorted by relevance
45 : mNetSrv(netSrv), mTestUid(testUid), mSavedUid(getuid()) { in ScopeBlockedUIDRule()66 EXPECT_TRUE(seteuid(mSavedUid) == 0); in ~ScopeBlockedUIDRule()84 const uid_t mSavedUid; variable116 ScopedChangeUID(uid_t testUid) : mTestUid(testUid), mSavedUid(getuid()) { in ScopedChangeUID()119 ~ScopedChangeUID() { EXPECT_TRUE(seteuid(mSavedUid) == 0); } in ~ScopedChangeUID()123 const uid_t mSavedUid; variable