Print this page
10150 smbd needs smatch fixes
*** 19,28 ****
--- 19,29 ----
# CDDL HEADER END
#
#
# Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
# Copyright 2014 Nexenta Systems, Inc. All rights reserved.
+ # Copyright (c) 2018, Joyent, Inc.
#
PROG= smbd
OBJS= \
*** 67,76 ****
--- 68,80 ----
$(NOT_RELEASE_BUILD)CPPFLAGS += -DDEBUG
# Should not have to do this, but the Kerberos includes are a mess.
CPPFLAGS += -I $(ROOT)/usr/include/kerberosv5
+ # needs work
+ SMOFF += all_func_returns,deref_check
+
CSTD = $(CSTD_GNU99)
C99LMODE = -Xc99=%all
LDFLAGS += -R/usr/lib/smbsrv
LDLIBS += -L$(ROOT)/usr/lib/smbsrv