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

Commit d9927a01 authored by Jorge Lucangeli Obes's avatar Jorge Lucangeli Obes Committed by android-build-merger
Browse files

Merge "Check the return value of setuid(2)." am: 155d2bcb am: 45032699 am: 4d7df0ff

am: ee5d1563

Change-Id: Ic9723b2fffc5830f5dc9e81095ec15afe97ad6f8
parents d9712977 ee5d1563
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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();