[lkml]   [2011]   [Jan]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [GIT] Networking
On Thu, Jan 20, 2011 at 5:21 PM, Linus Torvalds
<> wrote:
> On Thu, Jan 20, 2011 at 1:40 PM, Eric Dumazet <> wrote:
>> Then here ask for fd=3 both POLLIN and POLLOUT :
>> kernel answers : OK for POLLOUT (not POLLIN), so previous poll() call
>> was OK to be blocked after all...
>> So I'm wondering if it could be a userland bug, that triggers with
>> recent kernel changes.
> As far as I can tell, that program isn't multi-threaded

It is actually; see src/gs-auth-pam.c; there is some pretty scary code
there; basically all of PAM is put in a thread to avoid blocking the
mainloop. Whether the code is actually buggy I can't say immediately;
it's certainly possible.

 \ /
  Last update: 2011-01-20 23:41    [W:0.055 / U:0.568 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site