Re: [PATCH 2/7] rename the provided execve functions to kernel_execve

Arnd Bergmann
2006-08-28T07:44:41Z

On Monday 28 August 2006 04:20, Randy.Dunlap wrote:
> Question:
> All other syscalls (in syscalls.h) return long or unsigned long
> or ssize_t etc.  I.e., none of them return int.  Does this one
> return int because it's strictly an inside-the-kernel "syscall",
> not exposed to userspace?

Well, it's not really a system call in the first place, but
I could not find any other place where it would fit.
The prototype of the kernel_execve function is the one from
the man execve page, and also similar to those that were
generated by the _syscall3() macro before.