/*
* 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 2008 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#pragma ident "%Z%%M% %I% %E% SMI"
/*
#pragma D option flowindent
*/
/*
*** vscan kernel pseudo driver ***
*/
/*
*/
{
printf("%s reql: %d, node: %d, taskq: %d",
}
{
arg0 == 0 ? "UNCONFIG" :
}
{
printf("idx: %d, seqnum: %d - %s",
}
{
}
{
}
{
}
{
}
{
printf("%s, m: %d, q: %d, scanstamp: %s",
}
{
/* XAT_AV_QUARANTINED */
/* XAT_AV_MODIFIED */
/* XAT_AV_SCANSTAMP */
}
{
printf("%s",
}
{
printf("idx: %d, seqnum: %d, VS_STATUS_%s - VS_ACCESS_%s",
arg2 == 0 ? "UNDEFINED" :
arg3 == 0 ? "UNDEFINED" :
}
/* insert request into request list */
{
}
/args[1] != 0/
{
}
/args[1] == 0/
{
printf("request list full");
}
/* insert request into scan table */
{
printf("seqnum: %d - %s",
}
{
}
/* remove request from request list and scan table and delete it*/
{
printf("idx: %d, seqnum: %d - %s",
}
{
}
{
printf("idx: %d, seqnum: %d - %s",
}
{
printf("idx: %d, seqnum: %d, state: %s - %s",
}
{
}
{
printf("idx: %d, seqnum: %d - %s",
}
{
}
/*
*/
{
}
{
printf("idx: %d, seqnum: %d - %s",
}
{
printf("VS_STATUS_%s",
}
/*
*/
{
arg0 == 0 ? "UNCONFIG" :
}
{
}
/* unprivileged vscan driver access attempt */
/arg0 != 0/
{
printf("vscan driver access attempt by unprivileged process");
}
/* daemon-driver synchronization */
{
}
/ *(int *)args[0] == 0/
{
printf("vscan daemon attach");
}
/ (int)args[0] == 0/
{
printf("vscan daemon detach");
}
/ (int)args[0] == 0/
{
}
{
}
{
}
{
}
/* file access */
/*
fbt:vscan:vscan_drv_open:entry
/ *(int *)args[0] != 0/
{
printf("%d", *(int *)args[0]);
}
fbt:vscan:vscan_drv_close:entry,
fbt:vscan:vscan_drv_read:entry
/ (int)args[0] != 0/
{
printf("%d", (int)args[0]);
}
*/
/*
*** vscan daemon - vscand ***
*/
{
}
{
}
{
}
{
}
{
printf("VS_STATUS_%s",
arg1 == 0 ? "UNDEFINED" :
}
{
}
{
(int)arg1 == 0 ? "UNDEFINED" :
}
{
}
{
}
/* get engine connection */
{
}
{
}
/* engine errors */
/ arg1 == 1 /
{
printf("scan engine error");
}
/* configuration */
{
}
{
printf("maxsize: %s action: %s\n",
}
{
printf("\n%s %s \nhost: %s \nport: %d \nmax connections: %d\n",
}
/* shutdown */
{
}
{
}
/* vs_icap.c */
/* trace entry and exit (inc status) */
{
}
{
}
{
}
/* trace failures only - these functions return -1 on failure */
/(int)arg1 == -1/
{
printf("error");
}
/* trace failures only - these functions return 1 on success */
/arg1 != 1/
{
printf("error");
}
/arg1 <= 0/
{
printf("error");
}
/*
pid$target::recv:return,
*/