Page MenuHomeFreeBSD

Add support for PTRACE_O_TRACEEXIT to linuxulator ptrace(2)
ClosedPublic

Authored by trasz on Jun 18 2019, 8:31 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Nov 24, 3:35 PM
Unknown Object (File)
Nov 21 2024, 2:05 PM
Unknown Object (File)
Nov 21 2024, 4:22 AM
Unknown Object (File)
Nov 19 2024, 2:18 PM
Unknown Object (File)
Nov 19 2024, 9:39 AM
Unknown Object (File)
Nov 14 2024, 6:54 AM
Unknown Object (File)
Nov 14 2024, 3:45 AM
Unknown Object (File)
Oct 2 2024, 3:53 AM
Subscribers

Details

Summary

Add support for PTRACE_O_TRACEEXIT to linuxulator ptrace(2).
This fixes strace 4.25 from Ubuntu 19.04.

Diff Detail

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

Event Timeline

LGTM

sys/amd64/linux/linux_ptrace.c
74 ↗(On Diff #58775)

For reference:

LINUX_PTRACE_EVENT_FORK 1
LINUX_PTRACE_EVENT_VFORK 2
LINUX_PTRACE_EVENT_CLONE 3
LINUX_PTRACE_EVENT_EXEC 4
LINUX_PTRACE_EVENT_VFORK_DONE 5
LINUX_PTRACE_EVENT_EXIT 6
LINUX_PTRACE_EVENT_SECCOMP 7

This revision is now accepted and ready to land.Jun 19 2019, 2:35 PM