Summary: | [linux] ptrace is broken in Linux emulation | ||
---|---|---|---|
Product: | Base System | Reporter: | Richard Yao <ryao> |
Component: | kern | Assignee: | Edward Tomasz Napierala <trasz> |
Status: | Closed Feedback Timeout | ||
Severity: | Affects Only Me | CC: | avos, emaste, trasz |
Priority: | Normal | ||
Version: | 9.0-RELEASE | ||
Hardware: | Any | ||
OS: | Any | ||
Bug Depends on: | |||
Bug Blocks: | 247219 |
Description
Richard Yao
2012-07-13 08:30:02 UTC
Responsible Changed From-To: freebsd-bugs->freebsd-emulation Over to maintainer(s). For bugs matching the following criteria: Status: In Progress Changed: (is less than) 2014-06-01 Reset to default assignee and clear in-progress tags. Mail being skipped Linux ptrace support added in r313809, merged to stable/11 in r316363 - are you able to test again? https://reviews.freebsd.org/rS313809 https://reviews.freebsd.org/rS316363 Doesn't work for me (r343254): # strace echo Hello World strace: ptrace(PTRACE_TRACEME, ...): Function not implemented +++ exited with 1 +++ dmesg: linux: pid 40303 (strace): syscall ptrace not implemented kldstat | grep linux 6 3 0xffffffff8182f000 4280 linux_common.ko 10 4 0xffffffff819ec000 19f30 linuxkpi.ko 11 3 0xffffffff81a06000 12f30 linuxkpi_gplv2.ko 30 1 0xffffffff81b9c000 51c88 linux.ko 31 1 0xffffffff81bee000 4a0e0 linux64.ko # strace -V | head -n 1 strace -- version 4.25 However, I'm using 32-bit linux on amd64 FreeBSD - and it seems to be unimplemented here: grep ptrace sys/amd64/linux32/linux32_dummy.c DUMMY(ptrace); Should be fixed now in 13-CURRENT on amd64. Can you test? |