pub unsafe extern "C" fn krun_set_rlimits(
ctx_id: u32,
rlimits: *const *const c_char,
) -> i32Expand description
Configures a map of rlimits to be set in the guest before starting the isolated binary.
Arguments: “ctx_id” - the configuration context ID. “rlimits” - an array of string pointers with format “RESOURCE=RLIM_CUR:RLIM_MAX”.
Returns: Zero on success or a negative error number on failure.