rlimit_support#

Run commands and agent-written programs inside an operating-system boundary. See the guide.

zett_agent.sandbox.resources.rlimit_support = <functools._lru_cache_wrapper object>[源代码]#

Return the limit names this kernel actually accepts.

Probed once, in a short-lived child interpreter, because a kernel answers EINVAL for a resource it does not implement and the only way to know is to try. macOS rejects the address-space limit, which is what makes memory different there. If the child cannot run, nothing is reported as supported, so nothing is claimed that was not checked.

返回类型:

frozenset[str]