1 <?xml version="1.0" standalone="yes"?>
2 <!DOCTYPE specification SYSTEM "audit.dtd">
6 The contents of this file are subject to the terms of the
7 Common Development and Distribution License (the "License").
8 You may not use this file except in compliance with the License.
10 You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
11 or http://www.opensolaris.org/os/licensing.
12 See the License for the specific language governing permissions
13 and limitations under the License.
15 When distributing Covered Code, include this CDDL HEADER in each
16 file and include the License file at usr/src/OPENSOLARIS.LICENSE.
17 If applicable, add the following below this CDDL HEADER, with the
18 fields enclosed by brackets "[]" replaced with your own identifying
19 information: Portions Copyright [yyyy] [name of copyright owner]
23 Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
29 <!-- comments are displayed to stderr if debug is on -->
32 <!-- The order of events is arbitrary EXCEPT generic events must
33 precede their instances -->
34 <!-- The order of entries within an event determine the order
35 data is defined in the external API -->
36 <!-- The order of internal / external is arbitrary -->
40 The following top level tags are defined:
41 <event> <token> <msg_list> <debug>
43 event defines an audit record
44 - id is the record id from audit_uevents.h
45 - reorder="yes" or "no". (default is "no").
46 if "yes" then the order of the tokens to be
47 output does not match the order of the data
48 input. (see order attribute of <entry>)
49 - header defines the header file to contain the external
50 definitions for this event type. The header file
51 name is adt_event_N.h, where N is the value supplied
52 header="0" is for "stable" events, > 0 for new ones.
53 with this attribute. (header="1").
54 - idNo is the number associated with the external
55 name of this event. (For AUE_login, ADT_login is
56 the external name and idNo is the value for
58 - omit is by default 'no' (i.e., don't omit) and can be
59 'always' or 'JNI'. In the latter case, C interface
60 code is generated but neither Java nor JNI code is.
61 - included text is just a comment
62 Within an event block, the following tags are defined:
63 <entry>, <debug>, <altname>, <title>, <program>, <see>
65 altname defines the internal name of an audit record; if
66 omitted, the internal name is the same as the
69 title, these tags are used by auditrecord(1M) build to create
70 program, audit_record_attr database from adt events.
71 see Following example demonstrates their semantics:
75 program various See passwd(1)
77 event ID 6163 AUE_passwd
85 If the length of string in any of the given
86 elements is longer than defined, the string is
87 silently truncated to the defined length in the
88 auditrecord(1M) runtime:
90 element <= max (non-truncated) string length
97 entry defines the correspondence between the data
98 supplied by the caller and the token to be
100 - id is the data name that shows up in the structures
101 of adt_event.h If it is a comma separated list,
102 it is the list of names of data to be associated
103 with one output token. (See <external>, below)
104 Within an entry block, the following tags are defined:
105 <internal>, <external>, <debug>, <comment>
107 internal defines the token to be generated.
108 - token is a name that must also be defined with
109 a <token> tag elsewhere in this file. (order is
111 - order="some number" determines the order of the
112 tokens to be output, starting with 1. The subject
113 token is normally order="1". The use is to insure
114 that the order of fields listed in adt_event.h does
115 not change when we arbitrarily change the order of
116 tokens. If the <event reorder="yes"> is not set,
118 - format is a printf-like string that will be used
119 in to format the data supplied by the user.
121 external defines the data to be supplied for creating the
122 token defined via <internal>
123 - opt is one of four values: "required", "optional",
124 "obsolete", or "none". The first two values
125 indicate that this token's data must or may
126 be supplied by the user; the third value is
127 equivalent to "optional" but shows in the
128 comment that this field is no longer used;
129 the forth value indicates that this token
130 does not require any user-supplied data. If
131 data is required, then a token is always
132 output, while optional data is output only
134 - type describes the C data type to be associated
135 with the <entry id="dataName">. The following
136 data types are representative:
140 char * (blank is optional)
141 char ** (blank is optional)
142 fd_t (int, a file descriptor)
143 uint_t, int, int32_t, uid_t, gid_t
149 uint16_t, unit32_t, uint64_t
150 uint32_t *, uint32_t[], uint64_t *
151 msg (not a C type, see below)
153 Below is what Tony said. Above seems to be
156 char * (blank is optional)
157 char ** (blank is optional)
159 int *, uid_t *, gid_t *
160 msg (not a C type, see below)
164 The msg type refers to an enumerated type
165 that must be defined via a <msg> description
166 else where in this file. The syntax is
167 special. Example: <external opt="optional"
168 type="msg login_text"/> "login_text" is the
169 id of a <msg_list> descriptor given
170 elsewhere in this file.
172 If the <entry> id is a list, the type must also
173 be a comma-separated list, where the types are
174 in the same order as the id's.
175 If the type is an array, its length must be given
178 comment Used by auditrecord(1M) build to generate
179 audit_record_attr. Comment is explanation note
180 printed with token type. Colon (':') may not be
181 used in a comment. See example above for other
182 tags related to auditrecord(1M).
184 token Define allowed token names.
185 - id is the name of token; this name is used
187 - a token id name may not end in digits.
188 - usage is an optional value. At present, only
189 "TSOL" is defined; it means that this data is
190 to be used only in Trusted Solaris implementations.
191 See also example above for "token" tag relation to
192 the auditrecord(1M) output.
194 msg_list Define a set of text strings.
195 - id is the name to be used for this group of text
196 strings in adt_event.h
197 - header is as defined for <event>
198 - start is a number where produced enum type begins;
199 ensure msg lists do not overlap
200 Within a msg_list block, <msg> and <debug> are defined.
201 The order of <msg> tags in a msg_list is reflected
202 directly in adt_event.h. Also add ADT_LIST_<<id>> to
203 enum adt_msg_list in adt_xlate.h.
205 msg Define one string.
206 - id is the name to be used in the enum describing
207 this set of strings. Convention: use upper case.
208 The content (text between <msg> and </msg>) is the
209 actual string. Extra white space, including line
210 feeds, is ignored. If empty, no output token
211 is generated unless the <external> opt attribute is
212 set to "required", in which case a blank text token
214 Within a msg block, <debug> is defined, but has not been
215 tested and may have no effect.
217 debug This turns on/off debug messages during the processing
218 of the xml data. It affects the block within which it
220 - set may have one of two values: "on" or "off". If
221 set is omitted, the debug state for the current block
223 The use of the <debug> tag does not affect the output
224 of data to the various files created, but does generate
225 potentially large amounts of output to stderr.
228 <!-- template for an event record definition
230 <event id="" header="0" idNo="">
232 <internal token="subject"/>
233 <external opt="none"/>
237 <external opt="" type="" />
240 <internal token="return"/>
241 <external opt="none"/>
245 Generic events must precede Instance events; within each
246 group, please group the AUE_* by area and event idNo-s in order,
247 gaps in idNo-s are OK.
248 N.B. Renumbering idNo-s requires recompilation of consumers. See
249 the contracts for whom to notify if/when this happens.
252 <!-- generic events -->
255 'omit="always"' means that this record type is not reflected
256 in the generated header and table files.
259 <event id="AUE_generic_basic" type="generic" omit="always">
262 This is a template for the event types that have no tokens
263 other than the header and return. There is no allowed_type
264 list because the template is not externally visible due to the
269 <internal token="subject"/>
270 <external opt="none"/>
273 <internal token="return"/>
274 <external opt="none"/>
278 <event id="AUE_generic_login" type="generic" omit="always">
281 This is a template for the various login event types
282 AUE_login, AUE_ftp, etc which match this template. There is
283 no allowed_type list because the template is not externally
284 visible due to the omit="always".
288 <internal token="subject"/>
289 <external opt="none"/>
292 <!-- This field is still in use for SMC until it is cleaned up,
293 it must remain, see login_text msg list at the end of the
297 <internal token="text"/>
298 <external opt="optional" type="msg login_text"/>
299 <comment>error message</comment>
302 <internal token="return"/>
303 <external opt="none"/>
307 <!-- generic SMC events -->
309 <event id="AUE_generic_SMC_add" type="generic" omit="always">
311 <internal token="subject"/>
312 <external opt="none"/>
314 <entry id="object_name">
315 <internal token="text"/>
316 <external opt="required" type="char *"/>
317 <comment>object name</comment>
320 <internal token="text"/>
321 <external opt="optional" type="char *"/>
322 <comment>domain</comment>
324 <entry id="name_service">
325 <internal token="text"/>
326 <external opt="required" type="char *"/>
327 <comment>name_service</comment>
329 <entry id="auth_used">
330 <internal token="uauth"/>
331 <external opt="optional" type="char *"/>
332 <comment>authorization used</comment>
335 This should really be its own token type, not "text"
337 <entry id="initial_values">
338 <internal token="text"/>
339 <external opt="required" type="char *"/>
340 <comment>initial values</comment>
343 <internal token="return"/>
344 <external opt="none"/>
348 <event id="AUE_generic_SMC_delete" type="generic" omit="always">
350 <internal token="subject"/>
351 <external opt="none"/>
353 <entry id="object_name">
354 <internal token="text"/>
355 <external opt="required" type="char *"/>
356 <comment>object name</comment>
359 <internal token="text"/>
360 <external opt="optional" type="char *"/>
361 <comment>domain</comment>
363 <entry id="name_service">
364 <internal token="text"/>
365 <external opt="required" type="char *"/>
366 <comment>name_service</comment>
368 <entry id="auth_used">
369 <internal token="uauth"/>
370 <external opt="optional" type="char *"/>
371 <comment>authorization used</comment>
373 <entry id="delete_values">
374 <internal token="text"/>
375 <external opt="required" type="char *"/>
376 <comment>deleted values</comment>
379 <internal token="return"/>
380 <external opt="none"/>
384 <event id="AUE_generic_SMC_modify" type="generic" omit="always">
386 <internal token="subject"/>
387 <external opt="none"/>
389 <entry id="object_name">
390 <internal token="text"/>
391 <external opt="required" type="char *"/>
392 <comment>object name</comment>
395 <internal token="text"/>
396 <external opt="optional" type="char *"/>
397 <comment>domain</comment>
399 <entry id="name_service">
400 <internal token="text"/>
401 <external opt="required" type="char *"/>
402 <comment>name_service</comment>
404 <entry id="auth_used">
405 <internal token="uauth"/>
406 <external opt="optional" type="char *"/>
407 <comment>authorization used</comment>
409 <entry id="changed_values">
410 <internal token="text"/>
411 <external opt="required" type="char *"/>
412 <comment>changed values</comment>
415 <internal token="return"/>
416 <external opt="none"/>
423 Java needed for SMC events. Since the SMC events grow less
424 often than the C related events. They come first. It
425 would be nice to reorder the idNo-s, but that's an ABI
426 change and should rev libbsm version no. If reordered
427 start with 1 and eliminate the comment at the end about
430 <event id="AUE_admin_authenticate" instance_of="AUE_generic_login"
432 <title>Admin Server Authentication</title>
433 <program>admin (various)</program>
434 <see>SMC, WBEM, or AdminSuite</see>
437 <event id="AUE_filesystem_add" instance_of="AUE_generic_SMC_add"
439 <title>SMC: filesystem add</title>
440 <program>SMC server</program>
442 <event id="AUE_filesystem_delete" instance_of="AUE_generic_SMC_delete"
444 <title>SMC: filesystem delete</title>
445 <program>SMC server</program>
447 <event id="AUE_filesystem_modify" instance_of="AUE_generic_SMC_modify"
449 <title>SMC: filesystem modify</title>
450 <program>SMC server</program>
453 <event id="AUE_network_add" instance_of="AUE_generic_SMC_add"
455 <title>SMC: network add</title>
456 <program>SMC server</program>
458 <event id="AUE_network_delete" instance_of="AUE_generic_SMC_delete"
460 <title>SMC: network delete</title>
461 <program>SMC server</program>
463 <event id="AUE_network_modify" instance_of="AUE_generic_SMC_modify"
465 <title>SMC: network modify</title>
466 <program>SMC server</program>
469 <event id="AUE_printer_add" instance_of="AUE_generic_SMC_add"
470 header="0" idNo="10">
471 <title>SMC: printer add</title>
472 <program>SMC server</program>
474 <event id="AUE_printer_delete" instance_of="AUE_generic_SMC_delete"
475 header="0" idNo="11">
476 <title>SMC: printer delete</title>
477 <program>SMC server</program>
479 <event id="AUE_printer_modify" instance_of="AUE_generic_SMC_modify"
480 header="0" idNo="12">
481 <title>SMC: printer modify</title>
482 <program>SMC server</program>
486 This is SMC; it's also used in su and should probably be used in
487 desktop role login. If we fix the SMC to not record NO_MSG here,
488 we can fix to record failed user. See su.c and AUE_su.
490 <event id="AUE_role_login" instance_of="AUE_generic_login"
491 header="0" idNo="13">
492 <title>RBAC: role login</title>
493 <program>SMC server</program>
494 <program>/usr/bin/su</program>
497 <event id="AUE_scheduledjob_add" instance_of="AUE_generic_SMC_add"
498 header="0" idNo="14">
499 <title>SMC: scheduled job add</title>
500 <program>SMC server</program>
502 <event id="AUE_scheduledjob_delete" instance_of="AUE_generic_SMC_delete"
503 header="0" idNo="15">
504 <title>SMC: scheduled job delete</title>
505 <program>SMC server</program>
507 <event id="AUE_scheduledjob_modify" instance_of="AUE_generic_SMC_modify"
508 header="0" idNo="16">
509 <title>SMC: scheduled job modify</title>
510 <program>SMC server</program>
513 <event id="AUE_serialport_add" instance_of="AUE_generic_SMC_add"
514 header="0" idNo="17">
515 <title>SMC: serial port add</title>
516 <program>SMC server</program>
518 <event id="AUE_serialport_delete" instance_of="AUE_generic_SMC_delete"
519 header="0" idNo="18">
520 <title>SMC: serial port delete</title>
521 <program>SMC server</program>
523 <event id="AUE_serialport_modify" instance_of="AUE_generic_SMC_modify"
524 header="0" idNo="19">
525 <title>SMC: serial port modify</title>
526 <program>SMC server</program>
529 <!-- This is SMC; should this also be used elsewhere? -->
530 <event id="AUE_uauth" header="0" idNo="20">
531 <title>SMC: Use of Authorization</title>
532 <program>SMC server</program>
534 <internal token="subject"/>
535 <external opt="none"/>
537 <entry id="auth_used">
538 <internal token="uauth"/>
539 <external opt="required" type="char *"/>
540 <comment>authorization used</comment>
542 <entry id="objectname">
543 <internal token="text"/>
544 <external opt="required" type="char *"/>
545 <comment>object name</comment>
548 <internal token="return"/>
549 <external opt="none"/>
553 <event id="AUE_usermgr_add" instance_of="AUE_generic_SMC_add"
554 header="0" idNo="21">
555 <title>SMC: User Manager add</title>
556 <program>SMC server</program>
558 <event id="AUE_usermgr_delete" instance_of="AUE_generic_SMC_delete"
559 header="0" idNo="22">
560 <title>SMC: User Manager delete</title>
561 <program>SMC server</program>
563 <event id="AUE_usermgr_modify" instance_of="AUE_generic_SMC_modify"
564 header="0" idNo="23">
565 <title>SMC: User Manager modify</title>
566 <program>SMC server</program>
568 <!-- end of Java needed for SMC events -->
570 while not used by SMC logout is used by Lockhart
572 <event id="AUE_logout" header="0" idNo="1">
573 <title>login: logout</title>
574 <program>various</program>
577 <internal token="subject"/>
578 <external opt="none"/>
581 not used by C code, used by Lockhart,
582 get them to change and remove
583 event.user_name("logout " + session.getUserName());
584 from /ws/lockhart-nv-gate/src/bundled/app/webmgt/lib/services/
585 com/sun/management/services/audit/SolarisAuditEvent_Logout.java
587 <entry id="user_name">
588 <internal token="text" format="logout %s"/>
589 <external opt="optional" type="char *"/>
590 <comment>"logout" username</comment>
593 <internal token="return"/>
594 <external opt="none"/>
599 <!-- C Only events -->
600 <event id="AUE_init_solaris" header="0" idNo="32" omit="JNI">
602 <program>/sbin/init</program>
603 <program>/usr/sbin/init</program>
604 <program>/usr/sbin/shutdown</program>
606 <internal token="subject"/>
607 <external opt="none"/>
610 <internal token="text"/>
611 <external opt="optional" type="char *"/>
612 <comment>init level or zone name</comment>
615 <internal token="return"/>
616 <external opt="none"/>
620 <event id="AUE_login" instance_of="AUE_generic_login" header="0"
621 idNo="25" omit="JNI">
622 <title>terminal login</title>
623 <program>/usr/sbin/login</program>
624 <program>/usr/dt/bin/dtlogin</program>
628 <event id="AUE_rlogin" instance_of="AUE_generic_login" header="0"
629 idNo="28" omit="JNI">
630 <title>rlogin</title>
631 <program>/usr/sbin/login</program>
632 <see>login(1) - rlogin</see>
634 <event id="AUE_telnet" instance_of="AUE_generic_login" header="0"
635 idNo="29" omit="JNI">
636 <title>telnet login</title>
637 <program>/usr/sbin/login</program>
638 <see>login(1) - telnet</see>
640 <event id="AUE_ssh" instance_of="AUE_generic_login" header="0"
642 <program>/usr/lib/ssh/sshd</program>
645 <event id="AUE_zlogin" header="0" idNo="38" omit="JNI">
646 <title>zone login</title>
647 <program>/usr/sbin/login</program>
650 <internal token="subject"/>
651 <external opt="none"/>
654 <internal token="text"/>
655 <external opt="optional" type="char *"/>
656 <comment>error message</comment>
659 <internal token="return"/>
660 <external opt="none"/>
664 <event id="AUE_su" header="0" idNo="30" omit="JNI">
666 <program>/usr/bin/su</program>
669 <internal token="subject"/>
670 <external opt="none"/>
673 should be changed to "fail_user" and su.c updated
674 However, the jni stuff is broken, so for now it's "message"
677 <internal token="text"/>
678 <external opt="optional" type="char *"/>
679 <comment>"user name" of failed new user/role</comment>
682 <internal token="return"/>
683 <external opt="none"/>
687 <event id="AUE_passwd" header="0" idNo="27" omit="JNI">
688 <title>passwd</title>
689 <program>various</program>
692 <internal token="subject"/>
693 <external opt="none"/>
695 <entry id="uid,username">
696 <internal token="user"/>
697 <external opt="optional" type="uid_t,char *"/>
698 <comment>user if different than caller</comment>
701 <internal token="return"/>
702 <external opt="none"/>
706 <event id="AUE_screenlock" instance_of="AUE_generic_basic" header="0"
707 idNo="26" omit="JNI">
708 <program>desktop screen lock</program>
710 <event id="AUE_screenunlock" instance_of="AUE_generic_basic" header="0"
711 idNo="31" omit="JNI">
712 <program>desktop screen unlock</program>
716 AUE_prof_cmd is not supportable for Java due to the structure of
717 the priv token. When and if a Java program needs to generate
718 a priv token, we'll need to look at the data format in the
719 Java code and provide an appropriate java and jni implementation.
722 <event id="AUE_prof_cmd" header="0" idNo="24" omit="JNI">
723 <title>pfexec</title>
724 <program>/usr/bin/pfexec</program>
727 <internal token="subject"/>
728 <external opt="none"/>
731 <internal token="path"/>
732 <external opt="required" type="char*"/>
733 <comment>working directory</comment>
736 <internal token="path"/>
737 <external opt="required" type="char*"/>
738 <comment>command pathname</comment>
740 <entry id="argc,argv,envp">
741 <internal token="command"/>
742 <external opt="required" type="int,char**,char**"/>
744 <entry id="proc_auid,proc_euid,proc_egid,proc_ruid,proc_rgid,proc_pid,proc_sid,proc_termid">
745 <internal token="process"/>
746 <external opt="required"
747 type="uid_t,uid_t,gid_t,uid_t,gid_t,pid_t,au_asid_t,termid*"/>
749 <entry id="limit_set">
750 <internal token="priv_limit"/>
751 <external opt="optional" type="priv_set_t*"/>
753 <entry id="inherit_set">
754 <internal token="priv_inherit"/>
755 <external opt="optional" type="priv_set_t*"/>
758 <internal token="return"/>
759 <external opt="none"/>
763 <event id="AUE_inetd_connect" header="0" idNo="34" omit="JNI">
765 <program>/usr/sbin/inetd</program>
767 <internal token="subject"/>
768 <external opt="none"/>
770 <entry id="service_name">
771 <internal token="text"/>
772 <external opt="optional" type="char *"/>
773 <comment>service name</comment>
775 <entry id="ip_type,ip_remote_port,ip_local_port,ip_adr">
776 <internal token="tid"/>
777 <external opt="required"
778 type="uint32_t,uint16_t,uint16_t,uint32_t[4]"/>
779 <comment>client address</comment>
782 <internal token="command_alt"/>
783 <external opt="required" type="char *"/>
784 <comment>inetd command</comment>
786 <entry id="privileges">
787 <internal token="priv_effective"/>
788 <external opt="required" type="priv_set_t *"/>
791 <internal token="return"/>
792 <external opt="none"/>
796 <event id="AUE_inetd_ratelimit" header="0" idNo="35" omit="JNI">
798 <program>/usr/sbin/inetd</program>
800 <internal token="subject"/>
801 <external opt="none"/>
803 <entry id="service_name">
804 <internal token="text"/>
805 <external opt="optional" type="char *"/>
806 <comment>service name</comment>
809 <internal token="text"/>
810 <external opt="required" type="char *"/>
811 <comment>limit value</comment>
814 <internal token="return"/>
815 <external opt="none"/>
819 <event id="AUE_inetd_copylimit" header="0" idNo="36" omit="JNI">
821 <program>/usr/sbin/inetd</program>
823 <internal token="subject"/>
824 <external opt="none"/>
826 <entry id="service_name">
827 <internal token="text"/>
828 <external opt="optional" type="char *"/>
829 <comment>service name</comment>
832 <internal token="text"/>
833 <external opt="required" type="char *"/>
834 <comment>limit value</comment>
837 <internal token="return"/>
838 <external opt="none"/>
842 <event id="AUE_inetd_failrate" header="0" idNo="37" omit="JNI">
844 <program>/usr/sbin/inetd</program>
846 <internal token="subject"/>
847 <external opt="none"/>
849 <entry id="service_name">
850 <internal token="text"/>
851 <external opt="optional" type="char *"/>
852 <comment>service name</comment>
855 <internal token="text"/>
856 <external opt="required" type="char *"/>
857 <comment>limit value, interval</comment>
860 <internal token="return"/>
861 <external opt="none"/>
865 <event id="AUE_zone_state" header="0" idNo="33" omit="JNI">
867 <internal token="subject"/>
868 <external opt="none"/>
870 <entry id="new_state">
871 <internal token="text"/>
872 <external opt="required" type="char *"/>
873 <comment>New zone state</comment>
875 <entry id="zonename">
876 <internal token="zonename"/>
877 <external opt="required" type="char *"/>
878 <comment>zone name</comment>
881 <internal token="return"/>
882 <external opt="none"/>
886 <event id="AUE_su_logout" instance_of="AUE_generic_basic"
887 header="0" idNo="39" omit="JNI">
889 <program>/usr/bin/su</program>
893 <event id="AUE_role_logout" instance_of="AUE_generic_basic"
894 header="0" idNo="40" omit="JNI">
896 <program>/usr/bin/su</program>
900 <event id="AUE_newgrp_login" header="0" idNo="41" omit="JNI">
901 <program>newgrp</program>
903 <internal token="subject"/>
904 <external opt="none"/>
906 <entry id="groupname">
907 <internal token="text"/>
908 <external opt="required" type="char *"/>
909 <comment>group name</comment>
912 <internal token="return"/>
913 <external opt="none"/>
917 <event id="AUE_generic_mountable" type="generic" omit="always">
920 User device mounting related functions
924 <internal token="subject"/>
925 <external opt="none"/>
927 <entry id="auth_used">
928 <internal token="uauth"/>
929 <external opt="required" type="char *"/>
930 <comment>authorization used</comment>
932 <entry id="mount_point">
933 <internal token="path"/>
934 <external opt="required" type="char *"/>
935 <comment>mount point</comment>
938 <internal token="path"/>
939 <external opt="required" type="char *"/>
940 <comment>device</comment>
943 <internal token="text"/>
944 <external opt="optional" type="char *"/>
945 <comment>options</comment>
948 <internal token="return"/>
949 <external opt="none"/>
953 <event id="AUE_attach" instance_of="AUE_generic_mountable"
954 header="0" idNo="42" omit="JNI">
955 <program>hald</program>
957 <event id="AUE_detach" instance_of="AUE_generic_mountable"
958 header="0" idNo="43" omit="JNI">
959 <program>hald</program>
961 <event id="AUE_remove" header="0" idNo="44" omit="JNI">
962 <program>hald</program>
964 <internal token="subject"/>
965 <external opt="none"/>
967 <entry id="auth_used">
968 <internal token="uauth"/>
969 <external opt="required" type="char *"/>
970 <comment>authorization used</comment>
972 <entry id="mount_point">
973 <internal token="path"/>
974 <external opt="optional" type="char *"/>
975 <comment>mount point</comment>
978 <internal token="path"/>
979 <external opt="required" type="char *"/>
980 <comment>device</comment>
983 <internal token="return"/>
984 <external opt="none"/>
988 <event id="AUE_pool_import" header="0" idNo="45" omit="JNI">
989 <program>hald</program>
991 <internal token="subject"/>
992 <external opt="none"/>
994 <entry id="auth_used">
995 <internal token="uauth"/>
996 <external opt="required" type="char *"/>
997 <comment>authorization used</comment>
1000 <internal token="text"/>
1001 <external opt="required" type="char *"/>
1002 <comment>pool</comment>
1005 <internal token="path"/>
1006 <external opt="required" type="char *"/>
1007 <comment>device</comment>
1010 <internal token="return"/>
1011 <external opt="none"/>
1014 <event id="AUE_pool_export" header="0" idNo="46" omit="JNI">
1015 <program>hald</program>
1016 <entry id="subject">
1017 <internal token="subject"/>
1018 <external opt="none"/>
1020 <entry id="auth_used">
1021 <internal token="uauth"/>
1022 <external opt="required" type="char *"/>
1023 <comment>authorization used</comment>
1026 <internal token="text"/>
1027 <external opt="required" type="char *"/>
1028 <comment>pool</comment>
1031 <internal token="path"/>
1032 <external opt="required" type="char *"/>
1033 <comment>device</comment>
1036 <internal token="return"/>
1037 <external opt="none"/>
1041 <!-- dladm security objected events -->
1042 <event id="AUE_dladm_generic" type="generic" omit="always">
1043 <entry id="subject">
1044 <internal token="subject"/>
1045 <external opt="none"/>
1047 <entry id="auth_used">
1048 <internal token="uauth"/>
1049 <external opt="required" type="char *"/>
1050 <comment>authorization used</comment>
1052 <entry id="obj_class">
1053 <internal token="text"/>
1054 <external opt="required" type="char *"/>
1055 <comment>object class name</comment>
1057 <entry id="obj_name">
1058 <internal token="text"/>
1059 <external opt="required" type="char *"/>
1060 <comment>object name</comment>
1063 <internal token="return"/>
1064 <external opt="none"/>
1068 <event id="AUE_dladm_create_secobj" instance_of="AUE_dladm_generic"
1069 header="0" idNo="47" omit="JNI">
1070 <title>create wifi security object</title>
1071 <program>/usr/sbin/dladm</program>
1072 <see>dladm(1M)</see>
1074 <event id="AUE_dladm_delete_secobj" instance_of="AUE_dladm_generic"
1075 header="0" idNo="48" omit="JNI">
1076 <title>delete wifi security object</title>
1077 <program>/usr/sbin/dladm</program>
1078 <see>dladm(1M)</see>
1081 <!-- Trusted eXtensions (TX) events -->
1083 <!-- labeld events -->
1084 <event id="AUE_file_relabel" header="0" idNo="49" omit="JNI">
1085 <title>relabel file from one zone to another</title>
1086 <program>setlabel(1)</program>
1087 <see>setflabel(3TSOL)</see>
1088 <entry id="subject">
1089 <internal token="subject"/>
1090 <external opt="none"/>
1092 <entry id="auth_used">
1093 <internal token="uauth"/>
1094 <external opt="required" type="char *"/>
1095 <comment>authorization used</comment>
1098 <internal token="path"/>
1099 <external opt="required" type="char *"/>
1100 <comment>file relabeled</comment>
1102 <entry id="src_label">
1103 <internal token="label"/>
1104 <external opt="required" type="m_label_t *"/>
1105 <comment>original label</comment>
1107 <entry id="dst_label">
1108 <internal token="label"/>
1109 <external opt="required" type="m_label_t *"/>
1110 <comment>new label</comment>
1113 <internal token="return"/>
1114 <external opt="none"/>
1118 <event id="AUE_file_copy" header="0" idNo="50" omit="JNI">
1119 <title>copy file to another zone</title>
1120 <program>dtfile(1X)</program>
1121 <entry id="subject">
1122 <internal token="subject"/>
1123 <external opt="none"/>
1125 <entry id="auth_used">
1126 <internal token="uauth"/>
1127 <external opt="required" type="char *"/>
1128 <comment>authorization used</comment>
1130 <entry id="src_file">
1131 <internal token="path"/>
1132 <external opt="required" type="char *"/>
1133 <comment>source file</comment>
1135 <entry id="src_label">
1136 <internal token="label"/>
1137 <external opt="required" type="m_label_t *"/>
1138 <comment>source label</comment>
1140 <entry id="dst_file">
1141 <internal token="path"/>
1142 <external opt="required" type="char *"/>
1143 <comment>destination directory</comment>
1145 <entry id="dst_label">
1146 <internal token="label"/>
1147 <external opt="required" type="m_label_t *"/>
1148 <comment>destination label</comment>
1151 <internal token="return"/>
1152 <external opt="none"/>
1156 <!-- uadmin(1m) events -->
1157 <event id="AUE_uadmin_generic" type="generic" omit="always">
1158 <entry id="subject">
1159 <internal token="subject"/>
1160 <external opt="none"/>
1163 <internal token="text"/>
1164 <external opt="required" type="msg uadmin_fcn"/>
1165 <comment>next action</comment>
1168 <internal token="text"/>
1169 <external opt="optional" type="char *"/>
1170 <comment>machine dependent argument</comment>
1173 <internal token="return"/>
1174 <external opt="none"/>
1177 <event id="AUE_uadmin_generic_fcn" type="generic" omit="always">
1178 <entry id="subject">
1179 <internal token="subject"/>
1180 <external opt="none"/>
1183 <internal token="text"/>
1184 <external opt="required" type="msg uadmin_fcn"/>
1185 <comment>next action</comment>
1188 <internal token="return"/>
1189 <external opt="none"/>
1192 <event id="AUE_uadmin_shutdown" instance_of="AUE_uadmin_generic"
1193 header="0" idNo="51" omit="JNI">
1194 <title>uadmin shutdown</title>
1195 <program>/sbin/uadmin</program>
1196 <program>/usr/sbin/uadmin</program>
1197 <see>uadmin(1M)</see>
1199 <event id="AUE_uadmin_reboot" instance_of="AUE_uadmin_generic"
1200 header="0" idNo="52" omit="JNI">
1201 <title>uadmin reboot</title>
1202 <program>/sbin/uadmin</program>
1203 <program>/usr/sbin/uadmin</program>
1204 <see>uadmin(1M)</see>
1206 <event id="AUE_uadmin_dump" instance_of="AUE_uadmin_generic"
1207 header="0" idNo="53" omit="JNI">
1208 <title>uadmin dump</title>
1209 <program>/sbin/uadmin</program>
1210 <program>/usr/sbin/uadmin</program>
1211 <see>uadmin(1M)</see>
1213 <event id="AUE_uadmin_freeze" instance_of="AUE_uadmin_generic"
1214 header="0" idNo="54" omit="JNI">
1215 <title>uadmin freeze</title>
1216 <program>/sbin/uadmin</program>
1217 <program>/usr/sbin/uadmin</program>
1218 <see>uadmin(1M)</see>
1220 <event id="AUE_uadmin_remount" header="0" idNo="55" omit="JNI">
1221 <title>uadmin remount</title>
1222 <program>/sbin/uadmin</program>
1223 <program>/usr/sbin/uadmin</program>
1224 <see>uadmin(1M)</see>
1225 <entry id="subject">
1226 <internal token="subject"/>
1227 <external opt="none"/>
1230 <internal token="return"/>
1231 <external opt="none"/>
1234 <!-- uadmin ftrace and swapctl are not documented in uadmin(2) -->
1235 <event id="AUE_uadmin_ftrace" instance_of="AUE_uadmin_generic"
1236 header="0" idNo="56" omit="JNI">
1237 <title>uadmin ftrace</title>
1238 <program>/sbin/uadmin</program>
1239 <program>/usr/sbin/uadmin</program>
1240 <see>uadmin(1M)</see>
1242 <event id="AUE_uadmin_swapctl" instance_of="AUE_uadmin_generic_fcn"
1243 header="0" idNo="57" omit="JNI">
1244 <title>uadmin swapctl</title>
1245 <program>/sbin/uadmin</program>
1246 <program>/usr/sbin/uadmin</program>
1247 <see>uadmin(1M)</see>
1249 <event id="AUE_uadmin_thaw" header="0" idNo="96" omit="JNI">
1250 <title>thaw after freeze</title>
1251 <program>/sbin/uadmin</program>
1252 <program>/usr/sbin/uadmin</program>
1253 <see>uadmin(1M)</see>
1254 <entry id="subject">
1255 <internal token="subject"/>
1256 <external opt="none"/>
1259 <internal token="text"/>
1260 <external opt="required" type="msg uadmin_fcn"/>
1261 <comment>freeze action type</comment>
1264 <internal token="return"/>
1265 <external opt="none"/>
1268 <!-- uadmin config is not documented in uadmin(2) -->
1269 <event id="AUE_uadmin_config" instance_of="AUE_uadmin_generic"
1270 header="0" idNo="119" omit="JNI">
1271 <title>uadmin config</title>
1272 <program>/sbin/uadmin</program>
1273 <program>/usr/sbin/uadmin</program>
1274 <see>uadmin(1M)</see>
1277 <!-- smbd service event; smbd session setup -->
1278 <event id="AUE_smbd_session" header="0" idNo="58" omit="JNI">
1280 <program>/usr/lib/smbsrv/smbd</program>
1281 <entry id="subject">
1282 <internal token="subject"/>
1283 <external opt="none"/>
1286 <internal token="text"/>
1287 <external opt="required" type="char*"/>
1288 <comment>domain</comment>
1290 <entry id="username">
1291 <internal token="text"/>
1292 <external opt="required" type="char*"/>
1293 <comment>username</comment>
1296 <internal token="text"/>
1297 <external opt="optional" type="char*"/>
1298 <comment>sid</comment>
1301 <internal token="return"/>
1302 <external opt="none"/>
1306 <!-- smbd service event; smbd session logoff -->
1307 <event id="AUE_smbd_logoff" header="0" idNo="59" omit="JNI">
1309 <program>/usr/lib/smbsrv/smbd</program>
1310 <entry id="subject">
1311 <internal token="subject"/>
1312 <external opt="none"/>
1315 <internal token="text"/>
1316 <external opt="required" type="char*"/>
1317 <comment>domain</comment>
1319 <entry id="username">
1320 <internal token="text"/>
1321 <external opt="required" type="char*"/>
1322 <comment>username</comment>
1325 <internal token="return"/>
1326 <external opt="none"/>
1330 <!-- vscan service event; infected file detected -->
1331 <event id="AUE_vscan_quarantine" header="0" idNo="60" omit="JNI">
1332 <title>VSCAN: quarantine infected file</title>
1333 <program>/usr/lib/vscan/vscand</program>
1334 <see>vscand(1M), ICAP RFC 3507 (Extensions)</see>
1335 <entry id="subject">
1336 <internal token="subject"/>
1337 <external opt="none"/>
1340 <internal token="path"/>
1341 <external opt="required" type="char*"/>
1342 <comment>infected file</comment>
1344 <entry id="violations,nviolations">
1345 <internal token="text"/>
1346 <external opt="optional" type="char**,int"/>
1347 <comment>ID - threat description</comment>
1350 <internal token="return"/>
1351 <external opt="none"/>
1355 <!-- ndmp service event; ndmp client connect -->
1356 <event id="AUE_ndmp_connect" instance_of="AUE_generic_basic" header="0"
1357 idNo="61" omit="JNI">
1358 <title>NDMP Connect</title>
1359 <program>/usr/lib/ndmp/ndmpd</program>
1360 <see>ndmpd(1M)</see>
1363 <!-- ndmp service event; ndmp client disconnect -->
1364 <event id="AUE_ndmp_disconnect" instance_of="AUE_generic_basic" header="0"
1365 idNo="62" omit="JNI">
1366 <title>NDMP Disconnect</title>
1367 <program>/usr/lib/ndmp/ndmpd</program>
1368 <see>ndmpd(1M)</see>
1371 <!-- ndmp service event; ndmp backup -->
1372 <event id="AUE_ndmp_backup" header="0" idNo="63" omit="JNI">
1373 <title>NDMP Backup</title>
1374 <program>/usr/lib/ndmp/ndmpd</program>
1375 <see>ndmpd(1M)</see>
1376 <entry id="subject">
1377 <internal token="subject"/>
1378 <external opt="none"/>
1381 <internal token="path"/>
1382 <external opt="required" type="char *"/>
1383 <comment>path to be backed up</comment>
1385 <entry id="local_dest">
1386 <internal token="path"/>
1387 <external opt="optional" type="char *"/>
1388 <comment>local path of backup destination</comment>
1390 <entry id="remote_dest">
1391 <internal token="in_peer"/>
1392 <external opt="optional" type="fd_t"/>
1393 <comment>remote ip address and port of backup destination</comment>
1396 <internal token="return"/>
1397 <external opt="none"/>
1401 <!-- ndmp service event; ndmp restore -->
1402 <event id="AUE_ndmp_restore" header="0" idNo="64" omit="JNI">
1403 <title>NDMP Restore</title>
1404 <program>/usr/lib/ndmp/ndmpd</program>
1405 <see>ndmpd(1M)</see>
1406 <entry id="subject">
1407 <internal token="subject"/>
1408 <external opt="none"/>
1410 <entry id="destination">
1411 <internal token="path"/>
1412 <external opt="required" type="char *"/>
1413 <comment>path to restore to</comment>
1415 <entry id="local_source">
1416 <internal token="path"/>
1417 <external opt="optional" type="char *"/>
1418 <comment>local path to restore from</comment>
1420 <entry id="remote_source">
1421 <internal token="in_peer"/>
1422 <external opt="optional" type="fd_t"/>
1423 <comment>remote ip address and port to restore from</comment>
1426 <internal token="return"/>
1427 <external opt="none"/>
1431 <!-- SMF related events -->
1432 <event id="AUE_smf_generic" type="generic" omit="always">
1434 This is a template for the event types that have no tokens
1435 other than the header and return. There is no allowed_type
1436 list because the template is not externally visible due to the
1439 <entry id="subject">
1440 <internal token="subject"/>
1441 <external opt="none"/>
1443 <entry id="auth_used">
1444 <internal token="uauth"/>
1445 <external opt="required" type="char *"/>
1446 <comment>authorization used</comment>
1449 <internal token="fmri"/>
1450 <external opt="required" type="char *"/>
1451 <comment>name</comment>
1454 <internal token="return"/>
1455 <external opt="none"/>
1459 <event id="AUE_smf_generic_pg" type="generic" omit="always">
1461 This is a template for the event types related to property groups.
1462 There is no allowed_type list because the template is not externally
1463 visible due to the omit="always".
1465 <entry id="subject">
1466 <internal token="subject"/>
1467 <external opt="none"/>
1469 <entry id="auth_used">
1470 <internal token="uauth"/>
1471 <external opt="required" type="char *"/>
1472 <comment>authorization used</comment>
1475 <internal token="fmri"/>
1476 <external opt="required" type="char *"/>
1479 <internal token="text"/>
1480 <external opt="required" type="char *"/>
1481 <comment>property group type</comment>
1484 <internal token="return"/>
1485 <external opt="none"/>
1489 <event id="AUE_smf_enable" instance_of="AUE_smf_generic" header="0"
1490 idNo="65" omit="JNI">
1491 <program>svc.configd(1M)</program>
1492 <see>svcadm(1M)</see>
1494 <event id="AUE_smf_tmp_enable" instance_of="AUE_smf_generic" header="0"
1495 idNo="66" omit="JNI">
1496 <program>svc.configd(1M)</program>
1497 <see>svcadm(1M)</see>
1499 <event id="AUE_smf_disable" instance_of="AUE_smf_generic" header="0"
1500 idNo="67" omit="JNI">
1501 <program>svc.configd(1M)</program>
1502 <see>svcadm(1M)</see>
1504 <event id="AUE_smf_tmp_disable" instance_of="AUE_smf_generic" header="0"
1505 idNo="68" omit="JNI">
1506 <program>svc.configd(1M)</program>
1507 <see>svcadm(1M)</see>
1509 <event id="AUE_smf_restart" instance_of="AUE_smf_generic" header="0"
1510 idNo="69" omit="JNI">
1511 <program>svc.configd(1M)</program>
1512 <see>svcadm(1M)</see>
1514 <event id="AUE_smf_refresh" instance_of="AUE_smf_generic" header="0"
1515 idNo="70" omit="JNI">
1516 <program>svc.configd(1M)</program>
1517 <see>svcadm(1M)</see>
1519 <event id="AUE_smf_clear" instance_of="AUE_smf_generic" header="0"
1520 idNo="71" omit="JNI">
1521 <program>svc.configd(1M)</program>
1522 <see>svcadm(1M)</see>
1524 <event id="AUE_smf_degrade" instance_of="AUE_smf_generic" header="0"
1525 idNo="72" omit="JNI">
1526 <program>svc.configd(1M)</program>
1527 <see>svcadm(1M)</see>
1529 <event id="AUE_smf_immediate_degrade" instance_of="AUE_smf_generic"
1530 header="0" idNo="73" omit="JNI">
1531 <program>svc.configd(1M)</program>
1532 <see>svcadm(1M)</see>
1534 <event id="AUE_smf_maintenance" instance_of="AUE_smf_generic" header="0"
1535 idNo="74" omit="JNI">
1536 <program>svc.configd(1M)</program>
1537 <see>svcadm(1M)</see>
1539 <event id="AUE_smf_immediate_maintenance" instance_of="AUE_smf_generic"
1540 header="0" idNo="75" omit="JNI">
1541 <program>svc.configd(1M)</program>
1542 <see>svcadm(1M)</see>
1544 <event id="AUE_smf_immtmp_maintenance" instance_of="AUE_smf_generic"
1545 header="0" idNo="76" omit="JNI">
1546 <program>svc.configd(1M)</program>
1547 <see>svcadm(1M)</see>
1549 <event id="AUE_smf_tmp_maintenance" instance_of="AUE_smf_generic" header="0"
1550 idNo="77" omit="JNI">
1551 <program>svc.configd(1M)</program>
1552 <see>svcadm(1M)</see>
1554 <event id="AUE_smf_milestone" instance_of="AUE_smf_generic" header="0"
1555 idNo="78" omit="JNI">
1556 <program>svc.configd(1M)</program>
1557 <see>svcadm(1M)</see>
1560 <event id="AUE_smf_create" instance_of="AUE_smf_generic" header="0"
1561 idNo="79" omit="JNI">
1562 <program>svc.configd(1M)</program>
1563 <see>svccfg(1M)</see>
1565 <event id="AUE_smf_delete" instance_of="AUE_smf_generic" header="0"
1566 idNo="80" omit="JNI">
1567 <program>svc.configd(1M)</program>
1568 <see>svccfg(1M)</see>
1571 <event id="AUE_smf_create_pg" instance_of="AUE_smf_generic_pg" header="0"
1572 idNo="81" omit="JNI">
1573 <program>svc.configd(1M)</program>
1574 <see>svccfg(1M)</see>
1576 <event id="AUE_smf_create_npg" instance_of="AUE_smf_generic_pg" header="0"
1577 idNo="82" omit="JNI">
1578 <program>svc.configd(1M)</program>
1579 <see>svccfg(1M)</see>
1581 <event id="AUE_smf_delete_pg" instance_of="AUE_smf_generic_pg" header="0"
1582 idNo="83" omit="JNI">
1583 <program>svc.configd(1M)</program>
1584 <see>svccfg(1M)</see>
1586 <event id="AUE_smf_delete_npg" instance_of="AUE_smf_generic_pg" header="0"
1587 idNo="84" omit="JNI">
1588 <program>svc.configd(1M)</program>
1589 <see>svccfg(1M)</see>
1592 <event id="AUE_smf_create_snap" header="0" idNo="85" omit="JNI">
1593 <program>svc.configd(1M)</program>
1594 <see>svccfg(1M)</see>
1595 <entry id="subject">
1596 <internal token="subject"/>
1597 <external opt="none"/>
1599 <entry id="auth_used">
1600 <internal token="uauth"/>
1601 <external opt="required" type="char *"/>
1602 <comment>authorization used</comment>
1605 <internal token="fmri"/>
1606 <external opt="required" type="char *"/>
1607 <comment>name</comment>
1610 <internal token="text"/>
1611 <external opt="required" type="char *"/>
1612 <comment>snapshot name</comment>
1615 <internal token="return"/>
1616 <external opt="none"/>
1619 <event id="AUE_smf_delete_snap" header="0" idNo="86" omit="JNI">
1620 <program>svc.configd(1M)</program>
1621 <see>svccfg(1M)</see>
1622 <entry id="subject">
1623 <internal token="subject"/>
1624 <external opt="none"/>
1626 <entry id="auth_used">
1627 <internal token="uauth"/>
1628 <external opt="required" type="char *"/>
1629 <comment>authorization used</comment>
1632 <internal token="fmri"/>
1633 <external opt="required" type="char *"/>
1634 <comment>name</comment>
1637 <internal token="text"/>
1638 <external opt="required" type="char *"/>
1639 <comment>snapshot name</comment>
1642 <internal token="return"/>
1643 <external opt="none"/>
1646 <event id="AUE_smf_attach_snap" header="0" idNo="87" omit="JNI">
1647 <program>svc.configd(1M)</program>
1648 <see>svccfg(1M)</see>
1649 <entry id="subject">
1650 <internal token="subject"/>
1651 <external opt="none"/>
1653 <entry id="auth_used">
1654 <internal token="uauth"/>
1655 <external opt="required" type="char *"/>
1656 <comment>authorization used</comment>
1658 <entry id="old_fmri">
1659 <internal token="fmri"/>
1660 <external opt="required" type="char *"/>
1661 <comment>old name</comment>
1663 <entry id="old_name">
1664 <internal token="text"/>
1665 <external opt="required" type="char *"/>
1666 <comment>old snapshot</comment>
1668 <entry id="new_fmri">
1669 <internal token="fmri"/>
1670 <external opt="required" type="char *"/>
1671 <comment>new name</comment>
1673 <entry id="new_name">
1674 <internal token="text"/>
1675 <external opt="required" type="char *"/>
1676 <comment>new snapshot</comment>
1679 <internal token="return"/>
1680 <external opt="none"/>
1684 <event id="AUE_smf_annotation" header="0" idNo="88" omit="JNI">
1685 <program>svc.configd(1M)</program>
1686 <see>svccfg(1M)</see>
1687 <entry id="subject">
1688 <internal token="subject"/>
1689 <external opt="none"/>
1691 <entry id="operation">
1692 <internal token="text"/>
1693 <external opt="required" type="char *"/>
1694 <comment>operation</comment>
1697 <internal token="path"/>
1698 <external opt="required" type="char *"/>
1699 <comment>imported file</comment>
1702 <internal token="return"/>
1703 <external opt="none"/>
1707 <event id="AUE_smf_create_prop" header="0" idNo="89" omit="JNI">
1708 <program>svc.configd(1M)</program>
1709 <see>svccfg(1M)</see>
1710 <entry id="subject">
1711 <internal token="subject"/>
1712 <external opt="none"/>
1714 <entry id="auth_used">
1715 <internal token="uauth"/>
1716 <external opt="required" type="char *"/>
1717 <comment>authorization used</comment>
1720 <internal token="fmri"/>
1721 <external opt="required" type="char *"/>
1722 <comment>name</comment>
1725 <internal token="text"/>
1726 <external opt="required" type="char *"/>
1727 <comment>type</comment>
1730 <internal token="text"/>
1731 <external opt="optional" type="char *"/>
1732 <comment>value</comment>
1735 <internal token="return"/>
1736 <external opt="none"/>
1740 <event id="AUE_smf_change_prop" header="0" idNo="90" omit="JNI">
1741 <program>svc.configd(1M)</program>
1742 <see>svccfg(1M)</see>
1743 <entry id="subject">
1744 <internal token="subject"/>
1745 <external opt="none"/>
1747 <entry id="auth_used">
1748 <internal token="uauth"/>
1749 <external opt="required" type="char *"/>
1750 <comment>authorization used</comment>
1753 <internal token="fmri"/>
1754 <external opt="required" type="char *"/>
1755 <comment>name</comment>
1758 <internal token="text"/>
1759 <external opt="required" type="char *"/>
1760 <comment>type</comment>
1763 <internal token="text"/>
1764 <external opt="optional" type="char *"/>
1765 <comment>value</comment>
1768 <internal token="return"/>
1769 <external opt="none"/>
1772 <event id="AUE_smf_delete_prop" header="0" idNo="91" omit="JNI">
1773 <program>svc.configd(1M)</program>
1774 <see>svccfg(1M)</see>
1775 <entry id="subject">
1776 <internal token="subject"/>
1777 <external opt="none"/>
1779 <entry id="auth_used">
1780 <internal token="uauth"/>
1781 <external opt="required" type="char *"/>
1782 <comment>authorization used</comment>
1785 <internal token="fmri"/>
1786 <external opt="required" type="char *"/>
1787 <comment>name</comment>
1790 <internal token="return"/>
1791 <external opt="none"/>
1795 <event id="AUE_smf_read_prop" instance_of="AUE_smf_generic" header="0"
1796 idNo="92" omit="JNI">
1797 <program>svc.configd(1M)</program>
1798 <see>svccfg(1M)</see>
1801 <!-- CPUFreq related events -->
1803 <event id="AUE_cpu_ondemand" header="0" idNo="93" omit="JNI">
1804 <title>set CPU freq to minimal unless load increases</title>
1805 <program>/usr/lib/hal/hald-addon-cpufreq</program>
1807 <entry id="subject">
1808 <internal token="subject"/>
1809 <external opt="none"/>
1811 <entry id="auth_used">
1812 <internal token="uauth"/>
1813 <external opt="required" type="char *"/>
1814 <comment>authorization used</comment>
1817 <internal token="return"/>
1818 <external opt="none"/>
1821 <event id="AUE_cpu_performance" header="0" idNo="94" omit="JNI">
1822 <title>set CPU freq to Max</title>
1823 <program>/usr/lib/hal/hald-addon-cpufreq</program>
1825 <entry id="subject">
1826 <internal token="subject"/>
1827 <external opt="none"/>
1829 <entry id="auth_used">
1830 <internal token="uauth"/>
1831 <external opt="required" type="char *"/>
1832 <comment>authorization used</comment>
1835 <internal token="return"/>
1836 <external opt="none"/>
1839 <event id="AUE_cpu_threshold" header="0" idNo="95" omit="JNI">
1840 <title>set CPU frequency threshold percentage</title>
1841 <program>/usr/lib/hal/hald-addon-cpufreq</program>
1843 <entry id="subject">
1844 <internal token="subject"/>
1845 <external opt="none"/>
1847 <entry id="auth_used">
1848 <internal token="uauth"/>
1849 <external opt="required" type="char *"/>
1850 <comment>authorization used</comment>
1852 <entry id="threshold">
1853 <internal token="text"/>
1854 <external opt="required" type="int"/>
1855 <comment>threshold percent 1-100</comment>
1858 <internal token="return"/>
1859 <external opt="none"/>
1863 <!-- TPM events recorded by tcsd(8) -->
1865 <event id="AUE_generic_tpm" type="generic" omit="always">
1866 <entry id="subject">
1867 <internal token="subject"/>
1868 <external opt="none"/>
1870 <entry id="message">
1871 <internal token="text"/>
1872 <external opt="optional" type="msg tpm_e"/>
1873 <comment>TPM error message</comment>
1876 <internal token="return"/>
1877 <external opt="none"/>
1881 <event id="AUE_tpm_takeownership" instance_of="AUE_generic_tpm"
1882 header="0" idNo="99" omit="JNI">
1883 <title>TPM_TakeOwnership</title>
1884 <program>/usr/lib/tcsd</program>
1887 <event id="AUE_tpm_setoperatorauth" instance_of="AUE_generic_tpm"
1888 header="0" idNo="100" omit="JNI">
1889 <title>TPM_SetOperatorAuth</title>
1890 <program>/usr/lib/tcsd</program>
1893 <event id="AUE_tpm_setownerinstall" instance_of="AUE_generic_tpm"
1894 header="0" idNo="101" omit="JNI">
1895 <title>TPM_SetOwnerInstall</title>
1896 <program>/usr/lib/tcsd</program>
1899 <event id="AUE_tpm_selftestfull" instance_of="AUE_generic_tpm"
1900 header="0" idNo="102" omit="JNI">
1901 <title>TPM_SelfTestFull</title>
1902 <program>/usr/lib/tcsd</program>
1905 <event id="AUE_tpm_certifyselftest" instance_of="AUE_generic_tpm"
1906 header="0" idNo="103" omit="JNI">
1907 <title>TPM_CertifySelfTest</title>
1908 <program>/usr/lib/tcsd</program>
1911 <event id="AUE_tpm_continueselftest" instance_of="AUE_generic_tpm"
1912 header="0" idNo="104" omit="JNI">
1913 <title>TPM_ContinueSelfTest</title>
1914 <program>/usr/lib/tcsd</program>
1917 <event id="AUE_tpm_ownersetdisable" instance_of="AUE_generic_tpm"
1918 header="0" idNo="105" omit="JNI">
1919 <title>TPM_OwnerSetDisable</title>
1920 <program>/usr/lib/tcsd</program>
1923 <event id="AUE_tpm_ownerclear" instance_of="AUE_generic_tpm"
1924 header="0" idNo="106" omit="JNI">
1925 <title>TPM_OwnerClear</title>
1926 <program>/usr/lib/tcsd</program>
1929 <event id="AUE_tpm_disableownerclear" instance_of="AUE_generic_tpm"
1930 header="0" idNo="107" omit="JNI">
1931 <title>TPM_DisableOwnerClear</title>
1932 <program>/usr/lib/tcsd</program>
1935 <event id="AUE_tpm_forceclear" instance_of="AUE_generic_tpm"
1936 header="0" idNo="108" omit="JNI">
1937 <title>TPM_ForceClear</title>
1938 <program>/usr/lib/tcsd</program>
1941 <event id="AUE_tpm_disableforceclear" instance_of="AUE_generic_tpm"
1942 header="0" idNo="109" omit="JNI">
1943 <title>TPM_DisableForceClear</title>
1944 <program>/usr/lib/tcsd</program>
1947 <event id="AUE_tpm_physicaldisable" instance_of="AUE_generic_tpm"
1948 header="0" idNo="110" omit="JNI">
1949 <title>TPM_PhysicalDisable</title>
1950 <program>/usr/lib/tcsd</program>
1953 <event id="AUE_tpm_physicalenable" instance_of="AUE_generic_tpm"
1954 header="0" idNo="111" omit="JNI">
1955 <title>TPM_PhysicalEnsable</title>
1956 <program>/usr/lib/tcsd</program>
1959 <event id="AUE_tpm_physicaldeactivate" instance_of="AUE_generic_tpm"
1960 header="0" idNo="112" omit="JNI">
1961 <title>TPM_PhysicalSetDeactivated</title>
1962 <program>/usr/lib/tcsd</program>
1965 <event id="AUE_tpm_settempdeactivated" instance_of="AUE_generic_tpm"
1966 header="0" idNo="113" omit="JNI">
1967 <title>TPM_SetTempDeactivated</title>
1968 <program>/usr/lib/tcsd</program>
1971 <event id="AUE_tpm_physicalpresence" instance_of="AUE_generic_tpm"
1972 header="0" idNo="114" omit="JNI">
1973 <title>TPM_PhysicalPresence</title>
1974 <program>/usr/lib/tcsd</program>
1977 <event id="AUE_tpm_fieldupgrade" instance_of="AUE_generic_tpm"
1978 header="0" idNo="115" omit="JNI">
1979 <title>TPM_FieldUpgrade</title>
1980 <program>/usr/lib/tcsd</program>
1983 <event id="AUE_tpm_resetlockvalue" instance_of="AUE_generic_tpm"
1984 header="0" idNo="116" omit="JNI">
1985 <title>TPM_ResetLockValue</title>
1986 <program>/usr/lib/tcsd</program>
1990 <!-- hotplug events recorded by hotplugd(1m) -->
1992 <event id="AUE_hotplug_state" header="0" idNo="117" omit="JNI">
1993 <title>change hotplug connection state</title>
1994 <program>/usr/lib/hotplugd</program>
1995 <see>hotplugd(1M)</see>
1996 <entry id="subject">
1997 <internal token="subject"/>
1998 <external opt="none"/>
2000 <entry id="auth_used">
2001 <internal token="uauth"/>
2002 <external opt="required" type="char *"/>
2003 <comment>authorization used</comment>
2005 <entry id="device_path">
2006 <internal token="path"/>
2007 <external opt="required" type="char *"/>
2008 <comment>device path</comment>
2010 <entry id="connection">
2011 <internal token="text"/>
2012 <external opt="required" type="char *"/>
2013 <comment>connector or port</comment>
2015 <entry id="new_state">
2016 <internal token="text"/>
2017 <external opt="required" type="char *"/>
2018 <comment>new connection state</comment>
2020 <entry id="old_state">
2021 <internal token="text"/>
2022 <external opt="required" type="char *"/>
2023 <comment>old connection state</comment>
2026 <internal token="return"/>
2027 <external opt="none"/>
2031 <event id="AUE_hotplug_set" header="0" idNo="118" omit="JNI">
2032 <title>set hotplug bus private options</title>
2033 <program>/usr/lib/hotplugd</program>
2034 <see>hotplugd(1M)</see>
2035 <entry id="subject">
2036 <internal token="subject"/>
2037 <external opt="none"/>
2039 <entry id="auth_used">
2040 <internal token="uauth"/>
2041 <external opt="required" type="char *"/>
2042 <comment>authorization used</comment>
2044 <entry id="device_path">
2045 <internal token="path"/>
2046 <external opt="required" type="char *"/>
2047 <comment>device path</comment>
2049 <entry id="connection">
2050 <internal token="text"/>
2051 <external opt="required" type="char *"/>
2052 <comment>connector or port</comment>
2054 <entry id="options">
2055 <internal token="text"/>
2056 <external opt="required" type="char *"/>
2057 <comment>bus private options</comment>
2060 <internal token="return"/>
2061 <external opt="none"/>
2065 <event id="AUE_ilb_create_healthcheck" header="0" idNo="120" omit="JNI">
2066 <title>Create Integrated Loadbalancer healthcheck object</title>
2067 <program>/usr/sbin/ilbadm</program>
2068 <see>ilbadm(1m)</see>
2069 <entry id="subject">
2070 <internal token="subject"/>
2071 <external opt="none"/>
2073 <entry id="auth_used">
2074 <internal token="uauth"/>
2075 <external opt="required" type="char *"/>
2076 <comment>authorization used</comment>
2078 <entry id="hc_test">
2079 <internal token="path"/>
2080 <external opt="required" type="char *"/>
2081 <comment>healthcheck type-PING,TCP,UDP or 3rd party script</comment>
2083 <entry id="hc_name">
2084 <internal token="text"/>
2085 <external opt="required" type="char *"/>
2086 <comment>healthcheck name</comment>
2088 <entry id="hc_timeout">
2089 <internal token="text"/>
2090 <external opt="required" type="int32_t" />
2091 <comment>timeout(secs) to kill a hung healthcheck probe
2092 - 0 means default value (see man page)
2095 <entry id="hc_count">
2096 <internal token="text"/>
2097 <external opt="required" type="int"/>
2098 <comment>number of times to run a health check probe
2099 before declaring a server to be dead - 0 means
2100 default value (see man page)
2103 <entry id="hc_interval">
2104 <internal token="text"/>
2105 <external opt="required" type="int32_t"/>
2106 <comment>time(secs) between 2 healthcheck events -
2107 0 means default value(see man page)
2111 <internal token="return"/>
2112 <external opt="none"/>
2116 <event id="AUE_ilb_delete_healthcheck" header="0" idNo="121" omit="JNI">
2117 <title>Delete Integrated Loadbalancer healthcheck object</title>
2118 <program>/usr/sbin/ilbadm</program>
2119 <see>ilbadm(1m)</see>
2120 <entry id="subject">
2121 <internal token="subject"/>
2122 <external opt="none"/>
2124 <entry id="auth_used">
2125 <internal token="uauth"/>
2126 <external opt="required" type="char *"/>
2127 <comment>authorization used</comment>
2129 <entry id="hc_name">
2130 <internal token="text"/>
2131 <external opt="required" type="char *"/>
2132 <comment>healthcheck name</comment>
2135 <internal token="return"/>
2136 <external opt="none"/>
2140 <event id="AUE_ilb_create_rule" header="0" idNo="122" omit="JNI">
2141 <title>Create Integrated Loadbalancer rule</title>
2142 <program>/usr/sbin/ilbadm</program>
2143 <see>ilbadm(1m)</see>
2144 <entry id="subject">
2145 <internal token="subject"/>
2146 <external opt="none"/>
2148 <entry id="auth_used">
2149 <internal token="uauth"/>
2150 <external opt="required" type="char *"/>
2151 <comment>authorization used</comment>
2153 <entry id="virtual_ipaddress_type,virtual_ipaddress">
2154 <internal token="in_remote"/>
2155 <external opt="required" type="int32_t,uint32_t[4]"/>
2156 <comment>LB virtual IP address</comment>
2158 <entry id="min_port">
2159 <internal token="iport"/>
2160 <external opt="required" type="uint16_t"/>
2161 <comment>minimum value in port range</comment>
2163 <entry id="max_port">
2164 <internal token="iport"/>
2165 <external opt="required" type="uint16_t"/>
2166 <comment>maximum value in port range - max=min means single
2170 <entry id="protocol">
2171 <internal token="text"/>
2172 <external opt="required" type="char *"/>
2173 <comment>protocol</comment>
2175 <entry id="algo_optype">
2176 <internal token="text"/>
2177 <external opt="required" type="char *"/>
2178 <comment>[rr,hip,hipp,hipv],[dsr,nat,half-nat]</comment>
2180 <entry id="proxy_src_min_type,proxy_src_min">
2181 <internal token="in_remote"/>
2182 <external opt="optional" type="int32_t,uint32_t[4]"/>
2183 <comment>min value for proxy source address for NAT</comment>
2185 <entry id="proxy_src_max_type,proxy_src_max">
2186 <internal token="in_remote"/>
2187 <external opt="optional" type="int32_t,uint32_t[4]"/>
2188 <comment>max value in proxy source address range for NAT
2189 - max=min means single address is specified
2192 <entry id="persist_mask">
2193 <internal token="text"/>
2194 <external opt="required" type="char *"/>
2195 <comment>prefix length</comment>
2198 <internal token="text"/>
2199 <external opt="optional" type="char *"/>
2200 <comment>healthcheck name</comment>
2203 <internal token="text"/>
2204 <external opt="optional" type="char *"/>
2205 <comment>healthcheck port - ANY(dynamically determined by ilbd)
2206 or a positive integer
2209 <entry id="conndrain_timeout">
2210 <internal token="text"/>
2211 <external opt="required" type="uint32_t"/>
2212 <comment>connection timeout for NAT/half-NAT in sec. - 0 means
2216 <entry id="nat_timeout">
2217 <internal token="text"/>
2218 <external opt="required" type="uint32_t"/>
2219 <comment>nat entry timeout for NAT/half-NAT in sec - 0 means
2220 default value(see man page)
2223 <entry id="persist_timeout">
2224 <internal token="text"/>
2225 <external opt="required" type="uint32_t"/>
2226 <comment>session persistence mapping in sec - 0 means no
2230 <entry id="server_group">
2231 <internal token="text"/>
2232 <external opt="required" type="char *"/>
2233 <comment>server group name</comment>
2235 <entry id="rule_name">
2236 <internal token="text"/>
2237 <external opt="required" type="char *"/>
2238 <comment>rule name</comment>
2241 <internal token="return"/>
2242 <external opt="none"/>
2246 <!-- generic ILB rule event -->
2248 <event id="AUE_generic_ILB_rule" type="generic" omit="always">
2249 <entry id="subject">
2250 <internal token="subject"/>
2251 <external opt="none"/>
2253 <entry id="auth_used">
2254 <internal token="uauth"/>
2255 <external opt="required" type="char *"/>
2256 <comment>authorization used</comment>
2258 <entry id="rule_name">
2259 <internal token="text"/>
2260 <external opt="required" type="char *"/>
2261 <comment>rule name - "all" means all rules</comment>
2264 <internal token="return"/>
2265 <external opt="none"/>
2269 <!-- instances of the ILB generic rule event. -->
2270 <event id="AUE_ilb_delete_rule" instance_of="AUE_generic_ILB_rule"
2271 header="0" idNo="123">
2272 <title>Delete Integrated Loadbalancer rule</title>
2273 <program>/usr/sbin/ilbadm</program>
2274 <see>ilbadm(1m)</see>
2277 <event id="AUE_ilb_disable_rule" instance_of="AUE_generic_ILB_rule"
2278 header="0" idNo="124">
2279 <title>Disable Integrated Loadbalancer rule</title>
2280 <program>/usr/sbin/ilbadm</program>
2281 <see>ilbadm(1m)</see>
2284 <event id="AUE_ilb_enable_rule" instance_of="AUE_generic_ILB_rule"
2285 header="0" idNo="125">
2286 <title>Enable Integrated Loadbalancer rule</title>
2287 <program>/usr/sbin/ilbadm</program>
2288 <see>ilbadm(1m)</see>
2291 <event id="AUE_ilb_add_server" header="0" idNo="126" omit="JNI">
2292 <title>Add server to Integrated Loadbalancer</title>
2293 <program>/usr/sbin/ilbadm</program>
2294 <see>ilbadm(1m)</see>
2295 <entry id="subject">
2296 <internal token="subject"/>
2297 <external opt="none"/>
2299 <entry id="auth_used">
2300 <internal token="uauth"/>
2301 <external opt="required" type="char *"/>
2302 <comment>authorization used</comment>
2304 <entry id="server_ipaddress_type,server_ipaddress">
2305 <internal token="in_remote"/>
2306 <external opt="required" type="int32_t,uint32_t[4]"/>
2307 <comment>IP address</comment>
2309 <entry id="server_id">
2310 <internal token="text"/>
2311 <external opt="optional" type="char *"/>
2312 <comment>serverid that corresponds IP address - empty
2313 if authorization fails, user specified IP address
2314 is invalid or server cannot be added because
2315 server group is full
2318 <entry id="server_group">
2319 <internal token="text"/>
2320 <external opt="required" type="char *"/>
2321 <comment>server group name</comment>
2323 <entry id="server_minport">
2324 <internal token="iport"/>
2325 <external opt="optional" type="uint16_t" />
2326 <comment>server's minimum value in port range - empty
2327 means default value (see man page)
2330 <entry id="server_maxport">
2331 <internal token="iport"/>
2332 <external opt="optional" type="uint16_t" />
2333 <comment>server's maximum value in port range - empty
2334 means default value(see man page)
2338 <internal token="return"/>
2339 <external opt="none"/>
2343 <event id="AUE_ilb_disable_server" header="0" idNo="127" omit="JNI">
2344 <title>Disable server to Integrated Loadbalancer</title>
2345 <program>/usr/sbin/ilbadm</program>
2346 <see>ilbadm(1m)</see>
2347 <entry id="subject">
2348 <internal token="subject"/>
2349 <external opt="none"/>
2351 <entry id="auth_used">
2352 <internal token="uauth"/>
2353 <external opt="required" type="char *"/>
2354 <comment>authorization used</comment>
2356 <entry id="server_id">
2357 <internal token="text"/>
2358 <external opt="required" type="char *"/>
2359 <comment>serverid</comment>
2361 <entry id="server_ipaddress_type,server_ipaddress">
2362 <internal token="in_remote"/>
2363 <external opt="optional" type="int32_t,uint32_t[4]"/>
2364 <comment>IPaddr corresponding to the serverid - empty
2365 if authorization fails, or user specified serverid
2370 <internal token="return"/>
2371 <external opt="none"/>
2375 <event id="AUE_ilb_enable_server" header="0" idNo="128" omit="JNI">
2376 <title>Enable server to Integrated Loadbalancer</title>
2377 <program>/usr/sbin/ilbadm</program>
2378 <see>ilbadm(1m)</see>
2379 <entry id="subject">
2380 <internal token="subject"/>
2381 <external opt="none"/>
2383 <entry id="auth_used">
2384 <internal token="uauth"/>
2385 <external opt="required" type="char *"/>
2386 <comment>authorization used</comment>
2388 <entry id="server_id">
2389 <internal token="text"/>
2390 <external opt="required" type="char *"/>
2391 <comment>serverid</comment>
2393 <entry id="server_ipaddress_type,server_ipaddress">
2394 <internal token="in_remote"/>
2395 <external opt="optional" type="int32_t,uint32_t[4]"/>
2396 <comment>IPaddr corresponding to the serverid - empty
2397 if authorization fails, or user specified serverid
2402 <internal token="return"/>
2403 <external opt="none"/>
2407 <event id="AUE_ilb_remove_server" header="0" idNo="129" omit="JNI">
2408 <title>Remove server from Integrated Loadbalancer</title>
2409 <program>/usr/sbin/ilbadm</program>
2410 <see>ilbadm(1m)</see>
2411 <entry id="subject">
2412 <internal token="subject"/>
2413 <external opt="none"/>
2415 <entry id="auth_used">
2416 <internal token="uauth"/>
2417 <external opt="required" type="char *"/>
2418 <comment>authorization used</comment>
2420 <entry id="server_id">
2421 <internal token="text"/>
2422 <external opt="required" type="char *"/>
2423 <comment>serverid</comment>
2425 <entry id="server_group">
2426 <internal token="text"/>
2427 <external opt="required" type="char *"/>
2428 <comment>server group name</comment>
2430 <entry id="server_ipaddress_type,server_ipaddress">
2431 <internal token="in_remote"/>
2432 <external opt="optional" type="int32_t,uint32_t[4]"/>
2433 <comment>IPaddr corresponding to serverid - empty
2434 if authorization fails or user specified serverid
2435 serverid is nonexistent
2439 <internal token="return"/>
2440 <external opt="none"/>
2444 <event id="AUE_ilb_create_servergroup" header="0" idNo="130" omit="JNI">
2445 <title>Create server group for Integrated Loadbalancer</title>
2446 <program>/usr/sbin/ilbadm</program>
2447 <see>ilbadm(1m)</see>
2448 <entry id="subject">
2449 <internal token="subject"/>
2450 <external opt="none"/>
2452 <entry id="auth_used">
2453 <internal token="uauth"/>
2454 <external opt="required" type="char *"/>
2455 <comment>authorization used</comment>
2457 <entry id="server_group">
2458 <internal token="text"/>
2459 <external opt="required" type="char *"/>
2460 <comment>server group name</comment>
2463 <internal token="return"/>
2464 <external opt="none"/>
2468 <event id="AUE_ilb_delete_servergroup" header="0" idNo="131" omit="JNI">
2469 <title>Delete server group from Integrated Loadbalancer</title>
2470 <program>/usr/sbin/ilbadm</program>
2471 <see>ilbadm(1m)</see>
2472 <entry id="subject">
2473 <internal token="subject"/>
2474 <external opt="none"/>
2476 <entry id="auth_used">
2477 <internal token="uauth"/>
2478 <external opt="required" type="char *"/>
2479 <comment>authorization used</comment>
2481 <entry id="server_group">
2482 <internal token="text"/>
2483 <external opt="required" type="char *"/>
2484 <comment>server group name</comment>
2487 <internal token="return"/>
2488 <external opt="none"/>
2492 <event id="AUE_nwam_enable" header="0" idNo="132" omit="JNI">
2493 <entry id="subject">
2494 <internal token="subject"/>
2495 <external opt="none"/>
2497 <entry id="profile_type">
2498 <internal token="text"/>
2499 <external opt="required" type="char *"/>
2500 <comment>Type of profile being enabled</comment>
2502 <entry id="profile_name">
2503 <internal token="text"/>
2504 <external opt="required" type="char *"/>
2505 <comment>Name of profile being enabled</comment>
2508 <internal token="return"/>
2509 <external opt="none"/>
2513 <event id="AUE_nwam_disable" header="0" idNo="133" omit="JNI">
2514 <entry id="subject">
2515 <internal token="subject"/>
2516 <external opt="none"/>
2518 <entry id="profile_type">
2519 <internal token="text"/>
2520 <external opt="required" type="char *"/>
2521 <comment>Type of profile being disabled</comment>
2523 <entry id="profile_name">
2524 <internal token="text"/>
2525 <external opt="required" type="char *"/>
2526 <comment>Name of profile being disabled</comment>
2529 <internal token="return"/>
2530 <external opt="none"/>
2534 <event id="AUE_netcfg_update" header="0" idNo="134" omit="JNI">
2535 <entry id="subject">
2536 <internal token="subject"/>
2537 <external opt="none"/>
2539 <entry id="parent_file">
2540 <internal token="text"/>
2541 <external opt="required" type="char *"/>
2542 <comment>Back-end data file being updated</comment>
2544 <entry id="object_name">
2545 <internal token="text"/>
2546 <external opt="required" type="char *"/>
2547 <comment>Name of object being updated</comment>
2550 <internal token="return"/>
2551 <external opt="none"/>
2555 <event id="AUE_netcfg_remove" header="0" idNo="135" omit="JNI">
2556 <entry id="subject">
2557 <internal token="subject"/>
2558 <external opt="none"/>
2560 <entry id="parent_file">
2561 <internal token="text"/>
2562 <external opt="required" type="char *"/>
2563 <comment>Back-end data file being modified</comment>
2565 <entry id="object_name">
2566 <internal token="text"/>
2567 <external opt="required" type="char *"/>
2568 <comment>Name of object being removed</comment>
2571 <internal token="return"/>
2572 <external opt="none"/>
2576 <!-- add new events here with the next higher idNo -->
2577 <!-- Highest idNo is 135, so next is 136, then fix this comment -->
2578 <!-- end of C Only events -->
2581 token definitions are partially implemented. All they do for now
2582 is create a list of defined token names. In the future they may
2583 become a way of describing token structure.
2588 <token id="arbitrary">
2594 <token id="command">
2596 <token id="command_alt">
2600 <token id="exec_args">
2602 <token id="exec_env">
2612 <token id="secflags">
2615 the iport token take a single argument of type uint16_t
2616 if there are any other tokens following it that have arguments
2617 the last of the iport tokens in the event description must
2618 be followed by a dummy iport token that is optional.
2619 This is to ensure proper structure alignment across all
2620 compliers and architectures.
2624 <!-- pseudo token; in_addr and in_port of peer -->
2625 <token id="in_peer">
2627 <!-- pseudo token; specified in_addr -->
2628 <token id="in_remote">
2632 <token id="ipc_perm">
2636 <token id="newgroups">
2642 <!-- pseudo token; path list generates 0 or more path tokens -->
2643 <token id="path_list">
2646 privilege token is implemented as one of the pseudo tokens
2647 priv_limit, priv_effective, or priv_inherit
2649 <token id="privilege">
2652 <token id="priv_effective">
2654 <token id="priv_inherit">
2656 <token id="priv_limit">
2658 <token id="process">
2666 <token id="socket-inet">
2668 <token id="subject">
2678 <token id="zonename">
2682 error value list for return values with success/fail code of fail.
2683 These values start at 1000 so praudit can tell the difference
2684 between the libbsm/common/audit_*.c broken error values and
2685 the new adt_ error value list. It is public so that praudit
2688 praudit outputs "failure" %s" for these strings, so there is
2689 no need to use words such as "failed" in the message.
2691 ** Add to the end only to maintain validity across versions of
2695 <msg_list id="fail_value" header="0" start="1000" public="true">
2696 <msg id="PW_ATTR">Attribute update</msg>
2697 <msg id="PW">Password update</msg>
2698 <msg id="USERNAME">bad username</msg>
2699 <msg id="AUTH">authorization failed</msg>
2700 <msg id="UID">bad uid</msg>
2701 <msg id="UNKNOWN">unknown failure</msg>
2702 <msg id="EXPIRED">password expired</msg>
2703 <msg id="ACCOUNT_LOCKED">Account is locked</msg>
2704 <msg id="BAD_DIALUP">Bad dial up</msg>
2705 <msg id="BAD_ID">Invalid ID</msg>
2706 <msg id="BAD_PW">Invalid password</msg>
2707 <msg id="CONSOLE">Not on console</msg>
2708 <msg id="MAX_TRIES">Too many failed attempts</msg>
2709 <msg id="PROTOCOL_FAILURE">Protocol failure</msg>
2710 <msg id="EXCLUDED_USER">Excluded user</msg>
2711 <msg id="ANON_USER">No anonymous</msg>
2712 <msg id="BAD_CMD">Invalid command</msg>
2713 <msg id="BAD_TTY">Standard input not a tty line</msg>
2714 <msg id="PROGRAM">Program failure</msg>
2715 <msg id="CHDIR_FAILED">chdir to home directory</msg>
2716 <msg id="INPUT_OVERFLOW">Input line too long.</msg>
2717 <msg id="DEVICE_PERM">login device override</msg>
2718 <msg id="AUTH_BYPASS">authorization bypass</msg>
2719 <msg id="LOGIN_DISABLED">login disabled</msg>
2723 The following empty list is used for PAM errors; the "start"
2724 value is used by praudit to know to use the PAM infrastructure
2725 for generating error strings
2727 <msg_list id="fail_pam" header="0" start="2000" public="true">
2731 This is still in use by SMC. See AUE_generic_login. When
2732 either SMC is fixed to stop using this, or SMC goes away.
2733 REMOVE this stuff and the corresponding AUE_generic_login
2736 Message list for the various authentication events, such
2737 as AUE_login and AUE_admin_authenticate. Add new entries
2738 at the end. The order of msg_list entries and the order
2739 of msg entries both affect the names in adt.h and the value
2740 of the associated enumerated types.
2742 Each of these messages except NO_MSG is also in the failure_attribute
2743 list; the difference is that the messages below use a text token
2744 in the audit record, while the failure_attribute messages are
2745 associated with the return value of the return token.
2747 This list is deprecated; please don't use text tokens for error
2751 <msg_list id="login_text" header="0" deprecated="true">
2752 <msg id="NO_MSG"></msg>
2753 <msg id="ACCOUNT_LOCKED">Account is locked</msg>
2754 <msg id="BAD_DIALUP">Bad dial up</msg>
2755 <msg id="BAD_ID">Invalid ID</msg>
2756 <msg id="BAD_PW">Invalid password</msg>
2757 <msg id="CONSOLE">Not on console</msg>
2758 <msg id="MAX_TRIES">Too many failed attempts</msg>
2759 <msg id="PROTOCOL_FAILURE">Protocol failure</msg>
2760 <msg id="EXCLUDED_USER">Excluded user</msg>
2761 <msg id="ANON_USER">No anonymous</msg>
2764 <!-- msg list for uadmin(1m) fcn argument (next action, see uadmin(2)) -->
2765 <msg_list id="uadmin_fcn" header="0" start="3000" public="true">
2766 <msg id="AD_HALT">Halt the processor(s)</msg>
2767 <msg id="AD_POWEROFF">Halt the processor(s) and turn off the power</msg>
2768 <msg id="AD_BOOT">Reboot the system using the kernel file</msg>
2769 <msg id="AD_IBOOT">Interactive reboot</msg>
2770 <msg id="AD_SUSPEND_TO_DISK">Save the system state to the state file</msg>
2771 <msg id="AD_CHECK_SUSPEND_TO_DISK">Check if system supports suspend to disk</msg>
2772 <msg id="AD_FORCE">Force suspend to disk even when threads of user
2773 applications are not suspendable</msg>
2774 <msg id="AD_SUSPEND_TO_RAM">Save the system state to memory</msg>
2775 <msg id="AD_CHECK_SUSPEND_TO_RAM">Check if system supports suspend to memory</msg>
2776 <msg id="AD_SBOOT">Single-user reboot</msg>
2777 <msg id="AD_SIBOOT">Single-user interactive reboot</msg>
2778 <msg id="AD_NOSYNC">Do not sync filesystems on next A_DUMP</msg>
2779 <msg id="AD_FASTREBOOT">Reboot bypassing BIOS and boot loader</msg>
2780 <msg id="AD_FASTREBOOT_DRYRUN">Check if system supports reboot bypassing BIOS and boot loader</msg>
2781 <msg id="AD_UPDATE_BOOT_CONFIG">Update boot configuration parameters</msg>
2782 <msg id="AD_REUSEINIT">Prepare for AD_REUSABLE</msg>
2783 <msg id="AD_REUSABLE">Create reusable statefile</msg>
2784 <msg id="AD_REUSEFINI">Revert to normal CPR mode (not reusable)</msg>
2785 <msg id="AD_FTRACE_START">ftrace start</msg>
2786 <msg id="AD_FTRACE_STOP">ftrace stop</msg>
2790 msg list for TPM errors that will be reported by tcsd(8).
2791 This list must match the order of the TPM_E_* error codes defined
2792 in /usr/include/tss/tpm_error.h (SUNWtss package)
2794 <msg_list id="tpm_e" header="0" start="4000" public="true">
2795 <msg id="AUTHFAIL">Authentication failed</msg>
2796 <msg id="BADINDEX">The index to a PCR, DIR or other register is incorrect</msg>
2797 <msg id="BAD_PARAMETER">One or more parameter is bad</msg>
2798 <msg id="AUDITFAILURE">auditing of the operation failed.</msg>
2799 <msg id="CLEAR_DISABLED">clear operations now physical access</msg>
2800 <msg id="DEACTIVATED">The TPM is deactivated</msg>
2801 <msg id="DISABLED">The TPM is disabled</msg>
2802 <msg id="DISABLED_CMD">The target command has been disabled</msg>
2803 <msg id="FAIL">The operation failed</msg>
2804 <msg id="BAD_ORDINAL">The ordinal was unknown or inconsistent</msg>
2805 <msg id="INSTALL_DISABLED">The ability to install an owner is disabled</msg>
2806 <msg id="INVALID_KEYHANDLE">The key handle can not be interpreted</msg>
2807 <msg id="KEYNOTFOUND">The key handle points to an invalid key</msg>
2808 <msg id="INAPPROPRIATE_ENC">Unacceptable encryption scheme</msg>
2809 <msg id="MIGRATEFAIL">Migration authorization failed</msg>
2810 <msg id="INVALID_PCR_INFO">PCR information could not be interpreted</msg>
2811 <msg id="NOSPACE">No room to load key.</msg>
2812 <msg id="NOSRK">There is no SRK set</msg>
2813 <msg id="NOTSEALED_BLOB">An encrypted blob is invalid or was
2814 not created by this TPM</msg>
2815 <msg id="OWNER_SET">There is already an Owner </msg>
2816 <msg id="RESOURCES">The TPM has insufficient internal resources</msg>
2817 <msg id="SHORTRANDOM">A random string was too short</msg>
2818 <msg id="SIZE">The TPM does not have the space to perform the operation.</msg>
2819 <msg id="WRONGPCRVAL">The named PCR value does not match the current PCR value.</msg>
2820 <msg id="BAD_PARAM_SIZE">The paramSize argument has the incorrect value </msg>
2821 <msg id="SHA_THREAD">There is no existing SHA-1 thread.</msg>
2822 <msg id="SHA_ERROR">SHA-1 thread encountered an error.</msg>
2823 <msg id="FAILEDSELFTEST">Self-test has failed and the TPM has shutdown.</msg>
2824 <msg id="AUTH2FAIL">The auth for the second key failed authorization</msg>
2825 <msg id="BADTAG">The tag value sent to for a command is invalid</msg>
2826 <msg id="IOERROR">An IO error occurred transmitting information to the TPM</msg>
2827 <msg id="ENCRYPT_ERROR">The encryption process had a problem.</msg>
2828 <msg id="DECRYPT_ERROR">The decryption process did not complete.</msg>
2829 <msg id="INVALID_AUTHHANDLE">An invalid handle was used.</msg>
2830 <msg id="NO_ENDORSEMENT">The TPM does not a EK installed</msg>
2831 <msg id="INVALID_KEYUSAGE">The usage of a key is not allowed</msg>
2832 <msg id="WRONG_ENTITYTYPE">The submitted entity type is not allowed</msg>
2833 <msg id="INVALID_POSTINIT">The command was received in the wrong sequence</msg>
2834 <msg id="INAPPROPRIATE_SIG">Signed data cannot include additional DER information</msg>
2835 <msg id="BAD_KEY_PROPERTY">The key properties are not supported by this TPM</msg>
2836 <msg id="BAD_MIGRATION">The migration properties of this key are incorrect.</msg>
2837 <msg id="BAD_SCHEME">Incorrect signature or encryption scheme</msg>
2838 <msg id="BAD_DATASIZE">The size of the data parameter is bad</msg>
2839 <msg id="BAD_MODE">A mode parameter is bad</msg>
2840 <msg id="BAD_PRESENCE">physicalPresence or physicalPresenceLock bits have wrong value</msg>
2841 <msg id="BAD_VERSION">The TPM cannot perform this version of the capability</msg>
2842 <msg id="NO_WRAP_TRANSPORT">The TPM does not allow for wrapped transport sessions</msg>
2843 <msg id="AUDITFAIL_UNSUCCESSFUL">TPM audit construction failed for failed command</msg>
2844 <msg id="AUDITFAIL_SUCCESSFUL">TPM audit construction failed for successful command</msg>
2845 <msg id="NOTRESETABLE">PCR register does not have the resettable attribute</msg>
2846 <msg id="NOTLOCAL">PCR register requires locality</msg>
2847 <msg id="BAD_TYPE">Make identity blob not properly typed</msg>
2848 <msg id="INVALID_RESOURCE">Resource type does not match actual resource</msg>
2849 <msg id="NOTFIPS">Command only available when TPM is in FIPS mode</msg>
2850 <msg id="INVALID_FAMILY">The command is attempting to use an invalid family ID</msg>
2851 <msg id="NO_NV_PERMISSION">The permission to manipulate the NV storage is not available</msg>
2852 <msg id="REQUIRES_SIGN">The operation requires a signed command</msg>
2853 <msg id="KEY_NOTSUPPORTED">Wrong operation to load an NV key</msg>
2854 <msg id="AUTH_CONFLICT">NV_LoadKey blob requires both owner and blob authorization</msg>
2855 <msg id="AREA_LOCKED">The NV area is locked and not writable</msg>
2856 <msg id="BAD_LOCALITY">The locality is incorrect for the attempted operation</msg>
2857 <msg id="READ_ONLY">The NV area is read only and can't be written to</msg>
2858 <msg id="PER_NOWRITE">There is no protection on the write to the NV area</msg>
2859 <msg id="FAMILYCOUNT">The family count value does not match</msg>
2860 <msg id="WRITE_LOCKED">The NV area has already been written to</msg>
2861 <msg id="BAD_ATTRIBUTES">The NV area attributes conflict</msg>
2862 <msg id="INVALID_STRUCTURE">The tag and version are invalid or inconsistent</msg>
2863 <msg id="KEY_OWNER_CONTROL">The key evicted by the TPM Owner.</msg>
2864 <msg id="BAD_COUNTER">The counter handle is incorrect</msg>
2865 <msg id="NOT_FULLWRITE">The write is not a complete write of the area</msg>
2866 <msg id="CONTEXT_GAP">The gap between saved context counts is too large</msg>
2867 <msg id="MAXNVWRITES">Max number of NV writes without owner has been exceeded</msg>
2868 <msg id="NOOPERATOR">No operator AuthData value is set</msg>
2869 <msg id="RESOURCEMISSING">The resource pointed to by context is not loaded</msg>
2870 <msg id="DELEGATE_LOCK">The delegate administration is locked</msg>
2871 <msg id="DELEGATE_FAMILY">Attempt to manage a family other then the delegated family</msg>
2872 <msg id="DELEGATE_ADMIN">Delegation table management not enabled</msg>
2873 <msg id="TRANSPORT_NOTEXCLUSIVE">Command executed outside of exclusive transport session</msg>
2874 <msg id="OWNER_CONTROL">Attempt to context save a owner evict controlled key</msg>
2875 <msg id="DAA_RESOURCES">DAA command has no resources available to execute the command</msg>
2876 <msg id="DAA_INPUT_DATA0">The consistency check on DAA parameter inputData0 has failed.</msg>
2877 <msg id="DAA_INPUT_DATA1">The consistency check on DAA parameter inputData1 has failed.</msg>
2878 <msg id="DAA_ISSUER_SETTINGS">The consistency check on DAA_issuerSettings has failed.</msg>
2879 <msg id="DAA_TPM_SETTINGS">The consistency check on DAA_tpmSpecific has failed.</msg>
2880 <msg id="DAA_STAGE">Atomic process indicated by DAA command is not the expected process.</msg>
2881 <msg id="DAA_ISSUER_VALIDITY">Inconsistent issuer validity</msg>
2882 <msg id="DAA_WRONG_W">The consistency check on w has failed.</msg>
2883 <msg id="BAD_HANDLE">The handle is incorrect</msg>
2884 <msg id="BAD_DELEGATE">Delegation is not correct</msg>
2885 <msg id="BADCONTEXT">The context blob is invalid</msg>
2886 <msg id="TOOMANYCONTEXTS">Too many contexts held by the TPM</msg>
2887 <msg id="MA_TICKET_SIGNATURE">Migration authority signature validation failure</msg>
2888 <msg id="MA_DESTINATION">Migration destination not authenticated</msg>
2889 <msg id="MA_SOURCE">Migration source incorrect</msg>
2890 <msg id="MA_AUTHORITY">Incorrect migration authority</msg>
2891 <msg id="PERMANENTEK">Attempt to revoke the EK and the EK is not revocable</msg>
2892 <msg id="BAD_SIGNATURE">Bad signature of CMK ticket</msg>
2893 <msg id="NOCONTEXTSPACE">There is no room in the context list for additional contexts</msg>
2894 <msg id="RETRY">The TPM is too busy to respond to the command immediately</msg>
2895 <msg id="NEEDS_SELFTEST">SelfTestFull has not been run</msg>
2896 <msg id="DOING_SELFTEST">The TPM is currently executing a full selftest</msg>
2897 <msg id="DEFEND_LOCK_RUNNING">TPM is defending against dictionary attacks</msg>
2898 <msg id="NO_MSG"></msg>
2899 <!-- End TPM failure codes -->