"When in doubt, do The Right Thing™"
The
first in a series of two essays about
concurrency and distribution.
In
this essay we will be studying how to intercept/override library procedure calls using the
LD_PRELOAD environment variable and our crafted library. It is a really simple thing but it can come handy.
The intercepting saga
continues, with a twist.