1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-02 23:22:07 +00:00
serenity/Libraries/LibIPC
Andreas Kling f93c0dc489 LibIPC: Get client/server PIDs using getsockopt(SO_PEERCRED)
Instead of passing the PIDs back and forth in a handshake "Greet"
message, just use getsockopt(SO_PEERCRED) on both sides to get the same
information from the kernel.

This is a nice little simplification of the IPC protocol, although it
does not get rid of the handshake since we still have to pass the
"client ID" from the server to each client so they know how to refer
to themselves. This might not be necessary and we might be able to get
rid of this later on.
2019-12-06 18:39:59 +01:00
..
IClientConnection.h LibIPC: Get client/server PIDs using getsockopt(SO_PEERCRED) 2019-12-06 18:39:59 +01:00
IEndpoint.cpp LibIPC: Start fleshing out a separate IPC library 2019-08-03 15:29:40 +02:00
IEndpoint.h LibIPC+AudioServer: Allow unsolicited server-to-client IPC messages 2019-11-23 16:50:21 +01:00
IMessage.cpp LibIPC: Start fleshing out a separate IPC library 2019-08-03 15:29:40 +02:00
IMessage.h LibIPC: Rename IMessage id/name to message_id/message_name 2019-12-02 11:11:05 +01:00
install.sh POSIX compliance: (most) shell scripts converted to generic shell 2019-11-03 09:26:22 +01:00
IServerConnection.h LibIPC: Get client/server PIDs using getsockopt(SO_PEERCRED) 2019-12-06 18:39:59 +01:00
Makefile LibIPC: Start fleshing out a separate IPC library 2019-08-03 15:29:40 +02:00