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
Matthew Dillon
dillon at crater.dragonflybsd.org
Thu Apr 23 10:37:33 PDT 2009
commit 0a215286f614e93b27df940cd84c1f5fd7e494fe
Author: Matthew Dillon <dillon at 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
More information about the Commits
mailing list