Repository navigation
Commit 1af664e
fix(valgrind): allow file caps on the runner's own executable
The memory executor grants file capabilities to the runner's executable,
and valgrind refuses to run an executable that carries them. A simulation
run of an exec target then failed with "Permission denied" (exit code
126) as soon as the executable had been granted them, since exec-harness
runs through it.
Pass --allow-file-caps with the runner's executable path, so valgrind
runs it without the capabilities, which its internal subcommands do not
need. This option requires a valgrind-codspeed build that supports it.
Refs COD-3722
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>1 parent 3023d97 commit 1af664e
1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
66 | 73 | | |
67 | 74 | | |
68 | 75 | | |
| |||
0 commit comments