summary refs log tree commit diff stats
path: root/results/classifier/zero-shot/105/instruction/2123
blob: 074218313b62834042552e39873cfeb942413c37 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
instruction: 0.920
graphic: 0.818
semantic: 0.778
device: 0.724
vnc: 0.670
mistranslation: 0.614
network: 0.574
boot: 0.489
socket: 0.376
other: 0.317
KVM: 0.046
assembly: 0.022

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
```