]> git.openfabrics.org - ~shefty/librdmacm.git/commit
rspreload: Support dup2 calls
authorSean Hefty <sean.hefty@intel.com>
Mon, 30 Jul 2012 23:06:32 +0000 (16:06 -0700)
committerSean Hefty <sean.hefty@intel.com>
Mon, 30 Jul 2012 23:06:32 +0000 (16:06 -0700)
commitbb9d29b2fc3c8906fcc7a0b205e9130a60fc16f2
tree5770132465e02e074374c2198a8f7ee3aad036ea
parentb8f3b02178571b9db3f31520c49b85c0fdc4bf65
rspreload: Support dup2 calls

vsftpd requires dup2() support.  To handle dup2, we need to add
reference count tracking to the preload fd's.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
src/preload.c