Print this page
10077 usr/src/uts/ Makefile changes for smatch
@@ -19,18 +19,15 @@
# CDDL HEADER END
#
#
# Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
#
-# This makefile drives the production of the iscsit pseudo-driver for
-# COMSTAR.
+# Copyright (c) 2018, Joyent, Inc.
#
# Path to the base of the uts directory tree (usually /usr/src/uts).
#
-
-
UTSBASE = ../..
ARCHDIR:sh = cd ..; basename `pwd`
#
@@ -64,10 +61,14 @@
CERRWARN += -_gcc=-Wno-switch
CERRWARN += -_gcc=-Wno-uninitialized
CERRWARN += -_gcc=-Wno-unused-label
+# needs work
+SMOFF += cast_assign,strcpy_overflow
+
+
#
# Default build targets.
#
.KEEP_STATE: