mirror of
https://github.com/elicpeter/nyx.git
synced 2026-06-21 20:18:06 +02:00
[pitboss/grind] deferred session-0006 (20260517T044708Z-e058)
This commit is contained in:
parent
0ec9a9b425
commit
356fcaf71e
5 changed files with 133 additions and 26 deletions
|
|
@ -257,7 +257,10 @@ pub fn run_spec(spec: &HarnessSpec, opts: &SandboxOptions) -> Result<RunOutcome,
|
|||
}
|
||||
Lang::C => {
|
||||
// Compile the harness binary with `cc -o nyx_harness main.c`.
|
||||
match build_sandbox::prepare_c(spec, &harness.workdir) {
|
||||
// Pass the sandbox profile so the build chooses `-static` when
|
||||
// the run will chroot into `harness.workdir` and the dynamic
|
||||
// loader would otherwise miss `/lib*`.
|
||||
match build_sandbox::prepare_c(spec, &harness.workdir, opts.process_hardening) {
|
||||
Ok(build_result) => {
|
||||
let binary = build_result.venv_path.join("nyx_harness");
|
||||
if binary.exists() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue