summaryrefslogtreecommitdiff
path: root/usr/src/cmd/fs.d/nfs
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/cmd/fs.d/nfs')
-rw-r--r--usr/src/cmd/fs.d/nfs/clear_locks/Makefile8
-rw-r--r--usr/src/cmd/fs.d/nfs/dfmounts/Makefile4
-rw-r--r--usr/src/cmd/fs.d/nfs/dfshares/Makefile5
-rw-r--r--usr/src/cmd/fs.d/nfs/lockd/Makefile5
-rw-r--r--usr/src/cmd/fs.d/nfs/mount/Makefile5
-rw-r--r--usr/src/cmd/fs.d/nfs/mountd/Makefile4
-rw-r--r--usr/src/cmd/fs.d/nfs/nfs4cbd/Makefile4
-rw-r--r--usr/src/cmd/fs.d/nfs/nfsd/Makefile5
-rw-r--r--usr/src/cmd/fs.d/nfs/nfslog/Makefile5
-rw-r--r--usr/src/cmd/fs.d/nfs/nfsmapid/Makefile5
-rw-r--r--usr/src/cmd/fs.d/nfs/nfsref/Makefile5
-rw-r--r--usr/src/cmd/fs.d/nfs/nfsstat/Makefile6
-rw-r--r--usr/src/cmd/fs.d/nfs/rp_basic/Makefile.com4
-rw-r--r--usr/src/cmd/fs.d/nfs/rquotad/Makefile4
-rw-r--r--usr/src/cmd/fs.d/nfs/showmount/Makefile4
-rw-r--r--usr/src/cmd/fs.d/nfs/statd/Makefile4
-rw-r--r--usr/src/cmd/fs.d/nfs/tests/Makefile5
17 files changed, 74 insertions, 8 deletions
diff --git a/usr/src/cmd/fs.d/nfs/clear_locks/Makefile b/usr/src/cmd/fs.d/nfs/clear_locks/Makefile
index 0d08fe841c..804e784d08 100644
--- a/usr/src/cmd/fs.d/nfs/clear_locks/Makefile
+++ b/usr/src/cmd/fs.d/nfs/clear_locks/Makefile
@@ -20,11 +20,10 @@
# CDDL HEADER END
#
#
-#ident "%Z%%M% %I% %E% SMI"
-#
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
+# Copyright (c) 2018, Joyent, Inc.
PROG= clear_locks
@@ -52,9 +51,12 @@ $(POFILE): clear_locks.c
CFLAGS += $(CCVERBOSE)
+# not linted
+SMATCH=off
+
.KEEP_STATE:
-all: $(PROG)
+all: $(PROG)
install: all $(ROOTUSRSBINPROG)
diff --git a/usr/src/cmd/fs.d/nfs/dfmounts/Makefile b/usr/src/cmd/fs.d/nfs/dfmounts/Makefile
index bd6ae76dd7..35b51671b0 100644
--- a/usr/src/cmd/fs.d/nfs/dfmounts/Makefile
+++ b/usr/src/cmd/fs.d/nfs/dfmounts/Makefile
@@ -22,6 +22,7 @@
#
# Copyright (c) 1989 by Sun Microsystems, Inc.
#
+# Copyright (c) 2018, Joyent, Inc.
FSTYPE= nfs
LIBPROG= dfmounts
@@ -43,6 +44,9 @@ LDLIBS += -lrpcsvc -lnsl
CERRWARN += -_gcc=-Wno-implicit-function-declaration
CERRWARN += -_gcc=-Wno-parentheses
+# unknown type for func
+SMATCH = off
+
$(LIBPROG): $(OBJS)
$(LINK.c) -o $@ $(OBJS) $(LDLIBS)
$(POST_PROCESS)
diff --git a/usr/src/cmd/fs.d/nfs/dfshares/Makefile b/usr/src/cmd/fs.d/nfs/dfshares/Makefile
index ffda5d11cb..b86545d9e5 100644
--- a/usr/src/cmd/fs.d/nfs/dfshares/Makefile
+++ b/usr/src/cmd/fs.d/nfs/dfshares/Makefile
@@ -22,6 +22,7 @@
#
# Copyright (c) 1989 by Sun Microsystems, Inc.
#
+# Copyright (c) 2018, Joyent, Inc.
FSTYPE= nfs
LIBPROG= dfshares
@@ -37,6 +38,10 @@ CERRWARN += -_gcc=-Wno-unused-variable
CERRWARN += -_gcc=-Wno-implicit-function-declaration
CERRWARN += -_gcc=-Wno-parentheses
+# not linted
+SMATCH=off
+
+
$(LIBPROG): $(OBJS)
$(LINK.c) -o $@ $(OBJS) $(LDLIBS)
$(POST_PROCESS)
diff --git a/usr/src/cmd/fs.d/nfs/lockd/Makefile b/usr/src/cmd/fs.d/nfs/lockd/Makefile
index 19c459d9f5..e013de8aaa 100644
--- a/usr/src/cmd/fs.d/nfs/lockd/Makefile
+++ b/usr/src/cmd/fs.d/nfs/lockd/Makefile
@@ -21,6 +21,7 @@
#
# Copyright (c) 1990, 2010, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2012 by Delphix. All rights reserved.
+# Copyright (c) 2018, Joyent, Inc.
#
FSTYPE = nfs
@@ -45,6 +46,10 @@ CERRWARN += -_gcc=-Wno-switch
CERRWARN += -_gcc=-Wno-unused-variable
CERRWARN += -_gcc=-Wno-uninitialized
+# not linted
+SMATCH=off
+
+
$(TYPEPROG): $(OBJS)
$(LINK.c) -o $@ $(OBJS) $(LDLIBS)
$(POST_PROCESS)
diff --git a/usr/src/cmd/fs.d/nfs/mount/Makefile b/usr/src/cmd/fs.d/nfs/mount/Makefile
index e9e55aac78..c461949514 100644
--- a/usr/src/cmd/fs.d/nfs/mount/Makefile
+++ b/usr/src/cmd/fs.d/nfs/mount/Makefile
@@ -19,7 +19,7 @@
# CDDL HEADER END
#
# Copyright (c) 1990, 2010, Oracle and/or its affiliates. All rights reserved.
-# Copyright 2017, Joyent, Inc. All rights reserved.
+# Copyright 2018, Joyent, Inc. All rights reserved.
#
# cmd/fs.d/nfs/mount/Makefile
@@ -43,6 +43,9 @@ CERRWARN += -_gcc=-Wno-uninitialized
CERRWARN += -_gcc=-Wno-address
CERRWARN += -_gcc=-Wno-unused-function
+# unknown type for func
+SMATCH=off
+
#
# Message catalog
#
diff --git a/usr/src/cmd/fs.d/nfs/mountd/Makefile b/usr/src/cmd/fs.d/nfs/mountd/Makefile
index eca0a82911..36d3d4bca4 100644
--- a/usr/src/cmd/fs.d/nfs/mountd/Makefile
+++ b/usr/src/cmd/fs.d/nfs/mountd/Makefile
@@ -23,6 +23,7 @@
# Copyright 2015 Nexenta Systems, Inc. All rights reserved.
# Copyright (c) 1990, 2010, Oracle and/or its affiliates. All rights reserved.
#
+# Copyright (c) 2018, Joyent, Inc.
FSTYPE = nfs
TYPEPROG = mountd
@@ -44,6 +45,9 @@ CPPFLAGS += -D_REENTRANT -I../lib
CERRWARN += -_gcc=-Wno-uninitialized
CERRWARN += -_gcc=-Wno-switch
+# not linted
+SMATCH=off
+
$(TYPEPROG): $(OBJS)
$(COMPILE.d) -s $(DSRC) -o $(DOBJ) $(OBJS)
$(LINK.c) -o $@ $(DOBJ) $(OBJS) $(LDLIBS)
diff --git a/usr/src/cmd/fs.d/nfs/nfs4cbd/Makefile b/usr/src/cmd/fs.d/nfs/nfs4cbd/Makefile
index 4c6f4dca16..9743af5165 100644
--- a/usr/src/cmd/fs.d/nfs/nfs4cbd/Makefile
+++ b/usr/src/cmd/fs.d/nfs/nfs4cbd/Makefile
@@ -23,6 +23,7 @@
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
+# Copyright (c) 2018, Joyent, Inc.
FSTYPE= nfs
TYPEPROG= nfs4cbd
@@ -40,6 +41,9 @@ CERRWARN += -_gcc=-Wno-unused-variable
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-extra
+# not linted
+SMATCH=off
+
.KEEP_STATE:
all: $(TYPEPROG)
diff --git a/usr/src/cmd/fs.d/nfs/nfsd/Makefile b/usr/src/cmd/fs.d/nfs/nfsd/Makefile
index 90a77dcbef..384d6a0c66 100644
--- a/usr/src/cmd/fs.d/nfs/nfsd/Makefile
+++ b/usr/src/cmd/fs.d/nfs/nfsd/Makefile
@@ -21,7 +21,7 @@
#
# Copyright (c) 1990, 2010, Oracle and/or its affiliates. All rights reserved.
#
-#
+# Copyright (c) 2018, Joyent, Inc.
FSTYPE= nfs
TYPEPROG= nfsd
@@ -42,6 +42,9 @@ CERRWARN += -_gcc=-Wno-unused-variable
CERRWARN += -_gcc=-Wno-switch
CERRWARN += -_gcc=-Wno-extra
+# not linted
+SMATCH=off
+
$(TYPEPROG): $(OBJS)
$(CC) -o $@ $(OBJS) $(LDFLAGS) $(LDLIBS)
$(POST_PROCESS)
diff --git a/usr/src/cmd/fs.d/nfs/nfslog/Makefile b/usr/src/cmd/fs.d/nfs/nfslog/Makefile
index 243574f744..7b2763a8d2 100644
--- a/usr/src/cmd/fs.d/nfs/nfslog/Makefile
+++ b/usr/src/cmd/fs.d/nfs/nfslog/Makefile
@@ -22,6 +22,7 @@
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
+# Copyright (c) 2018, Joyent, Inc.
FSTYPE= nfs
TYPEPROG= nfslogd
@@ -42,6 +43,10 @@ CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-uninitialized
CERRWARN += -_gcc=-Wno-switch
CERRWARN += -_gcc=-Wno-type-limits
+
+# not linted
+SMATCH=off
+
CPPFLAGS += -D_FILE_OFFSET_BITS=64
#
diff --git a/usr/src/cmd/fs.d/nfs/nfsmapid/Makefile b/usr/src/cmd/fs.d/nfs/nfsmapid/Makefile
index 6afd2bb495..5f0af9ef89 100644
--- a/usr/src/cmd/fs.d/nfs/nfsmapid/Makefile
+++ b/usr/src/cmd/fs.d/nfs/nfsmapid/Makefile
@@ -22,6 +22,8 @@
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
+# Copyright (c) 2018, Joyent, Inc.
+
FSTYPE = nfs
TYPEPROG = nfsmapid
@@ -44,6 +46,9 @@ CERRWARN += -_gcc=-Wno-unused-variable
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-uninitialized
+# not linted
+SMATCH=off
+
all: $(TYPEPROG) $(TESTPROG)
$(TYPEPROG): $(OBJS) $(DSRC)
diff --git a/usr/src/cmd/fs.d/nfs/nfsref/Makefile b/usr/src/cmd/fs.d/nfs/nfsref/Makefile
index 9f5b8e73a3..749789dc68 100644
--- a/usr/src/cmd/fs.d/nfs/nfsref/Makefile
+++ b/usr/src/cmd/fs.d/nfs/nfsref/Makefile
@@ -22,7 +22,7 @@
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# cmd/fs.d/nfs/nfsref/Makefile
+# Copyright (c) 2018, Joyent, Inc.
PROG= nfsref
@@ -36,6 +36,9 @@ SRCS= nfsref.c
CERRWARN += -_gcc=-Wno-unused-variable
+# not linted
+SMATCH=off
+
LDLIBS += -lreparse -lnvpair -lnsl -lumem
$(PROG): $(OBJS)
diff --git a/usr/src/cmd/fs.d/nfs/nfsstat/Makefile b/usr/src/cmd/fs.d/nfs/nfsstat/Makefile
index 1fe48838f6..1b8dc8c9e6 100644
--- a/usr/src/cmd/fs.d/nfs/nfsstat/Makefile
+++ b/usr/src/cmd/fs.d/nfs/nfsstat/Makefile
@@ -22,7 +22,7 @@
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# cmd/fs.d/nfs/nfsstat/Makefile
+# Copyright (c) 2018, Joyent, Inc.
PROG= nfsstat
@@ -42,6 +42,10 @@ OBJS += $(STAT_COMMON_OBJS)
CPPFLAGS += -I$(STATCOMMONDIR)
CERRWARN += -_gcc=-Wno-parentheses
+
+# not linted
+SMATCH=off
+
LDLIBS += -lkstat -lnsl
$(PROG): $(OBJS)
diff --git a/usr/src/cmd/fs.d/nfs/rp_basic/Makefile.com b/usr/src/cmd/fs.d/nfs/rp_basic/Makefile.com
index 85567a3537..282067be42 100644
--- a/usr/src/cmd/fs.d/nfs/rp_basic/Makefile.com
+++ b/usr/src/cmd/fs.d/nfs/rp_basic/Makefile.com
@@ -21,6 +21,7 @@
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
+# Copyright (c) 2018, Joyent, Inc.
LIBRARY = libnfs_basic.a
VERS = .1
@@ -44,6 +45,9 @@ LDLIBS += -lc -lnsl
CFLAGS += $(CCVERBOSE)
CPPFLAGS += -D_REENTRANT -I$(SRC)/cmd/fs.d/nfs/lib
+# not linted
+SMATCH=off
+
.KEEP_STATE:
all: $(LIBS)
diff --git a/usr/src/cmd/fs.d/nfs/rquotad/Makefile b/usr/src/cmd/fs.d/nfs/rquotad/Makefile
index e75afe3a9b..8a450f5c35 100644
--- a/usr/src/cmd/fs.d/nfs/rquotad/Makefile
+++ b/usr/src/cmd/fs.d/nfs/rquotad/Makefile
@@ -22,6 +22,7 @@
#
# Copyright (c) 1989 by Sun Microsystems, Inc.
#
+# Copyright (c) 2018, Joyent, Inc.
FSTYPE= nfs
TYPEPROG= rquotad
@@ -38,6 +39,9 @@ CERRWARN += -_gcc=-Wno-implicit-function-declaration
CERRWARN += -_gcc=-Wno-unused-variable
LDLIBS += -lnsl
+# unknown type for func
+SMATCH=off
+
$(TYPEPROG): $(OBJS)
$(LINK.c) -o $@ $(LDLIBS) $(OBJS)
$(POST_PROCESS)
diff --git a/usr/src/cmd/fs.d/nfs/showmount/Makefile b/usr/src/cmd/fs.d/nfs/showmount/Makefile
index 7974fd5cdc..527c776481 100644
--- a/usr/src/cmd/fs.d/nfs/showmount/Makefile
+++ b/usr/src/cmd/fs.d/nfs/showmount/Makefile
@@ -22,6 +22,7 @@
#
# Copyright (c) 1989 by Sun Microsystems, Inc.
#
+# Copyright (c) 2018, Joyent, Inc.
FSTYPE= nfs
LIBPROG= showmount
@@ -47,6 +48,9 @@ CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-unused-variable
CERRWARN += -_gcc=-Wno-uninitialized
+# not linted
+SMATCH=off
+
$(LIBPROG): $(OBJS)
$(LINK.c) -o $@ $(OBJS) $(LDLIBS)
$(POST_PROCESS)
diff --git a/usr/src/cmd/fs.d/nfs/statd/Makefile b/usr/src/cmd/fs.d/nfs/statd/Makefile
index ad7559a035..c64bbb71ca 100644
--- a/usr/src/cmd/fs.d/nfs/statd/Makefile
+++ b/usr/src/cmd/fs.d/nfs/statd/Makefile
@@ -30,6 +30,7 @@
#
# Copyright (c) 2016 by Delphix. All rights reserved.
#
+# Copyright (c) 2018, Joyent, Inc.
FSTYPE= nfs
TYPEPROG= statd
@@ -43,6 +44,9 @@ CERRWARN += -_gcc=-Wno-switch
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-uninitialized
+# not linted
+SMATCH=off
+
LOCAL= sm_svc.o sm_proc.o sm_statd.o
OBJS= $(LOCAL) selfcheck.o daemon.o smfcfg.o
diff --git a/usr/src/cmd/fs.d/nfs/tests/Makefile b/usr/src/cmd/fs.d/nfs/tests/Makefile
index 1229b37f3e..329c9ca0b6 100644
--- a/usr/src/cmd/fs.d/nfs/tests/Makefile
+++ b/usr/src/cmd/fs.d/nfs/tests/Makefile
@@ -23,7 +23,7 @@
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# cmd/fs.d/nfs/tests/Makefile
+# Copyright (c) 2018, Joyent, Inc.
FSTYPE= nfs
LIBPROG= test_svc_tp_create
@@ -35,6 +35,9 @@ SRCS= $(LIBPROG).c
CFLAGS += $(CCVERBOSE)
+# not linted
+SMATCH=off
+
LDLIBS += -lnsl -lsocket
# message catalog