Re: Kernel customization.
Re: Kernel customization.
- Subject: Re: Kernel customization.
- From: Pelle Johansson <email@hidden>
- Date: Fri, 7 Feb 2003 14:14:58 +0100
onsdagen den 5 februari 2003 kl 02.26 skrev Mr. Wong:
Hello everyone, I recently compiled the Darwin (XNU portion v.6.0)
kernel
with the help from the users of this newsgroup (thanks!). I would like
to take this a step further and actually do some kernel customizations
similar to the ones I've done in Linux. For example, I've recompiled
the
Linux kernel to specifically allow or disallow cd burning capabilities
via SCSI emulation support. Another thing I've done in linux is allow
IP
packet forwarding. The Redhat (7.3) Linux kernel appears to be much
easier to handle than the Darwin kernel because there exists GUI and
command line utilities built specifically for the purpose of
custization. Anyway, my question is this: How does one go about
modifying the XNU kernel to achieve such customizations? Is there a
GUI
or command line utility? What suggestions do you have or what should I
watch out for? Any help will be appreciated. Thanks in advance,
Matthew
K. Wong
Well, you got a lot of replies telling you not to, and I agree with
them. Most things are turned on by default. IP forwarding certainly is,
and AFAIK, cd burning is handled completely by the cd iokit driver,
which is a kernel extension (src/live/IOCDStorageFamily in cvs).
However, if you really want to do it, what you do is edit the
xnu/*/conf/MASTER.ppc files (on ppc, obviously).
By modifying the line RELEASE = [...] you can add and remove options.
Of course, it's not completely obvious what options are available,
you'll have to look around in the files in the conf/ directories to
find out.
_______________________________________________
darwin-kernel mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/darwin-kernel
Do not post admin requests to the list. They will be ignored.