1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2026-01-12 22:41:00 +00:00
serenity/Libraries
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
..
LibAudio LibIPC: Get client/server PIDs using getsockopt(SO_PEERCRED) 2019-12-06 18:39:59 +01:00
LibC Kernel: Add getsockopt(SO_PEERCRED) for local sockets 2019-12-06 18:38:36 +01:00
LibCore LibIPC: Move IPC client/server connection templates to LibIPC 2019-12-02 11:11:05 +01:00
LibDraw LibDraw: Remove convenience functions for the old WindowServer IPC 2019-12-02 11:11:05 +01:00
LibELF Kernel: Demangle kernel C++ symbols correctly again 2019-11-29 14:59:15 +01:00
LibGUI LibIPC: Get client/server PIDs using getsockopt(SO_PEERCRED) 2019-12-06 18:39:59 +01:00
LibHTML LibHTML: Allow resource loads to fail 2019-11-30 11:58:47 +01:00
LibIPC LibIPC: Get client/server PIDs using getsockopt(SO_PEERCRED) 2019-12-06 18:39:59 +01:00
LibM LibC, LibM: Add functions needed to compile python3 2019-11-11 22:04:16 +01:00
LibMarkdown LibMarkdown: Handle CRLF line endings 2019-12-02 13:52:42 +01:00
LibPCIDB POSIX compliance: (most) shell scripts converted to generic shell 2019-11-03 09:26:22 +01:00
LibProtocol LibIPC: Get client/server PIDs using getsockopt(SO_PEERCRED) 2019-12-06 18:39:59 +01:00
LibPthread LibPthread: Remove some duplicate declarations in pthread.h 2019-12-01 11:52:52 +01:00
LibThread LibPthread: Start working on a POSIX threading library 2019-11-13 21:49:24 +01:00
LibVT LibVT: Fixed some debugging code that didn't compile 2019-12-01 11:52:17 +01:00