DragonFly BSD
DragonFly commits List (threaded) for 2005-05
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: cvs commit: src/lib/libc Makefile src/lib/libc_r Makefile src/lib/libc_r/uthread Makefile.inc uthread_closefrom.c


From: Joerg Sonnenberger <joerg@xxxxxxxxxxxxxxxxx>
Date: Mon, 2 May 2005 22:11:56 +0200
Mail-followup-to: commits@crater.dragonflybsd.org

On Mon, May 02, 2005 at 12:52:58PM -0700, Joerg Sonnenberger wrote:
> joerg       2005/05/02 12:52:58 PDT
> 
> DragonFly src repository
> 
>   Modified files:
>     lib/libc             Makefile 
>     lib/libc_r           Makefile 
>     lib/libc_r/uthread   Makefile.inc 
>   Added files:
>     lib/libc_r/uthread   uthread_closefrom.c 
>   Log:
>   Override closefrom() in libc_r to prevent it from closing the
>   internal signal pipe. Handle this by closing it directly and
>   reopening it after calling closefrom. This fixes the 100% system load
>   from sshd.

This doesn't completely fix the problem, but I'm working on it.
Now sshd blocks on exit.

Joerg



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]