seccomp_transaction_commit

Function seccomp_transaction_commit 

Source
pub unsafe extern "C" fn seccomp_transaction_commit(
    ctx: scmp_filter_ctx,
) -> c_int
Expand description

Commit a transaction started by seccomp_transaction_start

  • ctx: the filter context

This function commits the current seccomp filter transaction, applying all the filter modifications made during the transaction to the filter context. Once committed, the changes are finalized and cannot be undone. Returns zero on success, negative values on failure.