Re: [PATCH] introduce kernel_execve function to replace __KERNEL_SYSCALLS__

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tuesday 22 August 2006 10:00, Björn Steinbrink wrote:
> I'm working on a patch loosely based on Arnd's that changes the
> in-kernel syscall macros to directly return the error codes.

I think that is still going in the wrong direction. Traditionally,
the macros in unistd.h were meant for user space, but we're now
discouraging that strongly (i.e. they are inside of #ifdef __KERNEL__).
The only in-kernel users on the _syscall macros used to by the
__KERNEL_SYSCALLS__ that we're trying to kill.

The logical consequence should be that we remove the _syscall macros
entirely, for all architectures.
UML can be converted to use the syscall function provided by libc
in order to call the host OS.

	Arnd <><
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux