Searched refs:mSavedUid (Results 1 – 1 of 1) sorted by relevance
37 : mNetSrv(netSrv), mTestUid(testUid), mSavedUid(getuid()) { in ScopeBlockedUIDRule()51 EXPECT_TRUE(seteuid(mSavedUid) == 0); in ~ScopeBlockedUIDRule()62 const uid_t mSavedUid; variable67 ScopedChangeUID(uid_t testUid) : mTestUid(testUid), mSavedUid(getuid()) { in ScopedChangeUID()70 ~ScopedChangeUID() { EXPECT_TRUE(seteuid(mSavedUid) == 0); } in ~ScopedChangeUID()74 const uid_t mSavedUid; variable