lkml.org 
[lkml]   [2012]   [Jan]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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


\
 
 \ /
  Last update: 2012-01-27 19:47    [W:0.137 / U:0.160 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site