Re: [PATCH 0/1] ptrace_vm: let us simplify the code for ptrace and add useful features for VM

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jeff Dike
Date: Friday, June 27, 2008 - 10:50 am

On Sun, Jun 22, 2008 at 11:11:02AM +0200, Renzo Davoli wrote:

I can see this being useful - this is kind of what strace wants,
except that it wouldn't be able to see that a system call is about to
sleep.  This could be implemented by just stashing any trashed
registers off to the side ala x86 orig_eax.


Yup.


No one.


Seems reasonable.  In this case, they should be numbered 0, 1, 2
rather than having masks or-ed together.  This happens to produce the
same numbers, except that 3 is outlawed.


Maybe.  How about PTRACE_VM_TRACESTART?  Makes the naming somewhat
non-orthogonal, but shorter and descriptive.

		    	    	Jeff

-- 
Work email - jdike at linux dot intel dot com
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 0/1] ptrace_vm: let us simplify the code for pt ..., Jeff Dike, (Fri Jun 27, 10:50 am)