SIGILL @ pthread_create() after execv -FIXED-
Daniel Eischen
deischen at freebsd.org
Thu Sep 16 16:31:26 PDT 2004
On Fri, 17 Sep 2004, David Xu wrote:
> Daniel Eischen wrote:
>
> >We do that in fork(). Is execv() not being done after a fork()?
> >
> >
> >
> Joost calls execv() directly in threaded process, he did not go through
> fork() ->execv() path.
Yes, Julian just emailed me similarly. In that case, I think we need
to wrap execve() and set the kernel signal mask to the threads signal
mask. We don't need all the single threading stuff that is in our
wrapped fork(); just __sys_sigprocmask() should be sufficient. Right?
--
Dan Eischen
More information about the freebsd-threads
mailing list