trick-chktmp(1)

trick-chktmp1

Usage

trick-chktmp [--libpath directory] [command]

Overview

By setting the VPATH environment variable appropiratly, and setting LD_PRELOAD to libtricks(1) the mentioned library will create an environment where writes are /tmp are checked, and error messages to stderr are generated for every suscpicous write.

Note that this is not in any way `safe': statically linked binaries will still be able to write to /tmp, without libtricks noticing it.

The main purpose of this script is to show an example of how to work with libtricks(1) .

Options

--libpath path

specify the path of the libtrick library. Default: /usr/lib/libtricks/

Copying

libtricks is distributed under the GNU General Public License. (GPL 2.0 or greater).

Author

joost witteveen <[email protected]>

From libtricks 0.2-5 in Debian 2.1 (Slink). Parsed by carta from the page's man source.