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 = libfksmbfs.a
VERS = .1
OBJS_LOCAL = \
*** 102,111 ****
--- 104,116 ----
CPPFLAGS += -DDEBUG
CERRWARN += -_gcc=-Wno-switch
CERRWARN += -_gcc=-Wno-parentheses
+ # needs work
+ SMOFF += all_func_returns,deref_check,signed,or_vs_and
+
LDLIBS += $(MACH_LDLIBS)
LDLIBS += -lfknsmb -lfakekernel -lidmap -lcmdutils -lavl -lc
FS_SMBFS_DIR=$(SRC)/uts/common/fs/smbclnt/smbfs
CMN_SMBFS_DIR=$(SRC)/common/smbclnt