Function libseccomp_sys::seccomp_attr_get
source · [−]pub unsafe extern "C" fn seccomp_attr_get(
ctx: const_scmp_filter_ctx,
attr: scmp_filter_attr,
value: *mut u32
) -> c_int
Expand description
Set the value of a filter attribute
ctx
: the filter contextattr
: the filter attribute namevalue
: 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.