summaryrefslogtreecommitdiff
path: root/usr/src/lib/libwrap
diff options
context:
space:
mode:
authorJohn Levon <john.levon@joyent.com>2018-12-17 21:44:38 +0000
committerRobert Mustacchi <rm@joyent.com>2019-01-14 18:34:56 +0000
commit05ede3db5e3b7d540afbccdc872c735770e82ef3 (patch)
tree48e8ef98653eb259c6a4ed19a6fafa66f2a209f5 /usr/src/lib/libwrap
parentcadd68ea0014761eda6a293664086dfa80686d85 (diff)
downloadillumos-joyent-05ede3db5e3b7d540afbccdc872c735770e82ef3.tar.gz
10079 smatch Makefile changes for usr/src/lib
Reviewed by: Andy Fiddaman <andy@omniosce.org> Approved by: Robert Mustacchi <rm@joyent.com>
Diffstat (limited to 'usr/src/lib/libwrap')
-rw-r--r--usr/src/lib/libwrap/Makefile.com12
1 files changed, 8 insertions, 4 deletions
diff --git a/usr/src/lib/libwrap/Makefile.com b/usr/src/lib/libwrap/Makefile.com
index f3ce93d1e5..40e2f11d0a 100644
--- a/usr/src/lib/libwrap/Makefile.com
+++ b/usr/src/lib/libwrap/Makefile.com
@@ -22,6 +22,7 @@
# Use is subject to license terms.
#
# Copyright 2011 Nexenta Systems, Inc. All rights reserved.
+# Copyright (c) 2018, Joyent, Inc.
#
LIBRARY = libwrap.a
@@ -48,7 +49,7 @@ LDLIBS += -lsocket -lnsl -lc
CPPFLAGS += $(NETGROUP) $(TLI) $(ALWAYS_HOSTNAME) $(AUTH) \
$(STYLE) $(TABLES) $(DOT) $(BUGS) \
-DRFC931_TIMEOUT=$(RFC931_TIMEOUT) \
- -I$(SRCDIR)
+ -I$(SRCDIR)
CFLAGS += $(CCVERBOSE)
CERRWARN += -erroff=E_FUNC_EXPECTS_TO_RETURN_VALUE
@@ -60,6 +61,9 @@ CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-unused-variable
CERRWARN += -_gcc=-Wno-uninitialized
+# not linted
+SMATCH=off
+
.KEEP_STATE:
all: $(LIBS)
@@ -98,7 +102,7 @@ NETGROUP = -DNETGROUP
# module, which also gives hints on how to add your own extensions.
# Uncomment the next definition to turn on the language extensions
# (examples: allow, deny, banners, twist and spawn).
-#
+#
STYLE = -DPROCESS_OPTIONS # Enable language extensions.
###########################
@@ -126,7 +130,7 @@ STYLE = -DPROCESS_OPTIONS # Enable language extensions.
# with connections from non-UNIX PCs. On some systems, remote username
# lookups can trigger a kernel bug, causing loss of service. The README
# file describes how to find out if your UNIX kernel has that problem.
-#
+#
# Uncomment the following definition if the wrappers should always
# attempt to get the remote user name. If this is not enabled you can
# still do selective username lookups as documented in the hosts_access.5
@@ -155,7 +159,7 @@ TABLES = -DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\"
# hostname. With selective hostname lookups, the client hostname
# lookup is postponed until the name is required by an access control
# rule or by a %letter expansion.
-#
+#
# In order to perform selective hostname lookups, disable paranoid
# mode (see previous section) and comment out the following definition.