Messages in this thread | | | Date | Fri, 27 Jan 2012 22:45:19 +0400 | From | Cyrill Gorcunov <> | Subject | Re: [RFC c/r 2/4] [RFC] syscalls, x86: Add __NR_kcmp syscall v7 |
| |
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
| |