diff options
Diffstat (limited to 'results/classifier/108/other/2123')
| -rw-r--r-- | results/classifier/108/other/2123 | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/results/classifier/108/other/2123 b/results/classifier/108/other/2123 new file mode 100644 index 000000000..301ea451a --- /dev/null +++ b/results/classifier/108/other/2123 @@ -0,0 +1,46 @@ +graphic: 0.818 +semantic: 0.778 +device: 0.724 +performance: 0.683 +vnc: 0.670 +network: 0.574 +debug: 0.534 +boot: 0.489 +PID: 0.418 +permissions: 0.400 +socket: 0.376 +other: 0.317 +files: 0.171 +KVM: 0.046 + +Invalid subprocess commands spawns successfully when running under QEMU +Description of problem: +When executing a subprocess from with a non-existing command EQMU still spawns a process. + +Consider this small rust program for instance: +```rust +use std::process::Command; + +fn main() { + match Command::new("thisdoesnotexist").spawn() { + Ok(child) => { + println!("Child process id is {}", child.id()); + } + Err(_) => { + println!("This should happen"); + } + } +} +``` + +**Executing with `qemu-aarch64`:** +```shell +qemu-aarch64 ./rust-app +Child process id is 20182 +``` + +**Executing regularly:** +```shell +./rust-app +This should happen +``` |