Subject: Re: Syscall and syscall versioning documentation
To: None <tech-kern@netbsd.org>
From: Christos Zoulas <christos@astron.com>
List: tech-kern
Date: 11/21/2006 18:15:37
In article <20061120210855.GA29417@NetBSD.org>,
Pavel Cahyna <pavel@NetBSD.org> wrote:
>Hello,
>
>I've finally committed that, after changing it a bit according to
>numerous suggestions from Emmanuel Dreyfus. Improvements are welcome.
>
>http://www.netbsd.org/Documentation/internals/en/chap-processes.html#traps_syscalls
Thanks!
1. Why not use ansi prototypes to simplify the formatting?
2. In 3.2.3, show the compat_30_sys_sockets_args structure and explain
the SCARG() macro.
3. In 3.2.6, mention that we usually implement the older version of the
syscall in libc so that we can provide binary compatibility for
dynamically linked libraries without needing the kernel support.
Also mention that we don't litter the code with compat defines,
but we put stuff in lib/libc/compat or sys/compat. Mention how
__RENAME() works and the __LIBC12_SOURCE__ define.
christos