Re: Sharing ELF definitions between NetBSD userspace and kernel

Mouse <[email protected]>
Newsgroups gmane.os.netbsd.devel.kernel,gmane.os.netbsd.devel.userlevel
Message-ID <[email protected]>
Maybe it's just me being iconoclastic, but:

> Goal 1: To wean userland off the use of <sys/exec_elf.h> (a kernel
>   header).

Why is this desirable?  There are numerous <sys/...> headers which
define/describe interfaces between userland and the kernel (which to at
least some extent ELF is); a simple example is <sys/socket.h>.

Admittedly, for ELF the situation is complicated by ELF being
externally defined.  But then, so, to at least some extent, are many of
the things defined/described by <sys/...> headers: <sys/socket.h>, for
example, describes APIs defined by history, and, ultimately, by a few
people at UCBerkeley.

/~\ The ASCII				  Mouse
\ / Ribbon Campaign
 X  Against HTML		[email protected]
/ \ Email!	     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.