syscalls

package
v0.0.0-...-d95844e Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SysEnterFchmodat

func SysEnterFchmodat[T loader.FchmodatEnterEvent](ctx context.Context, onEvent func(evt *T) (err error)) (err error)

func SysEnterProcessVMWritev

func SysEnterProcessVMWritev[T loader.ProcessVMWritevEnterEvent](ctx context.Context, onEvent func(evt *T) (err error)) (err error)

func SysEnterWrite

func SysEnterWrite[T loader.WriteEnterEvent](ctx context.Context, onEvent func(evt *T) (err error)) (err error)

func SysEnterWritev

func SysEnterWritev[T loader.WritevEnterEvent](ctx context.Context, onEvent func(evt *T) (err error)) (err error)

func SysExitFchmodat

func SysExitFchmodat[T loader.FchmodatExitEvent](ctx context.Context, onEvent func(evt *T) (err error)) (err error)

func SysExitProcessVMWritev

func SysExitProcessVMWritev[T loader.ProcessVMWritevExitEvent](ctx context.Context, onEvent func(evt *T) (err error)) (err error)

func SysExitWrite

func SysExitWrite[T loader.WriteExitEvent](ctx context.Context, onEvent func(evt *T) (err error)) (err error)

func SysExitWritev

func SysExitWritev[T loader.WritevExitEvent](ctx context.Context, onEvent func(evt *T) (err error)) (err error)

func WatchEvent

func WatchEvent[T BPFEvent](ctx context.Context, program *ebpf.Program, bpfMap *ebpf.Map, funcName string, onMessageFunc func(msg *T) (err error)) (err error)

func WatchEventWithRigngBuf

func WatchEventWithRigngBuf[T BPFEvent](ctx context.Context, program *ebpf.Program, bpfMap *ebpf.Map, funcName string, onMessageFunc func(msg *T) (err error)) (err error)

Types

type BPFEvent

type BPFEvent interface {
	ChmodEvent | WriteEvent
}

type ChmodEvent

type ChmodEvent interface {
	loader.FchmodatEnterEvent | loader.FchmodatExitEvent
}

Directories

Path Synopsis
Package loader generated by bpf2go tool,do not edit go code in this package
Package loader generated by bpf2go tool,do not edit go code in this package

Jump to

Keyboard shortcuts

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