Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Jul 1997 17:15:35 -0700
From:      David Greenman <dg@root.com>
To:        Steve Passe <smp@csn.net>
Cc:        smp@FreeBSD.ORG, current@FreeBSD.ORG
Subject:   Re: self modifying kernel code 
Message-ID:  <199707170015.RAA04777@implode.root.com>
In-Reply-To: Your message of "Wed, 16 Jul 1997 14:42:55 MDT." <199707162042.OAA09705@Ilsa.StevesCafe.com> 

next in thread | previous 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.

-DG

David Greenman
Core-team/Principal Architect, The FreeBSD Project



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