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

Commit 155d2bcb authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Check the return value of setuid(2)."

parents dc408131 f4ae42f6
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();