Christian S.J. Peron c52a508838 Make sure that the termid type is initialized to AU_IPv4 by default.
This makes sure that process tokens credentials with un-initialized
audit contexts are handled correctly.  Currently, when invariants are
enabled, this change fixes a panic by ensuring that we have a valid
termid family.  Also, this fixes token generation for process tokens
making sure that userspace is always getting a valid token.

This is consistent with what Solaris does when an audit context is
un-initialized.

Obtained from:	TrustedBSD Project
MFC after:	1 week
2008-01-28 17:33:46 +00:00
..
2008-01-16 07:00:55 +00:00
2008-01-15 18:34:47 +00:00
2007-12-24 01:01:59 +00:00
2008-01-28 10:34:38 +00:00
2008-01-21 13:26:33 +00:00