audit_zone.c revision 8780f632c8794e526157dc18c87834b2cc4f6592
/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
* Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#include <c2/audit_kernel.h>
#include <c2/audit_record.h>
/*ARGSUSED*/
static void *
{
/*
* INGLOBALZONE(curproc) is invalid at this point, so check for
* zone 0
*/
if (zone == 0) {
global_kctx = kctx;
} else {
}
/* setup defaults for audit queue flow control */
/* statistics per zone */
/* door IO buffer: */
kctx->auk_dbuffer =
/* locks and cv's */
return (kctx);
}
/*ARGSUSED*/
static void
{
(audit_policy | AUDIT_PERZONE)) &&
/* shutdown the output thread if it is still running */
if (kctx->auk_output_active) {
}
}
/*ARGSUSED*/
static void
{
}
}
void
{
}