X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f Message-ID: <3C62025D.4070102@edu.stadia.fi> From: Antti Koskipaa User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:0.9.8) Gecko/20020204 X-Accept-Language: en-us MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: Re: FSDB and descriptor tables References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Lines: 18 Date: Wed, 06 Feb 2002 20:28:13 -0800 NNTP-Posting-Host: 212.38.226.96 X-Trace: uutiset.nic.fi 1013020021 212.38.226.96 (Wed, 06 Feb 2002 20:27:01 EET) NNTP-Posting-Date: Wed, 06 Feb 2002 20:27:01 EET Organization: NIC Tietoverkot Oy - NIC Data Networks Ltd. To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Eli Zaretskii wrote: > The sources of FSDB are freely available for studying (get > djlsr203.zip, and look there in src/debug/fsdb/ directory). I see. I was referring with my own DS, instead of _dos_ds. > No, you are wrong: SGDT and SLDT are not privileged instructions, as > they only read the tables, but not modify them. And there's nothing > special about how those tables are mapped. So... The OS allows direct reading of the descriptors. Gotta test if they are writeable too... That would be a major security hole. -- - Antti