I don't understand why the patch was not just setting the euid. Possibly it needs to keep the euid (e.g. 0) somehow to be able to get back to it.

That's what I think.

setresuid could be used instead, to save euid as suid to be able to get
it back.

That's the correct way. I just don't know there is a suid thing. I thought
there were only ruid and euid. Now I know how to fix that!

--
Yuqian Yang <crup...@crupest.life>

Reply via email to