qemu-user clone syscall fails
Bug #1926996 reported by
Aaron Simmons
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QEMU |
Expired
|
Undecided
|
Unassigned |
Bug Description
qemu-user fails to emulate clone() (https:/
Attached is clone_test.c that demonstrates the problem. Running it natively looks like this:
$ bin/x86_
The variable was 9
clone returned 4177: 0 Success
The variable is now 42
However, running it via qemu looks like:
$ qemu-aarch64-static --version
qemu-aarch64 version 5.2.0 (v5.2.0)
Copyright (c) 2003-2020 Fabrice Bellard and the QEMU Project developers
$ qemu-aarch64-static bin/aarch64/
The variable was 9
clone returned -1: 22 Invalid argument
The variable is now 9
To post a comment you must log in.
clone_test aarch64 binary