I would like to use OpenBSD's implementation of malloc, realloc and free on my Debian lenny desktop rather than glibc's.
Are they simply drop in replacements: will they work on my Linux desktop ?
Which are the file(s) that I need and which OpenBSD package contains them ?
Google has their own malloc replacement library at http://code.google.com/p/google-perftools/wiki/GooglePerformanceTools with instructions for using it. They say all you need to do is link it in (before the standard version is linked in) to use it.
I do not know if there is anything special about the OpenBSD version that would prevent this. If it is malloc and some other standard library stuff together it is likely more difficult, though.