Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Sep 2008 01:05:32 +0000 (UTC)
From:      Alexander Kabaev <kan@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/libexec/rtld-elf rtld.c
Message-ID:  <200809030105.m8315o1h020105@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
kan         2008-09-03 01:05:32 UTC

  FreeBSD src repository

  Modified files:
    libexec/rtld-elf     rtld.c 
  Log:
  SVN rev 182698 on 2008-09-03 01:05:32Z by kan
  
  Make sure internal rtld malloc routines are not called from unlocked
  contexts as rtld's malloc is not thread safe and is only supposed to be
  called with exclusive bind lock already held.
  
  The originating PR submitted a patch on top of different pre-requisite
  workaroud for unsafe dlopen calls, and the patch was midief slighlty to apply
  to stock sources for the purpose of this commit. Running rtld malloc from
  unlocked contexts is a bug on its own.
  
  PR: 126950
  Submited by: Oleg Dolgov
  
  Revision  Changes    Path
  1.127     +17 -14    src/libexec/rtld-elf/rtld.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200809030105.m8315o1h020105>