Print this page
10685 SMB code needs smatch fixes

*** 22,31 **** --- 22,33 ---- # Copyright 2008 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # # Copyright 2018 Nexenta Systems, Inc. All rights reserved. # + # Copyright 2019, Joyent, Inc. + # LIBRARY = libfknsmb.a VERS = .1 OBJS_LOCAL = \
*** 88,97 **** --- 90,102 ---- # Always want DEBUG here CPPFLAGS += -DDEBUG CERRWARN += -_gcc=-Wno-switch + # needs work + SMOFF += all_func_returns,deref_check,signed + LDLIBS += $(MACH_LDLIBS) LDLIBS += -lfakekernel -lpkcs11 -lnsl -lc NSMB_DIR=$(SRC)/uts/common/fs/smbclnt/netsmb SRCS= $(OBJS_LOCAL:%.o=$(SRCDIR)/%.c) \