Date: Sun, 7 Dec 2008 02:32:49 +0000 (UTC) From: Peter Wemm <peter@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/lib/libthr/thread thr_rtld.c Message-ID: <200812070232.mB72WwxV060588@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
peter 2008-12-07 02:32:49 UTC FreeBSD src repository Modified files: lib/libthr/thread thr_rtld.c Log: SVN rev 185728 on 2008-12-07 02:32:49Z by peter When libthr and rtld start up, there are a number of magic spells cast in order to get the symbol binding state "just so". This is to allow locking to be activated and not run into recursion problems later. However, one of the magic bits involves an explicit call to _umtx_op() to force symbol resolution. It does a wakeup operation on a fake, uninitialized (ie: random contents) umtx. Since libthr isn't active, this is harmless. Nothing can match the random wakeup. However, valgrind finds this and is not amused. Normally I'd just write a suppression record for it, but the idea of passing random args to syscalls (on purpose) just doesn't feel right. Revision Changes Path 1.10 +1 -1 src/lib/libthr/thread/thr_rtld.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200812070232.mB72WwxV060588>