Print this page
10063 basic support for smatch
10153 checkpaths shouldn't check packaging exceptions
@@ -17,15 +17,14 @@
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
-
-#
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
+# Copyright (c) 2018, Joyent, Inc.
# Quis custodiet ipsos custodies?
if [ -z "$SRC" ]; then
SRC=$CODEMGR_WS/usr/src
@@ -71,31 +70,10 @@
*)
echo "$ROOT has unknown architecture." >&2
exit 1
;;
esac
- if [ -d $ROOT ]; then
- #
- # This is the old-style packaging exception list, from
- # the svr4-specific usr/src/pkgdefs
- #
- [ -f $SRC/pkgdefs/etc/exception_list_$arch ] && \
- validate_paths '-s/\s*'$arch'$//' \
- -e ^usr/include/ike/ -b $ROOT \
- $args $SRC/pkgdefs/etc/exception_list_$arch
- #
- # These are the new-style packaging exception lists,
- # from the repository-wide exception_lists/ directory.
- #
- e="$CODEMGR_WS/exception_lists/packaging"
- for f in $e; do
- if [ -f $f ]; then
- nawk 'NF == 1 || /[ ]\+'$arch'$/ { print; }' \
- < $f | validate_paths -b $ROOT -n $f
- fi
- done
- fi
done
# Two entries in the findunref exception_list deal with things created
# by nightly. Otherwise, this test could be run on an unmodifed (and
# unbuilt) workspace. We handle this by flagging the one that is