/* * Copyright (c) 2021, Andreas Kling * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include namespace IPC { template ErrorOr> take_over_accepted_client_from_system_server() { auto socket = TRY(Core::LocalSocket::take_over_accepted_socket_from_system_server()); return IPC::new_client_connection(move(socket)); } }