Drop drops privileges of the thread or process.
Since Go 1.16 syscall.Setresuid is an all-thread operation.
A runtime.LockOSThread operation remains for older versions of Go.
Escalate escalates privileges of the thread or process.
Since Go 1.16 syscall.Setresuid is an all-thread operation.
A runtime.LockOSThread operation remains for older versions of Go.