HomeFreeBSD

linux: map EBUSY returned by ptrace into ESRCH

Description

linux: map EBUSY returned by ptrace into ESRCH

The ptrace(2) Linux man page claims the syscall returns ESRCH,
if the tracee is not stopped; the native ptrace(2) returns EBUSY.

Sponsored by: The FreeBSD Foundation

Details

Provenance
traszAuthored on Jan 15 2021, 5:11 PM
Parents
R10:47f7345baba0: linux: fix PTRACE_POKEDATA and PTRACE_POKETEXT.
Branches
Unknown
Tags
Unknown