seccomp

Imports

Imports #

"C"
"fmt"
"errors"

Functions

DisableGetrandom function #

DisableGetrandom makes future calls to getrandom(2) fail with ENOSYS. It applies only to the current thread and to any programs executed from it. Callers should use [runtime.LockOSThread] in a dedicated goroutine.

func DisableGetrandom() error

DisableGetrandom function #

func DisableGetrandom() error

Generated with Arrow