Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Jul 1997 17:40:42 -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:  <199707170040.RAA04953@implode.root.com>
In-Reply-To: Your message of "Wed, 16 Jul 1997 18:33:22 MDT." <199707170033.SAA10984@Ilsa.StevesCafe.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
>>    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?

   I'd say that you'd get less resistence to it, but then at boot time there
are probably other cleaner, slower, ways of accomplishing the same thing.

-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?199707170040.RAA04953>