executablepin

package
v0.70.1 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SealedCopy

func SealedCopy(source *os.File, size int64, name string) (_ *os.File, returnErr error)

SealedCopy copies exactly size bytes into an anonymous, kernel-sealed executable object. It does not depend on TMPDIR or any executable filesystem mount, and the returned content cannot be written, grown, or truncated.

func Validate

func Validate(file *os.File, size int64) error

Validate performs bounded metadata/seal validation suitable for the final exec barrier; it never re-reads the executable content.

Types

This section is empty.

Jump to

Keyboard shortcuts

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