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]

moving frysk.proc.LinuxPtrace* to frysk.proc.ptrace.Linux*


Just an update and heads up to the on-going task of breaking-out the os-specific code in frysk.proc, moving it to more specialized packages vis:
frysk.proc.dummy - a dummy host - "done"
frysk.proc.corefile - a host built from core-files - "done"
frysk.proc.ptrace - a host built using ptrace(2) calls


For frysk.proc.ptrace, there'll likely soon be some interesting fallout:

-> as WIP have << frysk.proc.ptrace.LinuxHost extend frysk.proc.LinuxPtraceHost extend frysk.proc.Host >>, (perhaps also similar for Task and Proc?) so that code can more incrementally be switched to the new frysk.proc.ptrace package

-> Eliminate methods such as <<abstract void Task.sendAttach()>> from frysk.proc.Task inlining the implementation into frysk.proc.ptrace.LinuxTaskState; they assume "ptrace" semantics which only applies to ptrace

-> Add more manipulation methods, such as proc.reparent(Proc) to abstract some of the tree manipulation operations

take care,
Andrew


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