diff options
author | Andreas Kling <kling@serenityos.org> | 2020-01-20 22:23:18 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-01-20 22:23:18 +0100 |
commit | 17e5fc301be1d30cb18e2f0b22ada84485ecd1c3 (patch) | |
tree | acb25903fce73c2828a0eaa7e418d43b44165b2a /Applications/SystemMonitor | |
parent | cec0268ffab8a2e9d9b5b2ad742310d629f2fe60 (diff) | |
download | serenity-17e5fc301be1d30cb18e2f0b22ada84485ecd1c3.zip |
WindowServer: Use unveil()
WindowServer needs persistent access to a few things:
- /res (for themes, fonts, cursors, apps, wallpapers, etc.)
- /etc/passwd (for username lookup, not sure this is actually needed..)
- /home/anon/WindowManager.ini (FIXME: this should not be hard-coded..)
These things are unveiled temporarily, and then dropped:
- /tmp (for setting up sockets)
- /dev (for opening input and framebuffer devices)
This leaves WindowServer running with a very limited view of the file
system, how neat is that!
Diffstat (limited to 'Applications/SystemMonitor')
0 files changed, 0 insertions, 0 deletions