]> Zhao Yanbai Git Server - minix.git/commit
Retire ptrace(T_DUMPCORE), dumpcore(1), gcore(1) 51/951/2
authorDavid van Moolenbroek <david@minix3.org>
Wed, 28 Aug 2013 13:58:30 +0000 (15:58 +0200)
committerLionel Sambuc <lionel@minix3.org>
Tue, 18 Feb 2014 10:25:03 +0000 (11:25 +0100)
commit4f6b382c412cd548669a0d64008fee56a1903b31
tree2495c0bdc2cc92e5f3d0c7e405302fa44c698911
parentf707937192c6ffd5add956f99e88feaf264836e4
Retire ptrace(T_DUMPCORE), dumpcore(1), gcore(1)

The T_DUMPCORE implementation was not only broken - it would currently
produce a coredump of the tracer process rather than the traced
process - but also deeply flawed, and fixing it would require serious
alteration of PM's internal state machine. It should be possible to
implement the same functionality in userland, and that is now the
suggested way forward. For now, also remove the (identical) utilities
using T_DUMPCORE: dumpcore(1) and gcore(1).

Change-Id: I1d51be19c739362b8a5833de949b76382a1edbcc
14 files changed:
commands/Makefile
commands/dumpcore/Makefile [deleted file]
commands/dumpcore/dumpcore.c [deleted file]
commands/gcore/Makefile [deleted file]
commands/gcore/gcore.c [deleted file]
distrib/sets/lists/minix/mi
include/minix/com.h
man/man1/Makefile
man/man1/dumpcore.1 [deleted file]
servers/pm/forkexit.c
servers/pm/main.c
servers/pm/trace.c
servers/vfs/main.c
sys/sys/ptrace.h