Merge "Fix liblog#__security failure"

This commit is contained in:
Rubin Xu 2017-04-05 17:22:42 +00:00 committed by Gerrit Code Review
commit 7887dd8567
1 changed files with 2 additions and 0 deletions

View File

@ -1984,6 +1984,8 @@ TEST(liblog, __security_buffer) {
EXPECT_EQ(0, setuid(AID_SYSTEM)); // only one that can read security buffer
uid = getuid();
gid = getgid();
pid_t pid = getpid();
ASSERT_TRUE(NULL !=