Re: [RFC c/r 2/4] [RFC] syscalls, x86: Add __NR_kcmp syscall v7

From: Cyrill Gorcunov
Date: Fri Jan 27 2012 - 13:45:23 EST


On Fri, Jan 27, 2012 at 10:40:54AM -0800, Eric W. Biederman wrote:
> Can you make the prototype:
> static int kcmp_ptr(void *v1, void *v2, enum kcmp_type type)
>
> So the caller does not need to have casts?

Sure.

> I believe I commented on this earlier but it looks like it got lost in
> the noise.
>
> file == NULL != file == NULL.
>
> When you can't lookup the file kcmp should return -EBADF.
>

Yes, Eric, I somehow missed it in replies flowing. I'll update.
Thanks!

Cyrill
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/