summaryrefslogtreecommitdiff
path: root/lib/intercept/intercept.cpp
Commit message (Collapse)AuthorAge
* Ensure that _FILE_OFFSET_BITS is defined before testing its value.Chris Wilson2008-10-11
| | | | | | Move definition of DEFINE_ONLY_OPEN64 into intercept.cpp which is the only place that should use it.
* FreeBSD is very strict about vararg types and aborts at runtime ifChris Wilson2008-10-11
| | | | | | the type passed to va_arg() has been promoted, so let's keep it happy by using ints instead.
* Fix compilation of open64() intercept.Chris Wilson2008-09-26
|
* Add stat() intercept and stat() and lstat() post call hooks.Chris Wilson2008-05-28
|
* Undo mangling by tailorChris Wilson2008-04-04
|
* TailorizationChris Wilson2008-04-04
| | | | | | | | | | | Import of the upstream sources from Repository: http://localhost:8000/ Kind: hg Revision: 7807b7768163f1c2537756abe5416063989cebb1 Original author: tailor@rocio.int.aidworld.org Date: 2008-03-16 19:44:36+00:00
* Replace all remaining use of TRACEx() macros with logging framework.Chris Wilson2008-03-29
| | | | | Remove the old TRACEx macros to catch any remaining uses.
* Fix raidfile tests on FreeBSD 7Chris Wilson2008-01-23
|
* If the address of opendir64() is NULL that is NOT a good sign, Chris Wilson2008-01-03
| | | | | regardless of whether dlerror() thinks that everything is just rosy.
* Use 64-bit versions of directory functions if we can find them, and ifChris Wilson2008-01-03
| | | | | | | we're compiling with large file support, otherwise fall back to 32-bit versions. Hopefully fixes problems with FreeBSD without breaking other platforms (raidfile tests pass on freebsd).
* Search for readdir64 and stat64 if LARGE_FILE_SUPPORT is enabled, ratherChris Wilson2007-12-18
| | | | | | than relying on Linux redirection macros that aren't present on Slackware (which uses asm redirects instead).
* Fix readdir() intercept on FreeBSD by fixing the check for redefinedChris Wilson2007-12-16
| | | | | readdir (from Linux).
* Restructure intercept_errornow() for clarity.Chris Wilson2007-12-13
| | | | | | | | | | | | | Move delay code out of macro and into intercept_errornow() to simplify macro. Clear hook functions in intercept_clear_setup(). Check that intercept_filename is not NULL before comparing it with anything. Change some TRACEx macros to BOX_TRACE.
* Indent cleanup (refs #3)Chris Wilson2007-03-24
|
* Added a header file for including in test/bbackupd/testbbackupd.cpp and Chris Wilson2006-12-03
| | | | | | | | | other modules which might need intercepts in future. Added opendir/readdir and lstat hook capability. (refs #3, refs #9)
* Added ability for delay intercepts to fire multiple times.Chris Wilson2006-11-28
| | | | | Added test for repeat keepalives to test/bbackupd.
* Moved intercept code to a library module to allow it to be used by Chris Wilson2006-11-26
test/bbackupd as well (refs #3)