Date: Wed, 16 Aug 2006 13:36:56 GMT From: Todd Miller <millert@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 104222 for review Message-ID: <200608161336.k7GDauim070113@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=104222 Change 104222 by millert@millert_macbook on 2006/08/16 13:36:47 Do not assume that all typedefs in mac_policy.h refer to entrypoints. Affected files ... .. //depot/projects/trustedbsd/sedarwin8/policies/count/Makefile#2 edit .. //depot/projects/trustedbsd/sedarwin8/policies/stacktrace/module/Makefile#2 edit .. //depot/projects/trustedbsd/sedarwin8/policies/stub/Makefile#2 edit Differences ... ==== //depot/projects/trustedbsd/sedarwin8/policies/count/Makefile#2 (text+ko) ==== @@ -16,7 +16,7 @@ policy.in: $(EXPORT_HDRS)/security/security/mac_policy.h @cpp $(DARWIN_HDRS) -P $< \ | grep -v ^\$ \ - | awk 'RS=";" { if ($$1 == "typedef") { print $$0";" } }' \ + | awk 'RS=";" { if ($$1 == "typedef" && $$0 ~ /\(/) { print $$0";" } }' \ | tr -d "\n\t" \ | tr ";" "\n" \ | sed -e 's/typedef //g' \ ==== //depot/projects/trustedbsd/sedarwin8/policies/stacktrace/module/Makefile#2 (text+ko) ==== @@ -18,7 +18,7 @@ policy.in: $(EXPORT_HDRS)/security/security/mac_policy.h @cpp $(DARWIN_HDRS) -P $< \ | grep -v ^\$ \ - | awk 'RS=";" { if ($$1 == "typedef") { print $$0";" } }' \ + | awk 'RS=";" { if ($$1 == "typedef" && $$0 ~ /\(/) { print $$0";" } }' \ | tr -d "\n\t" \ | tr ";" "\n" \ | sed -e 's/typedef //g' \ ==== //depot/projects/trustedbsd/sedarwin8/policies/stub/Makefile#2 (text+ko) ==== @@ -15,7 +15,7 @@ policy.in: $(EXPORT_HDRS)/security/security/mac_policy.h @cpp $(DARWIN_HDRS) -P $< \ | grep -v ^\$ \ - | awk 'RS=";" { if ($$1 == "typedef") { print $$0";" } }' \ + | awk 'RS=";" { if ($$1 == "typedef" && $$0 ~ /\(/) { print $$0";" } }' \ | tr -d "\n\t" \ | tr ";" "\n" \ | sed -e 's/typedef //g' \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200608161336.k7GDauim070113>