seccomp_sys::seccomp_export_pfc
[−]
[src]
pub unsafe extern fn seccomp_export_pfc(ctx: *const scmp_filter_ctx, fd: c_int) -> c_int
Generate seccomp Pseudo Filter Code (PFC) and export it to a file
@param ctx the filter context @param fd 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.