No description
Find a file
Jeff Epler 3b4e63a696 (nonportable) print stack trace when enforcer fires
.. also, print all messages to stderr instead of stdout

backtrace() and backtrace_symbols_fd() are GNU extensions in libc
enabled by _GNU_SOURCE
2012-09-04 07:22:06 -05:00
include style voodoo 2012-09-02 11:47:36 -04:00
lib Initial import 2012-09-02 09:49:53 -04:00
src (nonportable) print stack trace when enforcer fires 2012-09-04 07:22:06 -05:00
.gitignore Initial import 2012-09-02 09:49:53 -04:00
LICENSE Adding in a LICENSE and README 2012-09-02 10:58:16 -04:00
Makefile Initial import 2012-09-02 09:49:53 -04:00
README.md Adding in a new mascot. 2012-09-02 12:32:09 -04:00
version.mk Initial import 2012-09-02 09:49:53 -04:00

libtmperamental

tmperamental is a library that intercepts filesystem writes, and causes loud failures when writes are attempted on /tmp/*.

The idea here is by setting TMPDIR and friends, you are able to use libtmperamental to catch programs in the act of not respecting such env-vars.

Basic Usage:

TMPDIR=~/.tmp LD_PRELOAD=/usr/lib/libtmperamental.so app arguments

In the event the app causes problems, you should see some stderr and a nonzero exit status.

Things to keep in mind:

This library is not to be linked against, just preloaded.