diff options
author | Andreas Kling <kling@serenityos.org> | 2021-01-31 09:24:46 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-01-31 09:29:27 +0100 |
commit | 1b5be4a342e0dc0ec4b45849fff92f61d573af36 (patch) | |
tree | 74c23f787baddced55be2cea44d269119810e277 /Userland/Libraries/LibIPC/ServerConnection.h | |
parent | 50092ea0ca37f0818d07c25651f2b5ad0f0acc2a (diff) | |
download | serenity-1b5be4a342e0dc0ec4b45849fff92f61d573af36.zip |
LibIPC: Stop exchanging client/server PIDs in greeting handshake
The PIDs were used for sharing shbufs between processes, but now that
we have migrated to file descriptor passing, we no longer need to know
the PID of the other side.
Diffstat (limited to 'Userland/Libraries/LibIPC/ServerConnection.h')
-rw-r--r-- | Userland/Libraries/LibIPC/ServerConnection.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/Userland/Libraries/LibIPC/ServerConnection.h b/Userland/Libraries/LibIPC/ServerConnection.h index f90fddccfc..5912bc006b 100644 --- a/Userland/Libraries/LibIPC/ServerConnection.h +++ b/Userland/Libraries/LibIPC/ServerConnection.h @@ -45,15 +45,10 @@ public: } ASSERT(this->socket().is_connected()); - - this->initialize_peer_info(); } virtual void handshake() = 0; - pid_t server_pid() const { return this->peer_pid(); } - void set_server_pid(pid_t pid) { this->set_peer_pid(pid); } - void set_my_client_id(int id) { m_my_client_id = id; } int my_client_id() const { return m_my_client_id; } |