Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Jul 1997 13:43:26 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        dg@root.com, smp@csn.net
Cc:        current@FreeBSD.ORG, smp@FreeBSD.ORG
Subject:   Re: self modifying kernel code
Message-ID:  <199707170343.NAA02736@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>>So what is the policy/reality of self-modifying code in the -current source?
>
>   Basically, we don't allow self-modifying code. There are many reasons, for
>instance the kernel text is protect read-only to catch certain types of bad
>pointer references, but the main reason is that it's considered bad programming
>style, obscuring the operation of the code - usually with little or no gain.

Yes, things like LKM's and kldload(2) don't exist ;-).  They give little or
no gain.

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199707170343.NAA02736>