www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/03/04/15:04:19

Date: Thu, 4 Mar 1999 20:58:22 +0100 (MET)
From: Wojciech Piechowski <voyt AT ds2 DOT pg DOT gda DOT pl>
To: DJGPP mailing list <djgpp AT delorie DOT com>
Subject: C++ exceptions and stack messing
Message-ID: <Pine.GSO.3.96.990304205124.695C-100000@delta.ds2.pg.gda.pl>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com

Hi

I'm writing a program that uses some privilege levels using call gates.
Calling the gate changes the privilege and switches to another stack
specific to the new privilege. The old stack comes back when the
privileged routine does 'RET'. I wonder if the privileged function can
throw exceptions which will be caught by the non-privileged caller?

--------------------\  Wojciech  Piechowski  /----------------------------
Student informatyki  \  voyt AT ds2 DOT pg DOT gda DOT pl  /  Student of computer science
Politechnika Gdanska  \____________________/   Gdansk Technical University

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019