Subject: CVS commit: src/usr.bin/chpass
To: None <source-changes@NetBSD.org>
From: Elad Efrat <elad@netbsd.org>
List: source-changes
Date: 10/07/2006 20:09:09
Module Name: src
Committed By: elad
Date: Sat Oct 7 20:09:09 UTC 2006
Modified Files:
src/usr.bin/chpass: chpass.1 chpass.c
Log Message:
PR/29722: Andreas Kling: chpass temporary files in /etc not always unlinked
We had a (long) discussion about this in #NetBSD-code and the consensus was
that /tmp should always be sticky (+t), and as such it is safe to create
the temporary files for chpass(1) in there. We added a check to guarantee
this (and bail out otherwise) and now temporary files are created in /tmp,
not filling up /etc.
Thanks to rivo nurges et al.
To generate a diff of this commit:
cvs rdiff -r1.22 -r1.23 src/usr.bin/chpass/chpass.1
cvs rdiff -r1.30 -r1.31 src/usr.bin/chpass/chpass.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.