summaryrefslogtreecommitdiff
path: root/usr/src/cmd
diff options
context:
space:
mode:
authorJohn Levon <john.levon@joyent.com>2018-12-20 09:01:09 +0000
committerHans Rosenfeld <hans.rosenfeld@joyent.com>2019-01-31 23:04:30 +0100
commite48c84d79572228e85cd82f9a15f6484ef9ae712 (patch)
treeff6dbafb4ab6790d096eb29cc2c31698bc8434b7 /usr/src/cmd
parent2bc92914a1f7777163663081b69a9e5efa54c7d8 (diff)
downloadillumos-joyent-e48c84d79572228e85cd82f9a15f6484ef9ae712.tar.gz
10150 smbd needs smatch fixes
Reviewed by: Andy Fiddaman <andy@omniosce.org> Reviewed by: Gergő Doma <domag02@gmail.com> Approved by: Hans Rosenfeld <hans.rosenfeld@joyent.com>
Diffstat (limited to 'usr/src/cmd')
-rw-r--r--usr/src/cmd/smbsrv/smbd/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/usr/src/cmd/smbsrv/smbd/Makefile b/usr/src/cmd/smbsrv/smbd/Makefile
index c744f73ec6..a33dac8294 100644
--- a/usr/src/cmd/smbsrv/smbd/Makefile
+++ b/usr/src/cmd/smbsrv/smbd/Makefile
@@ -21,6 +21,7 @@
#
# 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.
#
@@ -69,6 +70,9 @@ $(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