On Tue, Aug 12, 2008 at 03:52:14PM -0700, John H. Robinson, IV wrote: > As mktemp and tempfile are both essential[2], they can be relied upon.
Essential in Debian, not in other systems. > Is there any scenario where using mktemp or tempfile fails, and sing > $TMPDIR succeeds? Scripts that are written with portability to other OSes in mind (or have been originally written for these OSes and are now used in Linux). Some might even try to use mktemp/tempfile and fallback to $TMPDIR (or just plain /tmp) if unavailable. These scripts show up as false positives when looking for tmp race conditions using simple tools (such as 'grep' :) Regards Javier
signature.asc
Description: Digital signature