summary refs log tree commit diff stats
path: root/results/classifier/zero-shot-user-mode/syscall/871
blob: 63c267ad3819652738a805785bd2e2e63a350efc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
syscall: 0.478
instruction: 0.394
runtime: 0.128



qemu-x86_64 don't support unshare(CLONE_NEWUSER)
Description of problem:
Why qemu-x86_64 call unshare(CLONE_NEWUSER) fail?
```
    fuzzing@ubuntu:~/Desktop/afl/AFLplusplus$ qemu-x86_64 /bin/unshare --user /bin/bash
    unshare: unshare failed: Invalid argument
    fuzzing@ubuntu:~/Desktop/afl/AFLplusplus$ /bin/unshare --user /bin/bash
    nobody@ubuntu:~/Desktop/afl/AFLplusplus$
```
Steps to reproduce:
1.execute `qemu-x86_64 /bin/unshare --user /bin/bash` ,it will fail <br/>
2.execute `/bin/unshare --user /bin/bash` ,it will ok

How i fix that?