aboutsummaryrefslogtreecommitdiff
path: root/sway/desktop/xdg_shell.c
diff options
context:
space:
mode:
authorTeddy Reed <teddy@casualhacking.io>2020-02-10 21:29:26 -0500
committerSimon Ser <contact@emersion.fr>2020-02-11 10:17:45 +0100
commit31a83bd48d9aad2a039565fc39f1a52bd0cdf17d (patch)
tree995bf9eebad763834ebca1c72ea74b14fb93c00c /sway/desktop/xdg_shell.c
parent0b709702c134fcba2b8210ac6f85b8b2665484d0 (diff)
Fix ordering of setgid and setuid
It looks like the code to drop privileges may have been broken via commit 37f0e1f. That commit reverted the correct order from #911, which first drops the gid then the uid. If setuid is called first then the target user may not have the ability to setgid.
Diffstat (limited to 'sway/desktop/xdg_shell.c')
0 files changed, 0 insertions, 0 deletions