Documentation ¶
Index ¶
- func SysEnterFchmodat[T loader.FchmodatEnterEvent](ctx context.Context, onEvent func(evt *T) (err error)) (err error)
- func SysEnterProcessVMWritev[T loader.ProcessVMWritevEnterEvent](ctx context.Context, onEvent func(evt *T) (err error)) (err error)
- func SysEnterWrite[T loader.WriteEnterEvent](ctx context.Context, onEvent func(evt *T) (err error)) (err error)
- func SysEnterWritev[T loader.WritevEnterEvent](ctx context.Context, onEvent func(evt *T) (err error)) (err error)
- func SysExitFchmodat[T loader.FchmodatExitEvent](ctx context.Context, onEvent func(evt *T) (err error)) (err error)
- func SysExitProcessVMWritev[T loader.ProcessVMWritevExitEvent](ctx context.Context, onEvent func(evt *T) (err error)) (err error)
- func SysExitWrite[T loader.WriteExitEvent](ctx context.Context, onEvent func(evt *T) (err error)) (err error)
- func SysExitWritev[T loader.WritevExitEvent](ctx context.Context, onEvent func(evt *T) (err error)) (err error)
- func WatchEvent[T BPFEvent](ctx context.Context, program *ebpf.Program, bpfMap *ebpf.Map, funcName string, ...) (err error)
- func WatchEventWithRigngBuf[T BPFEvent](ctx context.Context, program *ebpf.Program, bpfMap *ebpf.Map, funcName string, ...) (err error)
- type BPFEvent
- type ChmodEvent
- type WriteEvent
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SysEnterFchmodat ¶
func SysEnterProcessVMWritev ¶
func SysEnterWrite ¶
func SysEnterWritev ¶
func SysExitFchmodat ¶
func SysExitProcessVMWritev ¶
func SysExitWrite ¶
func SysExitWritev ¶
func WatchEvent ¶
Types ¶
type BPFEvent ¶
type BPFEvent interface { ChmodEvent | WriteEvent }
type ChmodEvent ¶
type ChmodEvent interface { loader.FchmodatEnterEvent | loader.FchmodatExitEvent }
type WriteEvent ¶
type WriteEvent interface { loader.ProcessVMWritevEnterEvent | loader.ProcessVMWritevExitEvent | loader.WriteEnterEvent | loader.WriteExitEvent | loader.WritevEnterEvent | loader.WritevExitEvent }
Click to show internal directories.
Click to hide internal directories.