Adding in a LICENSE and README

This commit is contained in:
Paul Tagliamonte 2012-09-02 10:58:16 -04:00
parent 409acec793
commit 9bb9149e60
2 changed files with 42 additions and 0 deletions

20
LICENSE Normal file
View file

@ -0,0 +1,20 @@
Copyright (c) 2010-2012 Paul Tagliamonte <paultag@debian.org>
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.

22
README.md Normal file
View file

@ -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.