CVE-2013-4476: lib-util: split out file_save_mode() from file_save()
authorBjörn Baumbach <bb@sernet.de>
Tue, 29 Oct 2013 16:48:11 +0000 (17:48 +0100)
committerKarolin Seeger <kseeger@samba.org>
Mon, 11 Nov 2013 10:14:36 +0000 (11:14 +0100)
commit63d98ed90466295d0e946f79868d3d7aad6e7589
tree23d6460d7383ba408c00e99d8fb71286b44d4c34
parent8eae8d28bce2c3f6a323d3dc48ed10c2e6bb1ba5
CVE-2013-4476: lib-util: split out file_save_mode() from file_save()

file_save_mode() writes files with specified mode.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=10234

Signed-off-by: Björn Baumbach <bb@sernet.de>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
lib/util/samba_util.h
lib/util/util_file.c