ladybird/DevTools
Andreas Kling 26a31c7efb Kernel: Add "accept" pledge promise for accepting incoming connections
This patch adds a new "accept" promise that allows you to call accept()
on an already listening socket. This lets programs set up a socket for
for listening and then dropping "inet" and/or "unix" so that only
incoming (and existing) connections are allowed from that point on.
No new outgoing connections or listening server sockets can be created.

In addition to accept() it also allows getsockopt() with SOL_SOCKET
and SO_PEERCRED, which is used to find the PID/UID/GID of the socket
peer. This is used by our IPC library when creating shared buffers that
should only be accessible to a specific peer process.

This allows us to drop "unix" in WindowServer and LookupServer. :^)

It also makes the debugging/introspection RPC sockets in CEventLoop
based programs work again.
2020-01-17 11:19:06 +01:00
..
FormCompiler Build: HOST_CXX -> USE_HOST_CXX 2020-01-02 21:03:53 +01:00
HackStudio Kernel: Add "accept" pledge promise for accepting incoming connections 2020-01-17 11:19:06 +01:00
Inspector Build: support library and generator dependencies 2019-12-25 10:11:09 +01:00
IPCCompiler Build: HOST_CXX -> USE_HOST_CXX 2020-01-02 21:03:53 +01:00
ProfileViewer ProfileViewer: Interpret addresses >= 0xc0000000 as kernel frames 2020-01-02 20:51:31 +01:00
VisualBuilder Build: support library and generator dependencies 2019-12-25 10:11:09 +01:00
Makefile Build: clean up build system, use one shared Makefile 2019-12-20 20:20:54 +01:00