On Mon, 13 Oct 2025, Piyush Raj wrote:

> This patch adds the bpf-vmtest-tool subdirectory under contrib which tests
> BPF programs under a live kernel using a QEMU VM.  It automatically
> builds the specified kernel version with eBPF support enabled
> and stores it under "~/.bpf-vmtest-tool", which is reused for future
> invocations.

It wasn't immediately clear to be if it happens as written 
above, but it sounds like this tool may "helpfully" write to 
~/.bpf-vmtest-tool.  Could you please make sure that the 
invocation of this tool, as invoked for testing gcc, does *not* 
write outside the gcc build directory, specifically not to the 
user's home directory?

That'd be quite rude.  It'd be better to write there only when 
specifically requested (not in any regtest session) and error 
out if that directory, or one specified by some option, doesn't 
exist.

brgds, H-P
PS. otherwise nice hack

Reply via email to