Whamcloud - gitweb
Save and restore umask around calls to mkstemp()
authorTheodore Ts'o <tytso@mit.edu>
Thu, 9 Jan 2014 20:18:44 +0000 (15:18 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 9 Jan 2014 20:18:44 +0000 (15:18 -0500)
commit253a96500a8fbe7266fe2daa066768cbaa1d3137
tree38354c754556e6e924d2147b8bd4fd6791b5932c
parente114288010d01e3957bd5c1c3667d9cb7b73bba8
Save and restore umask around calls to mkstemp()

The races would be hard to exploit, but let's close them off.

Addresses-Coverity-Id: #709504
Addresses-Coverity-Id: #709505
Addresses-Coverity-Id: #709506

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
e2fsck/dirinfo.c
lib/blkid/save.c
lib/ext2fs/icount.c