Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( ZeroUint8MapItem = BytesMapItem([]byte{0}) ZeroUint32MapItem = BytesMapItem([]byte{0, 0, 0, 0}) ZeroUint64MapItem = BytesMapItem([]byte{0, 0, 0, 0, 0, 0, 0, 0}) )
Zero table items
var ( // BufferSelectorSyscallMonitorKey is the key used to select the active syscall monitor buffer key BufferSelectorSyscallMonitorKey = ZeroUint32MapItem )
Functions ¶
func NewDefaultOptions ¶
NewDefaultOptions returns a new instance of the default runtime security manager options
func NewRuntimeSecurityManager ¶
NewRuntimeSecurityManager returns a new instance of the runtime security module manager
Types ¶
type BytesMapItem ¶
type BytesMapItem []byte
BytesMapItem describes a raw table key or value
func (BytesMapItem) MarshalBinary ¶
func (i BytesMapItem) MarshalBinary() ([]byte, error)
MarshalBinary returns the binary representation of a BytesMapItem
type StringMapItem ¶
type StringMapItem struct {
// contains filtered or unexported fields
}
StringMapItem describes an string table key or value
func NewStringMapItem ¶
func NewStringMapItem(str string, size int) *StringMapItem
NewStringMapItem returns a new StringMapItem
func (*StringMapItem) MarshalBinary ¶
func (i *StringMapItem) MarshalBinary() ([]byte, error)
MarshalBinary returns the binary representation of a StringMapItem
type Uint32MapItem ¶
type Uint32MapItem uint32
Uint32MapItem describes an uint32 table key or value
func (Uint32MapItem) MarshalBinary ¶
func (i Uint32MapItem) MarshalBinary() ([]byte, error)
MarshalBinary returns the binary representation of a Uint32MapItem
type Uint64MapItem ¶
type Uint64MapItem uint64
Uint64MapItem describes an uint64 table key or value
func (Uint64MapItem) MarshalBinary ¶
func (i Uint64MapItem) MarshalBinary() ([]byte, error)
MarshalBinary returns the binary representation of a Uint64MapItem
type Uint8MapItem ¶
type Uint8MapItem uint8
Uint8MapItem describes an uint8 table key or value
func (Uint8MapItem) MarshalBinary ¶
func (i Uint8MapItem) MarshalBinary() ([]byte, error)
MarshalBinary returns the binary representation of a Uint8MapItem