From 88181e00c06e1cd9871de83b79e83b00100d29cd Mon Sep 17 00:00:00 2001 From: Alexander Eremin Date: Tue, 12 Oct 2010 19:37:15 +0400 Subject: 269 Modload functions use unsafe operations with configuration files Reviewed by: garrett@nexenta.com Approved by: garrett@nexenta.com --- usr/src/cmd/modload/errmsg.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'usr/src/cmd/modload/errmsg.h') diff --git a/usr/src/cmd/modload/errmsg.h b/usr/src/cmd/modload/errmsg.h index 19c37976fa..eb201a3814 100644 --- a/usr/src/cmd/modload/errmsg.h +++ b/usr/src/cmd/modload/errmsg.h @@ -18,6 +18,10 @@ * * CDDL HEADER END */ +/* + * Copyright 2010 Nexenta Systems, Inc. All rights reserved. + * Use is subject to license terms. + */ /* * Copyright 2009 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. @@ -75,6 +79,7 @@ extern "C" { #define ERR_NO_UPDATE "Cannot update (%s)\n" #define ERR_CANT_RM "Cannot remove temporary file (%s); remove by hand.\n" #define ERR_BAD_LINK "(%s) exists as (%s); Please rename by hand.\n" +#define ERR_FILE_EXISTS "Temporary file (%s) exists; Please remove by hand.\n" #define ERR_NO_MEM "Not enough memory\n" #define ERR_DEL_ENTRY "Cannot delete entry for driver (%s) from file (%s).\n" #define ERR_NO_ENTRY "No entry found for driver (%s) in file (%s).\n" -- cgit v1.2.3