Structs§
- scmp_
arg_ cmp - Argument / Value comparison definition
Enums§
- scmp_
arch - Architecutres
- scmp_
compare - Comparison operators
- scmp_
filter_ attr - Filter attributes
Constants§
- SCMP_
ACT_ ALLOW - Allow the syscall to be executed
- SCMP_
ACT_ KILL - Kill the calling thread
- SCMP_
ACT_ KILL_ PROCESS - Kill the calling process
- SCMP_
ACT_ TRAP - Throw a SIGSYS signal
- __
NR_ SCMP_ ERROR - Error retern value
Functions§
- SCMP_
ACT_ ERRNO - Return the specified error code
- SCMP_
ACT_ TRACE - Notify a tracing process with the specified value
- seccomp_
arch_ ⚠add - Adds an architecture to the filter @param ctx the filter context @param arch_token the architecture token, e.g. SCMP_ARCH_*
- seccomp_
arch_ ⚠remove - Removes an architecture from the filter @param ctx the filter context @param arch_token the architecture token, e.g. SCMP_ARCH_*
- 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_ array - Add a new rule to the filter
- seccomp_
rule_ ⚠add_ exact - Add a new rule to the filter
- seccomp_
rule_ ⚠add_ exact_ array - Add a new rule to the filter
- seccomp_
syscall_ ⚠priority - Set the priority of a given syscall
- seccomp_
syscall_ ⚠resolve_ name - Resolve a syscall name to a number @param name the syscall name
Type Aliases§
- scmp_
datum_ t - Argument datum
- scmp_
filter_ ctx