Date: Tue, 15 Aug 2006 16:23:25 GMT From: Robert Watson <rwatson@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 104050 for review Message-ID: <200608151623.k7FGNPhp014281@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=104050 Change 104050 by rwatson@rwatson_peppercorn on 2006/08/15 16:23:02 Fixes to 32-bit and 64-bit argument token output. Submitted by: Pawel Worach <pawel dot worach at gmail dot com> Affected files ... .. //depot/projects/trustedbsd/openbsm/HISTORY#21 edit .. //depot/projects/trustedbsd/openbsm/README#18 edit .. //depot/projects/trustedbsd/openbsm/libbsm/bsm_io.c#39 edit Differences ... ==== //depot/projects/trustedbsd/openbsm/HISTORY#21 (text+ko) ==== @@ -10,6 +10,8 @@ - OpenBSM-specific events assigned numbers in the 43xxx range to avoid future collisions with Solaris. Darwin events renamed to AUE_DARWIN_foo, as they are now deprecated numberings. +- autoconf now detects clock_gettime(), which is not available on Darwin. +- praudit output fixes relating to arg32 and arg64 tokens. OpenBSM 1.0 alpha 7 @@ -188,4 +190,4 @@ to support reloading of kernel event table. - Allow comments in /etc/security configuration files. -$P4: //depot/projects/trustedbsd/openbsm/HISTORY#20 $ +$P4: //depot/projects/trustedbsd/openbsm/HISTORY#21 $ ==== //depot/projects/trustedbsd/openbsm/README#18 (text+ko) ==== @@ -74,6 +74,7 @@ Olivier Houchard Christian Peron Martin Fong + Pawel Worach In addition, Coverity, Inc.'s Prevent(tm) static analysis tool and Gimpel Software's FlexeLint tool were used to identify a number of bugs in the @@ -95,4 +96,4 @@ http://www.TrustedBSD.org/ -$P4: //depot/projects/trustedbsd/openbsm/README#17 $ +$P4: //depot/projects/trustedbsd/openbsm/README#18 $ ==== //depot/projects/trustedbsd/openbsm/libbsm/bsm_io.c#39 (text+ko) ==== @@ -31,7 +31,7 @@ * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - * $P4: //depot/projects/trustedbsd/openbsm/libbsm/bsm_io.c#38 $ + * $P4: //depot/projects/trustedbsd/openbsm/libbsm/bsm_io.c#39 $ */ #include <sys/types.h> @@ -820,7 +820,7 @@ print_delim(fp, del); print_1_byte(fp, tok->tt.arg32.no, "%u"); print_delim(fp, del); - print_4_bytes(fp, tok->tt.arg32.val, "%#x"); + print_4_bytes(fp, tok->tt.arg32.val, "0x%x"); print_delim(fp, del); print_string(fp, tok->tt.arg32.text, tok->tt.arg32.len); } @@ -859,7 +859,7 @@ print_delim(fp, del); print_1_byte(fp, tok->tt.arg64.no, "%u"); print_delim(fp, del); - print_8_bytes(fp, tok->tt.arg64.val, "%#llx"); + print_8_bytes(fp, tok->tt.arg64.val, "0x%llx"); print_delim(fp, del); print_string(fp, tok->tt.arg64.text, tok->tt.arg64.len); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200608151623.k7FGNPhp014281>