Merge "Check the return value of setuid(2)." am: 155d2bcb7a am: 4503269951
am: 4d7df0ffe5
Change-Id: I476fbb57e0beb524bd9d768f609a4c70ed50dcaa
This commit is contained in:
commit
ee5d1563f4
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