Date: Wed, 16 Jul 1997 18:33:22 -0600 From: Steve Passe <smp@csn.net> To: dg@root.com Cc: smp@FreeBSD.ORG, current@FreeBSD.ORG Subject: Re: self modifying kernel code Message-ID: <199707170033.SAA10984@Ilsa.StevesCafe.com> In-Reply-To: Your message of "Wed, 16 Jul 1997 17:15:35 PDT." <199707170015.RAA04777@implode.root.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, > >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. I expected this, how about during boot as oppossed to while running? -- Steve Passe | powered by smp@csn.net | Symmetric MultiProcessor FreeBSD
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199707170033.SAA10984>