Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!sdd.hp.com!decwrl!ucbvax!unisoft!cander From: cander@unisoft.UUCP (Charles Anderson) Newsgroups: comp.unix.wizards Subject: Re: System V Release 4.0 and #! Message-ID: <3051@unisoft.UUCP> Date: 27 Jun 90 18:01:19 GMT References: <12917@cbmvax.commodore.com> Distribution: usa Lines: 17 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