stdlib-safer: wrap all mkstemp variants
authorEric Blake <ebb9@byu.net>
Mon, 2 Nov 2009 23:11:18 +0000 (16:11 -0700)
committerEric Blake <ebb9@byu.net>
Thu, 5 Nov 2009 02:10:16 +0000 (19:10 -0700)
commit8271e7fb801b2f7d2a5dc89e08b84d835f1376b9
treeef81222008c5ac037cfef8fdb40f3af737f6329b
parent964a52336aad0cf4a4d6c08c128560c87742c921
stdlib-safer: wrap all mkstemp variants

* modules/mkostemp (configure.ac): Set witness.
* modules/mkostemps (configure.ac): Likewise.
* modules/mkstemps (configure.ac): Likewise.
* lib/stdlib-safer.h (mkostemp_safer, mkostemps_safer)
(mkstemps_safer): Wrap more functions.
* lib/stdlib--.h (mkostemp, mkostemps, mkstemps): Default the
wrapping.
* lib/mkstemp-safer.c (mkostemp_safer, mkostemps_safer)
(mkstemps_safer): Implement the wrappers.

Signed-off-by: Eric Blake <ebb9@byu.net>
ChangeLog
lib/mkstemp-safer.c
lib/stdlib--.h
lib/stdlib-safer.h
modules/mkostemp
modules/mkostemps
modules/mkstemps