MCPcopy
hub / github.com/compiler-explorer/compiler-explorer / hasNsjailPermissionsIssue

Function hasNsjailPermissionsIssue

lib/exec.ts:359–361  ·  view source on GitHub ↗
(result: UnprocessedExecResult)

Source from the content-addressed store, hash-verified

357}
358
359export function hasNsjailPermissionsIssue(result: UnprocessedExecResult): boolean {
360 return result.stderr.includes(c_nsjail_permissions_error) || (result.stderr === '' && result.code === 255);
361}
362
363async function sandboxNsjail(
364 command: string,

Callers 2

sandboxNsjailFunction · 0.85
executeNsjailFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected