Print this page
10080 smatch Makefile changes for usr/src/cmd
*** 21,30 ****
--- 21,31 ----
#
#
# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
+ # Copyright (c) 2018, Joyent, Inc.
PROG= wificonfig
OBJS= wificonfig.o
SRCS= $(OBJS:%.o=%.c)
*** 35,44 ****
--- 36,48 ----
$(ROOTSBIN)/wificonfig := FILEMODE = 04755
ROOTUSRSBINLINKS = $(ROOTUSRSBIN)/$(PROG)
CERRWARN += -_gcc=-Wno-char-subscripts
CERRWARN += -_gcc=-Wno-parentheses
+ # needs work
+ SMOFF += index_overflow,memcpy_overflow
+
.KEEP_STATE:
all: $(PROG)
_msg: $(POFILE)