This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: gcj crashes if a user-thread gives up its rights


> to do what you want (pthread_setuid_np()?). 

Well, I don't insist on the non-posix behaviour.
All user-threads are not a problem either, because
they are started from my pool which does the right
things.

The problem is the one gc/gcj "system thread" which I
don't control. 


> And for non-Java code, it would be trivial
> to just hijack another thread.

How?  That exactly would be the solution to my
problem: I cannot change the uid for the gcj "system
thread". -- What does this thread do, btw?  I assumed
that it is either the GC or a mediator which works for
the GC.


> nptl source [...] still seems to rely on signals for
a few things

I've had the impression that this is only used to
cancel a thread or other things that I don't expect to
work when my thread doesn't have the rights.


Jost



	

	
		
___________________________________________________________ 
Gesendet von Yahoo! Mail - Jetzt mit 250MB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]