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)
Dec 31 2023, 10:12 PM
Unknown Object (File)
Dec 31 2023, 11:52 AM
Unknown Object (File)
Dec 25 2023, 6:18 PM
Unknown Object (File)
Dec 25 2023, 6:18 PM
Unknown Object (File)
Dec 25 2023, 6:18 PM
Unknown Object (File)
Dec 25 2023, 6:18 PM
Unknown Object (File)
Dec 25 2023, 6:18 PM
Unknown Object (File)
Dec 25 2023, 6:18 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.