RlimitStep
Run commands and agent-written programs inside an operating-system boundary. See the guide.
-
class zett_agent.sandbox.resources.RlimitStep(resource, name, soft, hard)[源代码]
One setrlimit call: soft and hard are both set so a process cannot raise them back.
- 参数:
resource (int)
name (str)
soft (int)
hard (int)