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 23c0c79a3fStz204579Copyright 2007 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) 132c0c79a3fStz204579 uint_t, int, int32_t, uid_t, gid_t 133c0c79a3fStz204579 uid_t *, gid_t * 134c0c79a3fStz204579 long, ulong_t 135c0c79a3fStz204579 m_label_t * 136c0c79a3fStz204579 pid_t 137c0c79a3fStz204579 priv_set_t * 138c0c79a3fStz204579 uint16_t, unit32_t, uint64_t 139c0c79a3fStz204579 uint32_t *, uint32_t[], uint64_t * 140c0c79a3fStz204579 msg (not a C type, see below) 141c0c79a3fStz204579 142c0c79a3fStz204579 Below is what Tony said. Above seems to be 143c0c79a3fStz204579 what is implemented 144c0c79a3fStz204579 char 145c0c79a3fStz204579 char * (blank is optional) 146c0c79a3fStz204579 char ** (blank is optional) 147c0c79a3fStz204579 int, uid_t, gid_t 148c0c79a3fStz204579 int *, uid_t *, gid_t * 149c0c79a3fStz204579 msg (not a C type, see below) 150c0c79a3fStz204579 time_t 151c0c79a3fStz204579 uint, uint * 152c0c79a3fStz204579 153c0c79a3fStz204579 The msg type refers to an enumerated type 154c0c79a3fStz204579 that must be defined via a <msg> description 155c0c79a3fStz204579 else where in this file. The syntax is 156c0c79a3fStz204579 special. Example: <external opt="optional" 157c0c79a3fStz204579 type="msg login_text"/> "login_text" is the 158c0c79a3fStz204579 id of a <msg_list> descriptor given 159c0c79a3fStz204579 elsewhere in this file. 160c0c79a3fStz204579 161c0c79a3fStz204579 If the <entry> id is a list, the type must also 162c0c79a3fStz204579 be a comma-separated list, where the types are 163c0c79a3fStz204579 in the same order as the id's. 164c0c79a3fStz204579 If the type is an array, its length must be given 165c0c79a3fStz204579 explicitly. 166c0c79a3fStz204579 1677a38c0beStz204579 comment Used by bsmrecord build to generate audit_record_attr. 1687a38c0beStz204579 Comment is explanation note printed with token type. 1697a38c0beStz204579 See example above for other tags related to bsmrecord. 1707a38c0beStz204579 171c0c79a3fStz204579 token Define allowed token names. 172c0c79a3fStz204579 - id is the name of token; this name is used 173c0c79a3fStz204579 as an <internal> id. 174c0c79a3fStz204579 - usage is an optional value. At present, only 175c0c79a3fStz204579 "TSOL" is defined; it means that this data is 176c0c79a3fStz204579 to be used only in Trusted Solaris implementations. 177c0c79a3fStz204579 178c0c79a3fStz204579 msg_list Define a set of text strings. 179c0c79a3fStz204579 - id is the name to be used for this group of text 180c0c79a3fStz204579 strings in adt_event.h 181c0c79a3fStz204579 - header is as defined for <event> 1826a3b10dbStz204579 - start is a number where produced enum type begins; 1836a3b10dbStz204579 ensure msg lists do not overlap 184c0c79a3fStz204579 Within a msg_list block, <msg> and <debug> are defined. 185c0c79a3fStz204579 The order of <msg> tags in a msg_list is reflected 1866a3b10dbStz204579 directly in adt_event.h. Also add ADT_LIST_<<id>> to 1876a3b10dbStz204579 enum adt_msg_list in adt_xlate.h. 188c0c79a3fStz204579 189c0c79a3fStz204579 msg Define one string. 190c0c79a3fStz204579 - id is the name to be used in the enum describing 191c0c79a3fStz204579 this set of strings. Convention: use upper case. 192c0c79a3fStz204579 The content (text between <msg> and </msg>) is the 193c0c79a3fStz204579 actual string. Extra white space, including line 194c0c79a3fStz204579 feeds, is ignored. If empty, no output token 195c0c79a3fStz204579 is generated unless the <external> opt attribute is 196c0c79a3fStz204579 set to "required", in which case a blank text token 197c0c79a3fStz204579 is generated. 198c0c79a3fStz204579 Within a msg block, <debug> is defined, but has not been 199c0c79a3fStz204579 tested and may have no effect. 200c0c79a3fStz204579 201c0c79a3fStz204579 debug This turns on/off debug messages during the processing 202c0c79a3fStz204579 of the xml data. It affects the block within which it 203c0c79a3fStz204579 is defined. 204c0c79a3fStz204579 - set may have one of two values: "on" or "off". If 205c0c79a3fStz204579 set is omitted, the debug state for the current block 206c0c79a3fStz204579 is toggled. 207c0c79a3fStz204579 The use of the <debug> tag does not affect the output 208c0c79a3fStz204579 of data to the various files created, but does generate 209c0c79a3fStz204579 potentially large amounts of output to stderr. 210c0c79a3fStz204579 211c0c79a3fStz204579--> 212c0c79a3fStz204579<!-- template for an event record definition 213c0c79a3fStz204579 214c0c79a3fStz204579 <event id="" header="0" idNo=""> 215c0c79a3fStz204579 <entry id="subject"> 216c0c79a3fStz204579 <internal token="subject"/> 217c0c79a3fStz204579 <external opt="none"/> 218c0c79a3fStz204579 </entry> 219c0c79a3fStz204579 <entry id=""> 220c0c79a3fStz204579 <internal token=""/> 221c0c79a3fStz204579 <external opt="" type="" /> 222c0c79a3fStz204579 </entry> 223c0c79a3fStz204579 <entry id="return"> 224c0c79a3fStz204579 <internal token="return"/> 225c0c79a3fStz204579 <external opt="none"/> 226c0c79a3fStz204579 </entry> 227c0c79a3fStz204579 </event> 228c0c79a3fStz204579 229c0c79a3fStz204579 Generic events must precede Instance events; within each 230c0c79a3fStz204579 group, please group the AUE_* by area and event idNo-s in order, 231c0c79a3fStz204579 gaps in idNo-s are OK. 232c0c79a3fStz204579 N.B. Renumbering idNo-s requires recompilation of consumers. See 233c0c79a3fStz204579 the contracts for whom to notify if/when this happens. 234c0c79a3fStz204579--> 235c0c79a3fStz204579 236c0c79a3fStz204579<!-- generic events --> 237c0c79a3fStz204579 238c0c79a3fStz204579 <!-- 239c0c79a3fStz204579 'omit="always"' means that this record type is not reflected 240c0c79a3fStz204579 in the generated header and table files. 241c0c79a3fStz204579 --> 242c0c79a3fStz204579 243c0c79a3fStz204579 <event id="AUE_generic_basic" type="generic" omit="always"> 244c0c79a3fStz204579 <!-- 245c0c79a3fStz204579 246c0c79a3fStz204579 This is a template for the event types that have no tokens 247c0c79a3fStz204579 other than the header and return. There is no allowed_type 248c0c79a3fStz204579 list because the template is not externally visible due to the 249c0c79a3fStz204579 omit="always". 250c0c79a3fStz204579 251c0c79a3fStz204579 --> 252c0c79a3fStz204579 <entry id="subject"> 253c0c79a3fStz204579 <internal token="subject"/> 254c0c79a3fStz204579 <external opt="none"/> 255c0c79a3fStz204579 </entry> 256c0c79a3fStz204579 <entry id="return"> 257c0c79a3fStz204579 <internal token="return"/> 258c0c79a3fStz204579 <external opt="none"/> 259c0c79a3fStz204579 </entry> 260c0c79a3fStz204579 </event> 261c0c79a3fStz204579 262c0c79a3fStz204579 <event id="AUE_generic_login" type="generic" omit="always"> 263c0c79a3fStz204579 <!-- 264c0c79a3fStz204579 265c0c79a3fStz204579 This is a template for the various login event types 266c0c79a3fStz204579 AUE_login, AUE_ftp, etc which match this template. There is 267c0c79a3fStz204579 no allowed_type list because the template is not externally 268c0c79a3fStz204579 visible due to the omit="always". 269c0c79a3fStz204579 270c0c79a3fStz204579 --> 271c0c79a3fStz204579 <entry id="subject"> 272c0c79a3fStz204579 <internal token="subject"/> 273c0c79a3fStz204579 <external opt="none"/> 274c0c79a3fStz204579 </entry> 275c0c79a3fStz204579 276c0c79a3fStz204579 <!-- This field is still in use for SMC until it is cleaned up, 277c0c79a3fStz204579 it must remain, see login_text msg list at the end of the 278c0c79a3fStz204579 file. 279c0c79a3fStz204579 --> 280c0c79a3fStz204579 <entry id="message"> 281c0c79a3fStz204579 <internal token="text"/> 282c0c79a3fStz204579 <external opt="optional" type="msg login_text"/> 283c0c79a3fStz204579 <comment>error message</comment> 284c0c79a3fStz204579 </entry> 285c0c79a3fStz204579 <entry id="return"> 286c0c79a3fStz204579 <internal token="return"/> 287c0c79a3fStz204579 <external opt="none"/> 288c0c79a3fStz204579 </entry> 289c0c79a3fStz204579 </event> 290c0c79a3fStz204579 291c0c79a3fStz204579<!-- generic SMC events --> 292c0c79a3fStz204579 293c0c79a3fStz204579 <event id="AUE_generic_SMC_add" type="generic" omit="always"> 294c0c79a3fStz204579 <entry id="subject"> 295c0c79a3fStz204579 <internal token="subject"/> 296c0c79a3fStz204579 <external opt="none"/> 297c0c79a3fStz204579 </entry> 298c0c79a3fStz204579 <entry id="object_name"> 299c0c79a3fStz204579 <internal token="text"/> 300c0c79a3fStz204579 <external opt="required" type="char *"/> 301c0c79a3fStz204579 <comment>object name</comment> 302c0c79a3fStz204579 </entry> 303c0c79a3fStz204579 <entry id="domain"> 304c0c79a3fStz204579 <internal token="text"/> 305c0c79a3fStz204579 <external opt="optional" type="char *"/> 306c0c79a3fStz204579 <comment>domain</comment> 307c0c79a3fStz204579 </entry> 308c0c79a3fStz204579 <entry id="name_service"> 309c0c79a3fStz204579 <internal token="text"/> 310c0c79a3fStz204579 <external opt="required" type="char *"/> 311c0c79a3fStz204579 <comment>name_service</comment> 312c0c79a3fStz204579 </entry> 313c0c79a3fStz204579 <entry id="auth_used"> 314c0c79a3fStz204579 <internal token="uauth"/> 315c0c79a3fStz204579 <external opt="optional" type="char *"/> 316c0c79a3fStz204579 <comment>authorization used</comment> 317c0c79a3fStz204579 </entry> 318c0c79a3fStz204579 <!-- 319c0c79a3fStz204579 This should really be its own token type, not "text" 320c0c79a3fStz204579 --> 321c0c79a3fStz204579 <entry id="initial_values"> 322c0c79a3fStz204579 <internal token="text"/> 323c0c79a3fStz204579 <external opt="required" type="char *"/> 324c0c79a3fStz204579 <comment>initial values</comment> 325c0c79a3fStz204579 </entry> 326c0c79a3fStz204579 <entry id="return"> 327c0c79a3fStz204579 <internal token="return"/> 328c0c79a3fStz204579 <external opt="none"/> 329c0c79a3fStz204579 </entry> 330c0c79a3fStz204579 </event> 331c0c79a3fStz204579 332c0c79a3fStz204579 <event id="AUE_generic_SMC_delete" type="generic" omit="always"> 333c0c79a3fStz204579 <entry id="subject"> 334c0c79a3fStz204579 <internal token="subject"/> 335c0c79a3fStz204579 <external opt="none"/> 336c0c79a3fStz204579 </entry> 337c0c79a3fStz204579 <entry id="object_name"> 338c0c79a3fStz204579 <internal token="text"/> 339c0c79a3fStz204579 <external opt="required" type="char *"/> 340c0c79a3fStz204579 <comment>object name</comment> 341c0c79a3fStz204579 </entry> 342c0c79a3fStz204579 <entry id="domain"> 343c0c79a3fStz204579 <internal token="text"/> 344c0c79a3fStz204579 <external opt="optional" type="char *"/> 345c0c79a3fStz204579 <comment>domain</comment> 346c0c79a3fStz204579 </entry> 347c0c79a3fStz204579 <entry id="name_service"> 348c0c79a3fStz204579 <internal token="text"/> 349c0c79a3fStz204579 <external opt="required" type="char *"/> 350c0c79a3fStz204579 <comment>name_service</comment> 351c0c79a3fStz204579 </entry> 352c0c79a3fStz204579 <entry id="auth_used"> 353c0c79a3fStz204579 <internal token="uauth"/> 354c0c79a3fStz204579 <external opt="optional" type="char *"/> 355c0c79a3fStz204579 <comment>authorization used</comment> 356c0c79a3fStz204579 </entry> 357c0c79a3fStz204579 <entry id="delete_values"> 358c0c79a3fStz204579 <internal token="text"/> 359c0c79a3fStz204579 <external opt="required" type="char *"/> 360c0c79a3fStz204579 <comment>deleted values</comment> 361c0c79a3fStz204579 </entry> 362c0c79a3fStz204579 <entry id="return"> 363c0c79a3fStz204579 <internal token="return"/> 364c0c79a3fStz204579 <external opt="none"/> 365c0c79a3fStz204579 </entry> 366c0c79a3fStz204579 </event> 367c0c79a3fStz204579 368c0c79a3fStz204579 <event id="AUE_generic_SMC_modify" type="generic" omit="always"> 369c0c79a3fStz204579 <entry id="subject"> 370c0c79a3fStz204579 <internal token="subject"/> 371c0c79a3fStz204579 <external opt="none"/> 372c0c79a3fStz204579 </entry> 373c0c79a3fStz204579 <entry id="object_name"> 374c0c79a3fStz204579 <internal token="text"/> 375c0c79a3fStz204579 <external opt="required" type="char *"/> 376c0c79a3fStz204579 <comment>object name</comment> 377c0c79a3fStz204579 </entry> 378c0c79a3fStz204579 <entry id="domain"> 379c0c79a3fStz204579 <internal token="text"/> 380c0c79a3fStz204579 <external opt="optional" type="char *"/> 381c0c79a3fStz204579 <comment>domain</comment> 382c0c79a3fStz204579 </entry> 383c0c79a3fStz204579 <entry id="name_service"> 384c0c79a3fStz204579 <internal token="text"/> 385c0c79a3fStz204579 <external opt="required" type="char *"/> 386c0c79a3fStz204579 <comment>name_service</comment> 387c0c79a3fStz204579 </entry> 388c0c79a3fStz204579 <entry id="auth_used"> 389c0c79a3fStz204579 <internal token="uauth"/> 390c0c79a3fStz204579 <external opt="optional" type="char *"/> 391c0c79a3fStz204579 <comment>authorization used</comment> 392c0c79a3fStz204579 </entry> 393c0c79a3fStz204579 <entry id="changed_values"> 394c0c79a3fStz204579 <internal token="text"/> 395c0c79a3fStz204579 <external opt="required" type="char *"/> 396c0c79a3fStz204579 <comment>changed values</comment> 397c0c79a3fStz204579 </entry> 398c0c79a3fStz204579 <entry id="return"> 399c0c79a3fStz204579 <internal token="return"/> 400c0c79a3fStz204579 <external opt="none"/> 401c0c79a3fStz204579 </entry> 402c0c79a3fStz204579 </event> 403c0c79a3fStz204579 404c0c79a3fStz204579<!-- instances --> 405c0c79a3fStz204579 406c0c79a3fStz204579<!-- 407c0c79a3fStz204579 Java needed for SMC events. Since the SMC events grow less 408c0c79a3fStz204579 often than the C related events. They come first. It 409c0c79a3fStz204579 would be nice to reorder the idNo-s, but that's an ABI 410c0c79a3fStz204579 change and should rev libbsm version no. If reordered 411c0c79a3fStz204579 start with 1 and eliminate the comment at the end about 412c0c79a3fStz204579 the highest idNo. 413c0c79a3fStz204579--> 414c0c79a3fStz204579 <event id="AUE_admin_authenticate" instance_of="AUE_generic_login" 415c0c79a3fStz204579 header="0" idNo="3"> 416c0c79a3fStz204579 <title>Admin Server Authentication</title> 417c0c79a3fStz204579 <program>admin (various)</program> 418c0c79a3fStz204579 <see>SMC, WBEM, or AdminSuite</see> 419c0c79a3fStz204579 </event> 420c0c79a3fStz204579 421c0c79a3fStz204579 <event id="AUE_filesystem_add" instance_of="AUE_generic_SMC_add" 422c0c79a3fStz204579 header="0" idNo="4"> 423c0c79a3fStz204579 <title>SMC: filesystem add</title> 424c0c79a3fStz204579 <program>SMC server</program> 425c0c79a3fStz204579 </event> 426c0c79a3fStz204579 <event id="AUE_filesystem_delete" instance_of="AUE_generic_SMC_delete" 427c0c79a3fStz204579 header="0" idNo="5"> 428c0c79a3fStz204579 <title>SMC: filesystem delete</title> 429c0c79a3fStz204579 <program>SMC server</program> 430c0c79a3fStz204579 </event> 431c0c79a3fStz204579 <event id="AUE_filesystem_modify" instance_of="AUE_generic_SMC_modify" 432c0c79a3fStz204579 header="0" idNo="6"> 433c0c79a3fStz204579 <title>SMC: filesystem modify</title> 434c0c79a3fStz204579 <program>SMC server</program> 435c0c79a3fStz204579 </event> 436c0c79a3fStz204579 437c0c79a3fStz204579 <event id="AUE_network_add" instance_of="AUE_generic_SMC_add" 438c0c79a3fStz204579 header="0" idNo="7"> 439c0c79a3fStz204579 <title>SMC: network add</title> 440c0c79a3fStz204579 <program>SMC server</program> 441c0c79a3fStz204579 </event> 442c0c79a3fStz204579 <event id="AUE_network_delete" instance_of="AUE_generic_SMC_delete" 443c0c79a3fStz204579 header="0" idNo="8"> 444c0c79a3fStz204579 <title>SMC: network delete</title> 445c0c79a3fStz204579 <program>SMC server</program> 446c0c79a3fStz204579 </event> 447c0c79a3fStz204579 <event id="AUE_network_modify" instance_of="AUE_generic_SMC_modify" 448c0c79a3fStz204579 header="0" idNo="9"> 449c0c79a3fStz204579 <title>SMC: network modify</title> 450c0c79a3fStz204579 <program>SMC server</program> 451c0c79a3fStz204579 </event> 452c0c79a3fStz204579 453c0c79a3fStz204579 <event id="AUE_printer_add" instance_of="AUE_generic_SMC_add" 454c0c79a3fStz204579 header="0" idNo="10"> 455c0c79a3fStz204579 <title>SMC: printer add</title> 456c0c79a3fStz204579 <program>SMC server</program> 457c0c79a3fStz204579 </event> 458c0c79a3fStz204579 <event id="AUE_printer_delete" instance_of="AUE_generic_SMC_delete" 459c0c79a3fStz204579 header="0" idNo="11"> 460c0c79a3fStz204579 <title>SMC: printer delete</title> 461c0c79a3fStz204579 <program>SMC server</program> 462c0c79a3fStz204579 </event> 463c0c79a3fStz204579 <event id="AUE_printer_modify" instance_of="AUE_generic_SMC_modify" 464c0c79a3fStz204579 header="0" idNo="12"> 465c0c79a3fStz204579 <title>SMC: printer modify</title> 466c0c79a3fStz204579 <program>SMC server</program> 467c0c79a3fStz204579 </event> 468c0c79a3fStz204579 469c0c79a3fStz204579<!-- 470c0c79a3fStz204579 This is SMC; it's also used in su and should probably be used in 471c0c79a3fStz204579 desktop role login. If we fix the SMC to not record NO_MSG here, 472c0c79a3fStz204579 we can fix to record failed user. See su.c and AUE_su. 473c0c79a3fStz204579--> 474c0c79a3fStz204579 <event id="AUE_role_login" instance_of="AUE_generic_login" 475c0c79a3fStz204579 header="0" idNo="13"> 476c0c79a3fStz204579 <title>RBAC: role login</title> 477c0c79a3fStz204579 <program>SMC server</program> 478c0c79a3fStz204579 <program>/usr/bin/su</program> 479c0c79a3fStz204579 </event> 480c0c79a3fStz204579 481c0c79a3fStz204579 <event id="AUE_scheduledjob_add" instance_of="AUE_generic_SMC_add" 482c0c79a3fStz204579 header="0" idNo="14"> 483c0c79a3fStz204579 <title>SMC: scheduled job add</title> 484c0c79a3fStz204579 <program>SMC server</program> 485c0c79a3fStz204579 </event> 486c0c79a3fStz204579 <event id="AUE_scheduledjob_delete" instance_of="AUE_generic_SMC_delete" 487c0c79a3fStz204579 header="0" idNo="15"> 488c0c79a3fStz204579 <title>SMC: scheduled job delete</title> 489c0c79a3fStz204579 <program>SMC server</program> 490c0c79a3fStz204579 </event> 491c0c79a3fStz204579 <event id="AUE_scheduledjob_modify" instance_of="AUE_generic_SMC_modify" 492c0c79a3fStz204579 header="0" idNo="16"> 493c0c79a3fStz204579 <title>SMC: scheduled job modify</title> 494c0c79a3fStz204579 <program>SMC server</program> 495c0c79a3fStz204579 </event> 496c0c79a3fStz204579 497c0c79a3fStz204579 <event id="AUE_serialport_add" instance_of="AUE_generic_SMC_add" 498c0c79a3fStz204579 header="0" idNo="17"> 499c0c79a3fStz204579 <title>SMC: serial port add</title> 500c0c79a3fStz204579 <program>SMC server</program> 501c0c79a3fStz204579 </event> 502c0c79a3fStz204579 <event id="AUE_serialport_delete" instance_of="AUE_generic_SMC_delete" 503c0c79a3fStz204579 header="0" idNo="18"> 504c0c79a3fStz204579 <title>SMC: serial port delete</title> 505c0c79a3fStz204579 <program>SMC server</program> 506c0c79a3fStz204579 </event> 507c0c79a3fStz204579 <event id="AUE_serialport_modify" instance_of="AUE_generic_SMC_modify" 508c0c79a3fStz204579 header="0" idNo="19"> 509c0c79a3fStz204579 <title>SMC: serial port modify</title> 510c0c79a3fStz204579 <program>SMC server</program> 511c0c79a3fStz204579 </event> 512c0c79a3fStz204579 513c0c79a3fStz204579<!-- This is SMC; should this also be used elsewhere? --> 514c0c79a3fStz204579 <event id="AUE_uauth" header="0" idNo="20"> 515c0c79a3fStz204579 <title>SMC: Use of Authorization</title> 516c0c79a3fStz204579 <program>SMC server</program> 517c0c79a3fStz204579 <entry id="subject"> 518c0c79a3fStz204579 <internal token="subject"/> 519c0c79a3fStz204579 <external opt="none"/> 520c0c79a3fStz204579 </entry> 521c0c79a3fStz204579 <entry id="auth_used"> 522c0c79a3fStz204579 <internal token="uauth"/> 523c0c79a3fStz204579 <external opt="required" type="char *"/> 524c0c79a3fStz204579 <comment>authorization used</comment> 525c0c79a3fStz204579 </entry> 526c0c79a3fStz204579 <entry id="objectname"> 527c0c79a3fStz204579 <internal token="text"/> 528c0c79a3fStz204579 <external opt="required" type="char *"/> 529c0c79a3fStz204579 <comment>object name</comment> 530c0c79a3fStz204579 </entry> 531c0c79a3fStz204579 <entry id="return"> 532c0c79a3fStz204579 <internal token="return"/> 533c0c79a3fStz204579 <external opt="none"/> 534c0c79a3fStz204579 </entry> 535c0c79a3fStz204579 </event> 536c0c79a3fStz204579 537c0c79a3fStz204579 <event id="AUE_usermgr_add" instance_of="AUE_generic_SMC_add" 538c0c79a3fStz204579 header="0" idNo="21"> 539c0c79a3fStz204579 <title>SMC: User Manager add</title> 540c0c79a3fStz204579 <program>SMC server</program> 541c0c79a3fStz204579 </event> 542c0c79a3fStz204579 <event id="AUE_usermgr_delete" instance_of="AUE_generic_SMC_delete" 543c0c79a3fStz204579 header="0" idNo="22"> 544c0c79a3fStz204579 <title>SMC: User Manager delete</title> 545c0c79a3fStz204579 <program>SMC server</program> 546c0c79a3fStz204579 </event> 547c0c79a3fStz204579 <event id="AUE_usermgr_modify" instance_of="AUE_generic_SMC_modify" 548c0c79a3fStz204579 header="0" idNo="23"> 549c0c79a3fStz204579 <title>SMC: User Manager modify</title> 550c0c79a3fStz204579 <program>SMC server</program> 551c0c79a3fStz204579 </event> 552c0c79a3fStz204579<!-- end of Java needed for SMC events --> 553c0c79a3fStz204579<!-- 554c0c79a3fStz204579 while not used by SMC logout is used by Lockhart 555c0c79a3fStz204579--> 556c0c79a3fStz204579 <event id="AUE_logout" header="0" idNo="1"> 557c0c79a3fStz204579 <title>login: logout</title> 558c0c79a3fStz204579 <program>various</program> 559c0c79a3fStz204579 <see>login(1)</see> 560c0c79a3fStz204579 <entry id="subject"> 561c0c79a3fStz204579 <internal token="subject"/> 562c0c79a3fStz204579 <external opt="none"/> 563c0c79a3fStz204579 </entry> 564c0c79a3fStz204579<!-- 565c0c79a3fStz204579 not used by C code, used by Lockhart, 566c0c79a3fStz204579 get them to change and remove 567c0c79a3fStz204579 event.user_name("logout " + session.getUserName()); 568c0c79a3fStz204579 from /ws/lockhart-nv-gate/src/bundled/app/webmgt/lib/services/ 569c0c79a3fStz204579 com/sun/management/services/audit/SolarisAuditEvent_Logout.java 570c0c79a3fStz204579--> 571c0c79a3fStz204579 <entry id="user_name"> 572c0c79a3fStz204579 <internal token="text" format="logout %s"/> 573c0c79a3fStz204579 <external opt="optional" type="char *"/> 574c0c79a3fStz204579 <comment>"logout" username</comment> 575c0c79a3fStz204579 </entry> 576c0c79a3fStz204579 <entry id="return"> 577c0c79a3fStz204579 <internal token="return"/> 578c0c79a3fStz204579 <external opt="none"/> 579c0c79a3fStz204579 </entry> 580c0c79a3fStz204579 </event> 581c0c79a3fStz204579 582c0c79a3fStz204579 583c0c79a3fStz204579<!-- C Only events --> 584c0c79a3fStz204579 <event id="AUE_init_solaris" header="0" idNo="32" omit="JNI"> 585c0c79a3fStz204579 <title>init</title> 586c0c79a3fStz204579 <program>/sbin/init</program> 587c0c79a3fStz204579 <program>/usr/sbin/init</program> 588c0c79a3fStz204579 <program>/usr/sbin/shutdown</program> 589c0c79a3fStz204579 <entry id="subject"> 590c0c79a3fStz204579 <internal token="subject"/> 591c0c79a3fStz204579 <external opt="none"/> 592c0c79a3fStz204579 </entry> 593c0c79a3fStz204579 <entry id="info"> 594c0c79a3fStz204579 <internal token="text"/> 595c0c79a3fStz204579 <external opt="optional" type="char *"/> 596c0c79a3fStz204579 <comment>init level or zone name</comment> 597c0c79a3fStz204579 </entry> 598c0c79a3fStz204579 <entry id="return"> 599c0c79a3fStz204579 <internal token="return"/> 600c0c79a3fStz204579 <external opt="none"/> 601c0c79a3fStz204579 </entry> 602c0c79a3fStz204579 </event> 603c0c79a3fStz204579 604c0c79a3fStz204579 <event id="AUE_login" instance_of="AUE_generic_login" header="0" 605c0c79a3fStz204579 idNo="25" omit="JNI"> 606c0c79a3fStz204579 <title>terminal login</title> 607c0c79a3fStz204579 <program>/usr/sbin/login</program> 608c0c79a3fStz204579 <program>/usr/dt/bin/dtlogin</program> 609c0c79a3fStz204579 <see>login(1)</see> 610c0c79a3fStz204579 <see>dtlogin</see> 611c0c79a3fStz204579 </event> 612c0c79a3fStz204579 <event id="AUE_rlogin" instance_of="AUE_generic_login" header="0" 613c0c79a3fStz204579 idNo="28" omit="JNI"> 614c0c79a3fStz204579 <title>rlogin</title> 615c0c79a3fStz204579 <program>/usr/sbin/login</program> 616c0c79a3fStz204579 <see>login(1) - rlogin</see> 617c0c79a3fStz204579 </event> 618c0c79a3fStz204579 <event id="AUE_telnet" instance_of="AUE_generic_login" header="0" 619c0c79a3fStz204579 idNo="29" omit="JNI"> 620c0c79a3fStz204579 <title>telnet login</title> 621c0c79a3fStz204579 <program>/usr/sbin/login</program> 622c0c79a3fStz204579 <see>login(1) - telnet</see> 623c0c79a3fStz204579 </event> 624c0c79a3fStz204579 <event id="AUE_ssh" instance_of="AUE_generic_login" header="0" 625c0c79a3fStz204579 idNo="2" omit="JNI"> 626c0c79a3fStz204579 <program>/usr/lib/ssh/sshd</program> 627c0c79a3fStz204579 </event> 628c0c79a3fStz204579 629c0c79a3fStz204579 <event id="AUE_zlogin" header="0" idNo="38" omit="JNI"> 630c0c79a3fStz204579 <title>zone login</title> 631c0c79a3fStz204579 <program>/usr/sbin/login</program> 632c0c79a3fStz204579 <see>zlogin(1)</see> 633c0c79a3fStz204579 <entry id="subject"> 634c0c79a3fStz204579 <internal token="subject"/> 635c0c79a3fStz204579 <external opt="none"/> 636c0c79a3fStz204579 </entry> 637c0c79a3fStz204579 <entry id="message"> 638c0c79a3fStz204579 <internal token="text"/> 639c0c79a3fStz204579 <external opt="optional" type="char *"/> 640c0c79a3fStz204579 <comment>error message</comment> 641c0c79a3fStz204579 </entry> 642c0c79a3fStz204579 <entry id="return"> 643c0c79a3fStz204579 <internal token="return"/> 644c0c79a3fStz204579 <external opt="none"/> 645c0c79a3fStz204579 </entry> 646c0c79a3fStz204579 </event> 647c0c79a3fStz204579 648c0c79a3fStz204579 <event id="AUE_su" header="0" idNo="30" omit="JNI"> 649c0c79a3fStz204579 <title>su</title> 650c0c79a3fStz204579 <program>/usr/bin/su</program> 651c0c79a3fStz204579 <see>su(1M)</see> 652c0c79a3fStz204579 <entry id="subject"> 653c0c79a3fStz204579 <internal token="subject"/> 654c0c79a3fStz204579 <external opt="none"/> 655c0c79a3fStz204579 </entry> 656c0c79a3fStz204579<!-- 657c0c79a3fStz204579 should be changed to "fail_user" and su.c updated 658c0c79a3fStz204579 However, the jni stuff is broken, so for now it's "message" 659c0c79a3fStz204579--> 660c0c79a3fStz204579 <entry id="message"> 661c0c79a3fStz204579 <internal token="text"/> 662c0c79a3fStz204579 <external opt="optional" type="char *"/> 663c0c79a3fStz204579 <comment>"user name" of failed new user/role</comment> 664c0c79a3fStz204579 </entry> 665c0c79a3fStz204579 <entry id="return"> 666c0c79a3fStz204579 <internal token="return"/> 667c0c79a3fStz204579 <external opt="none"/> 668c0c79a3fStz204579 </entry> 669c0c79a3fStz204579 </event> 670c0c79a3fStz204579 671c0c79a3fStz204579 <event id="AUE_passwd" header="0" idNo="27" omit="JNI"> 672c0c79a3fStz204579 <title>passwd</title> 673c0c79a3fStz204579 <program>various</program> 674c0c79a3fStz204579 <see>passwd(1)</see> 675c0c79a3fStz204579 <entry id="subject"> 676c0c79a3fStz204579 <internal token="subject"/> 677c0c79a3fStz204579 <external opt="none"/> 678c0c79a3fStz204579 </entry> 679c0c79a3fStz204579 <entry id="username"> 680c0c79a3fStz204579 <internal token="text"/> 681c0c79a3fStz204579 <external opt="optional" type="char *"/> 6827a38c0beStz204579 <comment>username if different than caller</comment> 683c0c79a3fStz204579 </entry> 684c0c79a3fStz204579 <entry id="return"> 685c0c79a3fStz204579 <internal token="return"/> 686c0c79a3fStz204579 <external opt="none"/> 687c0c79a3fStz204579 </entry> 688c0c79a3fStz204579 </event> 689c0c79a3fStz204579 690c0c79a3fStz204579 <event id="AUE_screenlock" instance_of="AUE_generic_basic" header="0" 691c0c79a3fStz204579 idNo="26" omit="JNI"> 692c0c79a3fStz204579 <program>desktop screen lock</program> 693c0c79a3fStz204579 </event> 694c0c79a3fStz204579 <event id="AUE_screenunlock" instance_of="AUE_generic_basic" header="0" 695c0c79a3fStz204579 idNo="31" omit="JNI"> 696c0c79a3fStz204579 <program>desktop screen unlock</program> 697c0c79a3fStz204579 </event> 698c0c79a3fStz204579 699c0c79a3fStz204579 <!-- 700c0c79a3fStz204579 AUE_prof_cmd is not supportable for Java due to the structure of 701c0c79a3fStz204579 the priv token. When and if a Java program needs to generate 702c0c79a3fStz204579 a priv token, we'll need to look at the data format in the 703c0c79a3fStz204579 Java code and provide an appropriate java and jni implementation. 704c0c79a3fStz204579 --> 705c0c79a3fStz204579 706c0c79a3fStz204579 <event id="AUE_prof_cmd" header="0" idNo="24" omit="JNI"> 707c0c79a3fStz204579 <title>pfexec</title> 708c0c79a3fStz204579 <program>/usr/bin/pfexec</program> 709c0c79a3fStz204579 <see>pfexec(1)</see> 710c0c79a3fStz204579 <entry id="subject"> 711c0c79a3fStz204579 <internal token="subject"/> 712c0c79a3fStz204579 <external opt="none"/> 713c0c79a3fStz204579 </entry> 714c0c79a3fStz204579 <entry id="cwdpath"> 715c0c79a3fStz204579 <internal token="path"/> 716c0c79a3fStz204579 <external opt="required" type="char*"/> 717c0c79a3fStz204579 <comment>working directory</comment> 718c0c79a3fStz204579 </entry> 719c0c79a3fStz204579 <entry id="cmdpath"> 720c0c79a3fStz204579 <internal token="path"/> 721c0c79a3fStz204579 <external opt="required" type="char*"/> 722c0c79a3fStz204579 <comment>command pathname</comment> 723c0c79a3fStz204579 </entry> 724c0c79a3fStz204579 <entry id="argc,argv,envp"> 725c0c79a3fStz204579 <internal token="command"/> 726c0c79a3fStz204579 <external opt="required" type="int,char**,char**"/> 727c0c79a3fStz204579 </entry> 728c0c79a3fStz204579 <entry id="proc_auid,proc_euid,proc_egid,proc_ruid,proc_rgid,proc_pid,proc_sid,proc_termid"> 729c0c79a3fStz204579 <internal token="process"/> 730c0c79a3fStz204579 <external opt="required" 731c0c79a3fStz204579 type="uid_t,uid_t,gid_t,uid_t,gid_t,pid_t,au_asid_t,termid*"/> 732c0c79a3fStz204579 </entry> 733c0c79a3fStz204579 <entry id="limit_set"> 734c0c79a3fStz204579 <internal token="priv_limit"/> 735c0c79a3fStz204579 <external opt="optional" type="priv_set_t*"/> 736c0c79a3fStz204579 </entry> 737c0c79a3fStz204579 <entry id="inherit_set"> 738c0c79a3fStz204579 <internal token="priv_inherit"/> 739c0c79a3fStz204579 <external opt="optional" type="priv_set_t*"/> 740c0c79a3fStz204579 </entry> 741c0c79a3fStz204579 <entry id="return"> 742c0c79a3fStz204579 <internal token="return"/> 743c0c79a3fStz204579 <external opt="none"/> 744c0c79a3fStz204579 </entry> 745c0c79a3fStz204579 </event> 746c0c79a3fStz204579 747c0c79a3fStz204579 <event id="AUE_inetd_connect" header="0" idNo="34" omit="JNI"> 748c0c79a3fStz204579 <title>inetd</title> 749c0c79a3fStz204579 <program>/usr/sbin/inetd</program> 750c0c79a3fStz204579 <entry id="subject"> 751c0c79a3fStz204579 <internal token="subject"/> 752c0c79a3fStz204579 <external opt="none"/> 753c0c79a3fStz204579 </entry> 754c0c79a3fStz204579 <entry id="service_name"> 755c0c79a3fStz204579 <internal token="text"/> 756c0c79a3fStz204579 <external opt="optional" type="char *"/> 757c0c79a3fStz204579 <comment>service name</comment> 758c0c79a3fStz204579 </entry> 759c0c79a3fStz204579 <entry id="ip_type,ip_remote_port,ip_local_port,ip_adr"> 760c0c79a3fStz204579 <internal token="tid"/> 761c0c79a3fStz204579 <external opt="required" 762c0c79a3fStz204579 type="uint32_t,uint16_t,uint16_t,uint32_t[4]"/> 763c0c79a3fStz204579 <comment>client address</comment> 764c0c79a3fStz204579 </entry> 765c0c79a3fStz204579 <entry id="cmd"> 766c0c79a3fStz204579 <internal token="command_1"/> 767c0c79a3fStz204579 <external opt="required" type="char *"/> 768c0c79a3fStz204579 <comment>inetd command</comment> 769c0c79a3fStz204579 </entry> 770c0c79a3fStz204579 <entry id="privileges"> 771c0c79a3fStz204579 <internal token="priv_effective"/> 772c0c79a3fStz204579 <external opt="required" type="priv_set_t *"/> 773c0c79a3fStz204579 </entry> 774c0c79a3fStz204579 <entry id="return"> 775c0c79a3fStz204579 <internal token="return"/> 776c0c79a3fStz204579 <external opt="none"/> 777c0c79a3fStz204579 </entry> 778c0c79a3fStz204579 </event> 779c0c79a3fStz204579 780c0c79a3fStz204579 <event id="AUE_inetd_ratelimit" header="0" idNo="35" omit="JNI"> 781c0c79a3fStz204579 <title>inetd</title> 782c0c79a3fStz204579 <program>/usr/sbin/inetd</program> 783c0c79a3fStz204579 <entry id="subject"> 784c0c79a3fStz204579 <internal token="subject"/> 785c0c79a3fStz204579 <external opt="none"/> 786c0c79a3fStz204579 </entry> 787c0c79a3fStz204579 <entry id="service_name"> 788c0c79a3fStz204579 <internal token="text"/> 789c0c79a3fStz204579 <external opt="optional" type="char *"/> 790c0c79a3fStz204579 <comment>service name</comment> 791c0c79a3fStz204579 </entry> 792c0c79a3fStz204579 <entry id="limit"> 793c0c79a3fStz204579 <internal token="text"/> 794c0c79a3fStz204579 <external opt="required" type="char *"/> 795c0c79a3fStz204579 <comment>limit value</comment> 796c0c79a3fStz204579 </entry> 797c0c79a3fStz204579 <entry id="return"> 798c0c79a3fStz204579 <internal token="return"/> 799c0c79a3fStz204579 <external opt="none"/> 800c0c79a3fStz204579 </entry> 801c0c79a3fStz204579 </event> 802c0c79a3fStz204579 803c0c79a3fStz204579 <event id="AUE_inetd_copylimit" header="0" idNo="36" omit="JNI"> 804c0c79a3fStz204579 <title>inetd</title> 805c0c79a3fStz204579 <program>/usr/sbin/inetd</program> 806c0c79a3fStz204579 <entry id="subject"> 807c0c79a3fStz204579 <internal token="subject"/> 808c0c79a3fStz204579 <external opt="none"/> 809c0c79a3fStz204579 </entry> 810c0c79a3fStz204579 <entry id="service_name"> 811c0c79a3fStz204579 <internal token="text"/> 812c0c79a3fStz204579 <external opt="optional" type="char *"/> 813c0c79a3fStz204579 <comment>service name</comment> 814c0c79a3fStz204579 </entry> 815c0c79a3fStz204579 <entry id="limit"> 816c0c79a3fStz204579 <internal token="text"/> 817c0c79a3fStz204579 <external opt="required" type="char *"/> 818c0c79a3fStz204579 <comment>limit value</comment> 819c0c79a3fStz204579 </entry> 820c0c79a3fStz204579 <entry id="return"> 821c0c79a3fStz204579 <internal token="return"/> 822c0c79a3fStz204579 <external opt="none"/> 823c0c79a3fStz204579 </entry> 824c0c79a3fStz204579 </event> 825c0c79a3fStz204579 826c0c79a3fStz204579 <event id="AUE_inetd_failrate" header="0" idNo="37" omit="JNI"> 827c0c79a3fStz204579 <title>inetd</title> 828c0c79a3fStz204579 <program>/usr/sbin/inetd</program> 829c0c79a3fStz204579 <entry id="subject"> 830c0c79a3fStz204579 <internal token="subject"/> 831c0c79a3fStz204579 <external opt="none"/> 832c0c79a3fStz204579 </entry> 833c0c79a3fStz204579 <entry id="service_name"> 834c0c79a3fStz204579 <internal token="text"/> 835c0c79a3fStz204579 <external opt="optional" type="char *"/> 836c0c79a3fStz204579 <comment>service name</comment> 837c0c79a3fStz204579 </entry> 838c0c79a3fStz204579 <entry id="values"> 839c0c79a3fStz204579 <internal token="text"/> 840c0c79a3fStz204579 <external opt="required" type="char *"/> 841c0c79a3fStz204579 <comment>limit value, interval</comment> 842c0c79a3fStz204579 </entry> 843c0c79a3fStz204579 <entry id="return"> 844c0c79a3fStz204579 <internal token="return"/> 845c0c79a3fStz204579 <external opt="none"/> 846c0c79a3fStz204579 </entry> 847c0c79a3fStz204579 </event> 848c0c79a3fStz204579 849c0c79a3fStz204579 <event id="AUE_zone_state" header="0" idNo="33" omit="JNI"> 850c0c79a3fStz204579 <entry id="subject"> 851c0c79a3fStz204579 <internal token="subject"/> 852c0c79a3fStz204579 <external opt="none"/> 853c0c79a3fStz204579 </entry> 854c0c79a3fStz204579 <entry id="new_state"> 855c0c79a3fStz204579 <internal token="text"/> 856c0c79a3fStz204579 <external opt="required" type="char *"/> 857c0c79a3fStz204579 <comment>New zone state</comment> 858c0c79a3fStz204579 </entry> 859c0c79a3fStz204579 <entry id="zonename"> 860c0c79a3fStz204579 <internal token="zonename"/> 861c0c79a3fStz204579 <external opt="required" type="char *"/> 862c0c79a3fStz204579 <comment>zone name</comment> 863c0c79a3fStz204579 </entry> 864c0c79a3fStz204579 <entry id="return"> 865c0c79a3fStz204579 <internal token="return"/> 866c0c79a3fStz204579 <external opt="none"/> 867c0c79a3fStz204579 </entry> 868c0c79a3fStz204579 </event> 869c0c79a3fStz204579 870c0c79a3fStz204579 <event id="AUE_su_logout" instance_of="AUE_generic_basic" 871c0c79a3fStz204579 header="0" idNo="39" omit="JNI"> 872c0c79a3fStz204579 <title>su</title> 873c0c79a3fStz204579 <program>/usr/bin/su</program> 874c0c79a3fStz204579 <see>su(1M)</see> 875c0c79a3fStz204579 </event> 876c0c79a3fStz204579 877c0c79a3fStz204579 <event id="AUE_role_logout" instance_of="AUE_generic_basic" 878c0c79a3fStz204579 header="0" idNo="40" omit="JNI"> 879c0c79a3fStz204579 <title>su</title> 880c0c79a3fStz204579 <program>/usr/bin/su</program> 881c0c79a3fStz204579 <see>su(1M)</see> 882c0c79a3fStz204579 </event> 883c0c79a3fStz204579 884c0c79a3fStz204579 <event id="AUE_newgrp_login" header="0" idNo="41" omit="JNI"> 885c0c79a3fStz204579 <program>newgrp</program> 886c0c79a3fStz204579 <entry id="subject"> 887c0c79a3fStz204579 <internal token="subject"/> 888c0c79a3fStz204579 <external opt="none"/> 889c0c79a3fStz204579 </entry> 890c0c79a3fStz204579 <entry id="groupname"> 891c0c79a3fStz204579 <internal token="text"/> 892c0c79a3fStz204579 <external opt="required" type="char *"/> 893c0c79a3fStz204579 <comment>group name</comment> 894c0c79a3fStz204579 </entry> 895c0c79a3fStz204579 <entry id="return"> 896c0c79a3fStz204579 <internal token="return"/> 897c0c79a3fStz204579 <external opt="none"/> 898c0c79a3fStz204579 </entry> 899c0c79a3fStz204579 </event> 900c0c79a3fStz204579 901c0c79a3fStz204579 <event id="AUE_generic_mountable" type="generic" omit="always"> 902c0c79a3fStz204579 <!-- 903c0c79a3fStz204579 904c0c79a3fStz204579 User device mounting related functions 905c0c79a3fStz204579 906c0c79a3fStz204579 --> 907c0c79a3fStz204579 <entry id="subject"> 908c0c79a3fStz204579 <internal token="subject"/> 909c0c79a3fStz204579 <external opt="none"/> 910c0c79a3fStz204579 </entry> 911c0c79a3fStz204579 <entry id="auth_used"> 912c0c79a3fStz204579 <internal token="uauth"/> 913c0c79a3fStz204579 <external opt="required" type="char *"/> 914c0c79a3fStz204579 <comment>authorization used</comment> 915c0c79a3fStz204579 </entry> 916c0c79a3fStz204579 <entry id="mount_point"> 917c0c79a3fStz204579 <internal token="path"/> 918c0c79a3fStz204579 <external opt="required" type="char *"/> 919c0c79a3fStz204579 <comment>mount point</comment> 920c0c79a3fStz204579 </entry> 921c0c79a3fStz204579 <entry id="device"> 922c0c79a3fStz204579 <internal token="path"/> 923c0c79a3fStz204579 <external opt="required" type="char *"/> 924c0c79a3fStz204579 <comment>device</comment> 925c0c79a3fStz204579 </entry> 926c0c79a3fStz204579 <entry id="options"> 927c0c79a3fStz204579 <internal token="text"/> 928c0c79a3fStz204579 <external opt="optional" type="char *"/> 929c0c79a3fStz204579 <comment>options</comment> 930c0c79a3fStz204579 </entry> 931c0c79a3fStz204579 <entry id="return"> 932c0c79a3fStz204579 <internal token="return"/> 933c0c79a3fStz204579 <external opt="none"/> 934c0c79a3fStz204579 </entry> 935c0c79a3fStz204579 </event> 936c0c79a3fStz204579 937c0c79a3fStz204579 <event id="AUE_attach" instance_of="AUE_generic_mountable" 938c0c79a3fStz204579 header="0" idNo="42" omit="JNI"> 939c0c79a3fStz204579 <program>hald</program> 940c0c79a3fStz204579 </event> 941c0c79a3fStz204579 <event id="AUE_detach" instance_of="AUE_generic_mountable" 942c0c79a3fStz204579 header="0" idNo="43" omit="JNI"> 943c0c79a3fStz204579 <program>hald</program> 944c0c79a3fStz204579 </event> 945c0c79a3fStz204579 <event id="AUE_remove" header="0" idNo="44" omit="JNI"> 946c0c79a3fStz204579 <program>hald</program> 947c0c79a3fStz204579 <entry id="subject"> 948c0c79a3fStz204579 <internal token="subject"/> 949c0c79a3fStz204579 <external opt="none"/> 950c0c79a3fStz204579 </entry> 951c0c79a3fStz204579 <entry id="auth_used"> 952c0c79a3fStz204579 <internal token="uauth"/> 953c0c79a3fStz204579 <external opt="required" type="char *"/> 954c0c79a3fStz204579 <comment>authorization used</comment> 955c0c79a3fStz204579 </entry> 956c0c79a3fStz204579 <entry id="mount_point"> 957c0c79a3fStz204579 <internal token="path"/> 958c0c79a3fStz204579 <external opt="optional" type="char *"/> 959c0c79a3fStz204579 <comment>mount point</comment> 960c0c79a3fStz204579 </entry> 961c0c79a3fStz204579 <entry id="device"> 962c0c79a3fStz204579 <internal token="path"/> 963c0c79a3fStz204579 <external opt="required" type="char *"/> 964c0c79a3fStz204579 <comment>device</comment> 965c0c79a3fStz204579 </entry> 966c0c79a3fStz204579 <entry id="return"> 967c0c79a3fStz204579 <internal token="return"/> 968c0c79a3fStz204579 <external opt="none"/> 969c0c79a3fStz204579 </entry> 970c0c79a3fStz204579 </event> 971c0c79a3fStz204579 972c0c79a3fStz204579 <event id="AUE_pool_import" header="0" idNo="45" omit="JNI"> 973c0c79a3fStz204579 <program>hald</program> 974c0c79a3fStz204579 <entry id="subject"> 975c0c79a3fStz204579 <internal token="subject"/> 976c0c79a3fStz204579 <external opt="none"/> 977c0c79a3fStz204579 </entry> 978c0c79a3fStz204579 <entry id="auth_used"> 979c0c79a3fStz204579 <internal token="uauth"/> 980c0c79a3fStz204579 <external opt="required" type="char *"/> 981c0c79a3fStz204579 <comment>authorization used</comment> 982c0c79a3fStz204579 </entry> 983c0c79a3fStz204579 <entry id="pool"> 984c0c79a3fStz204579 <internal token="text"/> 985c0c79a3fStz204579 <external opt="required" type="char *"/> 986c0c79a3fStz204579 <comment>pool</comment> 987c0c79a3fStz204579 </entry> 988c0c79a3fStz204579 <entry id="device"> 989c0c79a3fStz204579 <internal token="path"/> 990c0c79a3fStz204579 <external opt="required" type="char *"/> 991c0c79a3fStz204579 <comment>device</comment> 992c0c79a3fStz204579 </entry> 993c0c79a3fStz204579 <entry id="return"> 994c0c79a3fStz204579 <internal token="return"/> 995c0c79a3fStz204579 <external opt="none"/> 996c0c79a3fStz204579 </entry> 997c0c79a3fStz204579 </event> 998c0c79a3fStz204579 <event id="AUE_pool_export" header="0" idNo="46" omit="JNI"> 999c0c79a3fStz204579 <program>hald</program> 1000c0c79a3fStz204579 <entry id="subject"> 1001c0c79a3fStz204579 <internal token="subject"/> 1002c0c79a3fStz204579 <external opt="none"/> 1003c0c79a3fStz204579 </entry> 1004c0c79a3fStz204579 <entry id="auth_used"> 1005c0c79a3fStz204579 <internal token="uauth"/> 1006c0c79a3fStz204579 <external opt="required" type="char *"/> 1007c0c79a3fStz204579 <comment>authorization used</comment> 1008c0c79a3fStz204579 </entry> 1009c0c79a3fStz204579 <entry id="pool"> 1010c0c79a3fStz204579 <internal token="text"/> 1011c0c79a3fStz204579 <external opt="required" type="char *"/> 1012c0c79a3fStz204579 <comment>pool</comment> 1013c0c79a3fStz204579 </entry> 1014c0c79a3fStz204579 <entry id="device"> 1015c0c79a3fStz204579 <internal token="path"/> 1016c0c79a3fStz204579 <external opt="required" type="char *"/> 1017c0c79a3fStz204579 <comment>device</comment> 1018c0c79a3fStz204579 </entry> 1019c0c79a3fStz204579 <entry id="return"> 1020c0c79a3fStz204579 <internal token="return"/> 1021c0c79a3fStz204579 <external opt="none"/> 1022c0c79a3fStz204579 </entry> 1023c0c79a3fStz204579 </event> 1024c0c79a3fStz204579 1025c0c79a3fStz204579<!-- dladm security objected events --> 1026c0c79a3fStz204579 <event id="AUE_dladm_generic" type="generic" omit="always"> 1027c0c79a3fStz204579 <entry id="subject"> 1028c0c79a3fStz204579 <internal token="subject"/> 1029c0c79a3fStz204579 <external opt="none"/> 1030c0c79a3fStz204579 </entry> 1031c0c79a3fStz204579 <entry id="auth_used"> 1032c0c79a3fStz204579 <internal token="uauth"/> 1033c0c79a3fStz204579 <external opt="required" type="char *"/> 1034c0c79a3fStz204579 <comment>authorization used</comment> 1035c0c79a3fStz204579 </entry> 1036c0c79a3fStz204579 <entry id="obj_class"> 1037c0c79a3fStz204579 <internal token="text"/> 1038c0c79a3fStz204579 <external opt="required" type="char *"/> 1039c0c79a3fStz204579 <comment>object class name</comment> 1040c0c79a3fStz204579 </entry> 1041c0c79a3fStz204579 <entry id="obj_name"> 1042c0c79a3fStz204579 <internal token="text"/> 1043c0c79a3fStz204579 <external opt="required" type="char *"/> 1044c0c79a3fStz204579 <comment>object name</comment> 1045c0c79a3fStz204579 </entry> 1046c0c79a3fStz204579 <entry id="return"> 1047c0c79a3fStz204579 <internal token="return"/> 1048c0c79a3fStz204579 <external opt="none"/> 1049c0c79a3fStz204579 </entry> 1050c0c79a3fStz204579 </event> 1051c0c79a3fStz204579 1052c0c79a3fStz204579 <event id="AUE_dladm_create_secobj" instance_of="AUE_dladm_generic" 1053c0c79a3fStz204579 header="0" idNo="47" omit="JNI"> 1054c0c79a3fStz204579 <title>create wifi security object</title> 1055c0c79a3fStz204579 <program>/usr/sbin/dladm</program> 1056c0c79a3fStz204579 <see>dladm(1M)</see> 1057c0c79a3fStz204579 </event> 1058c0c79a3fStz204579 <event id="AUE_dladm_delete_secobj" instance_of="AUE_dladm_generic" 1059c0c79a3fStz204579 header="0" idNo="48" omit="JNI"> 1060c0c79a3fStz204579 <title>delete wifi security object</title> 1061c0c79a3fStz204579 <program>/usr/sbin/dladm</program> 1062c0c79a3fStz204579 <see>dladm(1M)</see> 1063c0c79a3fStz204579 </event> 1064c0c79a3fStz204579 1065c0c79a3fStz204579<!-- Trusted eXtensions (TX) events --> 1066c0c79a3fStz204579 1067c0c79a3fStz204579 <!-- labeld events --> 1068c0c79a3fStz204579 <event id="AUE_file_relabel" header="0" idNo="49" omit="JNI"> 1069c0c79a3fStz204579 <title>relabel file from one zone to another</title> 1070c0c79a3fStz204579 <program>setlabel(1)</program> 1071c0c79a3fStz204579 <see>setflabel(3TSOL)</see> 1072c0c79a3fStz204579 <entry id="subject"> 1073c0c79a3fStz204579 <internal token="subject"/> 1074c0c79a3fStz204579 <external opt="none"/> 1075c0c79a3fStz204579 </entry> 1076c0c79a3fStz204579 <entry id="auth_used"> 1077c0c79a3fStz204579 <internal token="uauth"/> 1078c0c79a3fStz204579 <external opt="required" type="char *"/> 1079c0c79a3fStz204579 <comment>authorization used</comment> 1080c0c79a3fStz204579 </entry> 1081c0c79a3fStz204579 <entry id="file"> 1082c0c79a3fStz204579 <internal token="path"/> 1083c0c79a3fStz204579 <external opt="required" type="char *"/> 1084c0c79a3fStz204579 <comment>file relabeled</comment> 1085c0c79a3fStz204579 </entry> 1086c0c79a3fStz204579 <entry id="src_label"> 1087c0c79a3fStz204579 <internal token="label"/> 1088c0c79a3fStz204579 <external opt="required" type="m_label_t *"/> 1089c0c79a3fStz204579 <comment>original label</comment> 1090c0c79a3fStz204579 </entry> 1091c0c79a3fStz204579 <entry id="dst_label"> 1092c0c79a3fStz204579 <internal token="label"/> 1093c0c79a3fStz204579 <external opt="required" type="m_label_t *"/> 1094c0c79a3fStz204579 <comment>new label</comment> 1095c0c79a3fStz204579 </entry> 1096c0c79a3fStz204579 <entry id="return"> 1097c0c79a3fStz204579 <internal token="return"/> 1098c0c79a3fStz204579 <external opt="none"/> 1099c0c79a3fStz204579 </entry> 1100c0c79a3fStz204579 </event> 1101c0c79a3fStz204579 1102c0c79a3fStz204579 <event id="AUE_file_copy" header="0" idNo="50" omit="JNI"> 1103c0c79a3fStz204579 <title>copy file to another zone</title> 1104c0c79a3fStz204579 <program>dtfile(1X)</program> 1105c0c79a3fStz204579 <entry id="subject"> 1106c0c79a3fStz204579 <internal token="subject"/> 1107c0c79a3fStz204579 <external opt="none"/> 1108c0c79a3fStz204579 </entry> 1109c0c79a3fStz204579 <entry id="auth_used"> 1110c0c79a3fStz204579 <internal token="uauth"/> 1111c0c79a3fStz204579 <external opt="required" type="char *"/> 1112c0c79a3fStz204579 <comment>authorization used</comment> 1113c0c79a3fStz204579 </entry> 1114c0c79a3fStz204579 <entry id="src_file"> 1115c0c79a3fStz204579 <internal token="path"/> 1116c0c79a3fStz204579 <external opt="required" type="char *"/> 1117c0c79a3fStz204579 <comment>source file</comment> 1118c0c79a3fStz204579 </entry> 1119c0c79a3fStz204579 <entry id="src_label"> 1120c0c79a3fStz204579 <internal token="label"/> 1121c0c79a3fStz204579 <external opt="required" type="m_label_t *"/> 1122c0c79a3fStz204579 <comment>source label</comment> 1123c0c79a3fStz204579 </entry> 1124c0c79a3fStz204579 <entry id="dst_file"> 1125c0c79a3fStz204579 <internal token="path"/> 1126c0c79a3fStz204579 <external opt="required" type="char *"/> 1127c0c79a3fStz204579 <comment>destination directory</comment> 1128c0c79a3fStz204579 </entry> 1129c0c79a3fStz204579 <entry id="dst_label"> 1130c0c79a3fStz204579 <internal token="label"/> 1131c0c79a3fStz204579 <external opt="required" type="m_label_t *"/> 1132c0c79a3fStz204579 <comment>destination label</comment> 1133c0c79a3fStz204579 </entry> 1134c0c79a3fStz204579 <entry id="return"> 1135c0c79a3fStz204579 <internal token="return"/> 1136c0c79a3fStz204579 <external opt="none"/> 1137c0c79a3fStz204579 </entry> 1138c0c79a3fStz204579 </event> 1139c0c79a3fStz204579 11406a3b10dbStz204579 <!-- uadmin(1m) events --> 11416a3b10dbStz204579 <event id="AUE_uadmin_generic" type="generic" omit="always"> 11426a3b10dbStz204579 <entry id="subject"> 11436a3b10dbStz204579 <internal token="subject"/> 11446a3b10dbStz204579 <external opt="none"/> 11456a3b10dbStz204579 </entry> 11466a3b10dbStz204579 <entry id="fcn"> 11476a3b10dbStz204579 <internal token="text"/> 11486a3b10dbStz204579 <external opt="required" type="msg uadmin_fcn"/> 11496a3b10dbStz204579 <comment>next action</comment> 11506a3b10dbStz204579 </entry> 11516a3b10dbStz204579 <entry id="mdep"> 11526a3b10dbStz204579 <internal token="text"/> 11536a3b10dbStz204579 <external opt="optional" type="char *"/> 11546a3b10dbStz204579 <comment>machine dependent argument</comment> 11556a3b10dbStz204579 </entry> 11566a3b10dbStz204579 <entry id="return"> 11576a3b10dbStz204579 <internal token="return"/> 11586a3b10dbStz204579 <external opt="none"/> 11596a3b10dbStz204579 </entry> 11606a3b10dbStz204579 </event> 11616a3b10dbStz204579 <event id="AUE_uadmin_generic_fcn" type="generic" omit="always"> 11626a3b10dbStz204579 <entry id="subject"> 11636a3b10dbStz204579 <internal token="subject"/> 11646a3b10dbStz204579 <external opt="none"/> 11656a3b10dbStz204579 </entry> 11666a3b10dbStz204579 <entry id="fcn"> 11676a3b10dbStz204579 <internal token="text"/> 11686a3b10dbStz204579 <external opt="required" type="msg uadmin_fcn"/> 11696a3b10dbStz204579 <comment>next action</comment> 11706a3b10dbStz204579 </entry> 11716a3b10dbStz204579 <entry id="return"> 11726a3b10dbStz204579 <internal token="return"/> 11736a3b10dbStz204579 <external opt="none"/> 11746a3b10dbStz204579 </entry> 11756a3b10dbStz204579 </event> 11766a3b10dbStz204579 <event id="AUE_uadmin_shutdown" instance_of="AUE_uadmin_generic" 11776a3b10dbStz204579 header="0" idNo="51" omit="JNI"> 11786a3b10dbStz204579 <title>uadmin shutdown</title> 11796a3b10dbStz204579 <program>/sbin/uadmin</program> 11806a3b10dbStz204579 <program>/usr/sbin/uadmin</program> 11816a3b10dbStz204579 <see>uadmin(1M)</see> 11826a3b10dbStz204579 </event> 11836a3b10dbStz204579 <event id="AUE_uadmin_reboot" instance_of="AUE_uadmin_generic" 11846a3b10dbStz204579 header="0" idNo="52" omit="JNI"> 11856a3b10dbStz204579 <title>uadmin reboot</title> 11866a3b10dbStz204579 <program>/sbin/uadmin</program> 11876a3b10dbStz204579 <program>/usr/sbin/uadmin</program> 11886a3b10dbStz204579 <see>uadmin(1M)</see> 11896a3b10dbStz204579 </event> 11906a3b10dbStz204579 <event id="AUE_uadmin_dump" instance_of="AUE_uadmin_generic" 11916a3b10dbStz204579 header="0" idNo="53" omit="JNI"> 11926a3b10dbStz204579 <title>uadmin dump</title> 11936a3b10dbStz204579 <program>/sbin/uadmin</program> 11946a3b10dbStz204579 <program>/usr/sbin/uadmin</program> 11956a3b10dbStz204579 <see>uadmin(1M)</see> 11966a3b10dbStz204579 </event> 11976a3b10dbStz204579 <event id="AUE_uadmin_freeze" instance_of="AUE_uadmin_generic" 11986a3b10dbStz204579 header="0" idNo="54" omit="JNI"> 11996a3b10dbStz204579 <title>uadmin freeze</title> 12006a3b10dbStz204579 <program>/sbin/uadmin</program> 12016a3b10dbStz204579 <program>/usr/sbin/uadmin</program> 12026a3b10dbStz204579 <see>uadmin(1M)</see> 12036a3b10dbStz204579 </event> 12046a3b10dbStz204579 <event id="AUE_uadmin_remount" header="0" idNo="55" omit="JNI"> 12056a3b10dbStz204579 <title>uadmin remount</title> 12066a3b10dbStz204579 <program>/sbin/uadmin</program> 12076a3b10dbStz204579 <program>/usr/sbin/uadmin</program> 12086a3b10dbStz204579 <see>uadmin(1M)</see> 12096a3b10dbStz204579 <entry id="subject"> 12106a3b10dbStz204579 <internal token="subject"/> 12116a3b10dbStz204579 <external opt="none"/> 12126a3b10dbStz204579 </entry> 12136a3b10dbStz204579 <entry id="return"> 12146a3b10dbStz204579 <internal token="return"/> 12156a3b10dbStz204579 <external opt="none"/> 12166a3b10dbStz204579 </entry> 12176a3b10dbStz204579 </event> 12186a3b10dbStz204579 <!-- uadmin ftrace and swapctl are not documented in uadmin(2) --> 12196a3b10dbStz204579 <event id="AUE_uadmin_ftrace" instance_of="AUE_uadmin_generic_fcn" 12206a3b10dbStz204579 header="0" idNo="56" omit="JNI"> 12216a3b10dbStz204579 <title>uadmin ftrace</title> 12226a3b10dbStz204579 <program>/sbin/uadmin</program> 12236a3b10dbStz204579 <program>/usr/sbin/uadmin</program> 12246a3b10dbStz204579 <see>uadmin(1M)</see> 12256a3b10dbStz204579 </event> 12266a3b10dbStz204579 <event id="AUE_uadmin_swapctl" instance_of="AUE_uadmin_generic_fcn" 12276a3b10dbStz204579 header="0" idNo="57" omit="JNI"> 12286a3b10dbStz204579 <title>uadmin swapctl</title> 12296a3b10dbStz204579 <program>/sbin/uadmin</program> 12306a3b10dbStz204579 <program>/usr/sbin/uadmin</program> 12316a3b10dbStz204579 <see>uadmin(1M)</see> 12326a3b10dbStz204579 </event> 12336a3b10dbStz204579 1234da6c28aaSamw<!-- smbd service event; smbd session setup --> 1235da6c28aaSamw <event id="AUE_smbd_session" header="0" idNo="58" omit="JNI"> 1236da6c28aaSamw <title>smbd</title> 1237da6c28aaSamw <program>/usr/lib/smbsrv/smbd</program> 1238da6c28aaSamw <entry id="subject"> 1239da6c28aaSamw <internal token="subject"/> 1240da6c28aaSamw <external opt="none"/> 1241da6c28aaSamw </entry> 1242da6c28aaSamw <entry id="domain"> 1243da6c28aaSamw <internal token="text"/> 1244da6c28aaSamw <external opt="required" type="char*"/> 1245da6c28aaSamw <comment>domain</comment> 1246da6c28aaSamw </entry> 1247da6c28aaSamw <entry id="username"> 1248da6c28aaSamw <internal token="text"/> 1249da6c28aaSamw <external opt="required" type="char*"/> 1250da6c28aaSamw <comment>username</comment> 1251da6c28aaSamw </entry> 1252da6c28aaSamw <entry id="sid"> 1253da6c28aaSamw <internal token="text"/> 1254da6c28aaSamw <external opt="optional" type="char*"/> 1255da6c28aaSamw <comment>sid</comment> 1256da6c28aaSamw </entry> 1257da6c28aaSamw <entry id="return"> 1258da6c28aaSamw <internal token="return"/> 1259da6c28aaSamw <external opt="none"/> 1260da6c28aaSamw </entry> 1261da6c28aaSamw </event> 1262da6c28aaSamw 1263da6c28aaSamw<!-- smbd service event; smbd session logoff --> 1264da6c28aaSamw <event id="AUE_smbd_logoff" header="0" idNo="59" omit="JNI"> 1265da6c28aaSamw <title>smbd</title> 1266da6c28aaSamw <program>/usr/lib/smbsrv/smbd</program> 1267da6c28aaSamw <entry id="subject"> 1268da6c28aaSamw <internal token="subject"/> 1269da6c28aaSamw <external opt="none"/> 1270da6c28aaSamw </entry> 1271da6c28aaSamw <entry id="domain"> 1272da6c28aaSamw <internal token="text"/> 1273da6c28aaSamw <external opt="required" type="char*"/> 1274da6c28aaSamw <comment>domain</comment> 1275da6c28aaSamw </entry> 1276da6c28aaSamw <entry id="username"> 1277da6c28aaSamw <internal token="text"/> 1278da6c28aaSamw <external opt="required" type="char*"/> 1279da6c28aaSamw <comment>username</comment> 1280da6c28aaSamw </entry> 1281da6c28aaSamw <entry id="return"> 1282da6c28aaSamw <internal token="return"/> 1283da6c28aaSamw <external opt="none"/> 1284da6c28aaSamw </entry> 1285da6c28aaSamw </event> 1286da6c28aaSamw 1287911106dfSjm199354<!-- vscan service event; infected file detected --> 1288*273264cdSdm120769 <event id="AUE_vscan_quarantine" header="0" idNo="60" omit="JNI"> 1289911106dfSjm199354 <title>VSCAN: quarantine infected file</title> 1290911106dfSjm199354 <program>/usr/lib/vscan/vscand</program> 1291911106dfSjm199354 <see>vscand(1M), ICAP RFC 3507 (Extensions)</see> 1292911106dfSjm199354 <entry id="subject"> 1293911106dfSjm199354 <internal token="subject"/> 1294911106dfSjm199354 <external opt="none"/> 1295911106dfSjm199354 </entry> 1296911106dfSjm199354 <entry id="file"> 1297911106dfSjm199354 <internal token="path"/> 1298911106dfSjm199354 <external opt="required" type="char*"/> 1299911106dfSjm199354 <comment>infected file</comment> 1300911106dfSjm199354 </entry> 1301911106dfSjm199354 <entry id="violations,nviolations"> 1302911106dfSjm199354 <internal token="text"/> 1303911106dfSjm199354 <external opt="optional" type="char**,int"/> 1304911106dfSjm199354 <comment>ID - threat description</comment> 1305911106dfSjm199354 </entry> 1306911106dfSjm199354 <entry id="return"> 1307911106dfSjm199354 <internal token="return"/> 1308911106dfSjm199354 <external opt="none"/> 1309911106dfSjm199354 </entry> 1310911106dfSjm199354 </event> 1311911106dfSjm199354 1312911106dfSjm199354 1313c0c79a3fStz204579<!-- add new events here with the next higher idNo --> 1314*273264cdSdm120769<!-- Highest idNo is 60, so next is 61, then fix this comment --> 1315c0c79a3fStz204579<!-- end of C Only events --> 1316c0c79a3fStz204579 1317c0c79a3fStz204579 1318c0c79a3fStz204579<!-- 1319c0c79a3fStz204579 token definitions are partially implemented. All they do for now 1320c0c79a3fStz204579 is create a list of defined token names. In the future they may 1321c0c79a3fStz204579 become a way of describing token structure. 1322c0c79a3fStz204579--> 1323c0c79a3fStz204579 1324c0c79a3fStz204579 <token id="acl"> 1325c0c79a3fStz204579 </token> 1326c0c79a3fStz204579 <token id="arbitrary"> 1327c0c79a3fStz204579 </token> 1328c0c79a3fStz204579 <token id="arg"> 1329c0c79a3fStz204579 </token> 1330c0c79a3fStz204579 <token id="attr"> 1331c0c79a3fStz204579 </token> 1332c0c79a3fStz204579 <token id="command"> 1333c0c79a3fStz204579 </token> 1334c0c79a3fStz204579 <token id="command_1"> 1335c0c79a3fStz204579 </token> 1336c0c79a3fStz204579 <token id="date"> 1337c0c79a3fStz204579 </token> 1338c0c79a3fStz204579 <token id="exec_args"> 1339c0c79a3fStz204579 </token> 1340c0c79a3fStz204579 <token id="exec_env"> 1341c0c79a3fStz204579 </token> 1342c0c79a3fStz204579 <token id="exit"> 1343c0c79a3fStz204579 </token> 1344c0c79a3fStz204579 <token id="file"> 1345c0c79a3fStz204579 </token> 1346c0c79a3fStz204579 <token id="fmri"> 1347c0c79a3fStz204579 </token> 1348c0c79a3fStz204579 <token id="groups"> 1349c0c79a3fStz204579 </token> 1350c0c79a3fStz204579 <token id="in_addr"> 1351c0c79a3fStz204579 </token> 1352c0c79a3fStz204579 <token id="ipc"> 1353c0c79a3fStz204579 </token> 1354c0c79a3fStz204579 <token id="ipc_perm"> 1355c0c79a3fStz204579 </token> 1356c0c79a3fStz204579 <token id="label"> 1357c0c79a3fStz204579 </token> 1358c0c79a3fStz204579 <token id="newgroups"> 1359c0c79a3fStz204579 </token> 1360c0c79a3fStz204579 <token id="opaque"> 1361c0c79a3fStz204579 </token> 1362c0c79a3fStz204579 <token id="path"> 1363c0c79a3fStz204579 </token> 1364c0c79a3fStz204579 <!-- pseudo token; path list generates 0 or more path tokens --> 1365c0c79a3fStz204579 <token id="path_list"> 1366c0c79a3fStz204579 </token> 1367c0c79a3fStz204579 <token id="tid"> 1368c0c79a3fStz204579 </token> 1369c0c79a3fStz204579 1370c0c79a3fStz204579 <!-- 1371c0c79a3fStz204579 privilege token is implemented as one of the pseudo tokens 1372c0c79a3fStz204579 priv_limit, priv_effective, or priv_inherit 1373c0c79a3fStz204579 1374c0c79a3fStz204579 <token id="privilege"> 1375c0c79a3fStz204579 </token> 1376c0c79a3fStz204579 --> 1377c0c79a3fStz204579 <token id="priv_effective"> 1378c0c79a3fStz204579 </token> 1379c0c79a3fStz204579 <token id="priv_inherit"> 1380c0c79a3fStz204579 </token> 1381c0c79a3fStz204579 <token id="priv_limit"> 1382c0c79a3fStz204579 </token> 1383c0c79a3fStz204579 <token id="process"> 1384c0c79a3fStz204579 </token> 1385c0c79a3fStz204579 <token id="return"> 1386c0c79a3fStz204579 </token> 1387c0c79a3fStz204579 <token id="seq"> 1388c0c79a3fStz204579 </token> 1389c0c79a3fStz204579 <token id="socket"> 1390c0c79a3fStz204579 </token> 1391c0c79a3fStz204579 <token id="socket-inet"> 1392c0c79a3fStz204579 </token> 1393c0c79a3fStz204579 <token id="subject"> 1394c0c79a3fStz204579 </token> 1395c0c79a3fStz204579 <token id="text"> 1396c0c79a3fStz204579 </token> 1397c0c79a3fStz204579 <token id="uauth"> 1398c0c79a3fStz204579 </token> 1399c0c79a3fStz204579 <token id="zonename"> 1400c0c79a3fStz204579 </token> 1401c0c79a3fStz204579 1402c0c79a3fStz204579<!-- 1403c0c79a3fStz204579 error value list for return values with success/fail code of fail. 1404c0c79a3fStz204579 These values start at 1000 so praudit can tell the difference 1405c0c79a3fStz204579 between the libbsm/common/audit_*.c broken error values and 1406c0c79a3fStz204579 the new adt_ error value list. It is public so that praudit 1407c0c79a3fStz204579 can find it. 1408c0c79a3fStz204579 1409c0c79a3fStz204579 praudit outputs "failure" %s" for these strings, so there is 1410c0c79a3fStz204579 no need to use words such as "failed" in the message. 1411c0c79a3fStz204579 1412c0c79a3fStz204579 ** Add to the end only to maintain validity across versions of 1413c0c79a3fStz204579 the audit log. ** 1414c0c79a3fStz204579--> 1415c0c79a3fStz204579 1416c0c79a3fStz204579 <msg_list id="fail_value" header="0" start="1000" public="true"> 1417c0c79a3fStz204579 <msg id="PW_ATTR">Attribute update</msg> 1418c0c79a3fStz204579 <msg id="PW">Password update</msg> 1419c0c79a3fStz204579 <msg id="USERNAME">bad username</msg> 1420c0c79a3fStz204579 <msg id="AUTH">authorization failed</msg> 1421c0c79a3fStz204579 <msg id="UID">bad uid</msg> 1422c0c79a3fStz204579 <msg id="UNKNOWN">unknown failure</msg> 1423c0c79a3fStz204579 <msg id="EXPIRED">password expired</msg> 1424c0c79a3fStz204579 <msg id="ACCOUNT_LOCKED">Account is locked</msg> 1425c0c79a3fStz204579 <msg id="BAD_DIALUP">Bad dial up</msg> 1426c0c79a3fStz204579 <msg id="BAD_ID">Invalid ID</msg> 1427c0c79a3fStz204579 <msg id="BAD_PW">Invalid password</msg> 1428c0c79a3fStz204579 <msg id="CONSOLE">Not on console</msg> 1429c0c79a3fStz204579 <msg id="MAX_TRIES">Too many failed attempts</msg> 1430c0c79a3fStz204579 <msg id="PROTOCOL_FAILURE">Protocol failure</msg> 1431c0c79a3fStz204579 <msg id="EXCLUDED_USER">Excluded user</msg> 1432c0c79a3fStz204579 <msg id="ANON_USER">No anonymous</msg> 1433c0c79a3fStz204579 <msg id="BAD_CMD">Invalid command</msg> 1434c0c79a3fStz204579 <msg id="BAD_TTY">Standard input not a tty line</msg> 1435c0c79a3fStz204579 <msg id="PROGRAM">Program failure</msg> 1436c0c79a3fStz204579 <msg id="CHDIR_FAILED">chdir to home directory</msg> 1437c0c79a3fStz204579 <msg id="INPUT_OVERFLOW">Input line too long.</msg> 1438c0c79a3fStz204579 <msg id="DEVICE_PERM">login device override</msg> 1439c0c79a3fStz204579 <msg id="AUTH_BYPASS">authorization bypass</msg> 1440c0c79a3fStz204579 <msg id="LOGIN_DISABLED">login disabled</msg> 1441c0c79a3fStz204579 </msg_list> 1442c0c79a3fStz204579 1443c0c79a3fStz204579<!-- 1444c0c79a3fStz204579 The following empty list is used for PAM errors; the "start" 1445c0c79a3fStz204579 value is used by praudit to know to use the PAM infrastructure 1446c0c79a3fStz204579 for generating error strings 1447c0c79a3fStz204579--> 1448c0c79a3fStz204579 <msg_list id="fail_pam" header="0" start="2000" public="true"> 1449c0c79a3fStz204579 </msg_list> 1450c0c79a3fStz204579 1451c0c79a3fStz204579<!-- 1452c0c79a3fStz204579 This is still in use by SMC. See AUE_generic_login. When 1453c0c79a3fStz204579 either SMC is fixed to stop using this, or SMC goes away. 1454c0c79a3fStz204579 REMOVE this stuff and the corresponding AUE_generic_login 1455c0c79a3fStz204579 message field. 1456c0c79a3fStz204579 1457c0c79a3fStz204579 Message list for the various authentication events, such 1458c0c79a3fStz204579 as AUE_login and AUE_admin_authenticate. Add new entries 1459c0c79a3fStz204579 at the end. The order of msg_list entries and the order 1460c0c79a3fStz204579 of msg entries both affect the names in adt.h and the value 1461c0c79a3fStz204579 of the associated enumerated types. 1462c0c79a3fStz204579 1463c0c79a3fStz204579 Each of these messages except NO_MSG is also in the failure_attribute 1464c0c79a3fStz204579 list; the difference is that the messages below use a text token 1465c0c79a3fStz204579 in the audit record, while the failure_attribute messages are 1466c0c79a3fStz204579 associated with the return value of the return token. 1467c0c79a3fStz204579 1468c0c79a3fStz204579 This list is deprecated; please don't use text tokens for error 1469c0c79a3fStz204579 messages. 1470c0c79a3fStz204579--> 1471c0c79a3fStz204579 1472c0c79a3fStz204579 <msg_list id="login_text" header="0" deprecated="true"> 1473c0c79a3fStz204579 <msg id="NO_MSG"></msg> 1474c0c79a3fStz204579 <msg id="ACCOUNT_LOCKED">Account is locked</msg> 1475c0c79a3fStz204579 <msg id="BAD_DIALUP">Bad dial up</msg> 1476c0c79a3fStz204579 <msg id="BAD_ID">Invalid ID</msg> 1477c0c79a3fStz204579 <msg id="BAD_PW">Invalid password</msg> 1478c0c79a3fStz204579 <msg id="CONSOLE">Not on console</msg> 1479c0c79a3fStz204579 <msg id="MAX_TRIES">Too many failed attempts</msg> 1480c0c79a3fStz204579 <msg id="PROTOCOL_FAILURE">Protocol failure</msg> 1481c0c79a3fStz204579 <msg id="EXCLUDED_USER">Excluded user</msg> 1482c0c79a3fStz204579 <msg id="ANON_USER">No anonymous</msg> 1483c0c79a3fStz204579 </msg_list> 1484c0c79a3fStz204579 14856a3b10dbStz204579<!-- msg list for uadmin(1m) fcn argument (next action, see uadmin(2)) --> 14866a3b10dbStz204579 <msg_list id="uadmin_fcn" header="0" start="3000" public="true"> 14876a3b10dbStz204579 <msg id="AD_HALT">Halt the processor(s)</msg> 14886a3b10dbStz204579 <msg id="AD_POWEROFF">Halt the processor(s) and turn off the power</msg> 14896a3b10dbStz204579 <msg id="AD_BOOT">Reboot the system using the kernel file</msg> 14906a3b10dbStz204579 <msg id="AD_IBOOT">Interactive reboot</msg> 14916a3b10dbStz204579 <msg id="AD_SUSPEND_TO_DISK">Save the system state to the state file</msg> 14926a3b10dbStz204579 <msg id="AD_CHECK_SUSPEND_TO_DISK">Check if system supports suspend to disk</msg> 14936a3b10dbStz204579 <msg id="AD_FORCE">Force suspend to disk even when threads of user 14946a3b10dbStz204579 applications are not suspendable</msg> 14956a3b10dbStz204579 <msg id="AD_SUSPEND_TO_RAM">Save the system state to memory</msg> 14966a3b10dbStz204579 <msg id="AD_CHECK_SUSPEND_TO_RAM">Check if system supports suspend to memory</msg> 14976a3b10dbStz204579 <msg id="AD_SBOOT">Single-user reboot</msg> 14986a3b10dbStz204579 <msg id="AD_SIBOOT">Single-user interactive reboot</msg> 14996a3b10dbStz204579 <msg id="AD_NOSYNC">Do not sync filesystems on next A_DUMP</msg> 15006a3b10dbStz204579 <msg id="AD_REUSEINIT">Prepare for AD_REUSABLE</msg> 15016a3b10dbStz204579 <msg id="AD_REUSABLE">Create reusable statefile</msg> 15026a3b10dbStz204579 <msg id="AD_REUSEFINI">Revert to normal CPR mode (not reusable)</msg> 15036a3b10dbStz204579 <msg id="AD_FTRACE_START">ftrace start</msg> 15046a3b10dbStz204579 <msg id="AD_FTRACE_STOP">ftrace stop</msg> 15056a3b10dbStz204579 </msg_list> 1506c0c79a3fStz204579</specification> 1507