xref: /titanic_50/usr/src/lib/libbsm/common/adt.xml (revision c0c79a3f09914f35651895ffc111883455b7f62d)
1*c0c79a3fStz204579<?xml version="1.0" standalone="yes"?>
2*c0c79a3fStz204579<!DOCTYPE specification SYSTEM "audit.dtd">
3*c0c79a3fStz204579<!--
4*c0c79a3fStz204579 CDDL HEADER START
5*c0c79a3fStz204579
6*c0c79a3fStz204579 The contents of this file are subject to the terms of the
7*c0c79a3fStz204579 Common Development and Distribution License (the "License").
8*c0c79a3fStz204579 You may not use this file except in compliance with the License.
9*c0c79a3fStz204579
10*c0c79a3fStz204579 You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
11*c0c79a3fStz204579 or http://www.opensolaris.org/os/licensing.
12*c0c79a3fStz204579 See the License for the specific language governing permissions
13*c0c79a3fStz204579 and limitations under the License.
14*c0c79a3fStz204579
15*c0c79a3fStz204579 When distributing Covered Code, include this CDDL HEADER in each
16*c0c79a3fStz204579 file and include the License file at usr/src/OPENSOLARIS.LICENSE.
17*c0c79a3fStz204579 If applicable, add the following below this CDDL HEADER, with the
18*c0c79a3fStz204579 fields enclosed by brackets "[]" replaced with your own identifying
19*c0c79a3fStz204579 information: Portions Copyright [yyyy] [name of copyright owner]
20*c0c79a3fStz204579
21*c0c79a3fStz204579 CDDL HEADER END
22*c0c79a3fStz204579
23*c0c79a3fStz204579Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
24*c0c79a3fStz204579Use is subject to license terms.
25*c0c79a3fStz204579
26*c0c79a3fStz204579  ident	"%Z%%M%	%I%	%E% SMI"
27*c0c79a3fStz204579-->
28*c0c79a3fStz204579
29*c0c79a3fStz204579<specification>
30*c0c79a3fStz204579
31*c0c79a3fStz204579<!-- comments are displayed to stderr if debug is on -->
32*c0c79a3fStz204579<debug set="off"/>
33*c0c79a3fStz204579
34*c0c79a3fStz204579    <!-- The order of events is arbitrary EXCEPT generic events must
35*c0c79a3fStz204579	 precede their instances -->
36*c0c79a3fStz204579       <!-- The order of entries within an event determine the order
37*c0c79a3fStz204579            data is defined in the external API -->
38*c0c79a3fStz204579	    <!-- The order of internal / external is arbitrary -->
39*c0c79a3fStz204579
40*c0c79a3fStz204579<!--
41*c0c79a3fStz204579	tags:
42*c0c79a3fStz204579			The following top level tags are defined:
43*c0c79a3fStz204579			<event> <token> <msg_list> <debug>
44*c0c79a3fStz204579
45*c0c79a3fStz204579	event		defines an audit record
46*c0c79a3fStz204579			- id is the record id from audit_uevents.h
47*c0c79a3fStz204579			- reorder="yes" or "no".  (default is "no").
48*c0c79a3fStz204579			  if "yes" then the order of the tokens to be
49*c0c79a3fStz204579			  output does not match the order of the data
50*c0c79a3fStz204579			  input.  (see order attribute of <entry>)
51*c0c79a3fStz204579			- header defines the header file to contain the external
52*c0c79a3fStz204579			  definitions for this event type.  The header file
53*c0c79a3fStz204579			  name is adt_event_N.h, where N is the value supplied
54*c0c79a3fStz204579			  header="0" is for "stable" events, > 0 for new ones.
55*c0c79a3fStz204579			  with this attribute. (header="1").
56*c0c79a3fStz204579			- idNo is the number associated with the external
57*c0c79a3fStz204579			  name of this event. (For AUE_login, ADT_login is
58*c0c79a3fStz204579			  the external name and idNo is the value for
59*c0c79a3fStz204579			  ADT_login.)
60*c0c79a3fStz204579			- omit is by default 'no' (i.e., don't omit) and can be
61*c0c79a3fStz204579			  'always' or 'JNI'.  In the latter case, C interface
62*c0c79a3fStz204579			  code is generated but neither Java nor JNI code is.
63*c0c79a3fStz204579			- included text is just a comment
64*c0c79a3fStz204579			Within an event block, the following tags are defined:
65*c0c79a3fStz204579			<entry>, <debug>, <altname>
66*c0c79a3fStz204579
67*c0c79a3fStz204579	altname		defines the internal name of an audit record; if
68*c0c79a3fStz204579			omitted, the internal name is the same as the
69*c0c79a3fStz204579			external name.
70*c0c79a3fStz204579
71*c0c79a3fStz204579	entry		defines the correspondence between the data
72*c0c79a3fStz204579			supplied by the caller and the token to be
73*c0c79a3fStz204579			output.
74*c0c79a3fStz204579			- id is the data name that shows up in the structures
75*c0c79a3fStz204579			  of adt_event.h  If it is a comma separated list,
76*c0c79a3fStz204579			  it is the list of names of data to be associated
77*c0c79a3fStz204579			  with one output token.  (See <external>, below)
78*c0c79a3fStz204579			Within an entry block, the following tags are defined:
79*c0c79a3fStz204579			<internal>, <external>, <debug>
80*c0c79a3fStz204579
81*c0c79a3fStz204579	internal	defines the token to be generated.
82*c0c79a3fStz204579			- token is a name that must also be defined with
83*c0c79a3fStz204579			  a <token> tag elsewhere in this file.  (order is
84*c0c79a3fStz204579			  not important).
85*c0c79a3fStz204579			- order="some number" determines the order of the
86*c0c79a3fStz204579			  tokens to be output, starting with 1.  The subject
87*c0c79a3fStz204579			  token is normally order="1".  The use is to insure
88*c0c79a3fStz204579			  that the order of fields listed in adt_event.h does
89*c0c79a3fStz204579			  not change when we arbitrarily change the order of
90*c0c79a3fStz204579			  tokens.  If the <event reorder="yes"> is not set,
91*c0c79a3fStz204579			  order is ignored.
92*c0c79a3fStz204579			- format is a printf-like string that will be used
93*c0c79a3fStz204579			  in to format the data supplied by the user.
94*c0c79a3fStz204579
95*c0c79a3fStz204579	external	defines the data to be supplied for creating the
96*c0c79a3fStz204579			token defined via <internal>
97*c0c79a3fStz204579			- opt is one of four values:  "required", "optional",
98*c0c79a3fStz204579			  "obsolete", or "none".  The first two values
99*c0c79a3fStz204579			  indicate that this token's data must or may
100*c0c79a3fStz204579			  be supplied by the user; the third value is
101*c0c79a3fStz204579			  equivalent to "optional" but shows in the
102*c0c79a3fStz204579			  comment that this field is no longer used;
103*c0c79a3fStz204579			  the forth value indicates that this token
104*c0c79a3fStz204579			  does not require any user-supplied data.  If
105*c0c79a3fStz204579			  data is required, then a token is always
106*c0c79a3fStz204579			  output, while optional data is output only
107*c0c79a3fStz204579			  if data is supplied.
108*c0c79a3fStz204579			- type describes the C data type to be associated
109*c0c79a3fStz204579			  with the <entry id="dataName">.  The following
110*c0c79a3fStz204579			  data types are representative:
111*c0c79a3fStz204579
112*c0c79a3fStz204579				au_asid_t (uint32_t)
113*c0c79a3fStz204579				char
114*c0c79a3fStz204579				char * (blank is optional)
115*c0c79a3fStz204579				char ** (blank is optional)
116*c0c79a3fStz204579				uint_t, int, int32_t, uid_t, gid_t
117*c0c79a3fStz204579				uid_t *, gid_t *
118*c0c79a3fStz204579				long, ulong_t
119*c0c79a3fStz204579				m_label_t *
120*c0c79a3fStz204579				pid_t
121*c0c79a3fStz204579				priv_set_t *
122*c0c79a3fStz204579				uint16_t, unit32_t, uint64_t
123*c0c79a3fStz204579				uint32_t *, uint32_t[], uint64_t *
124*c0c79a3fStz204579				msg  (not a C type, see below)
125*c0c79a3fStz204579
126*c0c79a3fStz204579			Below is what Tony said.  Above seems to be
127*c0c79a3fStz204579			what is implemented
128*c0c79a3fStz204579				char
129*c0c79a3fStz204579				char * (blank is optional)
130*c0c79a3fStz204579				char ** (blank is optional)
131*c0c79a3fStz204579				int, uid_t, gid_t
132*c0c79a3fStz204579				int *, uid_t *, gid_t *
133*c0c79a3fStz204579				msg  (not a C type, see below)
134*c0c79a3fStz204579				time_t
135*c0c79a3fStz204579				uint, uint *
136*c0c79a3fStz204579
137*c0c79a3fStz204579			  The msg type refers to an enumerated type
138*c0c79a3fStz204579			  that must be defined via a <msg> description
139*c0c79a3fStz204579			  else where in this file. The syntax is
140*c0c79a3fStz204579			  special.  Example: <external opt="optional"
141*c0c79a3fStz204579			  type="msg login_text"/> "login_text" is the
142*c0c79a3fStz204579			  id of a <msg_list> descriptor given
143*c0c79a3fStz204579			  elsewhere in this file.
144*c0c79a3fStz204579
145*c0c79a3fStz204579			If the <entry> id is a list, the type must also
146*c0c79a3fStz204579			be a comma-separated list, where the types are
147*c0c79a3fStz204579			in the same order as the id's.
148*c0c79a3fStz204579			If the type is an array, its length must be given
149*c0c79a3fStz204579			explicitly.
150*c0c79a3fStz204579
151*c0c79a3fStz204579	token		Define allowed token names.
152*c0c79a3fStz204579			- id is the name of token; this name is used
153*c0c79a3fStz204579			as an <internal> id.
154*c0c79a3fStz204579			- usage is an optional value.  At present, only
155*c0c79a3fStz204579			  "TSOL" is defined; it means that this data is
156*c0c79a3fStz204579			  to be used only in Trusted Solaris implementations.
157*c0c79a3fStz204579
158*c0c79a3fStz204579	msg_list	Define a set of text strings.
159*c0c79a3fStz204579			- id is the name to be used for this group of text
160*c0c79a3fStz204579			  strings in adt_event.h
161*c0c79a3fStz204579			- header is as defined for <event>
162*c0c79a3fStz204579			Within a msg_list block, <msg> and <debug> are defined.
163*c0c79a3fStz204579			The order of <msg> tags in a msg_list is reflected
164*c0c79a3fStz204579			directly in adt_event.h
165*c0c79a3fStz204579
166*c0c79a3fStz204579	msg		Define one string.
167*c0c79a3fStz204579			- id is the name to be used in the enum describing
168*c0c79a3fStz204579			  this set of strings.  Convention:  use upper case.
169*c0c79a3fStz204579			The content (text between <msg> and </msg>) is the
170*c0c79a3fStz204579			actual string.  Extra white space, including line
171*c0c79a3fStz204579			feeds, is ignored.  If empty, no output token
172*c0c79a3fStz204579			is generated unless the <external> opt attribute is
173*c0c79a3fStz204579			set to "required", in which case a blank text token
174*c0c79a3fStz204579			is generated.
175*c0c79a3fStz204579			Within a msg block, <debug> is defined, but has not been
176*c0c79a3fStz204579			tested and may have no effect.
177*c0c79a3fStz204579
178*c0c79a3fStz204579	debug		This turns on/off debug messages during the processing
179*c0c79a3fStz204579			of the xml data.  It affects the block within which it
180*c0c79a3fStz204579			is defined.
181*c0c79a3fStz204579			- set may have one of two values:  "on" or "off".  If
182*c0c79a3fStz204579			  set is omitted, the debug state for the current block
183*c0c79a3fStz204579			  is toggled.
184*c0c79a3fStz204579			The use of the <debug> tag does not affect the output
185*c0c79a3fStz204579			of data to the various files created, but does generate
186*c0c79a3fStz204579			potentially large amounts of output to stderr.
187*c0c79a3fStz204579
188*c0c79a3fStz204579-->
189*c0c79a3fStz204579<!--        template for an event record definition
190*c0c79a3fStz204579
191*c0c79a3fStz204579    <event id="" header="0" idNo="">
192*c0c79a3fStz204579	<entry id="subject">
193*c0c79a3fStz204579	    <internal token="subject"/>
194*c0c79a3fStz204579	    <external opt="none"/>
195*c0c79a3fStz204579	</entry>
196*c0c79a3fStz204579	<entry id="">
197*c0c79a3fStz204579	    <internal token=""/>
198*c0c79a3fStz204579	    <external opt="" type="" />
199*c0c79a3fStz204579	</entry>
200*c0c79a3fStz204579	<entry id="return">
201*c0c79a3fStz204579	    <internal token="return"/>
202*c0c79a3fStz204579	    <external opt="none"/>
203*c0c79a3fStz204579	</entry>
204*c0c79a3fStz204579    </event>
205*c0c79a3fStz204579
206*c0c79a3fStz204579    Generic events must precede Instance events; within each
207*c0c79a3fStz204579    group, please group the AUE_* by area and event idNo-s in order,
208*c0c79a3fStz204579    gaps in idNo-s are OK.
209*c0c79a3fStz204579    N.B. Renumbering idNo-s requires recompilation of consumers.  See
210*c0c79a3fStz204579    the contracts for whom to notify if/when this happens.
211*c0c79a3fStz204579-->
212*c0c79a3fStz204579
213*c0c79a3fStz204579<!-- generic events  -->
214*c0c79a3fStz204579
215*c0c79a3fStz204579    <!--
216*c0c79a3fStz204579	'omit="always"' means that this record type is not reflected
217*c0c79a3fStz204579	in the generated header and table files.
218*c0c79a3fStz204579     -->
219*c0c79a3fStz204579
220*c0c79a3fStz204579    <event id="AUE_generic_basic" type="generic" omit="always">
221*c0c79a3fStz204579	<!--
222*c0c79a3fStz204579
223*c0c79a3fStz204579	This is a template for the event types that have no tokens
224*c0c79a3fStz204579	other than the header and return. There is no allowed_type
225*c0c79a3fStz204579	list because the template is not externally visible due to the
226*c0c79a3fStz204579	omit="always".
227*c0c79a3fStz204579
228*c0c79a3fStz204579	-->
229*c0c79a3fStz204579	<entry id="subject">
230*c0c79a3fStz204579	    <internal token="subject"/>
231*c0c79a3fStz204579	    <external opt="none"/>
232*c0c79a3fStz204579	</entry>
233*c0c79a3fStz204579	<entry id="return">
234*c0c79a3fStz204579	    <internal token="return"/>
235*c0c79a3fStz204579	    <external opt="none"/>
236*c0c79a3fStz204579	</entry>
237*c0c79a3fStz204579    </event>
238*c0c79a3fStz204579
239*c0c79a3fStz204579    <event id="AUE_generic_login" type="generic" omit="always">
240*c0c79a3fStz204579	<!--
241*c0c79a3fStz204579
242*c0c79a3fStz204579	This is a template for the various login event types
243*c0c79a3fStz204579	AUE_login, AUE_ftp, etc which match this template.  There is
244*c0c79a3fStz204579	no allowed_type list because the template is not externally
245*c0c79a3fStz204579	visible due to the omit="always".
246*c0c79a3fStz204579
247*c0c79a3fStz204579	-->
248*c0c79a3fStz204579	<entry id="subject">
249*c0c79a3fStz204579	    <internal token="subject"/>
250*c0c79a3fStz204579	    <external opt="none"/>
251*c0c79a3fStz204579	</entry>
252*c0c79a3fStz204579
253*c0c79a3fStz204579	<!--	This field is still in use for SMC until it is cleaned up,
254*c0c79a3fStz204579		it must remain, see login_text msg list at the end of the
255*c0c79a3fStz204579		file.
256*c0c79a3fStz204579	-->
257*c0c79a3fStz204579	<entry id="message">
258*c0c79a3fStz204579	    <internal token="text"/>
259*c0c79a3fStz204579	    <external opt="optional" type="msg login_text"/>
260*c0c79a3fStz204579	    <comment>error message</comment>
261*c0c79a3fStz204579	</entry>
262*c0c79a3fStz204579	<entry id="return">
263*c0c79a3fStz204579	    <internal token="return"/>
264*c0c79a3fStz204579	    <external opt="none"/>
265*c0c79a3fStz204579	</entry>
266*c0c79a3fStz204579    </event>
267*c0c79a3fStz204579
268*c0c79a3fStz204579<!-- generic SMC events  -->
269*c0c79a3fStz204579
270*c0c79a3fStz204579    <event id="AUE_generic_SMC_add" type="generic" omit="always">
271*c0c79a3fStz204579	<entry id="subject">
272*c0c79a3fStz204579	    <internal token="subject"/>
273*c0c79a3fStz204579	    <external opt="none"/>
274*c0c79a3fStz204579	</entry>
275*c0c79a3fStz204579	<entry id="object_name">
276*c0c79a3fStz204579	    <internal token="text"/>
277*c0c79a3fStz204579	    <external opt="required" type="char *"/>
278*c0c79a3fStz204579	    <comment>object name</comment>
279*c0c79a3fStz204579	</entry>
280*c0c79a3fStz204579	<entry id="domain">
281*c0c79a3fStz204579	    <internal token="text"/>
282*c0c79a3fStz204579	    <external opt="optional" type="char *"/>
283*c0c79a3fStz204579	    <comment>domain</comment>
284*c0c79a3fStz204579	</entry>
285*c0c79a3fStz204579	<entry id="name_service">
286*c0c79a3fStz204579	    <internal token="text"/>
287*c0c79a3fStz204579	    <external opt="required" type="char *"/>
288*c0c79a3fStz204579	    <comment>name_service</comment>
289*c0c79a3fStz204579	</entry>
290*c0c79a3fStz204579	<entry id="auth_used">
291*c0c79a3fStz204579	    <internal token="uauth"/>
292*c0c79a3fStz204579	    <external opt="optional" type="char *"/>
293*c0c79a3fStz204579	    <comment>authorization used</comment>
294*c0c79a3fStz204579	</entry>
295*c0c79a3fStz204579	<!--
296*c0c79a3fStz204579	  This should really be its own token type, not "text"
297*c0c79a3fStz204579	-->
298*c0c79a3fStz204579	<entry id="initial_values">
299*c0c79a3fStz204579	    <internal token="text"/>
300*c0c79a3fStz204579	    <external opt="required" type="char *"/>
301*c0c79a3fStz204579	    <comment>initial values</comment>
302*c0c79a3fStz204579	</entry>
303*c0c79a3fStz204579	<entry id="return">
304*c0c79a3fStz204579	    <internal token="return"/>
305*c0c79a3fStz204579	    <external opt="none"/>
306*c0c79a3fStz204579	</entry>
307*c0c79a3fStz204579    </event>
308*c0c79a3fStz204579
309*c0c79a3fStz204579    <event id="AUE_generic_SMC_delete" type="generic" omit="always">
310*c0c79a3fStz204579	<entry id="subject">
311*c0c79a3fStz204579	    <internal token="subject"/>
312*c0c79a3fStz204579	    <external opt="none"/>
313*c0c79a3fStz204579	</entry>
314*c0c79a3fStz204579	<entry id="object_name">
315*c0c79a3fStz204579	    <internal token="text"/>
316*c0c79a3fStz204579	    <external opt="required" type="char *"/>
317*c0c79a3fStz204579	    <comment>object name</comment>
318*c0c79a3fStz204579	</entry>
319*c0c79a3fStz204579	<entry id="domain">
320*c0c79a3fStz204579	    <internal token="text"/>
321*c0c79a3fStz204579	    <external opt="optional" type="char *"/>
322*c0c79a3fStz204579	    <comment>domain</comment>
323*c0c79a3fStz204579	</entry>
324*c0c79a3fStz204579	<entry id="name_service">
325*c0c79a3fStz204579	    <internal token="text"/>
326*c0c79a3fStz204579	    <external opt="required" type="char *"/>
327*c0c79a3fStz204579	    <comment>name_service</comment>
328*c0c79a3fStz204579	</entry>
329*c0c79a3fStz204579	<entry id="auth_used">
330*c0c79a3fStz204579	    <internal token="uauth"/>
331*c0c79a3fStz204579	    <external opt="optional" type="char *"/>
332*c0c79a3fStz204579	    <comment>authorization used</comment>
333*c0c79a3fStz204579	</entry>
334*c0c79a3fStz204579	<entry id="delete_values">
335*c0c79a3fStz204579	    <internal token="text"/>
336*c0c79a3fStz204579	    <external opt="required" type="char *"/>
337*c0c79a3fStz204579	    <comment>deleted values</comment>
338*c0c79a3fStz204579	</entry>
339*c0c79a3fStz204579	<entry id="return">
340*c0c79a3fStz204579	    <internal token="return"/>
341*c0c79a3fStz204579	    <external opt="none"/>
342*c0c79a3fStz204579	</entry>
343*c0c79a3fStz204579    </event>
344*c0c79a3fStz204579
345*c0c79a3fStz204579    <event id="AUE_generic_SMC_modify" type="generic" omit="always">
346*c0c79a3fStz204579	<entry id="subject">
347*c0c79a3fStz204579	    <internal token="subject"/>
348*c0c79a3fStz204579	    <external opt="none"/>
349*c0c79a3fStz204579	</entry>
350*c0c79a3fStz204579	<entry id="object_name">
351*c0c79a3fStz204579	    <internal token="text"/>
352*c0c79a3fStz204579	    <external opt="required" type="char *"/>
353*c0c79a3fStz204579	    <comment>object name</comment>
354*c0c79a3fStz204579	</entry>
355*c0c79a3fStz204579	<entry id="domain">
356*c0c79a3fStz204579	    <internal token="text"/>
357*c0c79a3fStz204579	    <external opt="optional" type="char *"/>
358*c0c79a3fStz204579	    <comment>domain</comment>
359*c0c79a3fStz204579	</entry>
360*c0c79a3fStz204579	<entry id="name_service">
361*c0c79a3fStz204579	    <internal token="text"/>
362*c0c79a3fStz204579	    <external opt="required" type="char *"/>
363*c0c79a3fStz204579	    <comment>name_service</comment>
364*c0c79a3fStz204579	</entry>
365*c0c79a3fStz204579	<entry id="auth_used">
366*c0c79a3fStz204579	    <internal token="uauth"/>
367*c0c79a3fStz204579	    <external opt="optional" type="char *"/>
368*c0c79a3fStz204579	    <comment>authorization used</comment>
369*c0c79a3fStz204579	</entry>
370*c0c79a3fStz204579	<entry id="changed_values">
371*c0c79a3fStz204579	    <internal token="text"/>
372*c0c79a3fStz204579	    <external opt="required" type="char *"/>
373*c0c79a3fStz204579	    <comment>changed values</comment>
374*c0c79a3fStz204579	</entry>
375*c0c79a3fStz204579	<entry id="return">
376*c0c79a3fStz204579	    <internal token="return"/>
377*c0c79a3fStz204579	    <external opt="none"/>
378*c0c79a3fStz204579	</entry>
379*c0c79a3fStz204579    </event>
380*c0c79a3fStz204579
381*c0c79a3fStz204579<!-- instances -->
382*c0c79a3fStz204579
383*c0c79a3fStz204579<!--
384*c0c79a3fStz204579	Java needed for SMC events.  Since the SMC events grow less
385*c0c79a3fStz204579	often than the C related events.  They come first.  It
386*c0c79a3fStz204579	would be nice to reorder the idNo-s, but that's an ABI
387*c0c79a3fStz204579	change and should rev libbsm version no.  If reordered
388*c0c79a3fStz204579	start with 1 and eliminate the comment at the end about
389*c0c79a3fStz204579	the highest idNo.
390*c0c79a3fStz204579-->
391*c0c79a3fStz204579    <event id="AUE_admin_authenticate" instance_of="AUE_generic_login"
392*c0c79a3fStz204579	header="0" idNo="3">
393*c0c79a3fStz204579	<title>Admin Server Authentication</title>
394*c0c79a3fStz204579	<program>admin (various)</program>
395*c0c79a3fStz204579	<see>SMC, WBEM, or AdminSuite</see>
396*c0c79a3fStz204579    </event>
397*c0c79a3fStz204579
398*c0c79a3fStz204579    <event id="AUE_filesystem_add" instance_of="AUE_generic_SMC_add"
399*c0c79a3fStz204579	header="0" idNo="4">
400*c0c79a3fStz204579	<title>SMC: filesystem add</title>
401*c0c79a3fStz204579	<program>SMC server</program>
402*c0c79a3fStz204579    </event>
403*c0c79a3fStz204579    <event id="AUE_filesystem_delete" instance_of="AUE_generic_SMC_delete"
404*c0c79a3fStz204579	header="0" idNo="5">
405*c0c79a3fStz204579	<title>SMC: filesystem delete</title>
406*c0c79a3fStz204579	<program>SMC server</program>
407*c0c79a3fStz204579    </event>
408*c0c79a3fStz204579    <event id="AUE_filesystem_modify" instance_of="AUE_generic_SMC_modify"
409*c0c79a3fStz204579	header="0" idNo="6">
410*c0c79a3fStz204579	<title>SMC: filesystem modify</title>
411*c0c79a3fStz204579	<program>SMC server</program>
412*c0c79a3fStz204579    </event>
413*c0c79a3fStz204579
414*c0c79a3fStz204579    <event id="AUE_network_add" instance_of="AUE_generic_SMC_add"
415*c0c79a3fStz204579	header="0" idNo="7">
416*c0c79a3fStz204579	<title>SMC: network add</title>
417*c0c79a3fStz204579	<program>SMC server</program>
418*c0c79a3fStz204579    </event>
419*c0c79a3fStz204579    <event id="AUE_network_delete" instance_of="AUE_generic_SMC_delete"
420*c0c79a3fStz204579	header="0" idNo="8">
421*c0c79a3fStz204579	<title>SMC: network delete</title>
422*c0c79a3fStz204579	<program>SMC server</program>
423*c0c79a3fStz204579    </event>
424*c0c79a3fStz204579    <event id="AUE_network_modify" instance_of="AUE_generic_SMC_modify"
425*c0c79a3fStz204579	header="0" idNo="9">
426*c0c79a3fStz204579	<title>SMC: network modify</title>
427*c0c79a3fStz204579	<program>SMC server</program>
428*c0c79a3fStz204579    </event>
429*c0c79a3fStz204579
430*c0c79a3fStz204579    <event id="AUE_printer_add" instance_of="AUE_generic_SMC_add"
431*c0c79a3fStz204579	header="0" idNo="10">
432*c0c79a3fStz204579	<title>SMC: printer add</title>
433*c0c79a3fStz204579	<program>SMC server</program>
434*c0c79a3fStz204579    </event>
435*c0c79a3fStz204579    <event id="AUE_printer_delete" instance_of="AUE_generic_SMC_delete"
436*c0c79a3fStz204579	header="0" idNo="11">
437*c0c79a3fStz204579	<title>SMC: printer delete</title>
438*c0c79a3fStz204579	<program>SMC server</program>
439*c0c79a3fStz204579    </event>
440*c0c79a3fStz204579    <event id="AUE_printer_modify" instance_of="AUE_generic_SMC_modify"
441*c0c79a3fStz204579	header="0" idNo="12">
442*c0c79a3fStz204579	<title>SMC: printer modify</title>
443*c0c79a3fStz204579	<program>SMC server</program>
444*c0c79a3fStz204579    </event>
445*c0c79a3fStz204579
446*c0c79a3fStz204579<!--
447*c0c79a3fStz204579	This is SMC; it's also used in su and should probably be used in
448*c0c79a3fStz204579	desktop role login.  If we fix the SMC to not record NO_MSG here,
449*c0c79a3fStz204579	we can fix to record failed user.  See su.c and AUE_su.
450*c0c79a3fStz204579-->
451*c0c79a3fStz204579    <event id="AUE_role_login" instance_of="AUE_generic_login"
452*c0c79a3fStz204579	header="0" idNo="13">
453*c0c79a3fStz204579	<title>RBAC: role login</title>
454*c0c79a3fStz204579	<program>SMC server</program>
455*c0c79a3fStz204579	<program>/usr/bin/su</program>
456*c0c79a3fStz204579    </event>
457*c0c79a3fStz204579
458*c0c79a3fStz204579    <event id="AUE_scheduledjob_add" instance_of="AUE_generic_SMC_add"
459*c0c79a3fStz204579	header="0" idNo="14">
460*c0c79a3fStz204579	<title>SMC: scheduled job add</title>
461*c0c79a3fStz204579	<program>SMC server</program>
462*c0c79a3fStz204579    </event>
463*c0c79a3fStz204579    <event id="AUE_scheduledjob_delete" instance_of="AUE_generic_SMC_delete"
464*c0c79a3fStz204579	header="0" idNo="15">
465*c0c79a3fStz204579	<title>SMC: scheduled job delete</title>
466*c0c79a3fStz204579	<program>SMC server</program>
467*c0c79a3fStz204579    </event>
468*c0c79a3fStz204579    <event id="AUE_scheduledjob_modify" instance_of="AUE_generic_SMC_modify"
469*c0c79a3fStz204579	header="0" idNo="16">
470*c0c79a3fStz204579	<title>SMC: scheduled job modify</title>
471*c0c79a3fStz204579	<program>SMC server</program>
472*c0c79a3fStz204579    </event>
473*c0c79a3fStz204579
474*c0c79a3fStz204579    <event id="AUE_serialport_add" instance_of="AUE_generic_SMC_add"
475*c0c79a3fStz204579	header="0" idNo="17">
476*c0c79a3fStz204579	<title>SMC: serial port add</title>
477*c0c79a3fStz204579	<program>SMC server</program>
478*c0c79a3fStz204579    </event>
479*c0c79a3fStz204579    <event id="AUE_serialport_delete" instance_of="AUE_generic_SMC_delete"
480*c0c79a3fStz204579	header="0" idNo="18">
481*c0c79a3fStz204579	<title>SMC: serial port delete</title>
482*c0c79a3fStz204579	<program>SMC server</program>
483*c0c79a3fStz204579    </event>
484*c0c79a3fStz204579    <event id="AUE_serialport_modify" instance_of="AUE_generic_SMC_modify"
485*c0c79a3fStz204579	header="0" idNo="19">
486*c0c79a3fStz204579	<title>SMC: serial port modify</title>
487*c0c79a3fStz204579	<program>SMC server</program>
488*c0c79a3fStz204579    </event>
489*c0c79a3fStz204579
490*c0c79a3fStz204579<!-- This is SMC; should this also be used elsewhere? -->
491*c0c79a3fStz204579    <event id="AUE_uauth" header="0" idNo="20">
492*c0c79a3fStz204579    	<title>SMC: Use of Authorization</title>
493*c0c79a3fStz204579	<program>SMC server</program>
494*c0c79a3fStz204579	<entry id="subject">
495*c0c79a3fStz204579	    <internal token="subject"/>
496*c0c79a3fStz204579	    <external opt="none"/>
497*c0c79a3fStz204579	</entry>
498*c0c79a3fStz204579	<entry id="auth_used">
499*c0c79a3fStz204579	    <internal token="uauth"/>
500*c0c79a3fStz204579	    <external opt="required" type="char *"/>
501*c0c79a3fStz204579	    <comment>authorization used</comment>
502*c0c79a3fStz204579	</entry>
503*c0c79a3fStz204579	<entry id="objectname">
504*c0c79a3fStz204579	    <internal token="text"/>
505*c0c79a3fStz204579	    <external opt="required" type="char *"/>
506*c0c79a3fStz204579	    <comment>object name</comment>
507*c0c79a3fStz204579	</entry>
508*c0c79a3fStz204579	<entry id="return">
509*c0c79a3fStz204579	    <internal token="return"/>
510*c0c79a3fStz204579	    <external opt="none"/>
511*c0c79a3fStz204579	</entry>
512*c0c79a3fStz204579    </event>
513*c0c79a3fStz204579
514*c0c79a3fStz204579    <event id="AUE_usermgr_add" instance_of="AUE_generic_SMC_add"
515*c0c79a3fStz204579	header="0" idNo="21">
516*c0c79a3fStz204579	<title>SMC: User Manager add</title>
517*c0c79a3fStz204579	<program>SMC server</program>
518*c0c79a3fStz204579    </event>
519*c0c79a3fStz204579    <event id="AUE_usermgr_delete" instance_of="AUE_generic_SMC_delete"
520*c0c79a3fStz204579	header="0" idNo="22">
521*c0c79a3fStz204579	<title>SMC: User Manager delete</title>
522*c0c79a3fStz204579	<program>SMC server</program>
523*c0c79a3fStz204579    </event>
524*c0c79a3fStz204579    <event id="AUE_usermgr_modify" instance_of="AUE_generic_SMC_modify"
525*c0c79a3fStz204579	header="0" idNo="23">
526*c0c79a3fStz204579	<title>SMC: User Manager modify</title>
527*c0c79a3fStz204579	<program>SMC server</program>
528*c0c79a3fStz204579    </event>
529*c0c79a3fStz204579<!-- end of Java needed for SMC events -->
530*c0c79a3fStz204579<!--
531*c0c79a3fStz204579    while not used by SMC logout is used by Lockhart
532*c0c79a3fStz204579-->
533*c0c79a3fStz204579    <event id="AUE_logout" header="0" idNo="1">
534*c0c79a3fStz204579    	<title>login: logout</title>
535*c0c79a3fStz204579	<program>various</program>
536*c0c79a3fStz204579	<see>login(1)</see>
537*c0c79a3fStz204579	<entry id="subject">
538*c0c79a3fStz204579	    <internal token="subject"/>
539*c0c79a3fStz204579	    <external opt="none"/>
540*c0c79a3fStz204579	</entry>
541*c0c79a3fStz204579<!--
542*c0c79a3fStz204579    not used by C code, used by Lockhart,
543*c0c79a3fStz204579    get them to change and remove
544*c0c79a3fStz204579    event.user_name("logout " + session.getUserName());
545*c0c79a3fStz204579    from /ws/lockhart-nv-gate/src/bundled/app/webmgt/lib/services/
546*c0c79a3fStz204579    com/sun/management/services/audit/SolarisAuditEvent_Logout.java
547*c0c79a3fStz204579-->
548*c0c79a3fStz204579	<entry id="user_name">
549*c0c79a3fStz204579	    <internal token="text" format="logout %s"/>
550*c0c79a3fStz204579	    <external opt="optional" type="char *"/>
551*c0c79a3fStz204579	    <comment>"logout" username</comment>
552*c0c79a3fStz204579	</entry>
553*c0c79a3fStz204579	<entry id="return">
554*c0c79a3fStz204579	    <internal token="return"/>
555*c0c79a3fStz204579	    <external opt="none"/>
556*c0c79a3fStz204579	</entry>
557*c0c79a3fStz204579    </event>
558*c0c79a3fStz204579
559*c0c79a3fStz204579
560*c0c79a3fStz204579<!-- C Only events -->
561*c0c79a3fStz204579    <event id="AUE_init_solaris" header="0" idNo="32" omit="JNI">
562*c0c79a3fStz204579    	<title>init</title>
563*c0c79a3fStz204579	<program>/sbin/init</program>
564*c0c79a3fStz204579	<program>/usr/sbin/init</program>
565*c0c79a3fStz204579	<program>/usr/sbin/shutdown</program>
566*c0c79a3fStz204579	<entry id="subject">
567*c0c79a3fStz204579	    <internal token="subject"/>
568*c0c79a3fStz204579	    <external opt="none"/>
569*c0c79a3fStz204579	</entry>
570*c0c79a3fStz204579	<entry id="info">
571*c0c79a3fStz204579	    <internal token="text"/>
572*c0c79a3fStz204579	    <external opt="optional" type="char *"/>
573*c0c79a3fStz204579	    <comment>init level or zone name</comment>
574*c0c79a3fStz204579	</entry>
575*c0c79a3fStz204579	<entry id="return">
576*c0c79a3fStz204579	    <internal token="return"/>
577*c0c79a3fStz204579	    <external opt="none"/>
578*c0c79a3fStz204579	</entry>
579*c0c79a3fStz204579    </event>
580*c0c79a3fStz204579
581*c0c79a3fStz204579    <event id="AUE_login" instance_of="AUE_generic_login" header="0"
582*c0c79a3fStz204579	idNo="25" omit="JNI">
583*c0c79a3fStz204579	<title>terminal login</title>
584*c0c79a3fStz204579	<program>/usr/sbin/login</program>
585*c0c79a3fStz204579	<program>/usr/dt/bin/dtlogin</program>
586*c0c79a3fStz204579	<see>login(1)</see>
587*c0c79a3fStz204579	<see>dtlogin</see>
588*c0c79a3fStz204579    </event>
589*c0c79a3fStz204579    <event id="AUE_rlogin" instance_of="AUE_generic_login" header="0"
590*c0c79a3fStz204579	idNo="28" omit="JNI">
591*c0c79a3fStz204579	<title>rlogin</title>
592*c0c79a3fStz204579	<program>/usr/sbin/login</program>
593*c0c79a3fStz204579	<see>login(1) - rlogin</see>
594*c0c79a3fStz204579    </event>
595*c0c79a3fStz204579    <event id="AUE_telnet" instance_of="AUE_generic_login" header="0"
596*c0c79a3fStz204579	idNo="29" omit="JNI">
597*c0c79a3fStz204579	<title>telnet login</title>
598*c0c79a3fStz204579	<program>/usr/sbin/login</program>
599*c0c79a3fStz204579	<see>login(1) - telnet</see>
600*c0c79a3fStz204579    </event>
601*c0c79a3fStz204579    <event id="AUE_ssh" instance_of="AUE_generic_login" header="0"
602*c0c79a3fStz204579	idNo="2" omit="JNI">
603*c0c79a3fStz204579	<program>/usr/lib/ssh/sshd</program>
604*c0c79a3fStz204579    </event>
605*c0c79a3fStz204579
606*c0c79a3fStz204579    <event id="AUE_zlogin" header="0" idNo="38" omit="JNI">
607*c0c79a3fStz204579    	<title>zone login</title>
608*c0c79a3fStz204579	<program>/usr/sbin/login</program>
609*c0c79a3fStz204579	<see>zlogin(1)</see>
610*c0c79a3fStz204579	<entry id="subject">
611*c0c79a3fStz204579	    <internal token="subject"/>
612*c0c79a3fStz204579	    <external opt="none"/>
613*c0c79a3fStz204579	</entry>
614*c0c79a3fStz204579	<entry id="message">
615*c0c79a3fStz204579	    <internal token="text"/>
616*c0c79a3fStz204579	    <external opt="optional" type="char *"/>
617*c0c79a3fStz204579	    <comment>error message</comment>
618*c0c79a3fStz204579	</entry>
619*c0c79a3fStz204579	<entry id="return">
620*c0c79a3fStz204579	    <internal token="return"/>
621*c0c79a3fStz204579	    <external opt="none"/>
622*c0c79a3fStz204579	</entry>
623*c0c79a3fStz204579    </event>
624*c0c79a3fStz204579
625*c0c79a3fStz204579    <event id="AUE_su" header="0" idNo="30" omit="JNI">
626*c0c79a3fStz204579    	<title>su</title>
627*c0c79a3fStz204579	<program>/usr/bin/su</program>
628*c0c79a3fStz204579	<see>su(1M)</see>
629*c0c79a3fStz204579	<entry id="subject">
630*c0c79a3fStz204579	    <internal token="subject"/>
631*c0c79a3fStz204579	    <external opt="none"/>
632*c0c79a3fStz204579	</entry>
633*c0c79a3fStz204579<!--
634*c0c79a3fStz204579	should be changed to "fail_user" and su.c updated
635*c0c79a3fStz204579	However, the jni stuff is broken, so for now it's "message"
636*c0c79a3fStz204579-->
637*c0c79a3fStz204579	<entry id="message">
638*c0c79a3fStz204579	    <internal token="text"/>
639*c0c79a3fStz204579	    <external opt="optional" type="char *"/>
640*c0c79a3fStz204579	    <comment>"user name" of failed new user/role</comment>
641*c0c79a3fStz204579	</entry>
642*c0c79a3fStz204579	<entry id="return">
643*c0c79a3fStz204579	    <internal token="return"/>
644*c0c79a3fStz204579	    <external opt="none"/>
645*c0c79a3fStz204579	</entry>
646*c0c79a3fStz204579    </event>
647*c0c79a3fStz204579
648*c0c79a3fStz204579    <event id="AUE_passwd" header="0" idNo="27" omit="JNI">
649*c0c79a3fStz204579    	<title>passwd</title>
650*c0c79a3fStz204579	<program>various</program>
651*c0c79a3fStz204579	<see>passwd(1)</see>
652*c0c79a3fStz204579	<entry id="subject">
653*c0c79a3fStz204579	    <internal token="subject"/>
654*c0c79a3fStz204579	    <external opt="none"/>
655*c0c79a3fStz204579	</entry>
656*c0c79a3fStz204579	<entry id="username">
657*c0c79a3fStz204579	    <internal token="text"/>
658*c0c79a3fStz204579	    <external opt="optional" type="char *"/>
659*c0c79a3fStz204579	    <comment>success/fail message</comment>
660*c0c79a3fStz204579	</entry>
661*c0c79a3fStz204579	<entry id="return">
662*c0c79a3fStz204579	    <internal token="return"/>
663*c0c79a3fStz204579	    <external opt="none"/>
664*c0c79a3fStz204579	</entry>
665*c0c79a3fStz204579    </event>
666*c0c79a3fStz204579
667*c0c79a3fStz204579    <event id="AUE_screenlock" instance_of="AUE_generic_basic" header="0"
668*c0c79a3fStz204579	idNo="26" omit="JNI">
669*c0c79a3fStz204579	<program>desktop screen lock</program>
670*c0c79a3fStz204579    </event>
671*c0c79a3fStz204579    <event id="AUE_screenunlock" instance_of="AUE_generic_basic" header="0"
672*c0c79a3fStz204579	idNo="31" omit="JNI">
673*c0c79a3fStz204579	<program>desktop screen unlock</program>
674*c0c79a3fStz204579    </event>
675*c0c79a3fStz204579
676*c0c79a3fStz204579    <!--
677*c0c79a3fStz204579	AUE_prof_cmd is not supportable for Java due to the structure of
678*c0c79a3fStz204579	the priv token.  When and if a Java program needs to generate
679*c0c79a3fStz204579	a priv token, we'll need to look at the data format in the
680*c0c79a3fStz204579	Java code and provide an appropriate java and jni implementation.
681*c0c79a3fStz204579    -->
682*c0c79a3fStz204579
683*c0c79a3fStz204579    <event id="AUE_prof_cmd" header="0" idNo="24" omit="JNI">
684*c0c79a3fStz204579    	<title>pfexec</title>
685*c0c79a3fStz204579	<program>/usr/bin/pfexec</program>
686*c0c79a3fStz204579	<see>pfexec(1)</see>
687*c0c79a3fStz204579	<entry id="subject">
688*c0c79a3fStz204579	    <internal token="subject"/>
689*c0c79a3fStz204579	    <external opt="none"/>
690*c0c79a3fStz204579	</entry>
691*c0c79a3fStz204579	<entry id="cwdpath">
692*c0c79a3fStz204579	    <internal token="path"/>
693*c0c79a3fStz204579	    <external opt="required" type="char*"/>
694*c0c79a3fStz204579	    <comment>working directory</comment>
695*c0c79a3fStz204579	</entry>
696*c0c79a3fStz204579	<entry id="cmdpath">
697*c0c79a3fStz204579	    <internal token="path"/>
698*c0c79a3fStz204579	    <external opt="required" type="char*"/>
699*c0c79a3fStz204579	    <comment>command pathname</comment>
700*c0c79a3fStz204579	</entry>
701*c0c79a3fStz204579	<entry id="argc,argv,envp">
702*c0c79a3fStz204579	    <internal token="command"/>
703*c0c79a3fStz204579	    <external opt="required" type="int,char**,char**"/>
704*c0c79a3fStz204579	</entry>
705*c0c79a3fStz204579	<entry id="proc_auid,proc_euid,proc_egid,proc_ruid,proc_rgid,proc_pid,proc_sid,proc_termid">
706*c0c79a3fStz204579	    <internal token="process"/>
707*c0c79a3fStz204579	    <external opt="required"
708*c0c79a3fStz204579		type="uid_t,uid_t,gid_t,uid_t,gid_t,pid_t,au_asid_t,termid*"/>
709*c0c79a3fStz204579	</entry>
710*c0c79a3fStz204579	<entry id="limit_set">
711*c0c79a3fStz204579	    <internal token="priv_limit"/>
712*c0c79a3fStz204579	    <external opt="optional" type="priv_set_t*"/>
713*c0c79a3fStz204579 	</entry>
714*c0c79a3fStz204579	<entry id="inherit_set">
715*c0c79a3fStz204579	    <internal token="priv_inherit"/>
716*c0c79a3fStz204579	    <external opt="optional" type="priv_set_t*"/>
717*c0c79a3fStz204579	</entry>
718*c0c79a3fStz204579	<entry id="return">
719*c0c79a3fStz204579	    <internal token="return"/>
720*c0c79a3fStz204579	    <external opt="none"/>
721*c0c79a3fStz204579	</entry>
722*c0c79a3fStz204579    </event>
723*c0c79a3fStz204579
724*c0c79a3fStz204579    <event id="AUE_inetd_connect" header="0" idNo="34" omit="JNI">
725*c0c79a3fStz204579    	<title>inetd</title>
726*c0c79a3fStz204579	<program>/usr/sbin/inetd</program>
727*c0c79a3fStz204579	<entry id="subject">
728*c0c79a3fStz204579	    <internal token="subject"/>
729*c0c79a3fStz204579	    <external opt="none"/>
730*c0c79a3fStz204579	</entry>
731*c0c79a3fStz204579	<entry id="service_name">
732*c0c79a3fStz204579	    <internal token="text"/>
733*c0c79a3fStz204579	    <external opt="optional" type="char *"/>
734*c0c79a3fStz204579	    <comment>service name</comment>
735*c0c79a3fStz204579	</entry>
736*c0c79a3fStz204579	<entry id="ip_type,ip_remote_port,ip_local_port,ip_adr">
737*c0c79a3fStz204579	    <internal token="tid"/>
738*c0c79a3fStz204579	    <external opt="required"
739*c0c79a3fStz204579		type="uint32_t,uint16_t,uint16_t,uint32_t[4]"/>
740*c0c79a3fStz204579	    <comment>client address</comment>
741*c0c79a3fStz204579	</entry>
742*c0c79a3fStz204579	<entry id="cmd">
743*c0c79a3fStz204579	    <internal token="command_1"/>
744*c0c79a3fStz204579	    <external opt="required" type="char *"/>
745*c0c79a3fStz204579	    <comment>inetd command</comment>
746*c0c79a3fStz204579	</entry>
747*c0c79a3fStz204579	<entry id="privileges">
748*c0c79a3fStz204579	    <internal token="priv_effective"/>
749*c0c79a3fStz204579	    <external opt="required" type="priv_set_t *"/>
750*c0c79a3fStz204579	</entry>
751*c0c79a3fStz204579	<entry id="return">
752*c0c79a3fStz204579	    <internal token="return"/>
753*c0c79a3fStz204579	    <external opt="none"/>
754*c0c79a3fStz204579	</entry>
755*c0c79a3fStz204579    </event>
756*c0c79a3fStz204579
757*c0c79a3fStz204579    <event id="AUE_inetd_ratelimit" header="0" idNo="35" omit="JNI">
758*c0c79a3fStz204579    	<title>inetd</title>
759*c0c79a3fStz204579	<program>/usr/sbin/inetd</program>
760*c0c79a3fStz204579	<entry id="subject">
761*c0c79a3fStz204579	    <internal token="subject"/>
762*c0c79a3fStz204579	    <external opt="none"/>
763*c0c79a3fStz204579	</entry>
764*c0c79a3fStz204579	<entry id="service_name">
765*c0c79a3fStz204579	    <internal token="text"/>
766*c0c79a3fStz204579	    <external opt="optional" type="char *"/>
767*c0c79a3fStz204579	    <comment>service name</comment>
768*c0c79a3fStz204579	</entry>
769*c0c79a3fStz204579	<entry id="limit">
770*c0c79a3fStz204579	    <internal token="text"/>
771*c0c79a3fStz204579	    <external opt="required" type="char *"/>
772*c0c79a3fStz204579	    <comment>limit value</comment>
773*c0c79a3fStz204579	</entry>
774*c0c79a3fStz204579	<entry id="return">
775*c0c79a3fStz204579	    <internal token="return"/>
776*c0c79a3fStz204579	    <external opt="none"/>
777*c0c79a3fStz204579	</entry>
778*c0c79a3fStz204579    </event>
779*c0c79a3fStz204579
780*c0c79a3fStz204579    <event id="AUE_inetd_copylimit" header="0" idNo="36" omit="JNI">
781*c0c79a3fStz204579    	<title>inetd</title>
782*c0c79a3fStz204579	<program>/usr/sbin/inetd</program>
783*c0c79a3fStz204579	<entry id="subject">
784*c0c79a3fStz204579	    <internal token="subject"/>
785*c0c79a3fStz204579	    <external opt="none"/>
786*c0c79a3fStz204579	</entry>
787*c0c79a3fStz204579	<entry id="service_name">
788*c0c79a3fStz204579	    <internal token="text"/>
789*c0c79a3fStz204579	    <external opt="optional" type="char *"/>
790*c0c79a3fStz204579	    <comment>service name</comment>
791*c0c79a3fStz204579	</entry>
792*c0c79a3fStz204579	<entry id="limit">
793*c0c79a3fStz204579	    <internal token="text"/>
794*c0c79a3fStz204579	    <external opt="required" type="char *"/>
795*c0c79a3fStz204579	    <comment>limit value</comment>
796*c0c79a3fStz204579	</entry>
797*c0c79a3fStz204579	<entry id="return">
798*c0c79a3fStz204579	    <internal token="return"/>
799*c0c79a3fStz204579	    <external opt="none"/>
800*c0c79a3fStz204579	</entry>
801*c0c79a3fStz204579    </event>
802*c0c79a3fStz204579
803*c0c79a3fStz204579    <event id="AUE_inetd_failrate" header="0" idNo="37" omit="JNI">
804*c0c79a3fStz204579    	<title>inetd</title>
805*c0c79a3fStz204579	<program>/usr/sbin/inetd</program>
806*c0c79a3fStz204579	<entry id="subject">
807*c0c79a3fStz204579	    <internal token="subject"/>
808*c0c79a3fStz204579	    <external opt="none"/>
809*c0c79a3fStz204579	</entry>
810*c0c79a3fStz204579	<entry id="service_name">
811*c0c79a3fStz204579	    <internal token="text"/>
812*c0c79a3fStz204579	    <external opt="optional" type="char *"/>
813*c0c79a3fStz204579	    <comment>service name</comment>
814*c0c79a3fStz204579	</entry>
815*c0c79a3fStz204579	<entry id="values">
816*c0c79a3fStz204579	    <internal token="text"/>
817*c0c79a3fStz204579	    <external opt="required" type="char *"/>
818*c0c79a3fStz204579	    <comment>limit value, interval</comment>
819*c0c79a3fStz204579	</entry>
820*c0c79a3fStz204579	<entry id="return">
821*c0c79a3fStz204579	    <internal token="return"/>
822*c0c79a3fStz204579	    <external opt="none"/>
823*c0c79a3fStz204579	</entry>
824*c0c79a3fStz204579    </event>
825*c0c79a3fStz204579
826*c0c79a3fStz204579    <event id="AUE_zone_state" header="0" idNo="33" omit="JNI">
827*c0c79a3fStz204579	<entry id="subject">
828*c0c79a3fStz204579	    <internal token="subject"/>
829*c0c79a3fStz204579	    <external opt="none"/>
830*c0c79a3fStz204579	</entry>
831*c0c79a3fStz204579	<entry id="new_state">
832*c0c79a3fStz204579	    <internal token="text"/>
833*c0c79a3fStz204579	    <external opt="required" type="char *"/>
834*c0c79a3fStz204579	    <comment>New zone state</comment>
835*c0c79a3fStz204579	</entry>
836*c0c79a3fStz204579	<entry id="zonename">
837*c0c79a3fStz204579	    <internal token="zonename"/>
838*c0c79a3fStz204579	    <external opt="required" type="char *"/>
839*c0c79a3fStz204579	    <comment>zone name</comment>
840*c0c79a3fStz204579	</entry>
841*c0c79a3fStz204579	<entry id="return">
842*c0c79a3fStz204579	    <internal token="return"/>
843*c0c79a3fStz204579	    <external opt="none"/>
844*c0c79a3fStz204579	</entry>
845*c0c79a3fStz204579    </event>
846*c0c79a3fStz204579
847*c0c79a3fStz204579    <event id="AUE_su_logout" instance_of="AUE_generic_basic"
848*c0c79a3fStz204579	header="0" idNo="39" omit="JNI">
849*c0c79a3fStz204579	<title>su</title>
850*c0c79a3fStz204579	<program>/usr/bin/su</program>
851*c0c79a3fStz204579	<see>su(1M)</see>
852*c0c79a3fStz204579    </event>
853*c0c79a3fStz204579
854*c0c79a3fStz204579    <event id="AUE_role_logout" instance_of="AUE_generic_basic"
855*c0c79a3fStz204579	header="0" idNo="40" omit="JNI">
856*c0c79a3fStz204579	<title>su</title>
857*c0c79a3fStz204579	<program>/usr/bin/su</program>
858*c0c79a3fStz204579	<see>su(1M)</see>
859*c0c79a3fStz204579    </event>
860*c0c79a3fStz204579
861*c0c79a3fStz204579    <event id="AUE_newgrp_login" header="0" idNo="41" omit="JNI">
862*c0c79a3fStz204579    	<program>newgrp</program>
863*c0c79a3fStz204579	<entry id="subject">
864*c0c79a3fStz204579	    <internal token="subject"/>
865*c0c79a3fStz204579	    <external opt="none"/>
866*c0c79a3fStz204579	</entry>
867*c0c79a3fStz204579	<entry id="groupname">
868*c0c79a3fStz204579	    <internal  token="text"/>
869*c0c79a3fStz204579	    <external opt="required"  type="char *"/>
870*c0c79a3fStz204579	    <comment>group name</comment>
871*c0c79a3fStz204579	</entry>
872*c0c79a3fStz204579	<entry id="return">
873*c0c79a3fStz204579	    <internal token="return"/>
874*c0c79a3fStz204579	    <external opt="none"/>
875*c0c79a3fStz204579	</entry>
876*c0c79a3fStz204579    </event>
877*c0c79a3fStz204579
878*c0c79a3fStz204579    <event id="AUE_generic_mountable" type="generic" omit="always">
879*c0c79a3fStz204579	<!--
880*c0c79a3fStz204579
881*c0c79a3fStz204579	User device mounting related functions
882*c0c79a3fStz204579
883*c0c79a3fStz204579	-->
884*c0c79a3fStz204579	<entry id="subject">
885*c0c79a3fStz204579	    <internal token="subject"/>
886*c0c79a3fStz204579	    <external opt="none"/>
887*c0c79a3fStz204579	</entry>
888*c0c79a3fStz204579	<entry id="auth_used">
889*c0c79a3fStz204579	    <internal token="uauth"/>
890*c0c79a3fStz204579	    <external opt="required" type="char *"/>
891*c0c79a3fStz204579	    <comment>authorization used</comment>
892*c0c79a3fStz204579	</entry>
893*c0c79a3fStz204579	<entry id="mount_point">
894*c0c79a3fStz204579	    <internal token="path"/>
895*c0c79a3fStz204579	    <external opt="required" type="char *"/>
896*c0c79a3fStz204579	    <comment>mount point</comment>
897*c0c79a3fStz204579	</entry>
898*c0c79a3fStz204579	<entry id="device">
899*c0c79a3fStz204579	    <internal token="path"/>
900*c0c79a3fStz204579	    <external opt="required" type="char *"/>
901*c0c79a3fStz204579	    <comment>device</comment>
902*c0c79a3fStz204579	</entry>
903*c0c79a3fStz204579	<entry id="options">
904*c0c79a3fStz204579	    <internal token="text"/>
905*c0c79a3fStz204579	    <external opt="optional" type="char *"/>
906*c0c79a3fStz204579	    <comment>options</comment>
907*c0c79a3fStz204579	</entry>
908*c0c79a3fStz204579	<entry id="return">
909*c0c79a3fStz204579	    <internal token="return"/>
910*c0c79a3fStz204579	    <external opt="none"/>
911*c0c79a3fStz204579	</entry>
912*c0c79a3fStz204579    </event>
913*c0c79a3fStz204579
914*c0c79a3fStz204579    <event id="AUE_attach" instance_of="AUE_generic_mountable"
915*c0c79a3fStz204579	header="0" idNo="42" omit="JNI">
916*c0c79a3fStz204579	<program>hald</program>
917*c0c79a3fStz204579    </event>
918*c0c79a3fStz204579    <event id="AUE_detach" instance_of="AUE_generic_mountable"
919*c0c79a3fStz204579	header="0" idNo="43" omit="JNI">
920*c0c79a3fStz204579	<program>hald</program>
921*c0c79a3fStz204579    </event>
922*c0c79a3fStz204579    <event id="AUE_remove" header="0" idNo="44" omit="JNI">
923*c0c79a3fStz204579	<program>hald</program>
924*c0c79a3fStz204579	<entry id="subject">
925*c0c79a3fStz204579	    <internal token="subject"/>
926*c0c79a3fStz204579	    <external opt="none"/>
927*c0c79a3fStz204579	</entry>
928*c0c79a3fStz204579	<entry id="auth_used">
929*c0c79a3fStz204579	    <internal token="uauth"/>
930*c0c79a3fStz204579	    <external opt="required" type="char *"/>
931*c0c79a3fStz204579	    <comment>authorization used</comment>
932*c0c79a3fStz204579	</entry>
933*c0c79a3fStz204579	<entry id="mount_point">
934*c0c79a3fStz204579	    <internal token="path"/>
935*c0c79a3fStz204579	    <external opt="optional" type="char *"/>
936*c0c79a3fStz204579	    <comment>mount point</comment>
937*c0c79a3fStz204579	</entry>
938*c0c79a3fStz204579	<entry id="device">
939*c0c79a3fStz204579	    <internal token="path"/>
940*c0c79a3fStz204579	    <external opt="required" type="char *"/>
941*c0c79a3fStz204579	    <comment>device</comment>
942*c0c79a3fStz204579	</entry>
943*c0c79a3fStz204579	<entry id="return">
944*c0c79a3fStz204579	    <internal token="return"/>
945*c0c79a3fStz204579	    <external opt="none"/>
946*c0c79a3fStz204579	</entry>
947*c0c79a3fStz204579    </event>
948*c0c79a3fStz204579
949*c0c79a3fStz204579    <event id="AUE_pool_import" header="0" idNo="45" omit="JNI">
950*c0c79a3fStz204579    	<program>hald</program>
951*c0c79a3fStz204579	<entry id="subject">
952*c0c79a3fStz204579	    <internal token="subject"/>
953*c0c79a3fStz204579	    <external opt="none"/>
954*c0c79a3fStz204579	</entry>
955*c0c79a3fStz204579	<entry id="auth_used">
956*c0c79a3fStz204579	    <internal token="uauth"/>
957*c0c79a3fStz204579	    <external opt="required" type="char *"/>
958*c0c79a3fStz204579	    <comment>authorization used</comment>
959*c0c79a3fStz204579	</entry>
960*c0c79a3fStz204579	<entry id="pool">
961*c0c79a3fStz204579	    <internal token="text"/>
962*c0c79a3fStz204579	    <external opt="required" type="char *"/>
963*c0c79a3fStz204579	    <comment>pool</comment>
964*c0c79a3fStz204579	</entry>
965*c0c79a3fStz204579	<entry id="device">
966*c0c79a3fStz204579	    <internal token="path"/>
967*c0c79a3fStz204579	    <external opt="required" type="char *"/>
968*c0c79a3fStz204579	    <comment>device</comment>
969*c0c79a3fStz204579	</entry>
970*c0c79a3fStz204579	<entry id="return">
971*c0c79a3fStz204579	    <internal token="return"/>
972*c0c79a3fStz204579	    <external opt="none"/>
973*c0c79a3fStz204579	</entry>
974*c0c79a3fStz204579    </event>
975*c0c79a3fStz204579    <event id="AUE_pool_export" header="0" idNo="46" omit="JNI">
976*c0c79a3fStz204579    	<program>hald</program>
977*c0c79a3fStz204579	<entry id="subject">
978*c0c79a3fStz204579	    <internal token="subject"/>
979*c0c79a3fStz204579	    <external opt="none"/>
980*c0c79a3fStz204579	</entry>
981*c0c79a3fStz204579	<entry id="auth_used">
982*c0c79a3fStz204579	    <internal token="uauth"/>
983*c0c79a3fStz204579	    <external opt="required" type="char *"/>
984*c0c79a3fStz204579	    <comment>authorization used</comment>
985*c0c79a3fStz204579	</entry>
986*c0c79a3fStz204579	<entry id="pool">
987*c0c79a3fStz204579	    <internal token="text"/>
988*c0c79a3fStz204579	    <external opt="required" type="char *"/>
989*c0c79a3fStz204579	    <comment>pool</comment>
990*c0c79a3fStz204579	</entry>
991*c0c79a3fStz204579	<entry id="device">
992*c0c79a3fStz204579	    <internal token="path"/>
993*c0c79a3fStz204579	    <external opt="required" type="char *"/>
994*c0c79a3fStz204579	    <comment>device</comment>
995*c0c79a3fStz204579	</entry>
996*c0c79a3fStz204579	<entry id="return">
997*c0c79a3fStz204579	    <internal token="return"/>
998*c0c79a3fStz204579	    <external opt="none"/>
999*c0c79a3fStz204579	</entry>
1000*c0c79a3fStz204579    </event>
1001*c0c79a3fStz204579
1002*c0c79a3fStz204579<!-- dladm security objected events -->
1003*c0c79a3fStz204579    <event id="AUE_dladm_generic" type="generic" omit="always">
1004*c0c79a3fStz204579	<entry id="subject">
1005*c0c79a3fStz204579	    <internal token="subject"/>
1006*c0c79a3fStz204579	    <external opt="none"/>
1007*c0c79a3fStz204579	</entry>
1008*c0c79a3fStz204579	<entry id="auth_used">
1009*c0c79a3fStz204579	    <internal token="uauth"/>
1010*c0c79a3fStz204579	    <external opt="required" type="char *"/>
1011*c0c79a3fStz204579	    <comment>authorization used</comment>
1012*c0c79a3fStz204579	</entry>
1013*c0c79a3fStz204579	<entry id="obj_class">
1014*c0c79a3fStz204579	    <internal token="text"/>
1015*c0c79a3fStz204579	    <external opt="required" type="char *"/>
1016*c0c79a3fStz204579	    <comment>object class name</comment>
1017*c0c79a3fStz204579	</entry>
1018*c0c79a3fStz204579	<entry id="obj_name">
1019*c0c79a3fStz204579	    <internal token="text"/>
1020*c0c79a3fStz204579	    <external opt="required" type="char *"/>
1021*c0c79a3fStz204579	    <comment>object name</comment>
1022*c0c79a3fStz204579	</entry>
1023*c0c79a3fStz204579	<entry id="return">
1024*c0c79a3fStz204579	    <internal token="return"/>
1025*c0c79a3fStz204579	    <external opt="none"/>
1026*c0c79a3fStz204579	</entry>
1027*c0c79a3fStz204579    </event>
1028*c0c79a3fStz204579
1029*c0c79a3fStz204579    <event id="AUE_dladm_create_secobj" instance_of="AUE_dladm_generic"
1030*c0c79a3fStz204579	header="0" idNo="47" omit="JNI">
1031*c0c79a3fStz204579	<title>create wifi security object</title>
1032*c0c79a3fStz204579	<program>/usr/sbin/dladm</program>
1033*c0c79a3fStz204579	<see>dladm(1M)</see>
1034*c0c79a3fStz204579    </event>
1035*c0c79a3fStz204579    <event id="AUE_dladm_delete_secobj" instance_of="AUE_dladm_generic"
1036*c0c79a3fStz204579	header="0" idNo="48" omit="JNI">
1037*c0c79a3fStz204579	<title>delete wifi security object</title>
1038*c0c79a3fStz204579	<program>/usr/sbin/dladm</program>
1039*c0c79a3fStz204579	<see>dladm(1M)</see>
1040*c0c79a3fStz204579    </event>
1041*c0c79a3fStz204579
1042*c0c79a3fStz204579<!-- Trusted eXtensions (TX) events -->
1043*c0c79a3fStz204579
1044*c0c79a3fStz204579    <!-- labeld events -->
1045*c0c79a3fStz204579    <event id="AUE_file_relabel" header="0" idNo="49" omit="JNI">
1046*c0c79a3fStz204579    	<title>relabel file from one zone to another</title>
1047*c0c79a3fStz204579	<program>setlabel(1)</program>
1048*c0c79a3fStz204579	<see>setflabel(3TSOL)</see>
1049*c0c79a3fStz204579	<entry id="subject">
1050*c0c79a3fStz204579	    <internal token="subject"/>
1051*c0c79a3fStz204579	    <external opt="none"/>
1052*c0c79a3fStz204579	</entry>
1053*c0c79a3fStz204579	<entry id="auth_used">
1054*c0c79a3fStz204579	    <internal token="uauth"/>
1055*c0c79a3fStz204579	    <external opt="required" type="char *"/>
1056*c0c79a3fStz204579	    <comment>authorization used</comment>
1057*c0c79a3fStz204579	</entry>
1058*c0c79a3fStz204579	<entry id="file">
1059*c0c79a3fStz204579	    <internal token="path"/>
1060*c0c79a3fStz204579	    <external opt="required" type="char *"/>
1061*c0c79a3fStz204579	    <comment>file relabeled</comment>
1062*c0c79a3fStz204579	</entry>
1063*c0c79a3fStz204579	<entry id="src_label">
1064*c0c79a3fStz204579	    <internal token="label"/>
1065*c0c79a3fStz204579	    <external opt="required" type="m_label_t *"/>
1066*c0c79a3fStz204579	    <comment>original label</comment>
1067*c0c79a3fStz204579	</entry>
1068*c0c79a3fStz204579	<entry id="dst_label">
1069*c0c79a3fStz204579	    <internal token="label"/>
1070*c0c79a3fStz204579	    <external opt="required" type="m_label_t *"/>
1071*c0c79a3fStz204579	    <comment>new label</comment>
1072*c0c79a3fStz204579	</entry>
1073*c0c79a3fStz204579	<entry id="return">
1074*c0c79a3fStz204579	    <internal token="return"/>
1075*c0c79a3fStz204579	    <external opt="none"/>
1076*c0c79a3fStz204579	</entry>
1077*c0c79a3fStz204579    </event>
1078*c0c79a3fStz204579
1079*c0c79a3fStz204579    <event id="AUE_file_copy" header="0" idNo="50" omit="JNI">
1080*c0c79a3fStz204579    	<title>copy file to another zone</title>
1081*c0c79a3fStz204579	<program>dtfile(1X)</program>
1082*c0c79a3fStz204579	<entry id="subject">
1083*c0c79a3fStz204579	    <internal token="subject"/>
1084*c0c79a3fStz204579	    <external opt="none"/>
1085*c0c79a3fStz204579	</entry>
1086*c0c79a3fStz204579	<entry id="auth_used">
1087*c0c79a3fStz204579	    <internal token="uauth"/>
1088*c0c79a3fStz204579	    <external opt="required" type="char *"/>
1089*c0c79a3fStz204579	    <comment>authorization used</comment>
1090*c0c79a3fStz204579	</entry>
1091*c0c79a3fStz204579	<entry id="src_file">
1092*c0c79a3fStz204579	    <internal token="path"/>
1093*c0c79a3fStz204579	    <external opt="required" type="char *"/>
1094*c0c79a3fStz204579	    <comment>source file</comment>
1095*c0c79a3fStz204579	</entry>
1096*c0c79a3fStz204579	<entry id="src_label">
1097*c0c79a3fStz204579	    <internal token="label"/>
1098*c0c79a3fStz204579	    <external opt="required" type="m_label_t *"/>
1099*c0c79a3fStz204579	    <comment>source label</comment>
1100*c0c79a3fStz204579	</entry>
1101*c0c79a3fStz204579	<entry id="dst_file">
1102*c0c79a3fStz204579	    <internal token="path"/>
1103*c0c79a3fStz204579	    <external opt="required" type="char *"/>
1104*c0c79a3fStz204579	    <comment>destination directory</comment>
1105*c0c79a3fStz204579	</entry>
1106*c0c79a3fStz204579	<entry id="dst_label">
1107*c0c79a3fStz204579	    <internal token="label"/>
1108*c0c79a3fStz204579	    <external opt="required" type="m_label_t *"/>
1109*c0c79a3fStz204579	    <comment>destination label</comment>
1110*c0c79a3fStz204579	</entry>
1111*c0c79a3fStz204579	<entry id="return">
1112*c0c79a3fStz204579	    <internal token="return"/>
1113*c0c79a3fStz204579	    <external opt="none"/>
1114*c0c79a3fStz204579	</entry>
1115*c0c79a3fStz204579    </event>
1116*c0c79a3fStz204579
1117*c0c79a3fStz204579<!-- add new events here with the next higher idNo -->
1118*c0c79a3fStz204579<!-- Highest idNo is 50, so next is 51, then fix this comment -->
1119*c0c79a3fStz204579<!-- end of C Only events -->
1120*c0c79a3fStz204579
1121*c0c79a3fStz204579
1122*c0c79a3fStz204579<!--
1123*c0c79a3fStz204579     token definitions are partially implemented.  All they do for now
1124*c0c79a3fStz204579     is create a list of defined token names.  In the future they may
1125*c0c79a3fStz204579     become a way of describing token structure.
1126*c0c79a3fStz204579-->
1127*c0c79a3fStz204579
1128*c0c79a3fStz204579    <token id="acl">
1129*c0c79a3fStz204579    </token>
1130*c0c79a3fStz204579    <token id="arbitrary">
1131*c0c79a3fStz204579    </token>
1132*c0c79a3fStz204579    <token id="arg">
1133*c0c79a3fStz204579    </token>
1134*c0c79a3fStz204579    <token id="attr">
1135*c0c79a3fStz204579    </token>
1136*c0c79a3fStz204579    <token id="command">
1137*c0c79a3fStz204579    </token>
1138*c0c79a3fStz204579    <token id="command_1">
1139*c0c79a3fStz204579    </token>
1140*c0c79a3fStz204579    <token id="date">
1141*c0c79a3fStz204579    </token>
1142*c0c79a3fStz204579    <token id="exec_args">
1143*c0c79a3fStz204579    </token>
1144*c0c79a3fStz204579    <token id="exec_env">
1145*c0c79a3fStz204579    </token>
1146*c0c79a3fStz204579    <token id="exit">
1147*c0c79a3fStz204579    </token>
1148*c0c79a3fStz204579    <token id="file">
1149*c0c79a3fStz204579    </token>
1150*c0c79a3fStz204579    <token id="fmri">
1151*c0c79a3fStz204579    </token>
1152*c0c79a3fStz204579    <token id="groups">
1153*c0c79a3fStz204579    </token>
1154*c0c79a3fStz204579    <token id="in_addr">
1155*c0c79a3fStz204579    </token>
1156*c0c79a3fStz204579    <token id="ipc">
1157*c0c79a3fStz204579    </token>
1158*c0c79a3fStz204579    <token id="ipc_perm">
1159*c0c79a3fStz204579    </token>
1160*c0c79a3fStz204579    <token id="label">
1161*c0c79a3fStz204579    </token>
1162*c0c79a3fStz204579    <token id="newgroups">
1163*c0c79a3fStz204579    </token>
1164*c0c79a3fStz204579    <token id="opaque">
1165*c0c79a3fStz204579    </token>
1166*c0c79a3fStz204579    <token id="path">
1167*c0c79a3fStz204579    </token>
1168*c0c79a3fStz204579    <!-- pseudo token; path list generates 0 or more path tokens -->
1169*c0c79a3fStz204579    <token id="path_list">
1170*c0c79a3fStz204579    </token>
1171*c0c79a3fStz204579    <token id="tid">
1172*c0c79a3fStz204579    </token>
1173*c0c79a3fStz204579
1174*c0c79a3fStz204579    <!--
1175*c0c79a3fStz204579	privilege token is implemented as one of the pseudo tokens
1176*c0c79a3fStz204579	priv_limit, priv_effective, or priv_inherit
1177*c0c79a3fStz204579
1178*c0c79a3fStz204579    <token id="privilege">
1179*c0c79a3fStz204579    </token>
1180*c0c79a3fStz204579    -->
1181*c0c79a3fStz204579    <token id="priv_effective">
1182*c0c79a3fStz204579    </token>
1183*c0c79a3fStz204579    <token id="priv_inherit">
1184*c0c79a3fStz204579    </token>
1185*c0c79a3fStz204579    <token id="priv_limit">
1186*c0c79a3fStz204579    </token>
1187*c0c79a3fStz204579    <token id="process">
1188*c0c79a3fStz204579    </token>
1189*c0c79a3fStz204579    <token id="return">
1190*c0c79a3fStz204579    </token>
1191*c0c79a3fStz204579    <token id="seq">
1192*c0c79a3fStz204579    </token>
1193*c0c79a3fStz204579    <token id="socket">
1194*c0c79a3fStz204579    </token>
1195*c0c79a3fStz204579    <token id="socket-inet">
1196*c0c79a3fStz204579    </token>
1197*c0c79a3fStz204579    <token id="subject">
1198*c0c79a3fStz204579    </token>
1199*c0c79a3fStz204579    <token id="text">
1200*c0c79a3fStz204579    </token>
1201*c0c79a3fStz204579    <token id="uauth">
1202*c0c79a3fStz204579    </token>
1203*c0c79a3fStz204579    <token id="zonename">
1204*c0c79a3fStz204579    </token>
1205*c0c79a3fStz204579
1206*c0c79a3fStz204579<!--
1207*c0c79a3fStz204579    error value list for return values with success/fail code of fail.
1208*c0c79a3fStz204579    These values start at 1000 so praudit can tell the difference
1209*c0c79a3fStz204579    between the libbsm/common/audit_*.c broken error values and
1210*c0c79a3fStz204579    the new adt_ error value list.  It is public so that praudit
1211*c0c79a3fStz204579    can find it.
1212*c0c79a3fStz204579
1213*c0c79a3fStz204579    praudit outputs "failure" %s" for these strings, so there is
1214*c0c79a3fStz204579    no need to use words such as "failed" in the message.
1215*c0c79a3fStz204579
1216*c0c79a3fStz204579    ** Add to the end only to maintain validity across versions of
1217*c0c79a3fStz204579    the audit log. **
1218*c0c79a3fStz204579-->
1219*c0c79a3fStz204579
1220*c0c79a3fStz204579    <msg_list id="fail_value" header="0" start="1000" public="true">
1221*c0c79a3fStz204579	<msg id="PW_ATTR">Attribute update</msg>
1222*c0c79a3fStz204579	<msg id="PW">Password update</msg>
1223*c0c79a3fStz204579	<msg id="USERNAME">bad username</msg>
1224*c0c79a3fStz204579	<msg id="AUTH">authorization failed</msg>
1225*c0c79a3fStz204579	<msg id="UID">bad uid</msg>
1226*c0c79a3fStz204579	<msg id="UNKNOWN">unknown failure</msg>
1227*c0c79a3fStz204579	<msg id="EXPIRED">password expired</msg>
1228*c0c79a3fStz204579	<msg id="ACCOUNT_LOCKED">Account is locked</msg>
1229*c0c79a3fStz204579	<msg id="BAD_DIALUP">Bad dial up</msg>
1230*c0c79a3fStz204579	<msg id="BAD_ID">Invalid ID</msg>
1231*c0c79a3fStz204579	<msg id="BAD_PW">Invalid password</msg>
1232*c0c79a3fStz204579	<msg id="CONSOLE">Not on console</msg>
1233*c0c79a3fStz204579	<msg id="MAX_TRIES">Too many failed attempts</msg>
1234*c0c79a3fStz204579	<msg id="PROTOCOL_FAILURE">Protocol failure</msg>
1235*c0c79a3fStz204579	<msg id="EXCLUDED_USER">Excluded user</msg>
1236*c0c79a3fStz204579	<msg id="ANON_USER">No anonymous</msg>
1237*c0c79a3fStz204579	<msg id="BAD_CMD">Invalid command</msg>
1238*c0c79a3fStz204579	<msg id="BAD_TTY">Standard input not a tty line</msg>
1239*c0c79a3fStz204579	<msg id="PROGRAM">Program failure</msg>
1240*c0c79a3fStz204579	<msg id="CHDIR_FAILED">chdir to home directory</msg>
1241*c0c79a3fStz204579	<msg id="INPUT_OVERFLOW">Input line too long.</msg>
1242*c0c79a3fStz204579	<msg id="DEVICE_PERM">login device override</msg>
1243*c0c79a3fStz204579	<msg id="AUTH_BYPASS">authorization bypass</msg>
1244*c0c79a3fStz204579	<msg id="LOGIN_DISABLED">login disabled</msg>
1245*c0c79a3fStz204579    </msg_list>
1246*c0c79a3fStz204579
1247*c0c79a3fStz204579<!--
1248*c0c79a3fStz204579	The following empty list is used for PAM errors; the "start"
1249*c0c79a3fStz204579	value is used by praudit to know to use the PAM infrastructure
1250*c0c79a3fStz204579	for generating error strings
1251*c0c79a3fStz204579-->
1252*c0c79a3fStz204579    <msg_list id="fail_pam" header="0" start="2000" public="true">
1253*c0c79a3fStz204579    </msg_list>
1254*c0c79a3fStz204579
1255*c0c79a3fStz204579<!--
1256*c0c79a3fStz204579     This is still in use by SMC.  See AUE_generic_login.  When
1257*c0c79a3fStz204579     either SMC is fixed to stop using this, or SMC goes away.
1258*c0c79a3fStz204579     REMOVE this stuff and the corresponding AUE_generic_login
1259*c0c79a3fStz204579     message field.
1260*c0c79a3fStz204579
1261*c0c79a3fStz204579     Message list for the various authentication events, such
1262*c0c79a3fStz204579     as AUE_login and AUE_admin_authenticate.  Add new entries
1263*c0c79a3fStz204579     at the end.  The order of msg_list entries and the order
1264*c0c79a3fStz204579     of msg entries both affect the names in adt.h and the value
1265*c0c79a3fStz204579     of the associated enumerated types.
1266*c0c79a3fStz204579
1267*c0c79a3fStz204579     Each of these messages except NO_MSG is also in the failure_attribute
1268*c0c79a3fStz204579     list; the difference is that the messages below use a text token
1269*c0c79a3fStz204579     in the audit record, while the failure_attribute messages are
1270*c0c79a3fStz204579     associated with the return value of the return token.
1271*c0c79a3fStz204579
1272*c0c79a3fStz204579     This list is deprecated; please don't use text tokens for error
1273*c0c79a3fStz204579     messages.
1274*c0c79a3fStz204579-->
1275*c0c79a3fStz204579
1276*c0c79a3fStz204579    <msg_list id="login_text" header="0" deprecated="true">
1277*c0c79a3fStz204579	<msg id="NO_MSG"></msg>
1278*c0c79a3fStz204579	<msg id="ACCOUNT_LOCKED">Account is locked</msg>
1279*c0c79a3fStz204579	<msg id="BAD_DIALUP">Bad dial up</msg>
1280*c0c79a3fStz204579	<msg id="BAD_ID">Invalid ID</msg>
1281*c0c79a3fStz204579	<msg id="BAD_PW">Invalid password</msg>
1282*c0c79a3fStz204579	<msg id="CONSOLE">Not on console</msg>
1283*c0c79a3fStz204579	<msg id="MAX_TRIES">Too many failed attempts</msg>
1284*c0c79a3fStz204579	<msg id="PROTOCOL_FAILURE">Protocol failure</msg>
1285*c0c79a3fStz204579	<msg id="EXCLUDED_USER">Excluded user</msg>
1286*c0c79a3fStz204579	<msg id="ANON_USER">No anonymous</msg>
1287*c0c79a3fStz204579    </msg_list>
1288*c0c79a3fStz204579
1289*c0c79a3fStz204579</specification>
1290