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

Commit e42ffd0f authored by Steven Moreland's avatar Steven Moreland
Browse files

libbinder: alternative in calling guard error

Bug: 237245600
Test: binderRpcTest
Change-Id: I89ad4e2e50ffd66105f9e31c4a274f9bb8abf34b
parent 37ebee73
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -736,7 +736,8 @@ status_t RpcState::processCommand(
    IPCThreadState* kernelBinderState = IPCThreadState::selfOrNull();
    IPCThreadState::SpGuard spGuard{
            .address = __builtin_frame_address(0),
            .context = "processing binder RPC command",
            .context = "processing binder RPC command (where RpcServer::setPerSessionRootObject is "
                       "used to distinguish callers)",
    };
    const IPCThreadState::SpGuard* origGuard;
    if (kernelBinderState != nullptr) {