Re: [PATCH] introduce kernel_execve function to replace__KERNEL_SYSCALLS__

From: Arjan van de Ven
Date: Sun Aug 20 2006 - 16:18:00 EST


On Sun, 2006-08-20 at 22:11 +0200, BjÃrn Steinbrink wrote:
> On 2006.08.20 21:50:46 +0200, Arjan van de Ven wrote:
> > \
> > > Could we rename __syscall_return to IS_SYS_ERR (or whatever) and force
> > > kernel syscall users to do the check? That way we could eliminate errno
> >
> > s/users/user/ .. there's one left that should die out soon ;)
> >
>
> Only one in unistd.h, but throughout the kernel there are quite a few
> unless I'm missing something here:
> doener@atjola:~/src/kernel/linux-2.6$ grep \ _syscall * -R | \
> > grep -v define\\\|undef\\\|clobber | wc -l
> 116
>
> Are these just going to be replaced by calls to sys_whatever?

they're not the users of this, they're the definitions... ;)


--
if you want to mail me at work (you don't), use arjan (at) linux.intel.com

-
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/