Commit Graph

159 Commits

Author SHA1 Message Date
Simon Ruderich
fb9548453f Add simple test suite. 2013-06-01 21:51:28 +02:00
Simon Ruderich
96710bc3fa Add ENV_NAME_FORCE_WRITE to force writes to non-tty devices. 2013-06-01 21:13:23 +02:00
Simon Ruderich
7d4d8e0784 Fix initialization if ENV_NAME_FDS was not set.
If ENV_NAME_FDS is not set then init_from_environment() was called for
each hooked function, instead of just once.
2013-06-01 18:27:56 +02:00
Simon Ruderich
5e162a33ae Fix signature of fcntl() hook. 2013-05-31 22:31:11 +02:00
Simon Ruderich
b9b86029be Display PID in tracked_fds_debug(). 2013-05-31 18:40:49 +02:00
Simon Ruderich
8772530a2e trackfds.h: Add missing void to function definition. 2013-05-31 18:39:47 +02:00
Simon Ruderich
f369605227 fcntl(): Don't call dup_fd() if real_fcntl() failed. 2013-05-31 18:37:55 +02:00
Simon Ruderich
6d15f6c990 Rename macros.h to hookmacros.h. 2013-05-31 18:36:21 +02:00
Simon Ruderich
abc3d7889f Initial commit. 2013-05-31 18:19:12 +02:00