seccomp_sys::seccomp_attr_get [] [src]

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

Get 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 fetches the value of the given attribute name and returns it via @value. Returns zero on success, negative values on failure.