pub unsafe extern "C" fn seccomp_attr_set(
    ctx: scmp_filter_ctx,
    attr: scmp_filter_attr,
    value: u32
) -> c_int
Expand description

Set the value of a filter attribute

  • ctx: the filter context
  • attr: the filter attribute name
  • value: the filter attribute value

This function sets the value of the given attribute. Returns zero on success, negative values on failure.