Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3651e529 authored by Rubin Xu's avatar Rubin Xu Committed by android-build-merger
Browse files

Merge "Fix liblog#__security failure"

am: 7887dd85

Change-Id: I40443a10f9e59bc8099e4204ffe3ca808c5a1c0b
parents 0b842b37 7887dd85
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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 !=