Function libseccomp_sys::seccomp_export_pfc
source · [−]pub unsafe extern "C" fn seccomp_export_pfc(
ctx: const_scmp_filter_ctx,
fd: c_int
) -> c_int
Expand description
Generate seccomp Pseudo Filter Code (PFC) and export it to a file
ctx
: the filter contextfd
: the destination fd
This function generates seccomp Pseudo Filter Code (PFC) and writes it to the given fd. Returns zero on success, negative values on failure.