seccomp_sys::seccomp_attr_set [] [src]

pub unsafe extern fn seccomp_attr_set(ctx: *mut scmp_filter_ctx, attr: scmp_filter_attr, value: uint32_t) -> c_int

Set the value of a filter attribute

@param ctx the filter context @param attr the filter attribute name @param value the filter attribute value

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