Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Aug 2007 06:55:45 GMT
From:      Zhouyi ZHOU <zhouzhouyi@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 125167 for review
Message-ID:  <200708150655.l7F6tjep072976@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=125167

Change 125167 by zhouzhouyi@zhouzhouyi_mactest on 2007/08/15 06:55:12

	modified ping program to test Mandatory Access Control of netinet

Affected files ...

.. //depot/projects/soc2007/zhouzhouyi_mactest_soc/regression/mactest/Makefile#6 edit
.. //depot/projects/soc2007/zhouzhouyi_mactest_soc/regression/mactest/macping.c#1 add

Differences ...

==== //depot/projects/soc2007/zhouzhouyi_mactest_soc/regression/mactest/Makefile#6 (text+ko) ====

@@ -6,7 +6,7 @@
 #CFLAGS+=-DHAS_TRUNCATE64
 #CFLAGS+=-DHAS_STAT64
 
-all:	macproc mactest mdconfigopenrdonly fifo_io pipe_io
+all:	macproc mactest mdconfigopenrdonly fifo_io pipe_io macping
 
 macproc:	macproc.c
 	gcc -Wall ${CFLAGS} macproc.c -o macproc -lutil
@@ -15,10 +15,13 @@
 	gcc  ${CFLAGS} mactest.c mactestparser.tab.c macconf.c -o mactest 
 mdconfigopenrdonly:  mdconfig.c
 	gcc ${CFLAGS} -o mdconfigopenrdonly mdconfig.c -lutil -lgeom -lbsdxml -lsbuf
-fifo_io: fifo_io.c
+fifo_io: fifo_io.c macconf.c mactestparser.tab.c
 	gcc ${CFLAGS} -o fifo_io fifo_io.c mactestparser.tab.c macconf.c
-pipe_io: pipe_io.c
+pipe_io: pipe_io.c macconf.c mactestparser.tab.c
 	gcc ${CFLAGS} -o pipe_io pipe_io.c mactestparser.tab.c macconf.c
+macping: macping.c macconf.c mactestparser.tab.c
+	gcc ${CFLAGS} -o macping macping.c macconf.c mactestparser.tab.c
+	chmod 4555 macping
 
 clean:
 	rm -f macproc
@@ -26,3 +29,4 @@
 	rm -f mdconfigopenrdonly
 	rm -f fifo_io
 	rm -f pipe_io
+	rm -f macping



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200708150655.l7F6tjep072976>