On Jun 14, 2009, at 12:19 PM, Steve M. Robbins wrote:

Agreed.  We thought that stat() was safe to call in the malloc init
hook -- it seems to be in most other places, at least.

Jeff, I agree that one would expect stat() to be safe; my comment
about "crafty things" wasn't intended as a judgement call on this
approach.  I think the code is pretty clever, but it's a hard problem
when you are operating with no clear rules about what is permitted in
the init hook.  :-)

Thanks! Just wanted to make sure we weren't unintentionally going afoul of some established techniques that we weren't previously aware of (wouldn't be the first time :-( ).

Otherwise, I can easily convert my "#if 0" hack into a patch that
checks for an environment variable.  Jeff previously suggested
setting OMPI_MCA_disable_memory_allocator; is that the variable we
want to use?


Note that this would be a fairly Open MPI-specific environment variable. This would be fine with me, but I don't know you want a more generic fakeroot solution in case anyone else ever runs into this problem...?

--
Jeff Squyres
Cisco Systems




--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to