This is the mail archive of the
frysk@sources.redhat.com
mailing list for the frysk project.
Kernel workaround
- From: Mike Cvet <mcvet at redhat dot com>
- To: frysk at sources dot redhat dot com
- Date: Mon, 19 Jun 2006 11:53:15 -0400
- Subject: Kernel workaround
Hi everyone,
Previously, a patched kernel was required for Frysk to properly
manipulate processes and tasks through ptrace because of some 'features'
inherent with that system call.
This issue has now been worked around: all ptrace calls are done
transparently through the same single thread which works independently
of the core thread, which is blocked during the ptrace call. Thus, since
this ptrace thread is the parent task of all attached-to processes or
tasks, we're avoiding problems such as #2595. There shouldn't be any
more calls to ptrace directly, and the patched kernel is no longer
needed for this functionality.
Thanks,
Mike