MCPcopy Create free account
hub / github.com/ioi/isolate / rlimit

Class rlimit

isolate.c:785–785  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

783setup_rlim(const char *res_name, int res, rlim_t limit)
784{
785 struct rlimit rl = { .rlim_cur = limit, .rlim_max = limit };
786 if (setrlimit(res, &rl) < 0)
787 die("setrlimit(%s, %jd)", res_name, (intmax_t) limit);
788}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…