Date: Mon, 28 Jan 2008 17:30:30 GMT From: "Christian S.J. Peron" <csjp@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 134303 for review Message-ID: <200801281730.m0SHUUwU005346@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=134303 Change 134303 by csjp@csjp_xor on 2008/01/28 17:29:58 Make sure we initialize the termid type to AU_IPv4 by default. This fixes a panic when invariants are enabled, as well as ensures that proper records are being generated before being handed off to userspace. Affected files ... .. //depot/projects/trustedbsd/audit3/sys/security/audit/audit.c#53 edit Differences ... ==== //depot/projects/trustedbsd/audit3/sys/security/audit/audit.c#53 (text+ko) ==== @@ -553,6 +553,7 @@ { cred->cr_audit.ai_auid = AU_DEFAUDITID; + cred->cr_audit.ai_termid.at_type = AU_IPv4; } void @@ -560,6 +561,7 @@ { cred->cr_audit.ai_auid = AU_DEFAUDITID; + cred->cr_audit.ai_termid.at_type = AU_IPv4; } void
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200801281730.m0SHUUwU005346>