Print this page
10079 smatch Makefile changes for usr/src/lib

@@ -21,10 +21,11 @@
 
 #
 # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
+# Copyright (c) 2018, Joyent, Inc.
 
 SHELL=/usr/bin/ksh93
 
 LIBRARY=        libdll.a
 VERS=           .1

@@ -84,10 +85,13 @@
         $(ASTCFLAGS64)
 
 CERRWARN        += -_gcc=-Wno-parentheses
 CERRWARN        += -_gcc=-Wno-uninitialized
 
+# needs work
+SMOFF += all_func_returns,strcpy_overflow
+
 .KEEP_STATE:
 
 all: $(LIBS)
 
 #