mbset

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MapName       = "tg_mbset_map"
	GenName       = "tg_mbset_gen"
	ExecveMapName = "execve_map"
	InvalidID     = ^uint32(0)
	MaxIDs        = 64 // this value should correspond to the number of bits we can fit in mbset_t
)

Variables

This section is empty.

Functions

func AllocID

func AllocID() (uint32, error)

func RemoveID added in v1.5.0

func RemoveID(id uint32, paths [][processapi.BINARY_PATH_MAX_LEN]byte) error

func SetMBSetUpdater added in v1.5.0

func SetMBSetUpdater(upd UpdateExecveMap)

func UpdateMap

func UpdateMap(id uint32, paths [][processapi.BINARY_PATH_MAX_LEN]byte) error

Types

type UpdateExecveMap added in v1.5.0

type UpdateExecveMap interface {
	MBSetBitClear(bit uint32, pids []uint32) error
}

Jump to

Keyboard shortcuts

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