1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 07:27:45 +00:00
serenity/Applications/FontEditor
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
..
.gitignore FontEditor: Initial port to using a VisualBuilder generated UI. 2019-07-11 20:19:26 +02:00
FontEditor.cpp FontEditor: Add glyph spacing spinbox 2019-12-30 14:02:12 +01:00
FontEditor.h LibGUI: Convert custom widgets and subclasses to ObjectPtr 2019-09-21 20:04:00 +02:00
FontEditorBottom.frm FontEditor: Add glyph spacing spinbox 2019-12-30 14:02:12 +01:00
GlyphEditorWidget.cpp AK: Rename the common integer typedefs to make it obvious what they are. 2019-07-03 21:20:13 +02:00
GlyphEditorWidget.h LibGUI: Convert remaining random little things to ObjectPtr 2019-09-21 19:40:14 +02:00
GlyphMapWidget.cpp LibGUI+LibDraw: Add "Palette" concept for scoped color theming 2019-12-24 21:27:16 +01:00
GlyphMapWidget.h LibGUI: Convert remaining random little things to ObjectPtr 2019-09-21 19:40:14 +02:00
main.cpp Kernel: Add "accept" pledge promise for accepting incoming connections 2020-01-17 11:19:06 +01:00
Makefile Build: consider IPCCOMPILER and FORMCOMPILER just for ordering 2019-12-28 21:09:33 +01:00