diff options
author | Andreas Kling <kling@serenityos.org> | 2021-02-04 19:58:21 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-02-04 23:19:08 +0100 |
commit | aefd206038f786e832187762f7cb0f6c776691f2 (patch) | |
tree | f700a5cd8ea5d055a9b1c8dbf9518cc2bbc9eb26 /Base/etc | |
parent | 54d28df97d85557042a5c215ad739a0341402926 (diff) | |
download | serenity-aefd206038f786e832187762f7cb0f6c776691f2.zip |
SymbolServer: Add symbolication service for out-of-process ELF parsing
This patch adds SymbolServer, a service daemon that provides
symbolication of ELF binaries. It has a very simple IPC API at the
moment that only turns addresses into symbol names.
This can be used to implement symbolication without having to do
in-process ELF parsing yourself. :^)
Diffstat (limited to 'Base/etc')
-rw-r--r-- | Base/etc/SystemServer.ini | 6 | ||||
-rw-r--r-- | Base/etc/group | 1 | ||||
-rw-r--r-- | Base/etc/passwd | 1 |
3 files changed, 8 insertions, 0 deletions
diff --git a/Base/etc/SystemServer.ini b/Base/etc/SystemServer.ini index ce97dc6d0c..b02567fb9c 100644 --- a/Base/etc/SystemServer.ini +++ b/Base/etc/SystemServer.ini @@ -26,6 +26,12 @@ BootModes=graphical MultiInstance=1 AcceptSocketConnections=1 +[SymbolServer] +Socket=/tmp/portal/symbol +SocketPermissions=660 +User=symbol +Lazy=1 + [LookupServer] Socket=/tmp/portal/lookup SocketPermissions=660 diff --git a/Base/etc/group b/Base/etc/group index 55b63e71eb..e1de8b0a5a 100644 --- a/Base/etc/group +++ b/Base/etc/group @@ -11,4 +11,5 @@ window:x:13:anon,notify clipboard:x:14:anon,notify webcontent:x:15:anon image:x:16:anon,webcontent +symbol:x:17:anon users:x:100:anon diff --git a/Base/etc/passwd b/Base/etc/passwd index b0f24bbaea..d23966427f 100644 --- a/Base/etc/passwd +++ b/Base/etc/passwd @@ -6,5 +6,6 @@ window:!:13:13:WindowServer,,,:/:/bin/false clipboard:!:14:14:Clipboard,,,:/:/bin/false webcontent:!:15:15:WebContent,,,:/:/bin/false image:!:16:16:ImageDecoder,,,:/:/bin/false +symbol:!:17:17:SymbolServer,,,:/:/bin/false anon:!:100:100:Anonymous,,,:/home/anon:/bin/sh nona:!:200:200:Nona,,,:/home/nona:/bin/sh |