Print this page
10077 usr/src/uts/ Makefile changes for smatch
@@ -19,12 +19,11 @@
# CDDL HEADER END
#
#
# Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
#
-# This makefile drives the production of the fct driver for
-# COMSTAR.
+# Copyright (c) 2018, Joyent, Inc.
#
# Path to the base of the uts directory tree (usually /usr/src/uts).
#
@@ -72,10 +71,13 @@
CERRWARN += -_gcc=-Wno-unused-label
CERRWARN += -_gcc=-Wno-switch
CERRWARN += -_gcc=-Wno-uninitialized
+# needs work
+SMOFF += strcpy_overflow
+
#
# Default build targets.
#
.KEEP_STATE: