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

DragonFly-2.3.0.778.g0a215 master lib/libthread_xu/arch Makefile.inc lib/libthread_xu/arch/amd64 Makefile.inc lib/libthread_xu/arch/i386 Makefile.inc lib/libthread_xu/thread thr_private.h thr_umtx.c


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 23 Apr 2009 10:35:55 -0700 (PDT)

commit 0a215286f614e93b27df940cd84c1f5fd7e494fe
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Thu Apr 23 10:34:34 2009 -0700

    Fix an errno leak in libthread_xu's calls to umtx.
    
    Add a syscall entry point that returns errno instead of loading the
    errno variable and use it to make umtx calls deep in libthread_xu,
    avoiding the whole errno issue and fixing the leak.
    
    Submitted-by: Alex Hornung

Summary of changes:
 lib/libthread_xu/arch/Makefile.inc       |    2 +-
 lib/libthread_xu/arch/amd64/Makefile.inc |    2 +-
 lib/libthread_xu/arch/i386/Makefile.inc  |    2 +-
 lib/libthread_xu/thread/thr_private.h    |    2 ++
 lib/libthread_xu/thread/thr_umtx.c       |   28 ++++++++++++++--------------
 5 files changed, 19 insertions(+), 17 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/0a215286f614e93b27df940cd84c1f5fd7e494fe


-- 
DragonFly BSD source repository



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