Crate seccomp_sys [] [src]

Structs

scmp_arg_cmp

Argument / Value comparison definition

Enums

scmp_compare

Comparison operators

scmp_filter_attr

Filter attributes

Constants

SCMP_ACT_ALLOW

Return the specified error code Notify a tracing process with the specified value Allow the syscall to be executed

SCMP_ACT_KILL

Kill the process

SCMP_ACT_TRAP

Throw a SIGSYS signal

Functions

seccomp_attr_get

Get the value of a filter attribute

seccomp_attr_set

Set the value of a filter attribute

seccomp_export_bpf

Generate seccomp Berkley Packet Filter (BPF) code and export it to a file

seccomp_export_pfc

Generate seccomp Pseudo Filter Code (PFC) and export it to a file

seccomp_init

Initialize the filter state

seccomp_load

Loads the filter into the kernel

seccomp_release

Destroys the filter state and releases any resources

seccomp_reset

Reset the filter state

seccomp_rule_add

Add a new rule to the filter

seccomp_rule_add_exact

Add a new rule to the filter

seccomp_syscall_priority

Set the priority of a given syscall

Type Definitions

scmp_datum_t

Argument datum

scmp_filter_ctx