Page MenuHomeFreeBSD

Implement linux64 version of ptrace.
ClosedPublic

Authored by trasz on Feb 1 2017, 3:26 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Dec 27, 7:19 PM
Unknown Object (File)
Tue, Dec 24, 10:27 PM
Unknown Object (File)
Tue, Dec 17, 5:26 AM
Unknown Object (File)
Tue, Dec 17, 5:26 AM
Unknown Object (File)
Fri, Dec 6, 3:51 PM
Unknown Object (File)
Nov 12 2024, 3:52 PM
Unknown Object (File)
Nov 12 2024, 6:15 AM
Unknown Object (File)
Nov 6 2024, 2:11 PM
Subscribers

Details

Summary

Implement linux64 version of ptrace. it's not complete, but enough
to successfully run strace.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

trasz retitled this revision from to Implement linux64 version of ptrace..
trasz updated this object.
trasz edited the test plan for this revision. (Show Details)

Really nice, thank you for doing this :)

sys/amd64/linux/linux_ptrace.c
255 ↗(On Diff #24627)

PTRACE_O_TRACEEXIT here

sys/amd64/linux/linux_sysvec.c
141 ↗(On Diff #24627)

what is the reason for this?

trasz edited edge metadata.

Fix printf, remove leftover.

... and readd the linux_ptrace.c, d'oh!

Thanks; the bsd_to_linux_errno[] thing was just a leftover.

dchagin edited edge metadata.
This revision is now accepted and ready to land.Feb 2 2017, 2:24 PM
trasz edited edge metadata.

Cosmetic fixes.

This revision now requires review to proceed.Feb 15 2017, 10:34 AM
trasz edited edge metadata.

Fix diff.

This revision was automatically updated to reflect the committed changes.