Messages in this thread | | | Date | Fri, 28 Apr 2006 21:49:56 -0400 | From | Jeff Dike <> | Subject | Re: [uml-devel] [RFC] PATCH 3/4 - Time virtualization : PTRACE_SYSCALL_MASK |
| |
On Fri, Apr 28, 2006 at 10:28:46PM +0200, Blaisorblade wrote: > Ok, this gives us a definite proposal, which I finally like: > > * to exclude sys_tee: > > bitmask = 0; > set_bit(__NR_tee, bitmask); > ptrace(PTRACE_SET_NOTRACE, bitmask); > > * to trace only sys_tee: > > bitmask = 0; > set_bit(__NR_tee, bitmask); > ptrace(PTRACE_SET_TRACEONLY, bitmask);
Yup, I like this.
> the call fails if any of them is 1, and in the failure case E2BIG or > EOVERFLOW is returned
strerror(E2BIG) is "Arg list too long"
strerror(EOVERFLOW) is "Value too large for defined data type"
Neither of those seems right. I'd just as soon stick with -EINVAL.
Jeff
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |