HomeFreeBSD

linux: make ptrace(2) return EIO when trying to peek invalid address

Description

linux: make ptrace(2) return EIO when trying to peek invalid address

Previously we've returned the error from native ptrace(2), ENOMEM.
This confused Linux strace(2).

Reviewed By: emaste
Sponsored By: EPSRC
Differential Revision: https://reviews.freebsd.org/D29925

Details

Provenance
traszAuthored on Apr 24 2021, 10:37 AM
Reviewer
emaste
Differential Revision
D29925: linux: make ptrace(2) return EIO when trying to peek invalid address
Parents
rGa9b66dbd9169: Allow the tcp_lro_flush_all() function to be called when the control
Branches
Unknown
Tags
Unknown