tech-kern archive

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

Re: Sharing ELF definitions between NetBSD userspace and kernel



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		mouse%rodents-montreal.org@localhost
/ \ Email!	     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B


Home | Main Index | Thread Index | Old Index