xref: /titanic_50/usr/src/lib/libbsm/common/adt.xml (revision a9da3307db733eb1739ba859952610bba3d894ab)
1c0c79a3fStz204579<?xml version="1.0" standalone="yes"?>
2c0c79a3fStz204579<!DOCTYPE specification SYSTEM "audit.dtd">
3c0c79a3fStz204579<!--
4c0c79a3fStz204579 CDDL HEADER START
5c0c79a3fStz204579
6c0c79a3fStz204579 The contents of this file are subject to the terms of the
7c0c79a3fStz204579 Common Development and Distribution License (the "License").
8c0c79a3fStz204579 You may not use this file except in compliance with the License.
9c0c79a3fStz204579
10c0c79a3fStz204579 You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
11c0c79a3fStz204579 or http://www.opensolaris.org/os/licensing.
12c0c79a3fStz204579 See the License for the specific language governing permissions
13c0c79a3fStz204579 and limitations under the License.
14c0c79a3fStz204579
15c0c79a3fStz204579 When distributing Covered Code, include this CDDL HEADER in each
16c0c79a3fStz204579 file and include the License file at usr/src/OPENSOLARIS.LICENSE.
17c0c79a3fStz204579 If applicable, add the following below this CDDL HEADER, with the
18c0c79a3fStz204579 fields enclosed by brackets "[]" replaced with your own identifying
19c0c79a3fStz204579 information: Portions Copyright [yyyy] [name of copyright owner]
20c0c79a3fStz204579
21c0c79a3fStz204579 CDDL HEADER END
22c0c79a3fStz204579
235b7f77adStw21770Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
24c0c79a3fStz204579Use is subject to license terms.
25c0c79a3fStz204579
26c0c79a3fStz204579  ident	"%Z%%M%	%I%	%E% SMI"
27c0c79a3fStz204579-->
28c0c79a3fStz204579
29c0c79a3fStz204579<specification>
30c0c79a3fStz204579
31c0c79a3fStz204579<!-- comments are displayed to stderr if debug is on -->
32c0c79a3fStz204579<debug set="off"/>
33c0c79a3fStz204579
34c0c79a3fStz204579    <!-- The order of events is arbitrary EXCEPT generic events must
35c0c79a3fStz204579	 precede their instances -->
36c0c79a3fStz204579       <!-- The order of entries within an event determine the order
37c0c79a3fStz204579            data is defined in the external API -->
38c0c79a3fStz204579	    <!-- The order of internal / external is arbitrary -->
39c0c79a3fStz204579
40c0c79a3fStz204579<!--
41c0c79a3fStz204579	tags:
42c0c79a3fStz204579			The following top level tags are defined:
43c0c79a3fStz204579			<event> <token> <msg_list> <debug>
44c0c79a3fStz204579
45c0c79a3fStz204579	event		defines an audit record
46c0c79a3fStz204579			- id is the record id from audit_uevents.h
47c0c79a3fStz204579			- reorder="yes" or "no".  (default is "no").
48c0c79a3fStz204579			  if "yes" then the order of the tokens to be
49c0c79a3fStz204579			  output does not match the order of the data
50c0c79a3fStz204579			  input.  (see order attribute of <entry>)
51c0c79a3fStz204579			- header defines the header file to contain the external
52c0c79a3fStz204579			  definitions for this event type.  The header file
53c0c79a3fStz204579			  name is adt_event_N.h, where N is the value supplied
54c0c79a3fStz204579			  header="0" is for "stable" events, > 0 for new ones.
55c0c79a3fStz204579			  with this attribute. (header="1").
56c0c79a3fStz204579			- idNo is the number associated with the external
57c0c79a3fStz204579			  name of this event. (For AUE_login, ADT_login is
58c0c79a3fStz204579			  the external name and idNo is the value for
59c0c79a3fStz204579			  ADT_login.)
60c0c79a3fStz204579			- omit is by default 'no' (i.e., don't omit) and can be
61c0c79a3fStz204579			  'always' or 'JNI'.  In the latter case, C interface
62c0c79a3fStz204579			  code is generated but neither Java nor JNI code is.
63c0c79a3fStz204579			- included text is just a comment
64c0c79a3fStz204579			Within an event block, the following tags are defined:
657a38c0beStz204579			<entry>, <debug>, <altname>, <title>, <program>, <see>
66c0c79a3fStz204579
67c0c79a3fStz204579	altname		defines the internal name of an audit record; if
68c0c79a3fStz204579			omitted, the internal name is the same as the
69c0c79a3fStz204579			external name.
70c0c79a3fStz204579
717a38c0beStz204579	title,		these tags are used by bsmrecord build to create
727a38c0beStz204579	program,	audit_record_attr database from adt events.
737a38c0beStz204579	see		Following example demonstrates their semantics:
747a38c0beStz204579
757a38c0beStz204579			bsmrecord -p passwd
767a38c0beStz204579			passwd		<-   <title>
777a38c0beStz204579			  program     various              See passwd(1)
787a38c0beStz204579			  		^-   <program>		^-   <see>
797a38c0beStz204579			  event ID    6163                 AUE_passwd
807a38c0beStz204579			  class       lo                   (0x00001000)
817a38c0beStz204579			      header
827a38c0beStz204579			      subject
837a38c0beStz204579			      [text]                       username...
847a38c0beStz204579			      					^-   <comment>
857a38c0beStz204579			      return
867a38c0beStz204579
87c0c79a3fStz204579	entry		defines the correspondence between the data
88c0c79a3fStz204579			supplied by the caller and the token to be
89c0c79a3fStz204579			output.
90c0c79a3fStz204579			- id is the data name that shows up in the structures
91c0c79a3fStz204579			  of adt_event.h  If it is a comma separated list,
92c0c79a3fStz204579			  it is the list of names of data to be associated
93c0c79a3fStz204579			  with one output token.  (See <external>, below)
94c0c79a3fStz204579			Within an entry block, the following tags are defined:
957a38c0beStz204579			<internal>, <external>, <debug>, <comment>
96c0c79a3fStz204579
97c0c79a3fStz204579	internal	defines the token to be generated.
98c0c79a3fStz204579			- token is a name that must also be defined with
99c0c79a3fStz204579			  a <token> tag elsewhere in this file.  (order is
100c0c79a3fStz204579			  not important).
101c0c79a3fStz204579			- order="some number" determines the order of the
102c0c79a3fStz204579			  tokens to be output, starting with 1.  The subject
103c0c79a3fStz204579			  token is normally order="1".  The use is to insure
104c0c79a3fStz204579			  that the order of fields listed in adt_event.h does
105c0c79a3fStz204579			  not change when we arbitrarily change the order of
106c0c79a3fStz204579			  tokens.  If the <event reorder="yes"> is not set,
107c0c79a3fStz204579			  order is ignored.
108c0c79a3fStz204579			- format is a printf-like string that will be used
109c0c79a3fStz204579			  in to format the data supplied by the user.
110c0c79a3fStz204579
111c0c79a3fStz204579	external	defines the data to be supplied for creating the
112c0c79a3fStz204579			token defined via <internal>
113c0c79a3fStz204579			- opt is one of four values:  "required", "optional",
114c0c79a3fStz204579			  "obsolete", or "none".  The first two values
115c0c79a3fStz204579			  indicate that this token's data must or may
116c0c79a3fStz204579			  be supplied by the user; the third value is
117c0c79a3fStz204579			  equivalent to "optional" but shows in the
118c0c79a3fStz204579			  comment that this field is no longer used;
119c0c79a3fStz204579			  the forth value indicates that this token
120c0c79a3fStz204579			  does not require any user-supplied data.  If
121c0c79a3fStz204579			  data is required, then a token is always
122c0c79a3fStz204579			  output, while optional data is output only
123c0c79a3fStz204579			  if data is supplied.
124c0c79a3fStz204579			- type describes the C data type to be associated
125c0c79a3fStz204579			  with the <entry id="dataName">.  The following
126c0c79a3fStz204579			  data types are representative:
127c0c79a3fStz204579
128c0c79a3fStz204579				au_asid_t (uint32_t)
129c0c79a3fStz204579				char
130c0c79a3fStz204579				char * (blank is optional)
131c0c79a3fStz204579				char ** (blank is optional)
13269987563Ssabdar				fd_t (int, a file descriptor)
133c0c79a3fStz204579				uint_t, int, int32_t, uid_t, gid_t
134c0c79a3fStz204579				uid_t *, gid_t *
135c0c79a3fStz204579				long, ulong_t
136c0c79a3fStz204579				m_label_t *
137c0c79a3fStz204579				pid_t
138c0c79a3fStz204579				priv_set_t *
139c0c79a3fStz204579				uint16_t, unit32_t, uint64_t
140c0c79a3fStz204579				uint32_t *, uint32_t[], uint64_t *
141c0c79a3fStz204579				msg  (not a C type, see below)
142c0c79a3fStz204579
143c0c79a3fStz204579			Below is what Tony said.  Above seems to be
144c0c79a3fStz204579			what is implemented
145c0c79a3fStz204579				char
146c0c79a3fStz204579				char * (blank is optional)
147c0c79a3fStz204579				char ** (blank is optional)
148c0c79a3fStz204579				int, uid_t, gid_t
149c0c79a3fStz204579				int *, uid_t *, gid_t *
150c0c79a3fStz204579				msg  (not a C type, see below)
151c0c79a3fStz204579				time_t
152c0c79a3fStz204579				uint, uint *
153c0c79a3fStz204579
154c0c79a3fStz204579			  The msg type refers to an enumerated type
155c0c79a3fStz204579			  that must be defined via a <msg> description
156c0c79a3fStz204579			  else where in this file. The syntax is
157c0c79a3fStz204579			  special.  Example: <external opt="optional"
158c0c79a3fStz204579			  type="msg login_text"/> "login_text" is the
159c0c79a3fStz204579			  id of a <msg_list> descriptor given
160c0c79a3fStz204579			  elsewhere in this file.
161c0c79a3fStz204579
162c0c79a3fStz204579			If the <entry> id is a list, the type must also
163c0c79a3fStz204579			be a comma-separated list, where the types are
164c0c79a3fStz204579			in the same order as the id's.
165c0c79a3fStz204579			If the type is an array, its length must be given
166c0c79a3fStz204579			explicitly.
167c0c79a3fStz204579
1687a38c0beStz204579	comment		Used by bsmrecord build to generate audit_record_attr.
1697a38c0beStz204579			Comment is explanation note printed with token type.
1707a38c0beStz204579			See example above for other tags related to bsmrecord.
1717a38c0beStz204579
172c0c79a3fStz204579	token		Define allowed token names.
173c0c79a3fStz204579			- id is the name of token; this name is used
174c0c79a3fStz204579			as an <internal> id.
175c0c79a3fStz204579			- usage is an optional value.  At present, only
176c0c79a3fStz204579			  "TSOL" is defined; it means that this data is
177c0c79a3fStz204579			  to be used only in Trusted Solaris implementations.
178c0c79a3fStz204579
179c0c79a3fStz204579	msg_list	Define a set of text strings.
180c0c79a3fStz204579			- id is the name to be used for this group of text
181c0c79a3fStz204579			  strings in adt_event.h
182c0c79a3fStz204579			- header is as defined for <event>
1836a3b10dbStz204579			- start is a number where produced enum type begins;
1846a3b10dbStz204579			  ensure msg lists do not overlap
185c0c79a3fStz204579			Within a msg_list block, <msg> and <debug> are defined.
186c0c79a3fStz204579			The order of <msg> tags in a msg_list is reflected
1876a3b10dbStz204579			directly in adt_event.h. Also add ADT_LIST_<<id>> to
1886a3b10dbStz204579			enum adt_msg_list in adt_xlate.h.
189c0c79a3fStz204579
190c0c79a3fStz204579	msg		Define one string.
191c0c79a3fStz204579			- id is the name to be used in the enum describing
192c0c79a3fStz204579			  this set of strings.  Convention:  use upper case.
193c0c79a3fStz204579			The content (text between <msg> and </msg>) is the
194c0c79a3fStz204579			actual string.  Extra white space, including line
195c0c79a3fStz204579			feeds, is ignored.  If empty, no output token
196c0c79a3fStz204579			is generated unless the <external> opt attribute is
197c0c79a3fStz204579			set to "required", in which case a blank text token
198c0c79a3fStz204579			is generated.
199c0c79a3fStz204579			Within a msg block, <debug> is defined, but has not been
200c0c79a3fStz204579			tested and may have no effect.
201c0c79a3fStz204579
202c0c79a3fStz204579	debug		This turns on/off debug messages during the processing
203c0c79a3fStz204579			of the xml data.  It affects the block within which it
204c0c79a3fStz204579			is defined.
205c0c79a3fStz204579			- set may have one of two values:  "on" or "off".  If
206c0c79a3fStz204579			  set is omitted, the debug state for the current block
207c0c79a3fStz204579			  is toggled.
208c0c79a3fStz204579			The use of the <debug> tag does not affect the output
209c0c79a3fStz204579			of data to the various files created, but does generate
210c0c79a3fStz204579			potentially large amounts of output to stderr.
211c0c79a3fStz204579
212c0c79a3fStz204579-->
213c0c79a3fStz204579<!--        template for an event record definition
214c0c79a3fStz204579
215c0c79a3fStz204579    <event id="" header="0" idNo="">
216c0c79a3fStz204579	<entry id="subject">
217c0c79a3fStz204579	    <internal token="subject"/>
218c0c79a3fStz204579	    <external opt="none"/>
219c0c79a3fStz204579	</entry>
220c0c79a3fStz204579	<entry id="">
221c0c79a3fStz204579	    <internal token=""/>
222c0c79a3fStz204579	    <external opt="" type="" />
223c0c79a3fStz204579	</entry>
224c0c79a3fStz204579	<entry id="return">
225c0c79a3fStz204579	    <internal token="return"/>
226c0c79a3fStz204579	    <external opt="none"/>
227c0c79a3fStz204579	</entry>
228c0c79a3fStz204579    </event>
229c0c79a3fStz204579
230c0c79a3fStz204579    Generic events must precede Instance events; within each
231c0c79a3fStz204579    group, please group the AUE_* by area and event idNo-s in order,
232c0c79a3fStz204579    gaps in idNo-s are OK.
233c0c79a3fStz204579    N.B. Renumbering idNo-s requires recompilation of consumers.  See
234c0c79a3fStz204579    the contracts for whom to notify if/when this happens.
235c0c79a3fStz204579-->
236c0c79a3fStz204579
237c0c79a3fStz204579<!-- generic events  -->
238c0c79a3fStz204579
239c0c79a3fStz204579    <!--
240c0c79a3fStz204579	'omit="always"' means that this record type is not reflected
241c0c79a3fStz204579	in the generated header and table files.
242c0c79a3fStz204579     -->
243c0c79a3fStz204579
244c0c79a3fStz204579    <event id="AUE_generic_basic" type="generic" omit="always">
245c0c79a3fStz204579	<!--
246c0c79a3fStz204579
247c0c79a3fStz204579	This is a template for the event types that have no tokens
248c0c79a3fStz204579	other than the header and return. There is no allowed_type
249c0c79a3fStz204579	list because the template is not externally visible due to the
250c0c79a3fStz204579	omit="always".
251c0c79a3fStz204579
252c0c79a3fStz204579	-->
253c0c79a3fStz204579	<entry id="subject">
254c0c79a3fStz204579	    <internal token="subject"/>
255c0c79a3fStz204579	    <external opt="none"/>
256c0c79a3fStz204579	</entry>
257c0c79a3fStz204579	<entry id="return">
258c0c79a3fStz204579	    <internal token="return"/>
259c0c79a3fStz204579	    <external opt="none"/>
260c0c79a3fStz204579	</entry>
261c0c79a3fStz204579    </event>
262c0c79a3fStz204579
263c0c79a3fStz204579    <event id="AUE_generic_login" type="generic" omit="always">
264c0c79a3fStz204579	<!--
265c0c79a3fStz204579
266c0c79a3fStz204579	This is a template for the various login event types
267c0c79a3fStz204579	AUE_login, AUE_ftp, etc which match this template.  There is
268c0c79a3fStz204579	no allowed_type list because the template is not externally
269c0c79a3fStz204579	visible due to the omit="always".
270c0c79a3fStz204579
271c0c79a3fStz204579	-->
272c0c79a3fStz204579	<entry id="subject">
273c0c79a3fStz204579	    <internal token="subject"/>
274c0c79a3fStz204579	    <external opt="none"/>
275c0c79a3fStz204579	</entry>
276c0c79a3fStz204579
277c0c79a3fStz204579	<!--	This field is still in use for SMC until it is cleaned up,
278c0c79a3fStz204579		it must remain, see login_text msg list at the end of the
279c0c79a3fStz204579		file.
280c0c79a3fStz204579	-->
281c0c79a3fStz204579	<entry id="message">
282c0c79a3fStz204579	    <internal token="text"/>
283c0c79a3fStz204579	    <external opt="optional" type="msg login_text"/>
284c0c79a3fStz204579	    <comment>error message</comment>
285c0c79a3fStz204579	</entry>
286c0c79a3fStz204579	<entry id="return">
287c0c79a3fStz204579	    <internal token="return"/>
288c0c79a3fStz204579	    <external opt="none"/>
289c0c79a3fStz204579	</entry>
290c0c79a3fStz204579    </event>
291c0c79a3fStz204579
292c0c79a3fStz204579<!-- generic SMC events  -->
293c0c79a3fStz204579
294c0c79a3fStz204579    <event id="AUE_generic_SMC_add" type="generic" omit="always">
295c0c79a3fStz204579	<entry id="subject">
296c0c79a3fStz204579	    <internal token="subject"/>
297c0c79a3fStz204579	    <external opt="none"/>
298c0c79a3fStz204579	</entry>
299c0c79a3fStz204579	<entry id="object_name">
300c0c79a3fStz204579	    <internal token="text"/>
301c0c79a3fStz204579	    <external opt="required" type="char *"/>
302c0c79a3fStz204579	    <comment>object name</comment>
303c0c79a3fStz204579	</entry>
304c0c79a3fStz204579	<entry id="domain">
305c0c79a3fStz204579	    <internal token="text"/>
306c0c79a3fStz204579	    <external opt="optional" type="char *"/>
307c0c79a3fStz204579	    <comment>domain</comment>
308c0c79a3fStz204579	</entry>
309c0c79a3fStz204579	<entry id="name_service">
310c0c79a3fStz204579	    <internal token="text"/>
311c0c79a3fStz204579	    <external opt="required" type="char *"/>
312c0c79a3fStz204579	    <comment>name_service</comment>
313c0c79a3fStz204579	</entry>
314c0c79a3fStz204579	<entry id="auth_used">
315c0c79a3fStz204579	    <internal token="uauth"/>
316c0c79a3fStz204579	    <external opt="optional" type="char *"/>
317c0c79a3fStz204579	    <comment>authorization used</comment>
318c0c79a3fStz204579	</entry>
319c0c79a3fStz204579	<!--
320c0c79a3fStz204579	  This should really be its own token type, not "text"
321c0c79a3fStz204579	-->
322c0c79a3fStz204579	<entry id="initial_values">
323c0c79a3fStz204579	    <internal token="text"/>
324c0c79a3fStz204579	    <external opt="required" type="char *"/>
325c0c79a3fStz204579	    <comment>initial values</comment>
326c0c79a3fStz204579	</entry>
327c0c79a3fStz204579	<entry id="return">
328c0c79a3fStz204579	    <internal token="return"/>
329c0c79a3fStz204579	    <external opt="none"/>
330c0c79a3fStz204579	</entry>
331c0c79a3fStz204579    </event>
332c0c79a3fStz204579
333c0c79a3fStz204579    <event id="AUE_generic_SMC_delete" type="generic" omit="always">
334c0c79a3fStz204579	<entry id="subject">
335c0c79a3fStz204579	    <internal token="subject"/>
336c0c79a3fStz204579	    <external opt="none"/>
337c0c79a3fStz204579	</entry>
338c0c79a3fStz204579	<entry id="object_name">
339c0c79a3fStz204579	    <internal token="text"/>
340c0c79a3fStz204579	    <external opt="required" type="char *"/>
341c0c79a3fStz204579	    <comment>object name</comment>
342c0c79a3fStz204579	</entry>
343c0c79a3fStz204579	<entry id="domain">
344c0c79a3fStz204579	    <internal token="text"/>
345c0c79a3fStz204579	    <external opt="optional" type="char *"/>
346c0c79a3fStz204579	    <comment>domain</comment>
347c0c79a3fStz204579	</entry>
348c0c79a3fStz204579	<entry id="name_service">
349c0c79a3fStz204579	    <internal token="text"/>
350c0c79a3fStz204579	    <external opt="required" type="char *"/>
351c0c79a3fStz204579	    <comment>name_service</comment>
352c0c79a3fStz204579	</entry>
353c0c79a3fStz204579	<entry id="auth_used">
354c0c79a3fStz204579	    <internal token="uauth"/>
355c0c79a3fStz204579	    <external opt="optional" type="char *"/>
356c0c79a3fStz204579	    <comment>authorization used</comment>
357c0c79a3fStz204579	</entry>
358c0c79a3fStz204579	<entry id="delete_values">
359c0c79a3fStz204579	    <internal token="text"/>
360c0c79a3fStz204579	    <external opt="required" type="char *"/>
361c0c79a3fStz204579	    <comment>deleted values</comment>
362c0c79a3fStz204579	</entry>
363c0c79a3fStz204579	<entry id="return">
364c0c79a3fStz204579	    <internal token="return"/>
365c0c79a3fStz204579	    <external opt="none"/>
366c0c79a3fStz204579	</entry>
367c0c79a3fStz204579    </event>
368c0c79a3fStz204579
369c0c79a3fStz204579    <event id="AUE_generic_SMC_modify" type="generic" omit="always">
370c0c79a3fStz204579	<entry id="subject">
371c0c79a3fStz204579	    <internal token="subject"/>
372c0c79a3fStz204579	    <external opt="none"/>
373c0c79a3fStz204579	</entry>
374c0c79a3fStz204579	<entry id="object_name">
375c0c79a3fStz204579	    <internal token="text"/>
376c0c79a3fStz204579	    <external opt="required" type="char *"/>
377c0c79a3fStz204579	    <comment>object name</comment>
378c0c79a3fStz204579	</entry>
379c0c79a3fStz204579	<entry id="domain">
380c0c79a3fStz204579	    <internal token="text"/>
381c0c79a3fStz204579	    <external opt="optional" type="char *"/>
382c0c79a3fStz204579	    <comment>domain</comment>
383c0c79a3fStz204579	</entry>
384c0c79a3fStz204579	<entry id="name_service">
385c0c79a3fStz204579	    <internal token="text"/>
386c0c79a3fStz204579	    <external opt="required" type="char *"/>
387c0c79a3fStz204579	    <comment>name_service</comment>
388c0c79a3fStz204579	</entry>
389c0c79a3fStz204579	<entry id="auth_used">
390c0c79a3fStz204579	    <internal token="uauth"/>
391c0c79a3fStz204579	    <external opt="optional" type="char *"/>
392c0c79a3fStz204579	    <comment>authorization used</comment>
393c0c79a3fStz204579	</entry>
394c0c79a3fStz204579	<entry id="changed_values">
395c0c79a3fStz204579	    <internal token="text"/>
396c0c79a3fStz204579	    <external opt="required" type="char *"/>
397c0c79a3fStz204579	    <comment>changed values</comment>
398c0c79a3fStz204579	</entry>
399c0c79a3fStz204579	<entry id="return">
400c0c79a3fStz204579	    <internal token="return"/>
401c0c79a3fStz204579	    <external opt="none"/>
402c0c79a3fStz204579	</entry>
403c0c79a3fStz204579    </event>
404c0c79a3fStz204579
405c0c79a3fStz204579<!-- instances -->
406c0c79a3fStz204579
407c0c79a3fStz204579<!--
408c0c79a3fStz204579	Java needed for SMC events.  Since the SMC events grow less
409c0c79a3fStz204579	often than the C related events.  They come first.  It
410c0c79a3fStz204579	would be nice to reorder the idNo-s, but that's an ABI
411c0c79a3fStz204579	change and should rev libbsm version no.  If reordered
412c0c79a3fStz204579	start with 1 and eliminate the comment at the end about
413c0c79a3fStz204579	the highest idNo.
414c0c79a3fStz204579-->
415c0c79a3fStz204579    <event id="AUE_admin_authenticate" instance_of="AUE_generic_login"
416c0c79a3fStz204579	header="0" idNo="3">
417c0c79a3fStz204579	<title>Admin Server Authentication</title>
418c0c79a3fStz204579	<program>admin (various)</program>
419c0c79a3fStz204579	<see>SMC, WBEM, or AdminSuite</see>
420c0c79a3fStz204579    </event>
421c0c79a3fStz204579
422c0c79a3fStz204579    <event id="AUE_filesystem_add" instance_of="AUE_generic_SMC_add"
423c0c79a3fStz204579	header="0" idNo="4">
424c0c79a3fStz204579	<title>SMC: filesystem add</title>
425c0c79a3fStz204579	<program>SMC server</program>
426c0c79a3fStz204579    </event>
427c0c79a3fStz204579    <event id="AUE_filesystem_delete" instance_of="AUE_generic_SMC_delete"
428c0c79a3fStz204579	header="0" idNo="5">
429c0c79a3fStz204579	<title>SMC: filesystem delete</title>
430c0c79a3fStz204579	<program>SMC server</program>
431c0c79a3fStz204579    </event>
432c0c79a3fStz204579    <event id="AUE_filesystem_modify" instance_of="AUE_generic_SMC_modify"
433c0c79a3fStz204579	header="0" idNo="6">
434c0c79a3fStz204579	<title>SMC: filesystem modify</title>
435c0c79a3fStz204579	<program>SMC server</program>
436c0c79a3fStz204579    </event>
437c0c79a3fStz204579
438c0c79a3fStz204579    <event id="AUE_network_add" instance_of="AUE_generic_SMC_add"
439c0c79a3fStz204579	header="0" idNo="7">
440c0c79a3fStz204579	<title>SMC: network add</title>
441c0c79a3fStz204579	<program>SMC server</program>
442c0c79a3fStz204579    </event>
443c0c79a3fStz204579    <event id="AUE_network_delete" instance_of="AUE_generic_SMC_delete"
444c0c79a3fStz204579	header="0" idNo="8">
445c0c79a3fStz204579	<title>SMC: network delete</title>
446c0c79a3fStz204579	<program>SMC server</program>
447c0c79a3fStz204579    </event>
448c0c79a3fStz204579    <event id="AUE_network_modify" instance_of="AUE_generic_SMC_modify"
449c0c79a3fStz204579	header="0" idNo="9">
450c0c79a3fStz204579	<title>SMC: network modify</title>
451c0c79a3fStz204579	<program>SMC server</program>
452c0c79a3fStz204579    </event>
453c0c79a3fStz204579
454c0c79a3fStz204579    <event id="AUE_printer_add" instance_of="AUE_generic_SMC_add"
455c0c79a3fStz204579	header="0" idNo="10">
456c0c79a3fStz204579	<title>SMC: printer add</title>
457c0c79a3fStz204579	<program>SMC server</program>
458c0c79a3fStz204579    </event>
459c0c79a3fStz204579    <event id="AUE_printer_delete" instance_of="AUE_generic_SMC_delete"
460c0c79a3fStz204579	header="0" idNo="11">
461c0c79a3fStz204579	<title>SMC: printer delete</title>
462c0c79a3fStz204579	<program>SMC server</program>
463c0c79a3fStz204579    </event>
464c0c79a3fStz204579    <event id="AUE_printer_modify" instance_of="AUE_generic_SMC_modify"
465c0c79a3fStz204579	header="0" idNo="12">
466c0c79a3fStz204579	<title>SMC: printer modify</title>
467c0c79a3fStz204579	<program>SMC server</program>
468c0c79a3fStz204579    </event>
469c0c79a3fStz204579
470c0c79a3fStz204579<!--
471c0c79a3fStz204579	This is SMC; it's also used in su and should probably be used in
472c0c79a3fStz204579	desktop role login.  If we fix the SMC to not record NO_MSG here,
473c0c79a3fStz204579	we can fix to record failed user.  See su.c and AUE_su.
474c0c79a3fStz204579-->
475c0c79a3fStz204579    <event id="AUE_role_login" instance_of="AUE_generic_login"
476c0c79a3fStz204579	header="0" idNo="13">
477c0c79a3fStz204579	<title>RBAC: role login</title>
478c0c79a3fStz204579	<program>SMC server</program>
479c0c79a3fStz204579	<program>/usr/bin/su</program>
480c0c79a3fStz204579    </event>
481c0c79a3fStz204579
482c0c79a3fStz204579    <event id="AUE_scheduledjob_add" instance_of="AUE_generic_SMC_add"
483c0c79a3fStz204579	header="0" idNo="14">
484c0c79a3fStz204579	<title>SMC: scheduled job add</title>
485c0c79a3fStz204579	<program>SMC server</program>
486c0c79a3fStz204579    </event>
487c0c79a3fStz204579    <event id="AUE_scheduledjob_delete" instance_of="AUE_generic_SMC_delete"
488c0c79a3fStz204579	header="0" idNo="15">
489c0c79a3fStz204579	<title>SMC: scheduled job delete</title>
490c0c79a3fStz204579	<program>SMC server</program>
491c0c79a3fStz204579    </event>
492c0c79a3fStz204579    <event id="AUE_scheduledjob_modify" instance_of="AUE_generic_SMC_modify"
493c0c79a3fStz204579	header="0" idNo="16">
494c0c79a3fStz204579	<title>SMC: scheduled job modify</title>
495c0c79a3fStz204579	<program>SMC server</program>
496c0c79a3fStz204579    </event>
497c0c79a3fStz204579
498c0c79a3fStz204579    <event id="AUE_serialport_add" instance_of="AUE_generic_SMC_add"
499c0c79a3fStz204579	header="0" idNo="17">
500c0c79a3fStz204579	<title>SMC: serial port add</title>
501c0c79a3fStz204579	<program>SMC server</program>
502c0c79a3fStz204579    </event>
503c0c79a3fStz204579    <event id="AUE_serialport_delete" instance_of="AUE_generic_SMC_delete"
504c0c79a3fStz204579	header="0" idNo="18">
505c0c79a3fStz204579	<title>SMC: serial port delete</title>
506c0c79a3fStz204579	<program>SMC server</program>
507c0c79a3fStz204579    </event>
508c0c79a3fStz204579    <event id="AUE_serialport_modify" instance_of="AUE_generic_SMC_modify"
509c0c79a3fStz204579	header="0" idNo="19">
510c0c79a3fStz204579	<title>SMC: serial port modify</title>
511c0c79a3fStz204579	<program>SMC server</program>
512c0c79a3fStz204579    </event>
513c0c79a3fStz204579
514c0c79a3fStz204579<!-- This is SMC; should this also be used elsewhere? -->
515c0c79a3fStz204579    <event id="AUE_uauth" header="0" idNo="20">
516c0c79a3fStz204579    	<title>SMC: Use of Authorization</title>
517c0c79a3fStz204579	<program>SMC server</program>
518c0c79a3fStz204579	<entry id="subject">
519c0c79a3fStz204579	    <internal token="subject"/>
520c0c79a3fStz204579	    <external opt="none"/>
521c0c79a3fStz204579	</entry>
522c0c79a3fStz204579	<entry id="auth_used">
523c0c79a3fStz204579	    <internal token="uauth"/>
524c0c79a3fStz204579	    <external opt="required" type="char *"/>
525c0c79a3fStz204579	    <comment>authorization used</comment>
526c0c79a3fStz204579	</entry>
527c0c79a3fStz204579	<entry id="objectname">
528c0c79a3fStz204579	    <internal token="text"/>
529c0c79a3fStz204579	    <external opt="required" type="char *"/>
530c0c79a3fStz204579	    <comment>object name</comment>
531c0c79a3fStz204579	</entry>
532c0c79a3fStz204579	<entry id="return">
533c0c79a3fStz204579	    <internal token="return"/>
534c0c79a3fStz204579	    <external opt="none"/>
535c0c79a3fStz204579	</entry>
536c0c79a3fStz204579    </event>
537c0c79a3fStz204579
538c0c79a3fStz204579    <event id="AUE_usermgr_add" instance_of="AUE_generic_SMC_add"
539c0c79a3fStz204579	header="0" idNo="21">
540c0c79a3fStz204579	<title>SMC: User Manager add</title>
541c0c79a3fStz204579	<program>SMC server</program>
542c0c79a3fStz204579    </event>
543c0c79a3fStz204579    <event id="AUE_usermgr_delete" instance_of="AUE_generic_SMC_delete"
544c0c79a3fStz204579	header="0" idNo="22">
545c0c79a3fStz204579	<title>SMC: User Manager delete</title>
546c0c79a3fStz204579	<program>SMC server</program>
547c0c79a3fStz204579    </event>
548c0c79a3fStz204579    <event id="AUE_usermgr_modify" instance_of="AUE_generic_SMC_modify"
549c0c79a3fStz204579	header="0" idNo="23">
550c0c79a3fStz204579	<title>SMC: User Manager modify</title>
551c0c79a3fStz204579	<program>SMC server</program>
552c0c79a3fStz204579    </event>
553c0c79a3fStz204579<!-- end of Java needed for SMC events -->
554c0c79a3fStz204579<!--
555c0c79a3fStz204579    while not used by SMC logout is used by Lockhart
556c0c79a3fStz204579-->
557c0c79a3fStz204579    <event id="AUE_logout" header="0" idNo="1">
558c0c79a3fStz204579    	<title>login: logout</title>
559c0c79a3fStz204579	<program>various</program>
560c0c79a3fStz204579	<see>login(1)</see>
561c0c79a3fStz204579	<entry id="subject">
562c0c79a3fStz204579	    <internal token="subject"/>
563c0c79a3fStz204579	    <external opt="none"/>
564c0c79a3fStz204579	</entry>
565c0c79a3fStz204579<!--
566c0c79a3fStz204579    not used by C code, used by Lockhart,
567c0c79a3fStz204579    get them to change and remove
568c0c79a3fStz204579    event.user_name("logout " + session.getUserName());
569c0c79a3fStz204579    from /ws/lockhart-nv-gate/src/bundled/app/webmgt/lib/services/
570c0c79a3fStz204579    com/sun/management/services/audit/SolarisAuditEvent_Logout.java
571c0c79a3fStz204579-->
572c0c79a3fStz204579	<entry id="user_name">
573c0c79a3fStz204579	    <internal token="text" format="logout %s"/>
574c0c79a3fStz204579	    <external opt="optional" type="char *"/>
575c0c79a3fStz204579	    <comment>"logout" username</comment>
576c0c79a3fStz204579	</entry>
577c0c79a3fStz204579	<entry id="return">
578c0c79a3fStz204579	    <internal token="return"/>
579c0c79a3fStz204579	    <external opt="none"/>
580c0c79a3fStz204579	</entry>
581c0c79a3fStz204579    </event>
582c0c79a3fStz204579
583c0c79a3fStz204579
584c0c79a3fStz204579<!-- C Only events -->
585c0c79a3fStz204579    <event id="AUE_init_solaris" header="0" idNo="32" omit="JNI">
586c0c79a3fStz204579    	<title>init</title>
587c0c79a3fStz204579	<program>/sbin/init</program>
588c0c79a3fStz204579	<program>/usr/sbin/init</program>
589c0c79a3fStz204579	<program>/usr/sbin/shutdown</program>
590c0c79a3fStz204579	<entry id="subject">
591c0c79a3fStz204579	    <internal token="subject"/>
592c0c79a3fStz204579	    <external opt="none"/>
593c0c79a3fStz204579	</entry>
594c0c79a3fStz204579	<entry id="info">
595c0c79a3fStz204579	    <internal token="text"/>
596c0c79a3fStz204579	    <external opt="optional" type="char *"/>
597c0c79a3fStz204579	    <comment>init level or zone name</comment>
598c0c79a3fStz204579	</entry>
599c0c79a3fStz204579	<entry id="return">
600c0c79a3fStz204579	    <internal token="return"/>
601c0c79a3fStz204579	    <external opt="none"/>
602c0c79a3fStz204579	</entry>
603c0c79a3fStz204579    </event>
604c0c79a3fStz204579
605c0c79a3fStz204579    <event id="AUE_login" instance_of="AUE_generic_login" header="0"
606c0c79a3fStz204579	idNo="25" omit="JNI">
607c0c79a3fStz204579	<title>terminal login</title>
608c0c79a3fStz204579	<program>/usr/sbin/login</program>
609c0c79a3fStz204579	<program>/usr/dt/bin/dtlogin</program>
610c0c79a3fStz204579	<see>login(1)</see>
611c0c79a3fStz204579	<see>dtlogin</see>
612c0c79a3fStz204579    </event>
613c0c79a3fStz204579    <event id="AUE_rlogin" instance_of="AUE_generic_login" header="0"
614c0c79a3fStz204579	idNo="28" omit="JNI">
615c0c79a3fStz204579	<title>rlogin</title>
616c0c79a3fStz204579	<program>/usr/sbin/login</program>
617c0c79a3fStz204579	<see>login(1) - rlogin</see>
618c0c79a3fStz204579    </event>
619c0c79a3fStz204579    <event id="AUE_telnet" instance_of="AUE_generic_login" header="0"
620c0c79a3fStz204579	idNo="29" omit="JNI">
621c0c79a3fStz204579	<title>telnet login</title>
622c0c79a3fStz204579	<program>/usr/sbin/login</program>
623c0c79a3fStz204579	<see>login(1) - telnet</see>
624c0c79a3fStz204579    </event>
625c0c79a3fStz204579    <event id="AUE_ssh" instance_of="AUE_generic_login" header="0"
626c0c79a3fStz204579	idNo="2" omit="JNI">
627c0c79a3fStz204579	<program>/usr/lib/ssh/sshd</program>
628c0c79a3fStz204579    </event>
629c0c79a3fStz204579
630c0c79a3fStz204579    <event id="AUE_zlogin" header="0" idNo="38" omit="JNI">
631c0c79a3fStz204579    	<title>zone login</title>
632c0c79a3fStz204579	<program>/usr/sbin/login</program>
633c0c79a3fStz204579	<see>zlogin(1)</see>
634c0c79a3fStz204579	<entry id="subject">
635c0c79a3fStz204579	    <internal token="subject"/>
636c0c79a3fStz204579	    <external opt="none"/>
637c0c79a3fStz204579	</entry>
638c0c79a3fStz204579	<entry id="message">
639c0c79a3fStz204579	    <internal token="text"/>
640c0c79a3fStz204579	    <external opt="optional" type="char *"/>
641c0c79a3fStz204579	    <comment>error message</comment>
642c0c79a3fStz204579	</entry>
643c0c79a3fStz204579	<entry id="return">
644c0c79a3fStz204579	    <internal token="return"/>
645c0c79a3fStz204579	    <external opt="none"/>
646c0c79a3fStz204579	</entry>
647c0c79a3fStz204579    </event>
648c0c79a3fStz204579
649c0c79a3fStz204579    <event id="AUE_su" header="0" idNo="30" omit="JNI">
650c0c79a3fStz204579    	<title>su</title>
651c0c79a3fStz204579	<program>/usr/bin/su</program>
652c0c79a3fStz204579	<see>su(1M)</see>
653c0c79a3fStz204579	<entry id="subject">
654c0c79a3fStz204579	    <internal token="subject"/>
655c0c79a3fStz204579	    <external opt="none"/>
656c0c79a3fStz204579	</entry>
657c0c79a3fStz204579<!--
658c0c79a3fStz204579	should be changed to "fail_user" and su.c updated
659c0c79a3fStz204579	However, the jni stuff is broken, so for now it's "message"
660c0c79a3fStz204579-->
661c0c79a3fStz204579	<entry id="message">
662c0c79a3fStz204579	    <internal token="text"/>
663c0c79a3fStz204579	    <external opt="optional" type="char *"/>
664c0c79a3fStz204579	    <comment>"user name" of failed new user/role</comment>
665c0c79a3fStz204579	</entry>
666c0c79a3fStz204579	<entry id="return">
667c0c79a3fStz204579	    <internal token="return"/>
668c0c79a3fStz204579	    <external opt="none"/>
669c0c79a3fStz204579	</entry>
670c0c79a3fStz204579    </event>
671c0c79a3fStz204579
672c0c79a3fStz204579    <event id="AUE_passwd" header="0" idNo="27" omit="JNI">
673c0c79a3fStz204579    	<title>passwd</title>
674c0c79a3fStz204579	<program>various</program>
675c0c79a3fStz204579	<see>passwd(1)</see>
676c0c79a3fStz204579	<entry id="subject">
677c0c79a3fStz204579	    <internal token="subject"/>
678c0c79a3fStz204579	    <external opt="none"/>
679c0c79a3fStz204579	</entry>
680c0c79a3fStz204579	<entry id="username">
681c0c79a3fStz204579	    <internal token="text"/>
682c0c79a3fStz204579	    <external opt="optional" type="char *"/>
6837a38c0beStz204579	    <comment>username if different than caller</comment>
684c0c79a3fStz204579	</entry>
685c0c79a3fStz204579	<entry id="return">
686c0c79a3fStz204579	    <internal token="return"/>
687c0c79a3fStz204579	    <external opt="none"/>
688c0c79a3fStz204579	</entry>
689c0c79a3fStz204579    </event>
690c0c79a3fStz204579
691c0c79a3fStz204579    <event id="AUE_screenlock" instance_of="AUE_generic_basic" header="0"
692c0c79a3fStz204579	idNo="26" omit="JNI">
693c0c79a3fStz204579	<program>desktop screen lock</program>
694c0c79a3fStz204579    </event>
695c0c79a3fStz204579    <event id="AUE_screenunlock" instance_of="AUE_generic_basic" header="0"
696c0c79a3fStz204579	idNo="31" omit="JNI">
697c0c79a3fStz204579	<program>desktop screen unlock</program>
698c0c79a3fStz204579    </event>
699c0c79a3fStz204579
700c0c79a3fStz204579    <!--
701c0c79a3fStz204579	AUE_prof_cmd is not supportable for Java due to the structure of
702c0c79a3fStz204579	the priv token.  When and if a Java program needs to generate
703c0c79a3fStz204579	a priv token, we'll need to look at the data format in the
704c0c79a3fStz204579	Java code and provide an appropriate java and jni implementation.
705c0c79a3fStz204579    -->
706c0c79a3fStz204579
707c0c79a3fStz204579    <event id="AUE_prof_cmd" header="0" idNo="24" omit="JNI">
708c0c79a3fStz204579    	<title>pfexec</title>
709c0c79a3fStz204579	<program>/usr/bin/pfexec</program>
710c0c79a3fStz204579	<see>pfexec(1)</see>
711c0c79a3fStz204579	<entry id="subject">
712c0c79a3fStz204579	    <internal token="subject"/>
713c0c79a3fStz204579	    <external opt="none"/>
714c0c79a3fStz204579	</entry>
715c0c79a3fStz204579	<entry id="cwdpath">
716c0c79a3fStz204579	    <internal token="path"/>
717c0c79a3fStz204579	    <external opt="required" type="char*"/>
718c0c79a3fStz204579	    <comment>working directory</comment>
719c0c79a3fStz204579	</entry>
720c0c79a3fStz204579	<entry id="cmdpath">
721c0c79a3fStz204579	    <internal token="path"/>
722c0c79a3fStz204579	    <external opt="required" type="char*"/>
723c0c79a3fStz204579	    <comment>command pathname</comment>
724c0c79a3fStz204579	</entry>
725c0c79a3fStz204579	<entry id="argc,argv,envp">
726c0c79a3fStz204579	    <internal token="command"/>
727c0c79a3fStz204579	    <external opt="required" type="int,char**,char**"/>
728c0c79a3fStz204579	</entry>
729c0c79a3fStz204579	<entry id="proc_auid,proc_euid,proc_egid,proc_ruid,proc_rgid,proc_pid,proc_sid,proc_termid">
730c0c79a3fStz204579	    <internal token="process"/>
731c0c79a3fStz204579	    <external opt="required"
732c0c79a3fStz204579		type="uid_t,uid_t,gid_t,uid_t,gid_t,pid_t,au_asid_t,termid*"/>
733c0c79a3fStz204579	</entry>
734c0c79a3fStz204579	<entry id="limit_set">
735c0c79a3fStz204579	    <internal token="priv_limit"/>
736c0c79a3fStz204579	    <external opt="optional" type="priv_set_t*"/>
737c0c79a3fStz204579 	</entry>
738c0c79a3fStz204579	<entry id="inherit_set">
739c0c79a3fStz204579	    <internal token="priv_inherit"/>
740c0c79a3fStz204579	    <external opt="optional" type="priv_set_t*"/>
741c0c79a3fStz204579	</entry>
742c0c79a3fStz204579	<entry id="return">
743c0c79a3fStz204579	    <internal token="return"/>
744c0c79a3fStz204579	    <external opt="none"/>
745c0c79a3fStz204579	</entry>
746c0c79a3fStz204579    </event>
747c0c79a3fStz204579
748c0c79a3fStz204579    <event id="AUE_inetd_connect" header="0" idNo="34" omit="JNI">
749c0c79a3fStz204579    	<title>inetd</title>
750c0c79a3fStz204579	<program>/usr/sbin/inetd</program>
751c0c79a3fStz204579	<entry id="subject">
752c0c79a3fStz204579	    <internal token="subject"/>
753c0c79a3fStz204579	    <external opt="none"/>
754c0c79a3fStz204579	</entry>
755c0c79a3fStz204579	<entry id="service_name">
756c0c79a3fStz204579	    <internal token="text"/>
757c0c79a3fStz204579	    <external opt="optional" type="char *"/>
758c0c79a3fStz204579	    <comment>service name</comment>
759c0c79a3fStz204579	</entry>
760c0c79a3fStz204579	<entry id="ip_type,ip_remote_port,ip_local_port,ip_adr">
761c0c79a3fStz204579	    <internal token="tid"/>
762c0c79a3fStz204579	    <external opt="required"
763c0c79a3fStz204579		type="uint32_t,uint16_t,uint16_t,uint32_t[4]"/>
764c0c79a3fStz204579	    <comment>client address</comment>
765c0c79a3fStz204579	</entry>
766c0c79a3fStz204579	<entry id="cmd">
767c0c79a3fStz204579	    <internal token="command_1"/>
768c0c79a3fStz204579	    <external opt="required" type="char *"/>
769c0c79a3fStz204579	    <comment>inetd command</comment>
770c0c79a3fStz204579	</entry>
771c0c79a3fStz204579	<entry id="privileges">
772c0c79a3fStz204579	    <internal token="priv_effective"/>
773c0c79a3fStz204579	    <external opt="required" type="priv_set_t *"/>
774c0c79a3fStz204579	</entry>
775c0c79a3fStz204579	<entry id="return">
776c0c79a3fStz204579	    <internal token="return"/>
777c0c79a3fStz204579	    <external opt="none"/>
778c0c79a3fStz204579	</entry>
779c0c79a3fStz204579    </event>
780c0c79a3fStz204579
781c0c79a3fStz204579    <event id="AUE_inetd_ratelimit" header="0" idNo="35" omit="JNI">
782c0c79a3fStz204579    	<title>inetd</title>
783c0c79a3fStz204579	<program>/usr/sbin/inetd</program>
784c0c79a3fStz204579	<entry id="subject">
785c0c79a3fStz204579	    <internal token="subject"/>
786c0c79a3fStz204579	    <external opt="none"/>
787c0c79a3fStz204579	</entry>
788c0c79a3fStz204579	<entry id="service_name">
789c0c79a3fStz204579	    <internal token="text"/>
790c0c79a3fStz204579	    <external opt="optional" type="char *"/>
791c0c79a3fStz204579	    <comment>service name</comment>
792c0c79a3fStz204579	</entry>
793c0c79a3fStz204579	<entry id="limit">
794c0c79a3fStz204579	    <internal token="text"/>
795c0c79a3fStz204579	    <external opt="required" type="char *"/>
796c0c79a3fStz204579	    <comment>limit value</comment>
797c0c79a3fStz204579	</entry>
798c0c79a3fStz204579	<entry id="return">
799c0c79a3fStz204579	    <internal token="return"/>
800c0c79a3fStz204579	    <external opt="none"/>
801c0c79a3fStz204579	</entry>
802c0c79a3fStz204579    </event>
803c0c79a3fStz204579
804c0c79a3fStz204579    <event id="AUE_inetd_copylimit" header="0" idNo="36" omit="JNI">
805c0c79a3fStz204579    	<title>inetd</title>
806c0c79a3fStz204579	<program>/usr/sbin/inetd</program>
807c0c79a3fStz204579	<entry id="subject">
808c0c79a3fStz204579	    <internal token="subject"/>
809c0c79a3fStz204579	    <external opt="none"/>
810c0c79a3fStz204579	</entry>
811c0c79a3fStz204579	<entry id="service_name">
812c0c79a3fStz204579	    <internal token="text"/>
813c0c79a3fStz204579	    <external opt="optional" type="char *"/>
814c0c79a3fStz204579	    <comment>service name</comment>
815c0c79a3fStz204579	</entry>
816c0c79a3fStz204579	<entry id="limit">
817c0c79a3fStz204579	    <internal token="text"/>
818c0c79a3fStz204579	    <external opt="required" type="char *"/>
819c0c79a3fStz204579	    <comment>limit value</comment>
820c0c79a3fStz204579	</entry>
821c0c79a3fStz204579	<entry id="return">
822c0c79a3fStz204579	    <internal token="return"/>
823c0c79a3fStz204579	    <external opt="none"/>
824c0c79a3fStz204579	</entry>
825c0c79a3fStz204579    </event>
826c0c79a3fStz204579
827c0c79a3fStz204579    <event id="AUE_inetd_failrate" header="0" idNo="37" omit="JNI">
828c0c79a3fStz204579    	<title>inetd</title>
829c0c79a3fStz204579	<program>/usr/sbin/inetd</program>
830c0c79a3fStz204579	<entry id="subject">
831c0c79a3fStz204579	    <internal token="subject"/>
832c0c79a3fStz204579	    <external opt="none"/>
833c0c79a3fStz204579	</entry>
834c0c79a3fStz204579	<entry id="service_name">
835c0c79a3fStz204579	    <internal token="text"/>
836c0c79a3fStz204579	    <external opt="optional" type="char *"/>
837c0c79a3fStz204579	    <comment>service name</comment>
838c0c79a3fStz204579	</entry>
839c0c79a3fStz204579	<entry id="values">
840c0c79a3fStz204579	    <internal token="text"/>
841c0c79a3fStz204579	    <external opt="required" type="char *"/>
842c0c79a3fStz204579	    <comment>limit value, interval</comment>
843c0c79a3fStz204579	</entry>
844c0c79a3fStz204579	<entry id="return">
845c0c79a3fStz204579	    <internal token="return"/>
846c0c79a3fStz204579	    <external opt="none"/>
847c0c79a3fStz204579	</entry>
848c0c79a3fStz204579    </event>
849c0c79a3fStz204579
850c0c79a3fStz204579    <event id="AUE_zone_state" header="0" idNo="33" omit="JNI">
851c0c79a3fStz204579	<entry id="subject">
852c0c79a3fStz204579	    <internal token="subject"/>
853c0c79a3fStz204579	    <external opt="none"/>
854c0c79a3fStz204579	</entry>
855c0c79a3fStz204579	<entry id="new_state">
856c0c79a3fStz204579	    <internal token="text"/>
857c0c79a3fStz204579	    <external opt="required" type="char *"/>
858c0c79a3fStz204579	    <comment>New zone state</comment>
859c0c79a3fStz204579	</entry>
860c0c79a3fStz204579	<entry id="zonename">
861c0c79a3fStz204579	    <internal token="zonename"/>
862c0c79a3fStz204579	    <external opt="required" type="char *"/>
863c0c79a3fStz204579	    <comment>zone name</comment>
864c0c79a3fStz204579	</entry>
865c0c79a3fStz204579	<entry id="return">
866c0c79a3fStz204579	    <internal token="return"/>
867c0c79a3fStz204579	    <external opt="none"/>
868c0c79a3fStz204579	</entry>
869c0c79a3fStz204579    </event>
870c0c79a3fStz204579
871c0c79a3fStz204579    <event id="AUE_su_logout" instance_of="AUE_generic_basic"
872c0c79a3fStz204579	header="0" idNo="39" omit="JNI">
873c0c79a3fStz204579	<title>su</title>
874c0c79a3fStz204579	<program>/usr/bin/su</program>
875c0c79a3fStz204579	<see>su(1M)</see>
876c0c79a3fStz204579    </event>
877c0c79a3fStz204579
878c0c79a3fStz204579    <event id="AUE_role_logout" instance_of="AUE_generic_basic"
879c0c79a3fStz204579	header="0" idNo="40" omit="JNI">
880c0c79a3fStz204579	<title>su</title>
881c0c79a3fStz204579	<program>/usr/bin/su</program>
882c0c79a3fStz204579	<see>su(1M)</see>
883c0c79a3fStz204579    </event>
884c0c79a3fStz204579
885c0c79a3fStz204579    <event id="AUE_newgrp_login" header="0" idNo="41" omit="JNI">
886c0c79a3fStz204579    	<program>newgrp</program>
887c0c79a3fStz204579	<entry id="subject">
888c0c79a3fStz204579	    <internal token="subject"/>
889c0c79a3fStz204579	    <external opt="none"/>
890c0c79a3fStz204579	</entry>
891c0c79a3fStz204579	<entry id="groupname">
892c0c79a3fStz204579	    <internal  token="text"/>
893c0c79a3fStz204579	    <external opt="required"  type="char *"/>
894c0c79a3fStz204579	    <comment>group name</comment>
895c0c79a3fStz204579	</entry>
896c0c79a3fStz204579	<entry id="return">
897c0c79a3fStz204579	    <internal token="return"/>
898c0c79a3fStz204579	    <external opt="none"/>
899c0c79a3fStz204579	</entry>
900c0c79a3fStz204579    </event>
901c0c79a3fStz204579
902c0c79a3fStz204579    <event id="AUE_generic_mountable" type="generic" omit="always">
903c0c79a3fStz204579	<!--
904c0c79a3fStz204579
905c0c79a3fStz204579	User device mounting related functions
906c0c79a3fStz204579
907c0c79a3fStz204579	-->
908c0c79a3fStz204579	<entry id="subject">
909c0c79a3fStz204579	    <internal token="subject"/>
910c0c79a3fStz204579	    <external opt="none"/>
911c0c79a3fStz204579	</entry>
912c0c79a3fStz204579	<entry id="auth_used">
913c0c79a3fStz204579	    <internal token="uauth"/>
914c0c79a3fStz204579	    <external opt="required" type="char *"/>
915c0c79a3fStz204579	    <comment>authorization used</comment>
916c0c79a3fStz204579	</entry>
917c0c79a3fStz204579	<entry id="mount_point">
918c0c79a3fStz204579	    <internal token="path"/>
919c0c79a3fStz204579	    <external opt="required" type="char *"/>
920c0c79a3fStz204579	    <comment>mount point</comment>
921c0c79a3fStz204579	</entry>
922c0c79a3fStz204579	<entry id="device">
923c0c79a3fStz204579	    <internal token="path"/>
924c0c79a3fStz204579	    <external opt="required" type="char *"/>
925c0c79a3fStz204579	    <comment>device</comment>
926c0c79a3fStz204579	</entry>
927c0c79a3fStz204579	<entry id="options">
928c0c79a3fStz204579	    <internal token="text"/>
929c0c79a3fStz204579	    <external opt="optional" type="char *"/>
930c0c79a3fStz204579	    <comment>options</comment>
931c0c79a3fStz204579	</entry>
932c0c79a3fStz204579	<entry id="return">
933c0c79a3fStz204579	    <internal token="return"/>
934c0c79a3fStz204579	    <external opt="none"/>
935c0c79a3fStz204579	</entry>
936c0c79a3fStz204579    </event>
937c0c79a3fStz204579
938c0c79a3fStz204579    <event id="AUE_attach" instance_of="AUE_generic_mountable"
939c0c79a3fStz204579	header="0" idNo="42" omit="JNI">
940c0c79a3fStz204579	<program>hald</program>
941c0c79a3fStz204579    </event>
942c0c79a3fStz204579    <event id="AUE_detach" instance_of="AUE_generic_mountable"
943c0c79a3fStz204579	header="0" idNo="43" omit="JNI">
944c0c79a3fStz204579	<program>hald</program>
945c0c79a3fStz204579    </event>
946c0c79a3fStz204579    <event id="AUE_remove" header="0" idNo="44" omit="JNI">
947c0c79a3fStz204579	<program>hald</program>
948c0c79a3fStz204579	<entry id="subject">
949c0c79a3fStz204579	    <internal token="subject"/>
950c0c79a3fStz204579	    <external opt="none"/>
951c0c79a3fStz204579	</entry>
952c0c79a3fStz204579	<entry id="auth_used">
953c0c79a3fStz204579	    <internal token="uauth"/>
954c0c79a3fStz204579	    <external opt="required" type="char *"/>
955c0c79a3fStz204579	    <comment>authorization used</comment>
956c0c79a3fStz204579	</entry>
957c0c79a3fStz204579	<entry id="mount_point">
958c0c79a3fStz204579	    <internal token="path"/>
959c0c79a3fStz204579	    <external opt="optional" type="char *"/>
960c0c79a3fStz204579	    <comment>mount point</comment>
961c0c79a3fStz204579	</entry>
962c0c79a3fStz204579	<entry id="device">
963c0c79a3fStz204579	    <internal token="path"/>
964c0c79a3fStz204579	    <external opt="required" type="char *"/>
965c0c79a3fStz204579	    <comment>device</comment>
966c0c79a3fStz204579	</entry>
967c0c79a3fStz204579	<entry id="return">
968c0c79a3fStz204579	    <internal token="return"/>
969c0c79a3fStz204579	    <external opt="none"/>
970c0c79a3fStz204579	</entry>
971c0c79a3fStz204579    </event>
972c0c79a3fStz204579
973c0c79a3fStz204579    <event id="AUE_pool_import" header="0" idNo="45" omit="JNI">
974c0c79a3fStz204579    	<program>hald</program>
975c0c79a3fStz204579	<entry id="subject">
976c0c79a3fStz204579	    <internal token="subject"/>
977c0c79a3fStz204579	    <external opt="none"/>
978c0c79a3fStz204579	</entry>
979c0c79a3fStz204579	<entry id="auth_used">
980c0c79a3fStz204579	    <internal token="uauth"/>
981c0c79a3fStz204579	    <external opt="required" type="char *"/>
982c0c79a3fStz204579	    <comment>authorization used</comment>
983c0c79a3fStz204579	</entry>
984c0c79a3fStz204579	<entry id="pool">
985c0c79a3fStz204579	    <internal token="text"/>
986c0c79a3fStz204579	    <external opt="required" type="char *"/>
987c0c79a3fStz204579	    <comment>pool</comment>
988c0c79a3fStz204579	</entry>
989c0c79a3fStz204579	<entry id="device">
990c0c79a3fStz204579	    <internal token="path"/>
991c0c79a3fStz204579	    <external opt="required" type="char *"/>
992c0c79a3fStz204579	    <comment>device</comment>
993c0c79a3fStz204579	</entry>
994c0c79a3fStz204579	<entry id="return">
995c0c79a3fStz204579	    <internal token="return"/>
996c0c79a3fStz204579	    <external opt="none"/>
997c0c79a3fStz204579	</entry>
998c0c79a3fStz204579    </event>
999c0c79a3fStz204579    <event id="AUE_pool_export" header="0" idNo="46" omit="JNI">
1000c0c79a3fStz204579    	<program>hald</program>
1001c0c79a3fStz204579	<entry id="subject">
1002c0c79a3fStz204579	    <internal token="subject"/>
1003c0c79a3fStz204579	    <external opt="none"/>
1004c0c79a3fStz204579	</entry>
1005c0c79a3fStz204579	<entry id="auth_used">
1006c0c79a3fStz204579	    <internal token="uauth"/>
1007c0c79a3fStz204579	    <external opt="required" type="char *"/>
1008c0c79a3fStz204579	    <comment>authorization used</comment>
1009c0c79a3fStz204579	</entry>
1010c0c79a3fStz204579	<entry id="pool">
1011c0c79a3fStz204579	    <internal token="text"/>
1012c0c79a3fStz204579	    <external opt="required" type="char *"/>
1013c0c79a3fStz204579	    <comment>pool</comment>
1014c0c79a3fStz204579	</entry>
1015c0c79a3fStz204579	<entry id="device">
1016c0c79a3fStz204579	    <internal token="path"/>
1017c0c79a3fStz204579	    <external opt="required" type="char *"/>
1018c0c79a3fStz204579	    <comment>device</comment>
1019c0c79a3fStz204579	</entry>
1020c0c79a3fStz204579	<entry id="return">
1021c0c79a3fStz204579	    <internal token="return"/>
1022c0c79a3fStz204579	    <external opt="none"/>
1023c0c79a3fStz204579	</entry>
1024c0c79a3fStz204579    </event>
1025c0c79a3fStz204579
1026c0c79a3fStz204579<!-- dladm security objected events -->
1027c0c79a3fStz204579    <event id="AUE_dladm_generic" type="generic" omit="always">
1028c0c79a3fStz204579	<entry id="subject">
1029c0c79a3fStz204579	    <internal token="subject"/>
1030c0c79a3fStz204579	    <external opt="none"/>
1031c0c79a3fStz204579	</entry>
1032c0c79a3fStz204579	<entry id="auth_used">
1033c0c79a3fStz204579	    <internal token="uauth"/>
1034c0c79a3fStz204579	    <external opt="required" type="char *"/>
1035c0c79a3fStz204579	    <comment>authorization used</comment>
1036c0c79a3fStz204579	</entry>
1037c0c79a3fStz204579	<entry id="obj_class">
1038c0c79a3fStz204579	    <internal token="text"/>
1039c0c79a3fStz204579	    <external opt="required" type="char *"/>
1040c0c79a3fStz204579	    <comment>object class name</comment>
1041c0c79a3fStz204579	</entry>
1042c0c79a3fStz204579	<entry id="obj_name">
1043c0c79a3fStz204579	    <internal token="text"/>
1044c0c79a3fStz204579	    <external opt="required" type="char *"/>
1045c0c79a3fStz204579	    <comment>object name</comment>
1046c0c79a3fStz204579	</entry>
1047c0c79a3fStz204579	<entry id="return">
1048c0c79a3fStz204579	    <internal token="return"/>
1049c0c79a3fStz204579	    <external opt="none"/>
1050c0c79a3fStz204579	</entry>
1051c0c79a3fStz204579    </event>
1052c0c79a3fStz204579
1053c0c79a3fStz204579    <event id="AUE_dladm_create_secobj" instance_of="AUE_dladm_generic"
1054c0c79a3fStz204579	header="0" idNo="47" omit="JNI">
1055c0c79a3fStz204579	<title>create wifi security object</title>
1056c0c79a3fStz204579	<program>/usr/sbin/dladm</program>
1057c0c79a3fStz204579	<see>dladm(1M)</see>
1058c0c79a3fStz204579    </event>
1059c0c79a3fStz204579    <event id="AUE_dladm_delete_secobj" instance_of="AUE_dladm_generic"
1060c0c79a3fStz204579	header="0" idNo="48" omit="JNI">
1061c0c79a3fStz204579	<title>delete wifi security object</title>
1062c0c79a3fStz204579	<program>/usr/sbin/dladm</program>
1063c0c79a3fStz204579	<see>dladm(1M)</see>
1064c0c79a3fStz204579    </event>
1065c0c79a3fStz204579
1066c0c79a3fStz204579<!-- Trusted eXtensions (TX) events -->
1067c0c79a3fStz204579
1068c0c79a3fStz204579    <!-- labeld events -->
1069c0c79a3fStz204579    <event id="AUE_file_relabel" header="0" idNo="49" omit="JNI">
1070c0c79a3fStz204579    	<title>relabel file from one zone to another</title>
1071c0c79a3fStz204579	<program>setlabel(1)</program>
1072c0c79a3fStz204579	<see>setflabel(3TSOL)</see>
1073c0c79a3fStz204579	<entry id="subject">
1074c0c79a3fStz204579	    <internal token="subject"/>
1075c0c79a3fStz204579	    <external opt="none"/>
1076c0c79a3fStz204579	</entry>
1077c0c79a3fStz204579	<entry id="auth_used">
1078c0c79a3fStz204579	    <internal token="uauth"/>
1079c0c79a3fStz204579	    <external opt="required" type="char *"/>
1080c0c79a3fStz204579	    <comment>authorization used</comment>
1081c0c79a3fStz204579	</entry>
1082c0c79a3fStz204579	<entry id="file">
1083c0c79a3fStz204579	    <internal token="path"/>
1084c0c79a3fStz204579	    <external opt="required" type="char *"/>
1085c0c79a3fStz204579	    <comment>file relabeled</comment>
1086c0c79a3fStz204579	</entry>
1087c0c79a3fStz204579	<entry id="src_label">
1088c0c79a3fStz204579	    <internal token="label"/>
1089c0c79a3fStz204579	    <external opt="required" type="m_label_t *"/>
1090c0c79a3fStz204579	    <comment>original label</comment>
1091c0c79a3fStz204579	</entry>
1092c0c79a3fStz204579	<entry id="dst_label">
1093c0c79a3fStz204579	    <internal token="label"/>
1094c0c79a3fStz204579	    <external opt="required" type="m_label_t *"/>
1095c0c79a3fStz204579	    <comment>new label</comment>
1096c0c79a3fStz204579	</entry>
1097c0c79a3fStz204579	<entry id="return">
1098c0c79a3fStz204579	    <internal token="return"/>
1099c0c79a3fStz204579	    <external opt="none"/>
1100c0c79a3fStz204579	</entry>
1101c0c79a3fStz204579    </event>
1102c0c79a3fStz204579
1103c0c79a3fStz204579    <event id="AUE_file_copy" header="0" idNo="50" omit="JNI">
1104c0c79a3fStz204579    	<title>copy file to another zone</title>
1105c0c79a3fStz204579	<program>dtfile(1X)</program>
1106c0c79a3fStz204579	<entry id="subject">
1107c0c79a3fStz204579	    <internal token="subject"/>
1108c0c79a3fStz204579	    <external opt="none"/>
1109c0c79a3fStz204579	</entry>
1110c0c79a3fStz204579	<entry id="auth_used">
1111c0c79a3fStz204579	    <internal token="uauth"/>
1112c0c79a3fStz204579	    <external opt="required" type="char *"/>
1113c0c79a3fStz204579	    <comment>authorization used</comment>
1114c0c79a3fStz204579	</entry>
1115c0c79a3fStz204579	<entry id="src_file">
1116c0c79a3fStz204579	    <internal token="path"/>
1117c0c79a3fStz204579	    <external opt="required" type="char *"/>
1118c0c79a3fStz204579	    <comment>source file</comment>
1119c0c79a3fStz204579	</entry>
1120c0c79a3fStz204579	<entry id="src_label">
1121c0c79a3fStz204579	    <internal token="label"/>
1122c0c79a3fStz204579	    <external opt="required" type="m_label_t *"/>
1123c0c79a3fStz204579	    <comment>source label</comment>
1124c0c79a3fStz204579	</entry>
1125c0c79a3fStz204579	<entry id="dst_file">
1126c0c79a3fStz204579	    <internal token="path"/>
1127c0c79a3fStz204579	    <external opt="required" type="char *"/>
1128c0c79a3fStz204579	    <comment>destination directory</comment>
1129c0c79a3fStz204579	</entry>
1130c0c79a3fStz204579	<entry id="dst_label">
1131c0c79a3fStz204579	    <internal token="label"/>
1132c0c79a3fStz204579	    <external opt="required" type="m_label_t *"/>
1133c0c79a3fStz204579	    <comment>destination label</comment>
1134c0c79a3fStz204579	</entry>
1135c0c79a3fStz204579	<entry id="return">
1136c0c79a3fStz204579	    <internal token="return"/>
1137c0c79a3fStz204579	    <external opt="none"/>
1138c0c79a3fStz204579	</entry>
1139c0c79a3fStz204579    </event>
1140c0c79a3fStz204579
11416a3b10dbStz204579    <!-- uadmin(1m) events -->
11426a3b10dbStz204579    <event id="AUE_uadmin_generic" type="generic" omit="always">
11436a3b10dbStz204579	<entry id="subject">
11446a3b10dbStz204579	    <internal token="subject"/>
11456a3b10dbStz204579	    <external opt="none"/>
11466a3b10dbStz204579	</entry>
11476a3b10dbStz204579	<entry id="fcn">
11486a3b10dbStz204579	    <internal token="text"/>
11496a3b10dbStz204579	    <external opt="required" type="msg uadmin_fcn"/>
11506a3b10dbStz204579	    <comment>next action</comment>
11516a3b10dbStz204579	</entry>
11526a3b10dbStz204579	<entry id="mdep">
11536a3b10dbStz204579	    <internal token="text"/>
11546a3b10dbStz204579	    <external opt="optional" type="char *"/>
11556a3b10dbStz204579	    <comment>machine dependent argument</comment>
11566a3b10dbStz204579	</entry>
11576a3b10dbStz204579	<entry id="return">
11586a3b10dbStz204579	    <internal token="return"/>
11596a3b10dbStz204579	    <external opt="none"/>
11606a3b10dbStz204579	</entry>
11616a3b10dbStz204579    </event>
11626a3b10dbStz204579    <event id="AUE_uadmin_generic_fcn" type="generic" omit="always">
11636a3b10dbStz204579	<entry id="subject">
11646a3b10dbStz204579	    <internal token="subject"/>
11656a3b10dbStz204579	    <external opt="none"/>
11666a3b10dbStz204579	</entry>
11676a3b10dbStz204579	<entry id="fcn">
11686a3b10dbStz204579	    <internal token="text"/>
11696a3b10dbStz204579	    <external opt="required" type="msg uadmin_fcn"/>
11706a3b10dbStz204579	    <comment>next action</comment>
11716a3b10dbStz204579	</entry>
11726a3b10dbStz204579	<entry id="return">
11736a3b10dbStz204579	    <internal token="return"/>
11746a3b10dbStz204579	    <external opt="none"/>
11756a3b10dbStz204579	</entry>
11766a3b10dbStz204579    </event>
11776a3b10dbStz204579    <event id="AUE_uadmin_shutdown" instance_of="AUE_uadmin_generic"
11786a3b10dbStz204579        header="0" idNo="51" omit="JNI">
11796a3b10dbStz204579    	<title>uadmin shutdown</title>
11806a3b10dbStz204579	<program>/sbin/uadmin</program>
11816a3b10dbStz204579	<program>/usr/sbin/uadmin</program>
11826a3b10dbStz204579	<see>uadmin(1M)</see>
11836a3b10dbStz204579    </event>
11846a3b10dbStz204579    <event id="AUE_uadmin_reboot" instance_of="AUE_uadmin_generic"
11856a3b10dbStz204579        header="0" idNo="52" omit="JNI">
11866a3b10dbStz204579    	<title>uadmin reboot</title>
11876a3b10dbStz204579	<program>/sbin/uadmin</program>
11886a3b10dbStz204579	<program>/usr/sbin/uadmin</program>
11896a3b10dbStz204579	<see>uadmin(1M)</see>
11906a3b10dbStz204579    </event>
11916a3b10dbStz204579    <event id="AUE_uadmin_dump" instance_of="AUE_uadmin_generic"
11926a3b10dbStz204579        header="0" idNo="53" omit="JNI">
11936a3b10dbStz204579    	<title>uadmin dump</title>
11946a3b10dbStz204579	<program>/sbin/uadmin</program>
11956a3b10dbStz204579	<program>/usr/sbin/uadmin</program>
11966a3b10dbStz204579	<see>uadmin(1M)</see>
11976a3b10dbStz204579    </event>
11986a3b10dbStz204579    <event id="AUE_uadmin_freeze" instance_of="AUE_uadmin_generic"
11996a3b10dbStz204579        header="0" idNo="54" omit="JNI">
12006a3b10dbStz204579    	<title>uadmin freeze</title>
12016a3b10dbStz204579	<program>/sbin/uadmin</program>
12026a3b10dbStz204579	<program>/usr/sbin/uadmin</program>
12036a3b10dbStz204579	<see>uadmin(1M)</see>
12046a3b10dbStz204579    </event>
12056a3b10dbStz204579    <event id="AUE_uadmin_remount" header="0" idNo="55" omit="JNI">
12066a3b10dbStz204579    	<title>uadmin remount</title>
12076a3b10dbStz204579	<program>/sbin/uadmin</program>
12086a3b10dbStz204579	<program>/usr/sbin/uadmin</program>
12096a3b10dbStz204579	<see>uadmin(1M)</see>
12106a3b10dbStz204579	<entry id="subject">
12116a3b10dbStz204579	    <internal token="subject"/>
12126a3b10dbStz204579	    <external opt="none"/>
12136a3b10dbStz204579	</entry>
12146a3b10dbStz204579	<entry id="return">
12156a3b10dbStz204579	    <internal token="return"/>
12166a3b10dbStz204579	    <external opt="none"/>
12176a3b10dbStz204579	</entry>
12186a3b10dbStz204579    </event>
12196a3b10dbStz204579    <!-- uadmin ftrace and swapctl are not documented in uadmin(2) -->
12206a3b10dbStz204579    <event id="AUE_uadmin_ftrace" instance_of="AUE_uadmin_generic_fcn"
12216a3b10dbStz204579        header="0" idNo="56" omit="JNI">
12226a3b10dbStz204579    	<title>uadmin ftrace</title>
12236a3b10dbStz204579	<program>/sbin/uadmin</program>
12246a3b10dbStz204579	<program>/usr/sbin/uadmin</program>
12256a3b10dbStz204579	<see>uadmin(1M)</see>
12266a3b10dbStz204579    </event>
12276a3b10dbStz204579    <event id="AUE_uadmin_swapctl" instance_of="AUE_uadmin_generic_fcn"
12286a3b10dbStz204579        header="0" idNo="57" omit="JNI">
12296a3b10dbStz204579    	<title>uadmin swapctl</title>
12306a3b10dbStz204579	<program>/sbin/uadmin</program>
12316a3b10dbStz204579	<program>/usr/sbin/uadmin</program>
12326a3b10dbStz204579	<see>uadmin(1M)</see>
12336a3b10dbStz204579    </event>
12346a3b10dbStz204579
1235da6c28aaSamw<!-- smbd service event; smbd session setup -->
1236da6c28aaSamw    <event id="AUE_smbd_session" header="0" idNo="58" omit="JNI">
1237da6c28aaSamw	<title>smbd</title>
1238da6c28aaSamw	<program>/usr/lib/smbsrv/smbd</program>
1239da6c28aaSamw	<entry id="subject">
1240da6c28aaSamw	    <internal token="subject"/>
1241da6c28aaSamw	    <external opt="none"/>
1242da6c28aaSamw	</entry>
1243da6c28aaSamw	<entry id="domain">
1244da6c28aaSamw	    <internal token="text"/>
1245da6c28aaSamw	    <external opt="required" type="char*"/>
1246da6c28aaSamw	<comment>domain</comment>
1247da6c28aaSamw	</entry>
1248da6c28aaSamw	<entry id="username">
1249da6c28aaSamw	    <internal token="text"/>
1250da6c28aaSamw	    <external opt="required" type="char*"/>
1251da6c28aaSamw	<comment>username</comment>
1252da6c28aaSamw	</entry>
1253da6c28aaSamw	<entry id="sid">
1254da6c28aaSamw	    <internal token="text"/>
1255da6c28aaSamw	    <external opt="optional" type="char*"/>
1256da6c28aaSamw	<comment>sid</comment>
1257da6c28aaSamw	</entry>
1258da6c28aaSamw	<entry id="return">
1259da6c28aaSamw	    <internal token="return"/>
1260da6c28aaSamw	    <external opt="none"/>
1261da6c28aaSamw	</entry>
1262da6c28aaSamw    </event>
1263da6c28aaSamw
1264da6c28aaSamw<!-- smbd service event; smbd session logoff -->
1265da6c28aaSamw    <event id="AUE_smbd_logoff" header="0" idNo="59" omit="JNI">
1266da6c28aaSamw	<title>smbd</title>
1267da6c28aaSamw	<program>/usr/lib/smbsrv/smbd</program>
1268da6c28aaSamw	<entry id="subject">
1269da6c28aaSamw	    <internal token="subject"/>
1270da6c28aaSamw	    <external opt="none"/>
1271da6c28aaSamw	</entry>
1272da6c28aaSamw	<entry id="domain">
1273da6c28aaSamw	    <internal token="text"/>
1274da6c28aaSamw	    <external opt="required" type="char*"/>
1275da6c28aaSamw	<comment>domain</comment>
1276da6c28aaSamw	</entry>
1277da6c28aaSamw	<entry id="username">
1278da6c28aaSamw	    <internal token="text"/>
1279da6c28aaSamw	    <external opt="required" type="char*"/>
1280da6c28aaSamw	<comment>username</comment>
1281da6c28aaSamw	</entry>
1282da6c28aaSamw	<entry id="return">
1283da6c28aaSamw	    <internal token="return"/>
1284da6c28aaSamw	    <external opt="none"/>
1285da6c28aaSamw	</entry>
1286da6c28aaSamw    </event>
1287da6c28aaSamw
1288911106dfSjm199354<!-- vscan service event; infected file detected -->
1289273264cdSdm120769    <event id="AUE_vscan_quarantine" header="0" idNo="60" omit="JNI">
1290911106dfSjm199354    	<title>VSCAN: quarantine infected file</title>
1291911106dfSjm199354	<program>/usr/lib/vscan/vscand</program>
1292911106dfSjm199354	<see>vscand(1M), ICAP RFC 3507 (Extensions)</see>
1293911106dfSjm199354	<entry id="subject">
1294911106dfSjm199354	    <internal token="subject"/>
1295911106dfSjm199354	    <external opt="none"/>
1296911106dfSjm199354	</entry>
1297911106dfSjm199354	<entry id="file">
1298911106dfSjm199354	    <internal token="path"/>
1299911106dfSjm199354	    <external opt="required" type="char*"/>
1300911106dfSjm199354	    <comment>infected file</comment>
1301911106dfSjm199354	</entry>
1302911106dfSjm199354	<entry id="violations,nviolations">
1303911106dfSjm199354	    <internal token="text"/>
1304911106dfSjm199354	    <external opt="optional" type="char**,int"/>
1305911106dfSjm199354	    <comment>ID - threat description</comment>
1306911106dfSjm199354	</entry>
1307911106dfSjm199354	<entry id="return">
1308911106dfSjm199354	    <internal token="return"/>
1309911106dfSjm199354	    <external opt="none"/>
1310911106dfSjm199354	</entry>
1311911106dfSjm199354    </event>
1312911106dfSjm199354
131369987563Ssabdar<!-- ndmp service event; ndmp client connect -->
131469987563Ssabdar    <event id="AUE_ndmp_connect" instance_of="AUE_generic_basic" header="0"
131569987563Ssabdar	idNo="61" omit="JNI">
131669987563Ssabdar	<title>NDMP Connect</title>
131769987563Ssabdar	<program>/usr/lib/ndmp/ndmpd</program>
131869987563Ssabdar	<see>ndmpd(1M)</see>
131969987563Ssabdar    </event>
132069987563Ssabdar
132169987563Ssabdar<!-- ndmp service event; ndmp client disconnect -->
132269987563Ssabdar    <event id="AUE_ndmp_disconnect" instance_of="AUE_generic_basic" header="0"
132369987563Ssabdar	idNo="62" omit="JNI">
132469987563Ssabdar	<title>NDMP Disconnect</title>
132569987563Ssabdar	<program>/usr/lib/ndmp/ndmpd</program>
132669987563Ssabdar	<see>ndmpd(1M)</see>
132769987563Ssabdar    </event>
132869987563Ssabdar
132969987563Ssabdar<!-- ndmp service event; ndmp backup -->
133069987563Ssabdar    <event id="AUE_ndmp_backup" header="0" idNo="63" omit="JNI">
133169987563Ssabdar	<title>NDMP Backup</title>
133269987563Ssabdar	<program>/usr/lib/ndmp/ndmpd</program>
133369987563Ssabdar	<see>ndmpd(1M)</see>
133469987563Ssabdar	<entry id="subject">
133569987563Ssabdar	    <internal token="subject"/>
133669987563Ssabdar	    <external opt="none"/>
133769987563Ssabdar	</entry>
133869987563Ssabdar	<entry id="source">
133969987563Ssabdar	    <internal token="path"/>
134069987563Ssabdar	    <external opt="required" type="char *"/>
134169987563Ssabdar	    <comment>path to be backed up</comment>
134269987563Ssabdar	</entry>
134369987563Ssabdar	<entry id="local_dest">
134469987563Ssabdar	    <internal token="path"/>
134569987563Ssabdar	    <external opt="optional" type="char *"/>
134669987563Ssabdar	    <comment>local path of backup destination</comment>
134769987563Ssabdar	</entry>
134869987563Ssabdar	<entry id="remote_dest">
134969987563Ssabdar	    <internal token="in_peer"/>
135069987563Ssabdar	    <external opt="optional" type="fd_t"/>
135169987563Ssabdar	    <comment>remote ip address and port of backup destination</comment>
135269987563Ssabdar	</entry>
135369987563Ssabdar	<entry id="return">
135469987563Ssabdar	    <internal token="return"/>
135569987563Ssabdar	    <external opt="none"/>
135669987563Ssabdar	</entry>
135769987563Ssabdar    </event>
135869987563Ssabdar
135969987563Ssabdar<!-- ndmp service event; ndmp restore -->
136069987563Ssabdar    <event id="AUE_ndmp_restore" header="0" idNo="64" omit="JNI">
136169987563Ssabdar	<title>NDMP Restore</title>
136269987563Ssabdar	<program>/usr/lib/ndmp/ndmpd</program>
136369987563Ssabdar	<see>ndmpd(1M)</see>
136469987563Ssabdar	<entry id="subject">
136569987563Ssabdar	    <internal token="subject"/>
136669987563Ssabdar	    <external opt="none"/>
136769987563Ssabdar	</entry>
136869987563Ssabdar	<entry id="destination">
136969987563Ssabdar	    <internal token="path"/>
137069987563Ssabdar	    <external opt="required" type="char *"/>
137169987563Ssabdar	    <comment>path to restore to</comment>
137269987563Ssabdar	</entry>
137369987563Ssabdar	<entry id="local_source">
137469987563Ssabdar	    <internal token="path"/>
137569987563Ssabdar	    <external opt="optional" type="char *"/>
137669987563Ssabdar	    <comment>local path to restore from</comment>
137769987563Ssabdar	</entry>
137869987563Ssabdar	<entry id="remote_source">
137969987563Ssabdar	    <internal token="in_peer"/>
138069987563Ssabdar	    <external opt="optional" type="fd_t"/>
138169987563Ssabdar	    <comment>remote ip address and port to restore from</comment>
138269987563Ssabdar	</entry>
138369987563Ssabdar	<entry id="return">
138469987563Ssabdar	    <internal token="return"/>
138569987563Ssabdar	    <external opt="none"/>
138669987563Ssabdar	</entry>
138769987563Ssabdar    </event>
1388911106dfSjm199354
13895b7f77adStw21770<!-- SMF related events -->
13905b7f77adStw21770    <event id="AUE_smf_generic" type="generic" omit="always">
13915b7f77adStw21770	<!--
13925b7f77adStw21770	This is a template for the event types that have no tokens
13935b7f77adStw21770	other than the header and return. There is no allowed_type
13945b7f77adStw21770	list because the template is not externally visible due to the
13955b7f77adStw21770	omit="always".
13965b7f77adStw21770	-->
13975b7f77adStw21770	<entry id="subject">
13985b7f77adStw21770	    <internal token="subject"/>
13995b7f77adStw21770	    <external opt="none"/>
14005b7f77adStw21770	</entry>
14015b7f77adStw21770	<entry id="auth_used">
14025b7f77adStw21770	    <internal token="uauth"/>
14035b7f77adStw21770	    <external opt="required" type="char *"/>
14045b7f77adStw21770	    <comment>authorization used</comment>
14055b7f77adStw21770	</entry>
14065b7f77adStw21770	<entry id="fmri">
14075b7f77adStw21770	    <internal token="fmri"/>
14085b7f77adStw21770	    <external opt="required" type="char *"/>
14095b7f77adStw21770	    <comment>name</comment>
14105b7f77adStw21770	</entry>
14115b7f77adStw21770	<entry id="return">
14125b7f77adStw21770	    <internal token="return"/>
14135b7f77adStw21770	    <external opt="none"/>
14145b7f77adStw21770	</entry>
14155b7f77adStw21770    </event>
14165b7f77adStw21770
14175b7f77adStw21770    <event id="AUE_smf_generic_pg" type="generic" omit="always">
14185b7f77adStw21770	<!--
14195b7f77adStw21770	This is a template for the event types related to property groups.
14205b7f77adStw21770	There is no allowed_type list because the template is not externally
14215b7f77adStw21770	visible due to the omit="always".
14225b7f77adStw21770	-->
14235b7f77adStw21770	<entry id="subject">
14245b7f77adStw21770	    <internal token="subject"/>
14255b7f77adStw21770	    <external opt="none"/>
14265b7f77adStw21770	</entry>
14275b7f77adStw21770	<entry id="auth_used">
14285b7f77adStw21770	    <internal token="uauth"/>
14295b7f77adStw21770	    <external opt="required" type="char *"/>
14305b7f77adStw21770	    <comment>authorization used</comment>
14315b7f77adStw21770	</entry>
14325b7f77adStw21770	<entry id="fmri">
14335b7f77adStw21770	    <internal token="fmri"/>
14345b7f77adStw21770	    <external opt="required" type="char *"/>
14355b7f77adStw21770	</entry>
14365b7f77adStw21770	<entry id="type">
14375b7f77adStw21770	    <internal token="text"/>
14385b7f77adStw21770	    <external opt="required" type="char *"/>
14395b7f77adStw21770	    <comment>property group type</comment>
14405b7f77adStw21770	</entry>
14415b7f77adStw21770	<entry id="return">
14425b7f77adStw21770	    <internal token="return"/>
14435b7f77adStw21770	    <external opt="none"/>
14445b7f77adStw21770	</entry>
14455b7f77adStw21770    </event>
14465b7f77adStw21770
14475b7f77adStw21770    <event id="AUE_smf_enable" instance_of="AUE_smf_generic" header="0"
14485b7f77adStw21770	idNo="65" omit="JNI">
14495b7f77adStw21770	<program>svc.configd(1M)</program>
14505b7f77adStw21770	<see>svcadm(1M)</see>
14515b7f77adStw21770    </event>
14525b7f77adStw21770    <event id="AUE_smf_tmp_enable" instance_of="AUE_smf_generic" header="0"
14535b7f77adStw21770	idNo="66" omit="JNI">
14545b7f77adStw21770	<program>svc.configd(1M)</program>
14555b7f77adStw21770	<see>svcadm(1M)</see>
14565b7f77adStw21770    </event>
14575b7f77adStw21770    <event id="AUE_smf_disable" instance_of="AUE_smf_generic" header="0"
14585b7f77adStw21770	idNo="67" omit="JNI">
14595b7f77adStw21770	<program>svc.configd(1M)</program>
14605b7f77adStw21770	<see>svcadm(1M)</see>
14615b7f77adStw21770    </event>
14625b7f77adStw21770    <event id="AUE_smf_tmp_disable" instance_of="AUE_smf_generic" header="0"
14635b7f77adStw21770	idNo="68" omit="JNI">
14645b7f77adStw21770	<program>svc.configd(1M)</program>
14655b7f77adStw21770	<see>svcadm(1M)</see>
14665b7f77adStw21770    </event>
14675b7f77adStw21770    <event id="AUE_smf_restart" instance_of="AUE_smf_generic" header="0"
14685b7f77adStw21770	idNo="69" omit="JNI">
14695b7f77adStw21770	<program>svc.configd(1M)</program>
14705b7f77adStw21770	<see>svcadm(1M)</see>
14715b7f77adStw21770    </event>
14725b7f77adStw21770    <event id="AUE_smf_refresh" instance_of="AUE_smf_generic" header="0"
14735b7f77adStw21770	idNo="70" omit="JNI">
14745b7f77adStw21770	<program>svc.configd(1M)</program>
14755b7f77adStw21770	<see>svcadm(1M)</see>
14765b7f77adStw21770    </event>
14775b7f77adStw21770    <event id="AUE_smf_clear" instance_of="AUE_smf_generic" header="0"
14785b7f77adStw21770	idNo="71" omit="JNI">
14795b7f77adStw21770	<program>svc.configd(1M)</program>
14805b7f77adStw21770	<see>svcadm(1M)</see>
14815b7f77adStw21770    </event>
14825b7f77adStw21770    <event id="AUE_smf_degrade" instance_of="AUE_smf_generic" header="0"
14835b7f77adStw21770	idNo="72" omit="JNI">
14845b7f77adStw21770	<program>svc.configd(1M)</program>
14855b7f77adStw21770	<see>svcadm(1M)</see>
14865b7f77adStw21770    </event>
14875b7f77adStw21770    <event id="AUE_smf_immediate_degrade" instance_of="AUE_smf_generic"
14885b7f77adStw21770	header="0" idNo="73" omit="JNI">
14895b7f77adStw21770	<program>svc.configd(1M)</program>
14905b7f77adStw21770	<see>svcadm(1M)</see>
14915b7f77adStw21770    </event>
14925b7f77adStw21770    <event id="AUE_smf_maintenance" instance_of="AUE_smf_generic" header="0"
14935b7f77adStw21770	idNo="74" omit="JNI">
14945b7f77adStw21770	<program>svc.configd(1M)</program>
14955b7f77adStw21770	<see>svcadm(1M)</see>
14965b7f77adStw21770    </event>
14975b7f77adStw21770    <event id="AUE_smf_immediate_maintenance" instance_of="AUE_smf_generic"
14985b7f77adStw21770	header="0" idNo="75" omit="JNI">
14995b7f77adStw21770	<program>svc.configd(1M)</program>
15005b7f77adStw21770	<see>svcadm(1M)</see>
15015b7f77adStw21770    </event>
15025b7f77adStw21770    <event id="AUE_smf_immtmp_maintenance" instance_of="AUE_smf_generic"
15035b7f77adStw21770	header="0" idNo="76" omit="JNI">
15045b7f77adStw21770	<program>svc.configd(1M)</program>
15055b7f77adStw21770	<see>svcadm(1M)</see>
15065b7f77adStw21770    </event>
15075b7f77adStw21770    <event id="AUE_smf_tmp_maintenance" instance_of="AUE_smf_generic" header="0"
15085b7f77adStw21770	idNo="77" omit="JNI">
15095b7f77adStw21770	<program>svc.configd(1M)</program>
15105b7f77adStw21770	<see>svcadm(1M)</see>
15115b7f77adStw21770    </event>
15125b7f77adStw21770    <event id="AUE_smf_milestone" instance_of="AUE_smf_generic" header="0"
15135b7f77adStw21770	idNo="78" omit="JNI">
15145b7f77adStw21770	<program>svc.configd(1M)</program>
15155b7f77adStw21770	<see>svcadm(1M)</see>
15165b7f77adStw21770    </event>
15175b7f77adStw21770
15185b7f77adStw21770    <event id="AUE_smf_create" instance_of="AUE_smf_generic" header="0"
15195b7f77adStw21770	idNo="79" omit="JNI">
15205b7f77adStw21770	<program>svc.configd(1M)</program>
15215b7f77adStw21770	<see>svccfg(1M)</see>
15225b7f77adStw21770    </event>
15235b7f77adStw21770    <event id="AUE_smf_delete" instance_of="AUE_smf_generic" header="0"
15245b7f77adStw21770	idNo="80" omit="JNI">
15255b7f77adStw21770	<program>svc.configd(1M)</program>
15265b7f77adStw21770	<see>svccfg(1M)</see>
15275b7f77adStw21770    </event>
15285b7f77adStw21770
15295b7f77adStw21770    <event id="AUE_smf_create_pg" instance_of="AUE_smf_generic_pg" header="0"
15305b7f77adStw21770	idNo="81" omit="JNI">
15315b7f77adStw21770	<program>svc.configd(1M)</program>
15325b7f77adStw21770	<see>svccfg(1M)</see>
15335b7f77adStw21770    </event>
15345b7f77adStw21770    <event id="AUE_smf_create_npg" instance_of="AUE_smf_generic_pg" header="0"
15355b7f77adStw21770	idNo="82" omit="JNI">
15365b7f77adStw21770	<program>svc.configd(1M)</program>
15375b7f77adStw21770	<see>svccfg(1M)</see>
15385b7f77adStw21770    </event>
15395b7f77adStw21770    <event id="AUE_smf_delete_pg" instance_of="AUE_smf_generic_pg" header="0"
15405b7f77adStw21770	idNo="83" omit="JNI">
15415b7f77adStw21770	<program>svc.configd(1M)</program>
15425b7f77adStw21770	<see>svccfg(1M)</see>
15435b7f77adStw21770    </event>
15445b7f77adStw21770    <event id="AUE_smf_delete_npg" instance_of="AUE_smf_generic_pg" header="0"
15455b7f77adStw21770	idNo="84" omit="JNI">
15465b7f77adStw21770	<program>svc.configd(1M)</program>
15475b7f77adStw21770	<see>svccfg(1M)</see>
15485b7f77adStw21770    </event>
15495b7f77adStw21770
15505b7f77adStw21770    <event id="AUE_smf_create_snap" header="0" idNo="85" omit="JNI">
15515b7f77adStw21770	<program>svc.configd(1M)</program>
15525b7f77adStw21770	<see>svccfg(1M)</see>
15535b7f77adStw21770	<entry id="subject">
15545b7f77adStw21770	    <internal token="subject"/>
15555b7f77adStw21770	    <external opt="none"/>
15565b7f77adStw21770	</entry>
15575b7f77adStw21770	<entry id="auth_used">
15585b7f77adStw21770	    <internal token="uauth"/>
15595b7f77adStw21770	    <external opt="required" type="char *"/>
15605b7f77adStw21770	    <comment>authorization used</comment>
15615b7f77adStw21770	</entry>
15625b7f77adStw21770	<entry id="fmri">
15635b7f77adStw21770	    <internal token="fmri"/>
15645b7f77adStw21770	    <external opt="required" type="char *"/>
15655b7f77adStw21770	    <comment>name</comment>
15665b7f77adStw21770	</entry>
15675b7f77adStw21770	<entry id="name">
15685b7f77adStw21770	    <internal token="text"/>
15695b7f77adStw21770	    <external opt="required" type="char *"/>
15705b7f77adStw21770	    <comment>snapshot name</comment>
15715b7f77adStw21770	</entry>
15725b7f77adStw21770	<entry id="return">
15735b7f77adStw21770	    <internal token="return"/>
15745b7f77adStw21770	    <external opt="none"/>
15755b7f77adStw21770	</entry>
15765b7f77adStw21770    </event>
15775b7f77adStw21770    <event id="AUE_smf_delete_snap" header="0" idNo="86" omit="JNI">
15785b7f77adStw21770	<program>svc.configd(1M)</program>
15795b7f77adStw21770	<see>svccfg(1M)</see>
15805b7f77adStw21770	<entry id="subject">
15815b7f77adStw21770	    <internal token="subject"/>
15825b7f77adStw21770	    <external opt="none"/>
15835b7f77adStw21770	</entry>
15845b7f77adStw21770	<entry id="auth_used">
15855b7f77adStw21770	    <internal token="uauth"/>
15865b7f77adStw21770	    <external opt="required" type="char *"/>
15875b7f77adStw21770	    <comment>authorization used</comment>
15885b7f77adStw21770	</entry>
15895b7f77adStw21770	<entry id="fmri">
15905b7f77adStw21770	    <internal token="fmri"/>
15915b7f77adStw21770	    <external opt="required" type="char *"/>
15925b7f77adStw21770	    <comment>name</comment>
15935b7f77adStw21770	</entry>
15945b7f77adStw21770	<entry id="name">
15955b7f77adStw21770	    <internal token="text"/>
15965b7f77adStw21770	    <external opt="required" type="char *"/>
15975b7f77adStw21770	    <comment>snapshot name</comment>
15985b7f77adStw21770	</entry>
15995b7f77adStw21770	<entry id="return">
16005b7f77adStw21770	    <internal token="return"/>
16015b7f77adStw21770	    <external opt="none"/>
16025b7f77adStw21770	</entry>
16035b7f77adStw21770    </event>
16045b7f77adStw21770    <event id="AUE_smf_attach_snap" header="0" idNo="87" omit="JNI">
16055b7f77adStw21770	<program>svc.configd(1M)</program>
16065b7f77adStw21770	<see>svccfg(1M)</see>
16075b7f77adStw21770	<entry id="subject">
16085b7f77adStw21770	    <internal token="subject"/>
16095b7f77adStw21770	    <external opt="none"/>
16105b7f77adStw21770	</entry>
16115b7f77adStw21770	<entry id="auth_used">
16125b7f77adStw21770	    <internal token="uauth"/>
16135b7f77adStw21770	    <external opt="required" type="char *"/>
16145b7f77adStw21770	    <comment>authorization used</comment>
16155b7f77adStw21770	</entry>
16165b7f77adStw21770	<entry id="old_fmri">
16175b7f77adStw21770	    <internal token="fmri"/>
16185b7f77adStw21770	    <external opt="required" type="char *"/>
16195b7f77adStw21770	    <comment>old name</comment>
16205b7f77adStw21770	</entry>
16215b7f77adStw21770	<entry id="old_name">
16225b7f77adStw21770	    <internal token="text"/>
16235b7f77adStw21770	    <external opt="required" type="char *"/>
16245b7f77adStw21770	    <comment>old snapshot</comment>
16255b7f77adStw21770	</entry>
16265b7f77adStw21770	<entry id="new_fmri">
16275b7f77adStw21770	    <internal token="fmri"/>
16285b7f77adStw21770	    <external opt="required" type="char *"/>
16295b7f77adStw21770	    <comment>new name</comment>
16305b7f77adStw21770	</entry>
16315b7f77adStw21770	<entry id="new_name">
16325b7f77adStw21770	    <internal token="text"/>
16335b7f77adStw21770	    <external opt="required" type="char *"/>
16345b7f77adStw21770	    <comment>new snapshot</comment>
16355b7f77adStw21770	</entry>
16365b7f77adStw21770	<entry id="return">
16375b7f77adStw21770	    <internal token="return"/>
16385b7f77adStw21770	    <external opt="none"/>
16395b7f77adStw21770	</entry>
16405b7f77adStw21770    </event>
16415b7f77adStw21770
16425b7f77adStw21770    <event id="AUE_smf_annotation" header="0" idNo="88" omit="JNI">
16435b7f77adStw21770	<program>svc.configd(1M)</program>
16445b7f77adStw21770	<see>svccfg(1M)</see>
16455b7f77adStw21770	<entry id="subject">
16465b7f77adStw21770	    <internal token="subject"/>
16475b7f77adStw21770	    <external opt="none"/>
16485b7f77adStw21770	</entry>
16495b7f77adStw21770	<entry id="operation">
16505b7f77adStw21770	    <internal token="text"/>
16515b7f77adStw21770	    <external opt="required" type="char *"/>
16525b7f77adStw21770	    <comment>operation</comment>
16535b7f77adStw21770	</entry>
16545b7f77adStw21770	<entry id="file">
16555b7f77adStw21770	    <internal token="path"/>
16565b7f77adStw21770	    <external opt="required" type="char *"/>
16575b7f77adStw21770	    <comment>imported file</comment>
16585b7f77adStw21770	</entry>
16595b7f77adStw21770	<entry id="return">
16605b7f77adStw21770	    <internal token="return"/>
16615b7f77adStw21770	    <external opt="none"/>
16625b7f77adStw21770	</entry>
16635b7f77adStw21770    </event>
16645b7f77adStw21770
16655b7f77adStw21770    <event id="AUE_smf_create_prop" header="0" idNo="89" omit="JNI">
16665b7f77adStw21770	<program>svc.configd(1M)</program>
16675b7f77adStw21770	<see>svccfg(1M)</see>
16685b7f77adStw21770	<entry id="subject">
16695b7f77adStw21770	    <internal token="subject"/>
16705b7f77adStw21770	    <external opt="none"/>
16715b7f77adStw21770	</entry>
16725b7f77adStw21770	<entry id="auth_used">
16735b7f77adStw21770	    <internal token="uauth"/>
16745b7f77adStw21770	    <external opt="required" type="char *"/>
16755b7f77adStw21770	    <comment>authorization used</comment>
16765b7f77adStw21770	</entry>
16775b7f77adStw21770	<entry id="fmri">
16785b7f77adStw21770	    <internal token="fmri"/>
16795b7f77adStw21770	    <external opt="required" type="char *"/>
16805b7f77adStw21770	    <comment>name</comment>
16815b7f77adStw21770	</entry>
16825b7f77adStw21770	<entry id="type">
16835b7f77adStw21770	    <internal token="text"/>
16845b7f77adStw21770	    <external opt="required" type="char *"/>
16855b7f77adStw21770	    <comment>type</comment>
16865b7f77adStw21770	</entry>
16875b7f77adStw21770	<entry id="value">
16885b7f77adStw21770	    <internal token="text"/>
16895b7f77adStw21770	    <external opt="optional" type="char *"/>
16905b7f77adStw21770	    <comment>value</comment>
16915b7f77adStw21770	</entry>
16925b7f77adStw21770	<entry id="return">
16935b7f77adStw21770	    <internal token="return"/>
16945b7f77adStw21770	    <external opt="none"/>
16955b7f77adStw21770	</entry>
16965b7f77adStw21770    </event>
16975b7f77adStw21770
16985b7f77adStw21770    <event id="AUE_smf_change_prop" header="0" idNo="90" omit="JNI">
16995b7f77adStw21770	<program>svc.configd(1M)</program>
17005b7f77adStw21770	<see>svccfg(1M)</see>
17015b7f77adStw21770	<entry id="subject">
17025b7f77adStw21770	    <internal token="subject"/>
17035b7f77adStw21770	    <external opt="none"/>
17045b7f77adStw21770	</entry>
17055b7f77adStw21770	<entry id="auth_used">
17065b7f77adStw21770	    <internal token="uauth"/>
17075b7f77adStw21770	    <external opt="required" type="char *"/>
17085b7f77adStw21770	    <comment>authorization used</comment>
17095b7f77adStw21770	</entry>
17105b7f77adStw21770	<entry id="fmri">
17115b7f77adStw21770	    <internal token="fmri"/>
17125b7f77adStw21770	    <external opt="required" type="char *"/>
17135b7f77adStw21770	    <comment>name</comment>
17145b7f77adStw21770	</entry>
17155b7f77adStw21770	<entry id="type">
17165b7f77adStw21770	    <internal token="text"/>
17175b7f77adStw21770	    <external opt="required" type="char *"/>
17185b7f77adStw21770	    <comment>type</comment>
17195b7f77adStw21770	</entry>
17205b7f77adStw21770	<entry id="value">
17215b7f77adStw21770	    <internal token="text"/>
17225b7f77adStw21770	    <external opt="optional" type="char *"/>
17235b7f77adStw21770	    <comment>value</comment>
17245b7f77adStw21770	</entry>
17255b7f77adStw21770	<entry id="return">
17265b7f77adStw21770	    <internal token="return"/>
17275b7f77adStw21770	    <external opt="none"/>
17285b7f77adStw21770	</entry>
17295b7f77adStw21770    </event>
17305b7f77adStw21770    <event id="AUE_smf_delete_prop" header="0" idNo="91" omit="JNI">
17315b7f77adStw21770	<program>svc.configd(1M)</program>
17325b7f77adStw21770	<see>svccfg(1M)</see>
17335b7f77adStw21770	<entry id="subject">
17345b7f77adStw21770	    <internal token="subject"/>
17355b7f77adStw21770	    <external opt="none"/>
17365b7f77adStw21770	</entry>
17375b7f77adStw21770	<entry id="auth_used">
17385b7f77adStw21770	    <internal token="uauth"/>
17395b7f77adStw21770	    <external opt="required" type="char *"/>
17405b7f77adStw21770	    <comment>authorization used</comment>
17415b7f77adStw21770	</entry>
17425b7f77adStw21770	<entry id="fmri">
17435b7f77adStw21770	    <internal token="fmri"/>
17445b7f77adStw21770	    <external opt="required" type="char *"/>
17455b7f77adStw21770	    <comment>name</comment>
17465b7f77adStw21770	</entry>
17475b7f77adStw21770	<entry id="return">
17485b7f77adStw21770	    <internal token="return"/>
17495b7f77adStw21770	    <external opt="none"/>
17505b7f77adStw21770	</entry>
17515b7f77adStw21770    </event>
17525b7f77adStw21770
17535b7f77adStw21770    <event id="AUE_smf_read_prop" instance_of="AUE_smf_generic" header="0"
17545b7f77adStw21770	idNo="92" omit="JNI">
17555b7f77adStw21770	<program>svc.configd(1M)</program>
17565b7f77adStw21770	<see>svccfg(1M)</see>
17575b7f77adStw21770    </event>
17585b7f77adStw21770
1759*a9da3307Snp146283<!-- CPUFreq related events -->
1760*a9da3307Snp146283
1761*a9da3307Snp146283    <event id="AUE_cpu_ondemand" header="0" idNo="93" omit="JNI">
1762*a9da3307Snp146283	<title>set CPU freq to minimal unless load increases</title>
1763*a9da3307Snp146283	<program>/usr/lib/hal/hald-addon-cpufreq</program>
1764*a9da3307Snp146283	<see>hald(1M)</see>
1765*a9da3307Snp146283	<entry id="subject">
1766*a9da3307Snp146283	    <internal token="subject"/>
1767*a9da3307Snp146283	    <external opt="none"/>
1768*a9da3307Snp146283	</entry>
1769*a9da3307Snp146283	<entry id="auth_used">
1770*a9da3307Snp146283	    <internal token="uauth"/>
1771*a9da3307Snp146283	    <external opt="required" type="char *"/>
1772*a9da3307Snp146283	    <comment>authorization used</comment>
1773*a9da3307Snp146283	</entry>
1774*a9da3307Snp146283	<entry id="return">
1775*a9da3307Snp146283	    <internal token="return"/>
1776*a9da3307Snp146283	    <external opt="none"/>
1777*a9da3307Snp146283	</entry>
1778*a9da3307Snp146283    </event>
1779*a9da3307Snp146283    <event id="AUE_cpu_performance" header="0" idNo="94" omit="JNI">
1780*a9da3307Snp146283	<title>set CPU freq to Max</title>
1781*a9da3307Snp146283	<program>/usr/lib/hal/hald-addon-cpufreq</program>
1782*a9da3307Snp146283	<see>hald(1M)</see>
1783*a9da3307Snp146283	<entry id="subject">
1784*a9da3307Snp146283	    <internal token="subject"/>
1785*a9da3307Snp146283	    <external opt="none"/>
1786*a9da3307Snp146283	</entry>
1787*a9da3307Snp146283	<entry id="auth_used">
1788*a9da3307Snp146283	    <internal token="uauth"/>
1789*a9da3307Snp146283	    <external opt="required" type="char *"/>
1790*a9da3307Snp146283	    <comment>authorization used</comment>
1791*a9da3307Snp146283	</entry>
1792*a9da3307Snp146283	<entry id="return">
1793*a9da3307Snp146283	    <internal token="return"/>
1794*a9da3307Snp146283	    <external opt="none"/>
1795*a9da3307Snp146283	</entry>
1796*a9da3307Snp146283    </event>
1797*a9da3307Snp146283    <event id="AUE_cpu_threshold" header="0" idNo="95" omit="JNI">
1798*a9da3307Snp146283	<title>set CPU frequency threshold percentage</title>
1799*a9da3307Snp146283	<program>/usr/lib/hal/hald-addon-cpufreq</program>
1800*a9da3307Snp146283	<see>hald(1M)</see>
1801*a9da3307Snp146283	<entry id="subject">
1802*a9da3307Snp146283	    <internal token="subject"/>
1803*a9da3307Snp146283	    <external opt="none"/>
1804*a9da3307Snp146283	</entry>
1805*a9da3307Snp146283	<entry id="auth_used">
1806*a9da3307Snp146283	    <internal token="uauth"/>
1807*a9da3307Snp146283	    <external opt="required" type="char *"/>
1808*a9da3307Snp146283	    <comment>authorization used</comment>
1809*a9da3307Snp146283	</entry>
1810*a9da3307Snp146283	<entry id="threshold">
1811*a9da3307Snp146283	    <internal token="text"/>
1812*a9da3307Snp146283	    <external opt="required" type="int"/>
1813*a9da3307Snp146283	    <comment>threshold percent 1-100</comment>
1814*a9da3307Snp146283	</entry>
1815*a9da3307Snp146283	<entry id="return">
1816*a9da3307Snp146283	    <internal token="return"/>
1817*a9da3307Snp146283	    <external opt="none"/>
1818*a9da3307Snp146283	</entry>
1819*a9da3307Snp146283    </event>
1820*a9da3307Snp146283
1821c0c79a3fStz204579<!-- add new events here with the next higher idNo -->
1822*a9da3307Snp146283<!-- Highest idNo is 95, so next is 96, then fix this comment -->
1823c0c79a3fStz204579<!-- end of C Only events -->
1824c0c79a3fStz204579
1825c0c79a3fStz204579
1826c0c79a3fStz204579<!--
1827c0c79a3fStz204579     token definitions are partially implemented.  All they do for now
1828c0c79a3fStz204579     is create a list of defined token names.  In the future they may
1829c0c79a3fStz204579     become a way of describing token structure.
1830c0c79a3fStz204579-->
1831c0c79a3fStz204579
1832c0c79a3fStz204579    <token id="acl">
1833c0c79a3fStz204579    </token>
1834c0c79a3fStz204579    <token id="arbitrary">
1835c0c79a3fStz204579    </token>
1836c0c79a3fStz204579    <token id="arg">
1837c0c79a3fStz204579    </token>
1838c0c79a3fStz204579    <token id="attr">
1839c0c79a3fStz204579    </token>
1840c0c79a3fStz204579    <token id="command">
1841c0c79a3fStz204579    </token>
1842c0c79a3fStz204579    <token id="command_1">
1843c0c79a3fStz204579    </token>
1844c0c79a3fStz204579    <token id="date">
1845c0c79a3fStz204579    </token>
1846c0c79a3fStz204579    <token id="exec_args">
1847c0c79a3fStz204579    </token>
1848c0c79a3fStz204579    <token id="exec_env">
1849c0c79a3fStz204579    </token>
1850c0c79a3fStz204579    <token id="exit">
1851c0c79a3fStz204579    </token>
1852c0c79a3fStz204579    <token id="file">
1853c0c79a3fStz204579    </token>
1854c0c79a3fStz204579    <token id="fmri">
1855c0c79a3fStz204579    </token>
1856c0c79a3fStz204579    <token id="groups">
1857c0c79a3fStz204579    </token>
1858f72effdeSgww    <!-- pseudo token; in_addr and in_port of peer -->
1859f72effdeSgww    <token id="in_peer">
1860c0c79a3fStz204579    </token>
1861c0c79a3fStz204579    <token id="ipc">
1862c0c79a3fStz204579    </token>
1863c0c79a3fStz204579    <token id="ipc_perm">
1864c0c79a3fStz204579    </token>
1865c0c79a3fStz204579    <token id="label">
1866c0c79a3fStz204579    </token>
1867c0c79a3fStz204579    <token id="newgroups">
1868c0c79a3fStz204579    </token>
1869c0c79a3fStz204579    <token id="opaque">
1870c0c79a3fStz204579    </token>
1871c0c79a3fStz204579    <token id="path">
1872c0c79a3fStz204579    </token>
1873c0c79a3fStz204579    <!-- pseudo token; path list generates 0 or more path tokens -->
1874c0c79a3fStz204579    <token id="path_list">
1875c0c79a3fStz204579    </token>
1876c0c79a3fStz204579    <token id="tid">
1877c0c79a3fStz204579    </token>
1878c0c79a3fStz204579
1879c0c79a3fStz204579    <!--
1880c0c79a3fStz204579	privilege token is implemented as one of the pseudo tokens
1881c0c79a3fStz204579	priv_limit, priv_effective, or priv_inherit
1882c0c79a3fStz204579
1883c0c79a3fStz204579    <token id="privilege">
1884c0c79a3fStz204579    </token>
1885c0c79a3fStz204579    -->
1886c0c79a3fStz204579    <token id="priv_effective">
1887c0c79a3fStz204579    </token>
1888c0c79a3fStz204579    <token id="priv_inherit">
1889c0c79a3fStz204579    </token>
1890c0c79a3fStz204579    <token id="priv_limit">
1891c0c79a3fStz204579    </token>
1892c0c79a3fStz204579    <token id="process">
1893c0c79a3fStz204579    </token>
1894c0c79a3fStz204579    <token id="return">
1895c0c79a3fStz204579    </token>
1896c0c79a3fStz204579    <token id="seq">
1897c0c79a3fStz204579    </token>
1898c0c79a3fStz204579    <token id="socket">
1899c0c79a3fStz204579    </token>
1900c0c79a3fStz204579    <token id="socket-inet">
1901c0c79a3fStz204579    </token>
1902c0c79a3fStz204579    <token id="subject">
1903c0c79a3fStz204579    </token>
1904c0c79a3fStz204579    <token id="text">
1905c0c79a3fStz204579    </token>
1906c0c79a3fStz204579    <token id="uauth">
1907c0c79a3fStz204579    </token>
1908c0c79a3fStz204579    <token id="zonename">
1909c0c79a3fStz204579    </token>
1910c0c79a3fStz204579
1911c0c79a3fStz204579<!--
1912c0c79a3fStz204579    error value list for return values with success/fail code of fail.
1913c0c79a3fStz204579    These values start at 1000 so praudit can tell the difference
1914c0c79a3fStz204579    between the libbsm/common/audit_*.c broken error values and
1915c0c79a3fStz204579    the new adt_ error value list.  It is public so that praudit
1916c0c79a3fStz204579    can find it.
1917c0c79a3fStz204579
1918c0c79a3fStz204579    praudit outputs "failure" %s" for these strings, so there is
1919c0c79a3fStz204579    no need to use words such as "failed" in the message.
1920c0c79a3fStz204579
1921c0c79a3fStz204579    ** Add to the end only to maintain validity across versions of
1922c0c79a3fStz204579    the audit log. **
1923c0c79a3fStz204579-->
1924c0c79a3fStz204579
1925c0c79a3fStz204579    <msg_list id="fail_value" header="0" start="1000" public="true">
1926c0c79a3fStz204579	<msg id="PW_ATTR">Attribute update</msg>
1927c0c79a3fStz204579	<msg id="PW">Password update</msg>
1928c0c79a3fStz204579	<msg id="USERNAME">bad username</msg>
1929c0c79a3fStz204579	<msg id="AUTH">authorization failed</msg>
1930c0c79a3fStz204579	<msg id="UID">bad uid</msg>
1931c0c79a3fStz204579	<msg id="UNKNOWN">unknown failure</msg>
1932c0c79a3fStz204579	<msg id="EXPIRED">password expired</msg>
1933c0c79a3fStz204579	<msg id="ACCOUNT_LOCKED">Account is locked</msg>
1934c0c79a3fStz204579	<msg id="BAD_DIALUP">Bad dial up</msg>
1935c0c79a3fStz204579	<msg id="BAD_ID">Invalid ID</msg>
1936c0c79a3fStz204579	<msg id="BAD_PW">Invalid password</msg>
1937c0c79a3fStz204579	<msg id="CONSOLE">Not on console</msg>
1938c0c79a3fStz204579	<msg id="MAX_TRIES">Too many failed attempts</msg>
1939c0c79a3fStz204579	<msg id="PROTOCOL_FAILURE">Protocol failure</msg>
1940c0c79a3fStz204579	<msg id="EXCLUDED_USER">Excluded user</msg>
1941c0c79a3fStz204579	<msg id="ANON_USER">No anonymous</msg>
1942c0c79a3fStz204579	<msg id="BAD_CMD">Invalid command</msg>
1943c0c79a3fStz204579	<msg id="BAD_TTY">Standard input not a tty line</msg>
1944c0c79a3fStz204579	<msg id="PROGRAM">Program failure</msg>
1945c0c79a3fStz204579	<msg id="CHDIR_FAILED">chdir to home directory</msg>
1946c0c79a3fStz204579	<msg id="INPUT_OVERFLOW">Input line too long.</msg>
1947c0c79a3fStz204579	<msg id="DEVICE_PERM">login device override</msg>
1948c0c79a3fStz204579	<msg id="AUTH_BYPASS">authorization bypass</msg>
1949c0c79a3fStz204579	<msg id="LOGIN_DISABLED">login disabled</msg>
1950c0c79a3fStz204579    </msg_list>
1951c0c79a3fStz204579
1952c0c79a3fStz204579<!--
1953c0c79a3fStz204579	The following empty list is used for PAM errors; the "start"
1954c0c79a3fStz204579	value is used by praudit to know to use the PAM infrastructure
1955c0c79a3fStz204579	for generating error strings
1956c0c79a3fStz204579-->
1957c0c79a3fStz204579    <msg_list id="fail_pam" header="0" start="2000" public="true">
1958c0c79a3fStz204579    </msg_list>
1959c0c79a3fStz204579
1960c0c79a3fStz204579<!--
1961c0c79a3fStz204579     This is still in use by SMC.  See AUE_generic_login.  When
1962c0c79a3fStz204579     either SMC is fixed to stop using this, or SMC goes away.
1963c0c79a3fStz204579     REMOVE this stuff and the corresponding AUE_generic_login
1964c0c79a3fStz204579     message field.
1965c0c79a3fStz204579
1966c0c79a3fStz204579     Message list for the various authentication events, such
1967c0c79a3fStz204579     as AUE_login and AUE_admin_authenticate.  Add new entries
1968c0c79a3fStz204579     at the end.  The order of msg_list entries and the order
1969c0c79a3fStz204579     of msg entries both affect the names in adt.h and the value
1970c0c79a3fStz204579     of the associated enumerated types.
1971c0c79a3fStz204579
1972c0c79a3fStz204579     Each of these messages except NO_MSG is also in the failure_attribute
1973c0c79a3fStz204579     list; the difference is that the messages below use a text token
1974c0c79a3fStz204579     in the audit record, while the failure_attribute messages are
1975c0c79a3fStz204579     associated with the return value of the return token.
1976c0c79a3fStz204579
1977c0c79a3fStz204579     This list is deprecated; please don't use text tokens for error
1978c0c79a3fStz204579     messages.
1979c0c79a3fStz204579-->
1980c0c79a3fStz204579
1981c0c79a3fStz204579    <msg_list id="login_text" header="0" deprecated="true">
1982c0c79a3fStz204579	<msg id="NO_MSG"></msg>
1983c0c79a3fStz204579	<msg id="ACCOUNT_LOCKED">Account is locked</msg>
1984c0c79a3fStz204579	<msg id="BAD_DIALUP">Bad dial up</msg>
1985c0c79a3fStz204579	<msg id="BAD_ID">Invalid ID</msg>
1986c0c79a3fStz204579	<msg id="BAD_PW">Invalid password</msg>
1987c0c79a3fStz204579	<msg id="CONSOLE">Not on console</msg>
1988c0c79a3fStz204579	<msg id="MAX_TRIES">Too many failed attempts</msg>
1989c0c79a3fStz204579	<msg id="PROTOCOL_FAILURE">Protocol failure</msg>
1990c0c79a3fStz204579	<msg id="EXCLUDED_USER">Excluded user</msg>
1991c0c79a3fStz204579	<msg id="ANON_USER">No anonymous</msg>
1992c0c79a3fStz204579    </msg_list>
1993c0c79a3fStz204579
19946a3b10dbStz204579<!-- msg list for uadmin(1m) fcn argument (next action, see uadmin(2)) -->
19956a3b10dbStz204579    <msg_list id="uadmin_fcn" header="0" start="3000" public="true">
19966a3b10dbStz204579    	<msg id="AD_HALT">Halt the processor(s)</msg>
19976a3b10dbStz204579	<msg id="AD_POWEROFF">Halt the processor(s) and turn off the power</msg>
19986a3b10dbStz204579	<msg id="AD_BOOT">Reboot the system using the kernel file</msg>
19996a3b10dbStz204579	<msg id="AD_IBOOT">Interactive reboot</msg>
20006a3b10dbStz204579	<msg id="AD_SUSPEND_TO_DISK">Save the system state to the state file</msg>
20016a3b10dbStz204579	<msg id="AD_CHECK_SUSPEND_TO_DISK">Check if system supports suspend to disk</msg>
20026a3b10dbStz204579	<msg id="AD_FORCE">Force suspend to disk even when threads of user
20036a3b10dbStz204579	applications are not suspendable</msg>
20046a3b10dbStz204579	<msg id="AD_SUSPEND_TO_RAM">Save the system state to memory</msg>
20056a3b10dbStz204579	<msg id="AD_CHECK_SUSPEND_TO_RAM">Check if system supports suspend to memory</msg>
20066a3b10dbStz204579	<msg id="AD_SBOOT">Single-user reboot</msg>
20076a3b10dbStz204579	<msg id="AD_SIBOOT">Single-user interactive reboot</msg>
20086a3b10dbStz204579	<msg id="AD_NOSYNC">Do not sync filesystems on next A_DUMP</msg>
20096a3b10dbStz204579	<msg id="AD_REUSEINIT">Prepare for AD_REUSABLE</msg>
20106a3b10dbStz204579	<msg id="AD_REUSABLE">Create reusable statefile</msg>
20116a3b10dbStz204579	<msg id="AD_REUSEFINI">Revert to normal CPR mode (not reusable)</msg>
20126a3b10dbStz204579	<msg id="AD_FTRACE_START">ftrace start</msg>
20136a3b10dbStz204579	<msg id="AD_FTRACE_STOP">ftrace stop</msg>
20146a3b10dbStz204579    </msg_list>
2015c0c79a3fStz204579</specification>
2016