Merge "Check the return value of setuid(2)."
am: 155d2bcb7a
Change-Id: I6d2a0d65d21d525c411d142cfdd29b660ec2fab0
This commit is contained in:
commit
4503269951
1 changed files with 1 additions and 1 deletions
|
|
@ -1831,7 +1831,7 @@ TEST(liblog, __security_buffer) {
|
|||
return;
|
||||
}
|
||||
|
||||
setuid(AID_SYSTEM); // only one that can read security buffer
|
||||
EXPECT_EQ(0, setuid(AID_SYSTEM)); // only one that can read security buffer
|
||||
|
||||
pid_t pid = getpid();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue