mirror of
https://github.com/NickHu/sway
synced 2024-12-29 22:23:46 +01:00
a5c091e302
Some operations during backend creation (e.g. becoming DRM master) require CAP_SYS_ADMIN privileges. At this point, sway has dropped them already, though. This patch splits the privileged part of server_init into its own function and calls it before dropping its privileges. This fixes the bug with minimal security implications. |
||
---|---|---|
.. | ||
input | ||
tree | ||
commands.h | ||
config.h | ||
criteria.h | ||
debug.h | ||
desktop.h | ||
ipc-json.h | ||
ipc-server.h | ||
layers.h | ||
output.h | ||
security.h | ||
server.h |