From 9bb9149e608bed40c3a16a17b5ee750b6ba3f500 Mon Sep 17 00:00:00 2001 From: Paul Tagliamonte Date: Sun, 2 Sep 2012 10:58:16 -0400 Subject: [PATCH] Adding in a LICENSE and README --- LICENSE | 20 ++++++++++++++++++++ README.md | 22 ++++++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 LICENSE create mode 100644 README.md diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..a3533d4 --- /dev/null +++ b/LICENSE @@ -0,0 +1,20 @@ +Copyright (c) 2010-2012 Paul Tagliamonte + +Permission is hereby granted, free of charge, to any person obtaining a +copy of this software and associated documentation files (the "Software"), +to deal in the Software without restriction, including without limitation +the rights to use, copy, modify, merge, publish, distribute, sublicense, +and/or sell copies of the Software, and to permit persons to whom the +Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL +THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. + diff --git a/README.md b/README.md new file mode 100644 index 0000000..f7fe967 --- /dev/null +++ b/README.md @@ -0,0 +1,22 @@ +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.