seccomp

package standard library
go1.25rc3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 6, 2025 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DisableGetrandom

func DisableGetrandom() error

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.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL