mirror of
https://github.com/RGBCube/serenity
synced 2025-05-24 03:55:06 +00:00

This commit moves the clipboard from WindowServer into a new Clipboard service program. Clipboard runs as the unprivileged "clipboard" user and with a much tighter pledge than WindowServer. To keep things working as before, all GUI::Application users now make a connection to Clipboard after making the connection to WindowServer. It could be interesting to connect to Clipboard on demand, but right now that would necessitate expanding every GUI app's pledge to include "unix" and also unveiling the clipboard portal, which I prefer not to.
8 lines
349 B
Text
8 lines
349 B
Text
root:x:0:0:root:/root:/bin/sh
|
|
lookup:x:10:10:LookupServer,,,:/:/bin/false
|
|
protocol:x:11:11:ProtocolServer,,,:/:/bin/false
|
|
notify:x:12:12:NotificationServer,,,:/:/bin/false
|
|
window:x:13:13:WindowServer,,,:/:/bin/false
|
|
clipboard:x:14:14:Clipboard,,,:/:/bin/false
|
|
anon:x:100:100:Anonymous,,,:/home/anon:/bin/sh
|
|
nona:x:200:200:Nona,,,:/home/nona:/bin/sh
|