[−][src]Crate libscmp
Structs
Arg | Represents a syscall argument comparison, used in a filter rule. |
Filter | Represents a syscall filter. |
ParseArchError | Represents an error when parsing an |
Enums
Action | Specifies an action to be taken, either as the default action for a filter or when a rule matches. |
Arch | An architecture supported by |
Cmp | Represents a comparison type that can be used in an |
Flag | Represents a boolean flag that can be set on a filter. |
Functions
api_get | Get the "API level" supported by the running kernel. |
api_set | Force the API level used by libseccomp (do not use unless you know what you're doing). |
libseccomp_version | Get the version of the currently loaded |
reset_global_state | Reset |
resolve_syscall_name | Look up the number of the syscall with the given name on the native architecture. |
resolve_syscall_name_arch | Look up the number of the syscall with the given name on the given architecture. |
resolve_syscall_name_rewrite | Look up the number of the syscall with the given name on the given architecture, modifying the syscall number for multiplexed syscalls. |
resolve_syscall_num | Look up the name of a syscall given the architecture and the syscall number. |