Print this page
10063 basic support for smatch
10153 checkpaths shouldn't check packaging exceptions

@@ -2,10 +2,11 @@
 # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
 # cmd/cmd-inet/usr.bin/pppd/Makefile
 #
+# Copyright (c) 2018, Joyent, Inc.
 
 include         ../../../Makefile.cmd
 include         Makefile.def
 
 PROG=           pppd

@@ -50,10 +51,13 @@
 EXOBJS +=       mschap_test.o
 CLOBBERFILES += mschap_test
 
 CERRWARN +=     -_gcc=-Wno-uninitialized
 
+# main() is too hairy for smatch
+SMATCH=off
+
 # This is used *only* for testing the portability of the libraries
 # required for MS-CHAPv1.  It is not needed in any normal system and
 # is not built by default.
 mschap_test:    mschap_test.o chap_ms.o
         $(LINK.c) -o mschap_test mschap_test.o chap_ms.o $(LDFLAGS) -lmd