PERFORCE change 134303 for review
Christian S.J. Peron
csjp at FreeBSD.org
Mon Jan 28 09:30:31 PST 2008
http://perforce.freebsd.org/chv.cgi?CH=134303
Change 134303 by csjp at 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
More information about the p4-projects
mailing list