Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetUID ¶
SetUID - This is very hacky way of making one process to operate under multiple UIDs, which breaks POSIX semantics (ref. https://man7.org/linux/man-pages/man7/nptl.7.html) The go's native syscall.Setuid is designed in a way, that all threads will switch to provided UID, so we have to use the Linux's setuid() syscall directly (it doesn't honor POSIX semantics).
This logic exists to potentially run tests with DNS UDP conntrack zone splitting enabled.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.