oslo.privsep/releasenotes
Max Lamprecht 33fec1971b setgid should be called before setuid
If you setuid to a non-zero value first(meaning you're no longer root),
then call setgroups, the effective uid of the process
is now no longer root, meaning that the internal setgid call fails

This also removes the duplicated if loop

Closes-Bug: #1628360
Change-Id: I5d66fccd9ffb07df0c2e4435ec3da767b3b61117
2023-03-03 08:49:26 +01:00
..
notes setgid should be called before setuid 2023-03-03 08:49:26 +01:00
source Update master for stable/zed 2022-09-09 09:17:56 +00:00