seccomp via utrace

2009-03-24 Thread Roland McGrath
Here is a trivial module to implement the seccomp guts via utrace. I haven't tested it at all. (AFAIK it was only ever used by cpushare, and that project might be defunct now.) I'm not sure what Ingo had in mind for integrating this. If it's just to reimplement the existing prctl interface,

Re: seccomp via utrace

2009-03-24 Thread Ingo Molnar
* Roland McGrath rol...@redhat.com wrote: Here is a trivial module to implement the seccomp guts via utrace. I haven't tested it at all. (AFAIK it was only ever used by cpushare, and that project might be defunct now.) I'm not sure what Ingo had in mind for integrating this. If it's

Re: seccomp via utrace

2009-03-24 Thread Roland McGrath
Regarding ptrace-via-utrace. What is the plan there? Am i looking the right branch: | earth4:~/linux.trees.git git diff --stat | linus/master..utrace/utrace-ptrace kernel/ptrace.c arch/x86/kernel/ptrace.c | kernel/ptrace.c | 803 ++-

Re: seccomp via utrace

2009-03-24 Thread Ingo Molnar
* Ananth N Mavinakayanahalli ana...@in.ibm.com wrote: nice! The simplification factor is already significant: 18 files changed, 116 insertions(+), 175 deletions(-) That is what we want - to remove special TIF flag uses and replace them with utrace driven machinery. Another

Re: seccomp via utrace

2009-03-24 Thread Ingo Molnar
* Roland McGrath rol...@redhat.com wrote: Regarding ptrace-via-utrace. What is the plan there? Am i looking the right branch: | earth4:~/linux.trees.git git diff --stat | linus/master..utrace/utrace-ptrace kernel/ptrace.c arch/x86/kernel/ptrace.c | kernel/ptrace.c | 803