public inbox for [email protected]  
help / color / mirror / Atom feed
Subject: [Pljava-dev] threads left running after function end
Date: Wed, 27 May 2009 08:07:00 +0200
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
	<[email protected]>
	<[email protected]>

Kris Jurka wrote:

> Without a fix to this I don't see any alternative to dropping the 
> trusted version of pljava.
> 
I think the easiest fix would be to prevent a trusted function from ever calling an untrusted 
function. I don't think that would be too limiting and it should be easy enough to check. The 
semantic would do something like this:

At the point when the SecurityManager is replaced, check if the invocation is nested. If it is, 
check if the current SecurityManager is the one used by a trusted function. If so, throw an exception.

Regards,
Thomas Hallgren





view thread (4+ messages)

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Subject: Re: [Pljava-dev] threads left running after function end
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox