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
F151747095: D20223.id57252.diff
Fri, Apr 10, 10:02 AM
Unknown Object (File)
Tue, Mar 31, 11:13 AM
Unknown Object (File)
Mon, Mar 30, 3:21 PM
Unknown Object (File)
Tue, Mar 17, 5:37 AM
Unknown Object (File)
Thu, Mar 12, 10:47 PM
Unknown Object (File)
Thu, Mar 12, 5:17 PM
Unknown Object (File)
Thu, Mar 12, 2:50 AM
Unknown Object (File)
Mar 2 2026, 10:54 PM
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 Passed
Unit
No Test Coverage
Build Status
Buildable 24183
Build 23030: arc lint + arc unit

Event Timeline

dchagin added inline comments.
sys/amd64/linux/linux_ptrace.c
430

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.