1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 17:27:35 +00:00

InspectorServer: Add is_inspectable IPC

This commit is contained in:
Matthew Jones 2021-06-01 10:31:53 -06:00 committed by Andreas Kling
parent ee38f5241d
commit 00c8b74ab4
3 changed files with 11 additions and 0 deletions

View file

@ -81,4 +81,13 @@ Messages::InspectorServer::IdentifyResponse ClientConnection::identify(pid_t pid
return response;
}
Messages::InspectorServer::IsInspectableResponse ClientConnection::is_inspectable(pid_t pid)
{
auto process = InspectableProcess::from_pid(pid);
if (!process)
return false;
return true;
}
}