System V Release 4.0 and #!

Charles Anderson cander at unisoft.UUCP
Thu Jun 28 04:01:19 AEST 1990


>From article <12917 at cbmvax.commodore.com>, by ag at 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



More information about the Comp.unix.wizards mailing list