On Wed, Jul 23, 2003 at 02:09:28PM +1000, Martin Pool wrote: > There is already a PAM modules, libpam-tmpdir which automatically sets > this up on login by creating a per-user directory under /tmp and > pointing TMPDIR at it. Despite the scary low version number of 0.04 > it seems to work reliably and presumably any bugs could be fixed.
Nice idea, wrong implementation. Let login fork the login shell with CLONE_NEWNS and do a VFS-binding from ~/tmp to /tmp.