pub unsafe extern "C" fn seccomp_transaction_start(
ctx: const_scmp_filter_ctx,
) -> c_intExpand description
Start a new seccomp filter transaction
ctx: the filter context
This function starts a new seccomp filter transaction that the caller can use
to perform any number of filter modifications which can then be committed
to the filter using seccomp_transaction_commit() or rejected using
seccomp_transaction_reject(). It is important to note that
transactions only affect the seccomp filter state while it is being
managed by libseccomp; seccomp filters which have been loaded into the
kernel can not be modified, only new seccomp filters can be added on top
of the existing loaded filter stack. Returns zero on success, negative values on failure.