This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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: [PATCH,HURD] Fix __dup2 _hurd_dtable_lock usage.


It also should start its critical section before the first lookup.
And I think the unlock/relock case has a lock order problem in case
of other threads that hold _hurd_dtable_lock while getting an fd spin lock.

Can you try to fix it all the way?


Thanks,
Roland


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