summaryrefslogtreecommitdiff
path: root/usr/src/uts/intel/procfs
diff options
context:
space:
mode:
authorJohn Levon <john.levon@joyent.com>2018-12-16 23:29:00 +0000
committerHans Rosenfeld <hans.rosenfeld@joyent.com>2019-01-09 11:47:40 +0100
commitb6b206fc7fb36f7b13b01acf70ed6e676e405998 (patch)
treeee571acfcabf0de526b8abb772596982aab98313 /usr/src/uts/intel/procfs
parentdc5e7685b131559c0b7c622baee25a9a0ae50ada (diff)
downloadillumos-gate-b6b206fc7fb36f7b13b01acf70ed6e676e405998.tar.gz
10077 usr/src/uts/ Makefile changes for smatch
Reviewed by: Andy Fiddaman <andy@omniosce.org> Reviewed by: Jason King <jason.brian.king@gmail.com> Approved by: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>
Diffstat (limited to 'usr/src/uts/intel/procfs')
-rw-r--r--usr/src/uts/intel/procfs/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/usr/src/uts/intel/procfs/Makefile b/usr/src/uts/intel/procfs/Makefile
index 21057b40d8..1e5fc27935 100644
--- a/usr/src/uts/intel/procfs/Makefile
+++ b/usr/src/uts/intel/procfs/Makefile
@@ -24,6 +24,7 @@
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
+# Copyright (c) 2018, Joyent, Inc.
#
# This makefile drives the production of the procfs file system
@@ -76,6 +77,15 @@ LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-switch
CERRWARN += -_gcc=-Wno-uninitialized
+
+# needs work
+$(OBJS_DIR)/prsubr.o := SMOFF += all_func_returns
+$(OBJS_DIR)/prcontrol.o := SMOFF += all_func_returns
+$(OBJS_DIR)/prioctl.o := SMOFF += signed
+
+# false positives
+$(OBJS_DIR)/prvnops.o := SMOFF += strcpy_overflow
+
#
# Default build targets.
#