4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License, Version 1.0 only
6 * (the "License"). You may not use this file except in compliance
9 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 * or http://www.opensolaris.org/os/licensing.
11 * See the License for the specific language governing permissions
12 * and limitations under the License.
14 * When distributing Covered Code, include this CDDL HEADER in each
15 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 * If applicable, add the following below this CDDL HEADER, with the
17 * fields enclosed by brackets "[]" replaced with your own identifying
18 * information: Portions Copyright [yyyy] [name of copyright owner]
23 * Copyright 2003 Sun Microsystems, Inc. All rights reserved.
24 * Use is subject to license terms.
30 #pragma ident "%Z%%M% %I% %E% SMI"
36 #include <sys/types.h>
37 #include <bsm/audit.h>
39 struct selected_fields
{
40 /* from header token */
41 au_event_t sf_eventid
; /* 0 if no value */
42 uint32_t sf_reclen
; /* 0 if no value */
44 /* from exit or return token */
45 int sf_pass
; /* 0 no value, -1 fail, 1 pass */
47 /* from subject token */
48 uint32_t sf_asid
; /* 0 no value */
49 uid_t sf_auid
; /* -2 no value, > -1 otherwise */
50 uid_t sf_euid
; /* -2 no value, > -1 otherwise */
51 gid_t sf_egid
; /* -2 no value, > -1 otherwise */
52 au_tid_addr_t sf_tid
; /* tid.at_type = 0 no value */
54 /* from process token */
55 uid_t sf_pauid
; /* -2 no value */
56 uid_t sf_peuid
; /* -2 no value */
58 /* data that may be truncated goes after this point */
60 /* from uauth token */
62 char *sf_uauth
; /* NULL no value */
66 char *sf_text
; /* NULL no value */
68 /* from path and atpath token */
70 char *sf_path
; /* NULL no value */
72 char *sf_atpath
; /* NULL no value */
74 /* from sequence token */
75 int32_t sf_sequence
; /* -1 no value */
77 /* from zonename token */
79 char *sf_zonename
; /* NULL no value */
81 typedef struct selected_fields tosyslog_t
;
88 #endif /* _SYSPLUGIN_H */