Skip to content
Snippets Groups Projects
Commit 895ce8bb authored by Helge Deller's avatar Helge Deller Committed by Laurent Vivier
Browse files

linux-user: Emulate CLONE_PIDFD flag in clone()


Add emulation for the CLONE_PIDFD flag of the clone() syscall.
This flag was added in Linux kernel 5.2.

Successfully tested on a x86-64 Linux host with hppa-linux target.
Can be verified by running the testsuite of the qcoro debian package,
which breaks hard and kills the currently logged-in user without this
patch.

Signed-off-by: default avatarHelge Deller <deller@gmx.de>
Reviewed-by: default avatarLaurent Vivier <laurent@vivier.eu>

Message-Id: <Y4XoJCpvUA1JD7Sj@p100>
[lv: define CLONE_PIDFD if it is not]
Signed-off-by: default avatarLaurent Vivier <laurent@vivier.eu>
parent fe080593
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment