seccomp_export_bpf

Generate seccomp Berkley Packet Filter (BPF) code and export it to a file @param ctx the filter context @param fd the destination fd

This function generates seccomp Berkley Packer Filter (BPF) code and writes it to the given fd. Returns zero on success, negative values on failure.

version(Posix)
extern (C) nothrow @nogc
int
seccomp_export_bpf

Meta