Merge "Check the return value of setuid(2)." am: 155d2bcb7a am: 4503269951 am: 4d7df0ffe5

am: ee5d1563f4

Change-Id: Ic9723b2fffc5830f5dc9e81095ec15afe97ad6f8
This commit is contained in:
Jorge Lucangeli Obes 2017-01-13 18:23:47 +00:00 committed by android-build-merger
commit d9927a0143
1 changed files with 1 additions and 1 deletions

View File

@ -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();