pub fn initial_resource_limit(resource: u32) -> Option<(u64, u64)>Expand description
The limit every guest process starts with for resource, as
(current, maximum) in the prlimit64 ABI’s units, or None for an
invalid resource number.
A backend whose guest reads a limit before Detcore runs answers it with
this. SaBRe is one: its guest’s dynamic loader and libc startup run before
the plugin is initialized, and libc sizes default thread stacks from
RLIMIT_STACK there.