diff options
Diffstat (limited to 'helper/seccomp/api.go')
| -rw-r--r-- | helper/seccomp/api.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/helper/seccomp/api.go b/helper/seccomp/api.go index 2799fc90..697b09f3 100644 --- a/helper/seccomp/api.go +++ b/helper/seccomp/api.go @@ -11,6 +11,9 @@ import ( // New returns an inactive Encoder instance. func New(opts SyscallOpts) *Encoder { return &Encoder{newExporter(opts)} } +// Load loads a filter into the kernel. +func Load(opts SyscallOpts) error { return buildFilter(-1, opts) } + /* An Encoder writes a BPF program to an output stream. |
