[comp.unix.wizards] System V Release 4.0 and #!

cander@unisoft.UUCP (Charles Anderson) (06/28/90)

From article <12917@cbmvax.commodore.com>, by ag@cbmvax.commodore.com (Keith Gabryelski):
> There is a new exec module in the V.4 kernel that allows for different
> types of exec file formats.  This is how coff, elf, and shell script
> execs are handled in the kernel, now.  To implement a new exec file
> format one chooses a suitable magic number, links in a few routines of
> routines [maybe FOOexec and FOOcore], updates the appropriate
> structure array [execsw], and then figures out what they broke. :-)

Just to pick nits :-), the linking of modules and the creation of
execsw[] is all done automatically by cunix(1M).  You do however have
to update the system file to tell cunix to include your new exec module
in the kernel.

-- 

Charles.
{sun, ucbvax, pyramid, uunet}!unisoft!cander