gcj crashes if a user-thread gives up its rights
Jost Boekemeier
jost2345@yahoo.de
Wed Dec 15 20:02:00 GMT 2004
> 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
More information about the Java
mailing list