Re: [patch 3/6] sys_indirect RFC - sys_indirect core

2007-06-29 Thread Ulrich Drepper
On 6/29/07, Davide Libenzi <[EMAIL PROTECTED]> wrote: +int indirect_set_context(struct fsa_context *ator, +const struct indirect_ctx __user * __user *ctxs, +unsigned int nctxs, struct indirect_op **first) +{ + unsigned int i; + int

[patch 3/6] sys_indirect RFC - sys_indirect core

2007-06-29 Thread Davide Libenzi
This is the core skeleton for the new sys_indirect() system call. Signed-off-by: Davide Libenzi <[EMAIL PROTECTED]> - Davide --- include/linux/indirect.h | 32 + include/linux/syscalls.h |5 ++ kernel/Makefile |2 kernel/sys_indirect.c| 109

[patch 3/6] sys_indirect RFC - sys_indirect core

2007-06-29 Thread Davide Libenzi
This is the core skeleton for the new sys_indirect() system call. Signed-off-by: Davide Libenzi [EMAIL PROTECTED] - Davide --- include/linux/indirect.h | 32 + include/linux/syscalls.h |5 ++ kernel/Makefile |2 kernel/sys_indirect.c| 109

Re: [patch 3/6] sys_indirect RFC - sys_indirect core

2007-06-29 Thread Ulrich Drepper
On 6/29/07, Davide Libenzi [EMAIL PROTECTED] wrote: +int indirect_set_context(struct fsa_context *ator, +const struct indirect_ctx __user * __user *ctxs, +unsigned int nctxs, struct indirect_op **first) +{ + unsigned int i; + int error;