1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 14:07:45 +00:00

NotificationServer: Remove unnecessary UID separation

This process is already sandboxed to the point where the UID doesn't
matter, so let's just stop having the separate "notify" user.
This commit is contained in:
Andreas Kling 2021-06-06 16:11:06 +02:00
parent 39c12f6f44
commit 3dc1787306
4 changed files with 4 additions and 7 deletions

View file

@ -52,11 +52,11 @@ BootModes=text,graphical,self-test
[NotificationServer] [NotificationServer]
Socket=/tmp/portal/notify Socket=/tmp/portal/notify
SocketPermissions=660 SocketPermissions=600
Lazy=1 Lazy=1
Priority=low Priority=low
KeepAlive=1 KeepAlive=1
User=notify User=anon
[LaunchServer] [LaunchServer]
Socket=/tmp/portal/launch Socket=/tmp/portal/launch

View file

@ -5,7 +5,6 @@ phys:x:3:window,anon
audio:x:4:anon audio:x:4:anon
utmp:x:5: utmp:x:5:
lookup:x:10:anon lookup:x:10:anon
notify:x:12:anon window:x:13:anon
window:x:13:anon,notify clipboard:x:14:anon
clipboard:x:14:anon,notify
users:x:100:anon users:x:100:anon

View file

@ -1,6 +1,5 @@
root::0:0:root:/root:/bin/sh root::0:0:root:/root:/bin/sh
lookup:!:10:10:LookupServer,,,:/:/bin/false lookup:!:10:10:LookupServer,,,:/:/bin/false
notify:!:12:12:NotificationServer,,,:/:/bin/false
window:!:13:13:WindowServer,,,:/:/bin/false window:!:13:13:WindowServer,,,:/:/bin/false
clipboard:!:14:14:Clipboard,,,:/:/bin/false clipboard:!:14:14:Clipboard,,,:/:/bin/false
sshd:!:19:19:OpenSSH privsep,,,:/:/bin/false sshd:!:19:19:OpenSSH privsep,,,:/:/bin/false

View file

@ -1,6 +1,5 @@
root::18727:::::: root::18727::::::
lookup:!*:18727:::::: lookup:!*:18727::::::
notify:!*:18727::::::
window:!*:18727:::::: window:!*:18727::::::
clipboard:!*:18727:::::: clipboard:!*:18727::::::
sshd:!*:18727:::::: sshd:!*:18727::::::