This is the mail archive of the frysk@sources.redhat.com mailing list for the frysk project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]