Page MenuHomeFreeBSD

Fix handling of r10 in Linux ptrace(2).
ClosedPublic

Authored by trasz on May 10 2019, 8:20 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Jan 11, 9:58 AM
Unknown Object (File)
Dec 23 2024, 11:43 PM
Unknown Object (File)
Nov 16 2024, 7:10 PM
Unknown Object (File)
Sep 17 2024, 12:03 AM
Unknown Object (File)
Sep 8 2024, 9:58 PM
Unknown Object (File)
Sep 8 2024, 5:24 PM
Unknown Object (File)
Sep 8 2024, 3:58 AM
Unknown Object (File)
Sep 1 2024, 6:19 AM
Subscribers

Details

Summary

Fix handling of r10 in Linux ptrace(2). This fixes decoding
of the 'flags' argument to mmap(2) in Linux strace(1).

Diff Detail

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

Event Timeline

dchagin added inline comments.
sys/amd64/linux/linux_ptrace.c
430 ↗(On Diff #57252)

I wonder what is Linux does with r11 and r10 in that case?

This revision is now accepted and ready to land.May 12 2019, 4:34 PM
This revision was automatically updated to reflect the committed changes.