libgfapi and any application

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux