And if there was even a way to do it on Windows, OMG, that would be fantasterrific.
Dear gopher friends, do you happen to know of a nice and correct way to drop privileges in Go?
-
-
Show this threadThanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Sigh.
End of conversation
New conversation -
-
Dropping privs without libc is fraught with danger on Linux (uid is per-thread). Probably open FDs in parent process, then fork/drop/exec and pass through FDs in child.
-
Thanks Mik. I was hoping that there was a builtin mechanism to do that, but okay, I’ll go that route, then. Thanks again!
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.