aboutsummaryrefslogtreecommitdiff
path: root/change_log.cc
AgeCommit message (Collapse)Author
2015-10-18Move io and logging functionality into separate namespacesAdrian Kummerlaender
2015-10-18Implement support for sending logs to an arbitrary fileAdrian Kummerlaender
The `CHANGE_LOG_TARGET` environment variable enables passing the path of an arbitrary target file to the preloaded library. This may be used to e.g. print the log to a separate `cat` instance and is necessary for logging change events without altering the output of the wrapped process.
2015-10-17Implement basic logging of write, rename, rmdir, unlinkAdrian Kummerlaender
2015-10-10Implement basic `read` and `write` interpositionAdrian Kummerlaender
The goal is to implement a shared library to be loaded using `LD_PRELOAD` that tracks all file changes performed by a process. This information is required to enable general purpose change logging inside a shell session. i.e. I want to be able to display diffs and before- / after-hashes of all changes performed by every single command without requiring every changed file to be known prior to execution.