| 351 | } |
| 352 | |
| 353 | type PidLimits struct { |
| 354 | // Limits the number of pids a container may create before new forks or clones are disallowed to processes in the container. |
| 355 | // Note: this may only be enforced when a process attempts to fork, so it does not guarantee that a new container.Run(ProcessSpec) |
| 356 | // will not succeed even if the limit has been exceeded, but the process will not be able to spawn further processes or threads. |
| 357 | Max uint64 `json:"max,omitempty"` |
| 358 | } |
| 359 | |
| 360 | // Resource limits. |
| 361 | // |
nothing calls this directly
no outgoing calls
no test coverage detected