Merge "Fix liblog#__security failure" into oc-dev

This commit is contained in:
TreeHugger Robot 2017-04-05 18:02:56 +00:00 committed by Android (Google) Code Review
commit 210be3820f
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 !=