Date: Mon, 28 Jan 2008 17:33:46 +0000 (UTC) From: "Christian S.J. Peron" <csjp@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/security/audit audit.c Message-ID: <200801281733.m0SHXku9006059@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
csjp 2008-01-28 17:33:46 UTC FreeBSD src repository Modified files: sys/security/audit audit.c Log: 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 Revision Changes Path 1.37 +3 -1 src/sys/security/audit/audit.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200801281733.m0SHXku9006059>