From: muller AT janus DOT u-strasbg DOT fr (Pierre Muller) Newsgroups: comp.os.msdos.djgpp Subject: [Q] Is it possible to write-protect the text section ? Date: 10 Jul 1997 13:33:08 GMT Organization: Institut Charles Sadron Lines: 9 Message-ID: <5q2oak$mfh$2@arcturus.ciril.fr> NNTP-Posting-Host: laocoon.u-strasbg.fr Mime-Version: 1.0 Content-Type: Text/Plain; charset=ISO-8859-1 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk I think the title says it all Can I use the set_page_attribute function of the DPMI to protect the text section against writing ? (I am debugging a program that is writing in the text part, but the problems appear only when the overwritten code is used again so it is hard to debug !! )