[Gluster-devel] libgfapi and any application

RJ Nowling rnowling at gmail.com
Tue Apr 29 00:39:08 UTC 2014


There's a tool called Parrot developed by a lab at Notre Dame that does this:
http://www3.nd.edu/~ccl/software/parrot/

Parrot is used to execute the child process, so that ptrace can used
to intercept the system calls. You do have to be careful, though --
you'll have to do things like write to a certain region's of the child
process's memory in order to mimic system calls like read().

On Mon, Apr 28, 2014 at 8:21 PM, Joe Julian <joe at julianfamily.org> wrote:
> Specifically I've been looking at the innodb engine for MariaDB. While
> talking with Monty this weekend, he posited that I could write a wrapper
> library to go around the innodb library that would handle the connection,
> but would just override the glibc functions for posix filesystem commands.
> Does this sound feasible?
>
> If it is, couldn't you essentially do an LD_PRELOAD wrapper around any
> application to do that? Sure, you would have to probably resort to
> environment variables to set the server and volume data, but in theory would
> it work?
> _______________________________________________
> Gluster-devel mailing list
> Gluster-devel at gluster.org
> http://supercolony.gluster.org/mailman/listinfo/gluster-devel



-- 
em rnowling at gmail.com
c 954.496.2314



More information about the Gluster-devel mailing list