swayfx/include/sway
Tobias Blass a5c091e302 Perform (partial) server initialization before dropping privileges.
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.
2018-06-19 00:19:57 +02:00
..
input Fix keyboard shortcut handling inconsistencies 2018-06-12 20:26:57 -04:00
tree Merge pull request #2124 from emersion/drag-icons 2018-06-09 10:50:34 -07:00
commands.h Refactor cmd_output to use config_subcommand 2018-06-03 10:26:06 -04:00
config.h Sort binding key lists 2018-06-12 11:26:24 -04:00
criteria.h Add shell criteria token 2018-05-27 22:02:00 +10:00
debug.h Add debug tree view 2018-04-06 11:49:27 -04:00
desktop.h Simplify damage tracking functions, use them in layer shell 2018-04-06 11:45:40 -04:00
ipc-json.h Store sway_outputs so that they can be reenabled 2018-06-06 20:11:24 -04:00
ipc-server.h Implement fullscreen. 2018-04-16 20:36:40 +10:00
layers.h Some layer shell fixes 2018-03-29 22:11:08 -04:00
output.h Switch output storing from list_t to wl_list 2018-06-06 20:11:24 -04:00
security.h Move get_feature_policy to sway/security.c 2017-04-16 17:09:53 +03:00
server.h Perform (partial) server initialization before dropping privileges. 2018-06-19 00:19:57 +02:00