1<?xml version="1.0" standalone="yes"?> 2<!DOCTYPE specification SYSTEM "audit.dtd"> 3<!-- 4 CDDL HEADER START 5 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. 9 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. 14 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] 20 21 CDDL HEADER END 22 23Copyright 2009 Sun Microsystems, Inc. All rights reserved. 24Use is subject to license terms. 25 26--> 27 28<specification> 29 30<!-- comments are displayed to stderr if debug is on --> 31<debug set="off"/> 32 33 <!-- The order of events is arbitrary EXCEPT generic events must 34 precede their instances --> 35 <!-- The order of entries within an event determine the order 36 data is defined in the external API --> 37 <!-- The order of internal / external is arbitrary --> 38 39<!-- 40 tags: 41 The following top level tags are defined: 42 <event> <token> <msg_list> <debug> 43 44 event defines an audit record 45 - id is the record id from audit_uevents.h 46 - reorder="yes" or "no". (default is "no"). 47 if "yes" then the order of the tokens to be 48 output does not match the order of the data 49 input. (see order attribute of <entry>) 50 - header defines the header file to contain the external 51 definitions for this event type. The header file 52 name is adt_event_N.h, where N is the value supplied 53 header="0" is for "stable" events, > 0 for new ones. 54 with this attribute. (header="1"). 55 - idNo is the number associated with the external 56 name of this event. (For AUE_login, ADT_login is 57 the external name and idNo is the value for 58 ADT_login.) 59 - omit is by default 'no' (i.e., don't omit) and can be 60 'always' or 'JNI'. In the latter case, C interface 61 code is generated but neither Java nor JNI code is. 62 - included text is just a comment 63 Within an event block, the following tags are defined: 64 <entry>, <debug>, <altname>, <title>, <program>, <see> 65 66 altname defines the internal name of an audit record; if 67 omitted, the internal name is the same as the 68 external name. 69 70 title, these tags are used by bsmrecord(1M) build to create 71 program, audit_record_attr database from adt events. 72 see Following example demonstrates their semantics: 73 74 bsmrecord -p passwd 75 passwd <- <title> 76 program various See passwd(1) 77 ^- <program> ^- <see> 78 event ID 6163 AUE_passwd 79 class lo (0x00001000) 80 header 81 subject 82 [text] username... 83 ^- <comment> 84 return 85 86 If the length of string in any of the given 87 elements is longer than defined, the string is 88 silently truncated to the defined length in the 89 bsmrecord(1M) runtime: 90 91 element <= max (non-truncated) string length 92 title <= 46 93 program <= 20 94 see <= 39 95 comment <= unlimited 96 token <= 28 97 98 entry defines the correspondence between the data 99 supplied by the caller and the token to be 100 output. 101 - id is the data name that shows up in the structures 102 of adt_event.h If it is a comma separated list, 103 it is the list of names of data to be associated 104 with one output token. (See <external>, below) 105 Within an entry block, the following tags are defined: 106 <internal>, <external>, <debug>, <comment> 107 108 internal defines the token to be generated. 109 - token is a name that must also be defined with 110 a <token> tag elsewhere in this file. (order is 111 not important). 112 - order="some number" determines the order of the 113 tokens to be output, starting with 1. The subject 114 token is normally order="1". The use is to insure 115 that the order of fields listed in adt_event.h does 116 not change when we arbitrarily change the order of 117 tokens. If the <event reorder="yes"> is not set, 118 order is ignored. 119 - format is a printf-like string that will be used 120 in to format the data supplied by the user. 121 122 external defines the data to be supplied for creating the 123 token defined via <internal> 124 - opt is one of four values: "required", "optional", 125 "obsolete", or "none". The first two values 126 indicate that this token's data must or may 127 be supplied by the user; the third value is 128 equivalent to "optional" but shows in the 129 comment that this field is no longer used; 130 the forth value indicates that this token 131 does not require any user-supplied data. If 132 data is required, then a token is always 133 output, while optional data is output only 134 if data is supplied. 135 - type describes the C data type to be associated 136 with the <entry id="dataName">. The following 137 data types are representative: 138 139 au_asid_t (uint32_t) 140 char 141 char * (blank is optional) 142 char ** (blank is optional) 143 fd_t (int, a file descriptor) 144 uint_t, int, int32_t, uid_t, gid_t 145 uid_t *, gid_t * 146 long, ulong_t 147 m_label_t * 148 pid_t 149 priv_set_t * 150 uint16_t, unit32_t, uint64_t 151 uint32_t *, uint32_t[], uint64_t * 152 msg (not a C type, see below) 153 154 Below is what Tony said. Above seems to be 155 what is implemented 156 char 157 char * (blank is optional) 158 char ** (blank is optional) 159 int, uid_t, gid_t 160 int *, uid_t *, gid_t * 161 msg (not a C type, see below) 162 time_t 163 uint, uint * 164 165 The msg type refers to an enumerated type 166 that must be defined via a <msg> description 167 else where in this file. The syntax is 168 special. Example: <external opt="optional" 169 type="msg login_text"/> "login_text" is the 170 id of a <msg_list> descriptor given 171 elsewhere in this file. 172 173 If the <entry> id is a list, the type must also 174 be a comma-separated list, where the types are 175 in the same order as the id's. 176 If the type is an array, its length must be given 177 explicitly. 178 179 comment Used by bsmrecord(1M) build to generate 180 audit_record_attr. Comment is explanation note 181 printed with token type. Colon (':') may not be 182 used in a comment. See example above for other 183 tags related to bsmrecord(1M). 184 185 token Define allowed token names. 186 - id is the name of token; this name is used 187 as an <internal> id. 188 - a token id name may not end in digits. 189 - usage is an optional value. At present, only 190 "TSOL" is defined; it means that this data is 191 to be used only in Trusted Solaris implementations. 192 See also example above for "token" tag relation to 193 the bsmrecord(1M) output. 194 195 msg_list Define a set of text strings. 196 - id is the name to be used for this group of text 197 strings in adt_event.h 198 - header is as defined for <event> 199 - start is a number where produced enum type begins; 200 ensure msg lists do not overlap 201 Within a msg_list block, <msg> and <debug> are defined. 202 The order of <msg> tags in a msg_list is reflected 203 directly in adt_event.h. Also add ADT_LIST_<<id>> to 204 enum adt_msg_list in adt_xlate.h. 205 206 msg Define one string. 207 - id is the name to be used in the enum describing 208 this set of strings. Convention: use upper case. 209 The content (text between <msg> and </msg>) is the 210 actual string. Extra white space, including line 211 feeds, is ignored. If empty, no output token 212 is generated unless the <external> opt attribute is 213 set to "required", in which case a blank text token 214 is generated. 215 Within a msg block, <debug> is defined, but has not been 216 tested and may have no effect. 217 218 debug This turns on/off debug messages during the processing 219 of the xml data. It affects the block within which it 220 is defined. 221 - set may have one of two values: "on" or "off". If 222 set is omitted, the debug state for the current block 223 is toggled. 224 The use of the <debug> tag does not affect the output 225 of data to the various files created, but does generate 226 potentially large amounts of output to stderr. 227 228--> 229<!-- template for an event record definition 230 231 <event id="" header="0" idNo=""> 232 <entry id="subject"> 233 <internal token="subject"/> 234 <external opt="none"/> 235 </entry> 236 <entry id=""> 237 <internal token=""/> 238 <external opt="" type="" /> 239 </entry> 240 <entry id="return"> 241 <internal token="return"/> 242 <external opt="none"/> 243 </entry> 244 </event> 245 246 Generic events must precede Instance events; within each 247 group, please group the AUE_* by area and event idNo-s in order, 248 gaps in idNo-s are OK. 249 N.B. Renumbering idNo-s requires recompilation of consumers. See 250 the contracts for whom to notify if/when this happens. 251--> 252 253<!-- generic events --> 254 255 <!-- 256 'omit="always"' means that this record type is not reflected 257 in the generated header and table files. 258 --> 259 260 <event id="AUE_generic_basic" type="generic" omit="always"> 261 <!-- 262 263 This is a template for the event types that have no tokens 264 other than the header and return. There is no allowed_type 265 list because the template is not externally visible due to the 266 omit="always". 267 268 --> 269 <entry id="subject"> 270 <internal token="subject"/> 271 <external opt="none"/> 272 </entry> 273 <entry id="return"> 274 <internal token="return"/> 275 <external opt="none"/> 276 </entry> 277 </event> 278 279 <event id="AUE_generic_login" type="generic" omit="always"> 280 <!-- 281 282 This is a template for the various login event types 283 AUE_login, AUE_ftp, etc which match this template. There is 284 no allowed_type list because the template is not externally 285 visible due to the omit="always". 286 287 --> 288 <entry id="subject"> 289 <internal token="subject"/> 290 <external opt="none"/> 291 </entry> 292 293 <!-- This field is still in use for SMC until it is cleaned up, 294 it must remain, see login_text msg list at the end of the 295 file. 296 --> 297 <entry id="message"> 298 <internal token="text"/> 299 <external opt="optional" type="msg login_text"/> 300 <comment>error message</comment> 301 </entry> 302 <entry id="return"> 303 <internal token="return"/> 304 <external opt="none"/> 305 </entry> 306 </event> 307 308<!-- generic SMC events --> 309 310 <event id="AUE_generic_SMC_add" type="generic" omit="always"> 311 <entry id="subject"> 312 <internal token="subject"/> 313 <external opt="none"/> 314 </entry> 315 <entry id="object_name"> 316 <internal token="text"/> 317 <external opt="required" type="char *"/> 318 <comment>object name</comment> 319 </entry> 320 <entry id="domain"> 321 <internal token="text"/> 322 <external opt="optional" type="char *"/> 323 <comment>domain</comment> 324 </entry> 325 <entry id="name_service"> 326 <internal token="text"/> 327 <external opt="required" type="char *"/> 328 <comment>name_service</comment> 329 </entry> 330 <entry id="auth_used"> 331 <internal token="uauth"/> 332 <external opt="optional" type="char *"/> 333 <comment>authorization used</comment> 334 </entry> 335 <!-- 336 This should really be its own token type, not "text" 337 --> 338 <entry id="initial_values"> 339 <internal token="text"/> 340 <external opt="required" type="char *"/> 341 <comment>initial values</comment> 342 </entry> 343 <entry id="return"> 344 <internal token="return"/> 345 <external opt="none"/> 346 </entry> 347 </event> 348 349 <event id="AUE_generic_SMC_delete" type="generic" omit="always"> 350 <entry id="subject"> 351 <internal token="subject"/> 352 <external opt="none"/> 353 </entry> 354 <entry id="object_name"> 355 <internal token="text"/> 356 <external opt="required" type="char *"/> 357 <comment>object name</comment> 358 </entry> 359 <entry id="domain"> 360 <internal token="text"/> 361 <external opt="optional" type="char *"/> 362 <comment>domain</comment> 363 </entry> 364 <entry id="name_service"> 365 <internal token="text"/> 366 <external opt="required" type="char *"/> 367 <comment>name_service</comment> 368 </entry> 369 <entry id="auth_used"> 370 <internal token="uauth"/> 371 <external opt="optional" type="char *"/> 372 <comment>authorization used</comment> 373 </entry> 374 <entry id="delete_values"> 375 <internal token="text"/> 376 <external opt="required" type="char *"/> 377 <comment>deleted values</comment> 378 </entry> 379 <entry id="return"> 380 <internal token="return"/> 381 <external opt="none"/> 382 </entry> 383 </event> 384 385 <event id="AUE_generic_SMC_modify" type="generic" omit="always"> 386 <entry id="subject"> 387 <internal token="subject"/> 388 <external opt="none"/> 389 </entry> 390 <entry id="object_name"> 391 <internal token="text"/> 392 <external opt="required" type="char *"/> 393 <comment>object name</comment> 394 </entry> 395 <entry id="domain"> 396 <internal token="text"/> 397 <external opt="optional" type="char *"/> 398 <comment>domain</comment> 399 </entry> 400 <entry id="name_service"> 401 <internal token="text"/> 402 <external opt="required" type="char *"/> 403 <comment>name_service</comment> 404 </entry> 405 <entry id="auth_used"> 406 <internal token="uauth"/> 407 <external opt="optional" type="char *"/> 408 <comment>authorization used</comment> 409 </entry> 410 <entry id="changed_values"> 411 <internal token="text"/> 412 <external opt="required" type="char *"/> 413 <comment>changed values</comment> 414 </entry> 415 <entry id="return"> 416 <internal token="return"/> 417 <external opt="none"/> 418 </entry> 419 </event> 420 421<!-- instances --> 422 423<!-- 424 Java needed for SMC events. Since the SMC events grow less 425 often than the C related events. They come first. It 426 would be nice to reorder the idNo-s, but that's an ABI 427 change and should rev libbsm version no. If reordered 428 start with 1 and eliminate the comment at the end about 429 the highest idNo. 430--> 431 <event id="AUE_admin_authenticate" instance_of="AUE_generic_login" 432 header="0" idNo="3"> 433 <title>Admin Server Authentication</title> 434 <program>admin (various)</program> 435 <see>SMC, WBEM, or AdminSuite</see> 436 </event> 437 438 <event id="AUE_filesystem_add" instance_of="AUE_generic_SMC_add" 439 header="0" idNo="4"> 440 <title>SMC: filesystem add</title> 441 <program>SMC server</program> 442 </event> 443 <event id="AUE_filesystem_delete" instance_of="AUE_generic_SMC_delete" 444 header="0" idNo="5"> 445 <title>SMC: filesystem delete</title> 446 <program>SMC server</program> 447 </event> 448 <event id="AUE_filesystem_modify" instance_of="AUE_generic_SMC_modify" 449 header="0" idNo="6"> 450 <title>SMC: filesystem modify</title> 451 <program>SMC server</program> 452 </event> 453 454 <event id="AUE_network_add" instance_of="AUE_generic_SMC_add" 455 header="0" idNo="7"> 456 <title>SMC: network add</title> 457 <program>SMC server</program> 458 </event> 459 <event id="AUE_network_delete" instance_of="AUE_generic_SMC_delete" 460 header="0" idNo="8"> 461 <title>SMC: network delete</title> 462 <program>SMC server</program> 463 </event> 464 <event id="AUE_network_modify" instance_of="AUE_generic_SMC_modify" 465 header="0" idNo="9"> 466 <title>SMC: network modify</title> 467 <program>SMC server</program> 468 </event> 469 470 <event id="AUE_printer_add" instance_of="AUE_generic_SMC_add" 471 header="0" idNo="10"> 472 <title>SMC: printer add</title> 473 <program>SMC server</program> 474 </event> 475 <event id="AUE_printer_delete" instance_of="AUE_generic_SMC_delete" 476 header="0" idNo="11"> 477 <title>SMC: printer delete</title> 478 <program>SMC server</program> 479 </event> 480 <event id="AUE_printer_modify" instance_of="AUE_generic_SMC_modify" 481 header="0" idNo="12"> 482 <title>SMC: printer modify</title> 483 <program>SMC server</program> 484 </event> 485 486<!-- 487 This is SMC; it's also used in su and should probably be used in 488 desktop role login. If we fix the SMC to not record NO_MSG here, 489 we can fix to record failed user. See su.c and AUE_su. 490--> 491 <event id="AUE_role_login" instance_of="AUE_generic_login" 492 header="0" idNo="13"> 493 <title>RBAC: role login</title> 494 <program>SMC server</program> 495 <program>/usr/bin/su</program> 496 </event> 497 498 <event id="AUE_scheduledjob_add" instance_of="AUE_generic_SMC_add" 499 header="0" idNo="14"> 500 <title>SMC: scheduled job add</title> 501 <program>SMC server</program> 502 </event> 503 <event id="AUE_scheduledjob_delete" instance_of="AUE_generic_SMC_delete" 504 header="0" idNo="15"> 505 <title>SMC: scheduled job delete</title> 506 <program>SMC server</program> 507 </event> 508 <event id="AUE_scheduledjob_modify" instance_of="AUE_generic_SMC_modify" 509 header="0" idNo="16"> 510 <title>SMC: scheduled job modify</title> 511 <program>SMC server</program> 512 </event> 513 514 <event id="AUE_serialport_add" instance_of="AUE_generic_SMC_add" 515 header="0" idNo="17"> 516 <title>SMC: serial port add</title> 517 <program>SMC server</program> 518 </event> 519 <event id="AUE_serialport_delete" instance_of="AUE_generic_SMC_delete" 520 header="0" idNo="18"> 521 <title>SMC: serial port delete</title> 522 <program>SMC server</program> 523 </event> 524 <event id="AUE_serialport_modify" instance_of="AUE_generic_SMC_modify" 525 header="0" idNo="19"> 526 <title>SMC: serial port modify</title> 527 <program>SMC server</program> 528 </event> 529 530<!-- This is SMC; should this also be used elsewhere? --> 531 <event id="AUE_uauth" header="0" idNo="20"> 532 <title>SMC: Use of Authorization</title> 533 <program>SMC server</program> 534 <entry id="subject"> 535 <internal token="subject"/> 536 <external opt="none"/> 537 </entry> 538 <entry id="auth_used"> 539 <internal token="uauth"/> 540 <external opt="required" type="char *"/> 541 <comment>authorization used</comment> 542 </entry> 543 <entry id="objectname"> 544 <internal token="text"/> 545 <external opt="required" type="char *"/> 546 <comment>object name</comment> 547 </entry> 548 <entry id="return"> 549 <internal token="return"/> 550 <external opt="none"/> 551 </entry> 552 </event> 553 554 <event id="AUE_usermgr_add" instance_of="AUE_generic_SMC_add" 555 header="0" idNo="21"> 556 <title>SMC: User Manager add</title> 557 <program>SMC server</program> 558 </event> 559 <event id="AUE_usermgr_delete" instance_of="AUE_generic_SMC_delete" 560 header="0" idNo="22"> 561 <title>SMC: User Manager delete</title> 562 <program>SMC server</program> 563 </event> 564 <event id="AUE_usermgr_modify" instance_of="AUE_generic_SMC_modify" 565 header="0" idNo="23"> 566 <title>SMC: User Manager modify</title> 567 <program>SMC server</program> 568 </event> 569<!-- end of Java needed for SMC events --> 570<!-- 571 while not used by SMC logout is used by Lockhart 572--> 573 <event id="AUE_logout" header="0" idNo="1"> 574 <title>login: logout</title> 575 <program>various</program> 576 <see>login(1)</see> 577 <entry id="subject"> 578 <internal token="subject"/> 579 <external opt="none"/> 580 </entry> 581<!-- 582 not used by C code, used by Lockhart, 583 get them to change and remove 584 event.user_name("logout " + session.getUserName()); 585 from /ws/lockhart-nv-gate/src/bundled/app/webmgt/lib/services/ 586 com/sun/management/services/audit/SolarisAuditEvent_Logout.java 587--> 588 <entry id="user_name"> 589 <internal token="text" format="logout %s"/> 590 <external opt="optional" type="char *"/> 591 <comment>"logout" username</comment> 592 </entry> 593 <entry id="return"> 594 <internal token="return"/> 595 <external opt="none"/> 596 </entry> 597 </event> 598 599 600<!-- C Only events --> 601 <event id="AUE_init_solaris" header="0" idNo="32" omit="JNI"> 602 <title>init</title> 603 <program>/sbin/init</program> 604 <program>/usr/sbin/init</program> 605 <program>/usr/sbin/shutdown</program> 606 <entry id="subject"> 607 <internal token="subject"/> 608 <external opt="none"/> 609 </entry> 610 <entry id="info"> 611 <internal token="text"/> 612 <external opt="optional" type="char *"/> 613 <comment>init level or zone name</comment> 614 </entry> 615 <entry id="return"> 616 <internal token="return"/> 617 <external opt="none"/> 618 </entry> 619 </event> 620 621 <event id="AUE_login" instance_of="AUE_generic_login" header="0" 622 idNo="25" omit="JNI"> 623 <title>terminal login</title> 624 <program>/usr/sbin/login</program> 625 <program>/usr/dt/bin/dtlogin</program> 626 <see>login(1)</see> 627 <see>dtlogin</see> 628 </event> 629 <event id="AUE_rlogin" instance_of="AUE_generic_login" header="0" 630 idNo="28" omit="JNI"> 631 <title>rlogin</title> 632 <program>/usr/sbin/login</program> 633 <see>login(1) - rlogin</see> 634 </event> 635 <event id="AUE_telnet" instance_of="AUE_generic_login" header="0" 636 idNo="29" omit="JNI"> 637 <title>telnet login</title> 638 <program>/usr/sbin/login</program> 639 <see>login(1) - telnet</see> 640 </event> 641 <event id="AUE_ssh" instance_of="AUE_generic_login" header="0" 642 idNo="2" omit="JNI"> 643 <program>/usr/lib/ssh/sshd</program> 644 </event> 645 646 <event id="AUE_zlogin" header="0" idNo="38" omit="JNI"> 647 <title>zone login</title> 648 <program>/usr/sbin/login</program> 649 <see>zlogin(1)</see> 650 <entry id="subject"> 651 <internal token="subject"/> 652 <external opt="none"/> 653 </entry> 654 <entry id="message"> 655 <internal token="text"/> 656 <external opt="optional" type="char *"/> 657 <comment>error message</comment> 658 </entry> 659 <entry id="return"> 660 <internal token="return"/> 661 <external opt="none"/> 662 </entry> 663 </event> 664 665 <event id="AUE_su" header="0" idNo="30" omit="JNI"> 666 <title>su</title> 667 <program>/usr/bin/su</program> 668 <see>su(1M)</see> 669 <entry id="subject"> 670 <internal token="subject"/> 671 <external opt="none"/> 672 </entry> 673<!-- 674 should be changed to "fail_user" and su.c updated 675 However, the jni stuff is broken, so for now it's "message" 676--> 677 <entry id="message"> 678 <internal token="text"/> 679 <external opt="optional" type="char *"/> 680 <comment>"user name" of failed new user/role</comment> 681 </entry> 682 <entry id="return"> 683 <internal token="return"/> 684 <external opt="none"/> 685 </entry> 686 </event> 687 688 <event id="AUE_passwd" header="0" idNo="27" omit="JNI"> 689 <title>passwd</title> 690 <program>various</program> 691 <see>passwd(1)</see> 692 <entry id="subject"> 693 <internal token="subject"/> 694 <external opt="none"/> 695 </entry> 696 <entry id="username"> 697 <internal token="text"/> 698 <external opt="optional" type="char *"/> 699 <comment>username if different than caller</comment> 700 </entry> 701 <entry id="return"> 702 <internal token="return"/> 703 <external opt="none"/> 704 </entry> 705 </event> 706 707 <event id="AUE_screenlock" instance_of="AUE_generic_basic" header="0" 708 idNo="26" omit="JNI"> 709 <program>desktop screen lock</program> 710 </event> 711 <event id="AUE_screenunlock" instance_of="AUE_generic_basic" header="0" 712 idNo="31" omit="JNI"> 713 <program>desktop screen unlock</program> 714 </event> 715 716 <!-- 717 AUE_prof_cmd is not supportable for Java due to the structure of 718 the priv token. When and if a Java program needs to generate 719 a priv token, we'll need to look at the data format in the 720 Java code and provide an appropriate java and jni implementation. 721 --> 722 723 <event id="AUE_prof_cmd" header="0" idNo="24" omit="JNI"> 724 <title>pfexec</title> 725 <program>/usr/bin/pfexec</program> 726 <see>pfexec(1)</see> 727 <entry id="subject"> 728 <internal token="subject"/> 729 <external opt="none"/> 730 </entry> 731 <entry id="cwdpath"> 732 <internal token="path"/> 733 <external opt="required" type="char*"/> 734 <comment>working directory</comment> 735 </entry> 736 <entry id="cmdpath"> 737 <internal token="path"/> 738 <external opt="required" type="char*"/> 739 <comment>command pathname</comment> 740 </entry> 741 <entry id="argc,argv,envp"> 742 <internal token="command"/> 743 <external opt="required" type="int,char**,char**"/> 744 </entry> 745 <entry id="proc_auid,proc_euid,proc_egid,proc_ruid,proc_rgid,proc_pid,proc_sid,proc_termid"> 746 <internal token="process"/> 747 <external opt="required" 748 type="uid_t,uid_t,gid_t,uid_t,gid_t,pid_t,au_asid_t,termid*"/> 749 </entry> 750 <entry id="limit_set"> 751 <internal token="priv_limit"/> 752 <external opt="optional" type="priv_set_t*"/> 753 </entry> 754 <entry id="inherit_set"> 755 <internal token="priv_inherit"/> 756 <external opt="optional" type="priv_set_t*"/> 757 </entry> 758 <entry id="return"> 759 <internal token="return"/> 760 <external opt="none"/> 761 </entry> 762 </event> 763 764 <event id="AUE_inetd_connect" header="0" idNo="34" omit="JNI"> 765 <title>inetd</title> 766 <program>/usr/sbin/inetd</program> 767 <entry id="subject"> 768 <internal token="subject"/> 769 <external opt="none"/> 770 </entry> 771 <entry id="service_name"> 772 <internal token="text"/> 773 <external opt="optional" type="char *"/> 774 <comment>service name</comment> 775 </entry> 776 <entry id="ip_type,ip_remote_port,ip_local_port,ip_adr"> 777 <internal token="tid"/> 778 <external opt="required" 779 type="uint32_t,uint16_t,uint16_t,uint32_t[4]"/> 780 <comment>client address</comment> 781 </entry> 782 <entry id="cmd"> 783 <internal token="command_alt"/> 784 <external opt="required" type="char *"/> 785 <comment>inetd command</comment> 786 </entry> 787 <entry id="privileges"> 788 <internal token="priv_effective"/> 789 <external opt="required" type="priv_set_t *"/> 790 </entry> 791 <entry id="return"> 792 <internal token="return"/> 793 <external opt="none"/> 794 </entry> 795 </event> 796 797 <event id="AUE_inetd_ratelimit" header="0" idNo="35" omit="JNI"> 798 <title>inetd</title> 799 <program>/usr/sbin/inetd</program> 800 <entry id="subject"> 801 <internal token="subject"/> 802 <external opt="none"/> 803 </entry> 804 <entry id="service_name"> 805 <internal token="text"/> 806 <external opt="optional" type="char *"/> 807 <comment>service name</comment> 808 </entry> 809 <entry id="limit"> 810 <internal token="text"/> 811 <external opt="required" type="char *"/> 812 <comment>limit value</comment> 813 </entry> 814 <entry id="return"> 815 <internal token="return"/> 816 <external opt="none"/> 817 </entry> 818 </event> 819 820 <event id="AUE_inetd_copylimit" header="0" idNo="36" omit="JNI"> 821 <title>inetd</title> 822 <program>/usr/sbin/inetd</program> 823 <entry id="subject"> 824 <internal token="subject"/> 825 <external opt="none"/> 826 </entry> 827 <entry id="service_name"> 828 <internal token="text"/> 829 <external opt="optional" type="char *"/> 830 <comment>service name</comment> 831 </entry> 832 <entry id="limit"> 833 <internal token="text"/> 834 <external opt="required" type="char *"/> 835 <comment>limit value</comment> 836 </entry> 837 <entry id="return"> 838 <internal token="return"/> 839 <external opt="none"/> 840 </entry> 841 </event> 842 843 <event id="AUE_inetd_failrate" header="0" idNo="37" omit="JNI"> 844 <title>inetd</title> 845 <program>/usr/sbin/inetd</program> 846 <entry id="subject"> 847 <internal token="subject"/> 848 <external opt="none"/> 849 </entry> 850 <entry id="service_name"> 851 <internal token="text"/> 852 <external opt="optional" type="char *"/> 853 <comment>service name</comment> 854 </entry> 855 <entry id="values"> 856 <internal token="text"/> 857 <external opt="required" type="char *"/> 858 <comment>limit value, interval</comment> 859 </entry> 860 <entry id="return"> 861 <internal token="return"/> 862 <external opt="none"/> 863 </entry> 864 </event> 865 866 <event id="AUE_zone_state" header="0" idNo="33" omit="JNI"> 867 <entry id="subject"> 868 <internal token="subject"/> 869 <external opt="none"/> 870 </entry> 871 <entry id="new_state"> 872 <internal token="text"/> 873 <external opt="required" type="char *"/> 874 <comment>New zone state</comment> 875 </entry> 876 <entry id="zonename"> 877 <internal token="zonename"/> 878 <external opt="required" type="char *"/> 879 <comment>zone name</comment> 880 </entry> 881 <entry id="return"> 882 <internal token="return"/> 883 <external opt="none"/> 884 </entry> 885 </event> 886 887 <event id="AUE_su_logout" instance_of="AUE_generic_basic" 888 header="0" idNo="39" omit="JNI"> 889 <title>su</title> 890 <program>/usr/bin/su</program> 891 <see>su(1M)</see> 892 </event> 893 894 <event id="AUE_role_logout" instance_of="AUE_generic_basic" 895 header="0" idNo="40" omit="JNI"> 896 <title>su</title> 897 <program>/usr/bin/su</program> 898 <see>su(1M)</see> 899 </event> 900 901 <event id="AUE_newgrp_login" header="0" idNo="41" omit="JNI"> 902 <program>newgrp</program> 903 <entry id="subject"> 904 <internal token="subject"/> 905 <external opt="none"/> 906 </entry> 907 <entry id="groupname"> 908 <internal token="text"/> 909 <external opt="required" type="char *"/> 910 <comment>group name</comment> 911 </entry> 912 <entry id="return"> 913 <internal token="return"/> 914 <external opt="none"/> 915 </entry> 916 </event> 917 918 <event id="AUE_generic_mountable" type="generic" omit="always"> 919 <!-- 920 921 User device mounting related functions 922 923 --> 924 <entry id="subject"> 925 <internal token="subject"/> 926 <external opt="none"/> 927 </entry> 928 <entry id="auth_used"> 929 <internal token="uauth"/> 930 <external opt="required" type="char *"/> 931 <comment>authorization used</comment> 932 </entry> 933 <entry id="mount_point"> 934 <internal token="path"/> 935 <external opt="required" type="char *"/> 936 <comment>mount point</comment> 937 </entry> 938 <entry id="device"> 939 <internal token="path"/> 940 <external opt="required" type="char *"/> 941 <comment>device</comment> 942 </entry> 943 <entry id="options"> 944 <internal token="text"/> 945 <external opt="optional" type="char *"/> 946 <comment>options</comment> 947 </entry> 948 <entry id="return"> 949 <internal token="return"/> 950 <external opt="none"/> 951 </entry> 952 </event> 953 954 <event id="AUE_attach" instance_of="AUE_generic_mountable" 955 header="0" idNo="42" omit="JNI"> 956 <program>hald</program> 957 </event> 958 <event id="AUE_detach" instance_of="AUE_generic_mountable" 959 header="0" idNo="43" omit="JNI"> 960 <program>hald</program> 961 </event> 962 <event id="AUE_remove" header="0" idNo="44" omit="JNI"> 963 <program>hald</program> 964 <entry id="subject"> 965 <internal token="subject"/> 966 <external opt="none"/> 967 </entry> 968 <entry id="auth_used"> 969 <internal token="uauth"/> 970 <external opt="required" type="char *"/> 971 <comment>authorization used</comment> 972 </entry> 973 <entry id="mount_point"> 974 <internal token="path"/> 975 <external opt="optional" type="char *"/> 976 <comment>mount point</comment> 977 </entry> 978 <entry id="device"> 979 <internal token="path"/> 980 <external opt="required" type="char *"/> 981 <comment>device</comment> 982 </entry> 983 <entry id="return"> 984 <internal token="return"/> 985 <external opt="none"/> 986 </entry> 987 </event> 988 989 <event id="AUE_pool_import" header="0" idNo="45" omit="JNI"> 990 <program>hald</program> 991 <entry id="subject"> 992 <internal token="subject"/> 993 <external opt="none"/> 994 </entry> 995 <entry id="auth_used"> 996 <internal token="uauth"/> 997 <external opt="required" type="char *"/> 998 <comment>authorization used</comment> 999 </entry> 1000 <entry id="pool"> 1001 <internal token="text"/> 1002 <external opt="required" type="char *"/> 1003 <comment>pool</comment> 1004 </entry> 1005 <entry id="device"> 1006 <internal token="path"/> 1007 <external opt="required" type="char *"/> 1008 <comment>device</comment> 1009 </entry> 1010 <entry id="return"> 1011 <internal token="return"/> 1012 <external opt="none"/> 1013 </entry> 1014 </event> 1015 <event id="AUE_pool_export" header="0" idNo="46" omit="JNI"> 1016 <program>hald</program> 1017 <entry id="subject"> 1018 <internal token="subject"/> 1019 <external opt="none"/> 1020 </entry> 1021 <entry id="auth_used"> 1022 <internal token="uauth"/> 1023 <external opt="required" type="char *"/> 1024 <comment>authorization used</comment> 1025 </entry> 1026 <entry id="pool"> 1027 <internal token="text"/> 1028 <external opt="required" type="char *"/> 1029 <comment>pool</comment> 1030 </entry> 1031 <entry id="device"> 1032 <internal token="path"/> 1033 <external opt="required" type="char *"/> 1034 <comment>device</comment> 1035 </entry> 1036 <entry id="return"> 1037 <internal token="return"/> 1038 <external opt="none"/> 1039 </entry> 1040 </event> 1041 1042<!-- dladm security objected events --> 1043 <event id="AUE_dladm_generic" type="generic" omit="always"> 1044 <entry id="subject"> 1045 <internal token="subject"/> 1046 <external opt="none"/> 1047 </entry> 1048 <entry id="auth_used"> 1049 <internal token="uauth"/> 1050 <external opt="required" type="char *"/> 1051 <comment>authorization used</comment> 1052 </entry> 1053 <entry id="obj_class"> 1054 <internal token="text"/> 1055 <external opt="required" type="char *"/> 1056 <comment>object class name</comment> 1057 </entry> 1058 <entry id="obj_name"> 1059 <internal token="text"/> 1060 <external opt="required" type="char *"/> 1061 <comment>object name</comment> 1062 </entry> 1063 <entry id="return"> 1064 <internal token="return"/> 1065 <external opt="none"/> 1066 </entry> 1067 </event> 1068 1069 <event id="AUE_dladm_create_secobj" instance_of="AUE_dladm_generic" 1070 header="0" idNo="47" omit="JNI"> 1071 <title>create wifi security object</title> 1072 <program>/usr/sbin/dladm</program> 1073 <see>dladm(1M)</see> 1074 </event> 1075 <event id="AUE_dladm_delete_secobj" instance_of="AUE_dladm_generic" 1076 header="0" idNo="48" omit="JNI"> 1077 <title>delete wifi security object</title> 1078 <program>/usr/sbin/dladm</program> 1079 <see>dladm(1M)</see> 1080 </event> 1081 1082<!-- Trusted eXtensions (TX) events --> 1083 1084 <!-- labeld events --> 1085 <event id="AUE_file_relabel" header="0" idNo="49" omit="JNI"> 1086 <title>relabel file from one zone to another</title> 1087 <program>setlabel(1)</program> 1088 <see>setflabel(3TSOL)</see> 1089 <entry id="subject"> 1090 <internal token="subject"/> 1091 <external opt="none"/> 1092 </entry> 1093 <entry id="auth_used"> 1094 <internal token="uauth"/> 1095 <external opt="required" type="char *"/> 1096 <comment>authorization used</comment> 1097 </entry> 1098 <entry id="file"> 1099 <internal token="path"/> 1100 <external opt="required" type="char *"/> 1101 <comment>file relabeled</comment> 1102 </entry> 1103 <entry id="src_label"> 1104 <internal token="label"/> 1105 <external opt="required" type="m_label_t *"/> 1106 <comment>original label</comment> 1107 </entry> 1108 <entry id="dst_label"> 1109 <internal token="label"/> 1110 <external opt="required" type="m_label_t *"/> 1111 <comment>new label</comment> 1112 </entry> 1113 <entry id="return"> 1114 <internal token="return"/> 1115 <external opt="none"/> 1116 </entry> 1117 </event> 1118 1119 <event id="AUE_file_copy" header="0" idNo="50" omit="JNI"> 1120 <title>copy file to another zone</title> 1121 <program>dtfile(1X)</program> 1122 <entry id="subject"> 1123 <internal token="subject"/> 1124 <external opt="none"/> 1125 </entry> 1126 <entry id="auth_used"> 1127 <internal token="uauth"/> 1128 <external opt="required" type="char *"/> 1129 <comment>authorization used</comment> 1130 </entry> 1131 <entry id="src_file"> 1132 <internal token="path"/> 1133 <external opt="required" type="char *"/> 1134 <comment>source file</comment> 1135 </entry> 1136 <entry id="src_label"> 1137 <internal token="label"/> 1138 <external opt="required" type="m_label_t *"/> 1139 <comment>source label</comment> 1140 </entry> 1141 <entry id="dst_file"> 1142 <internal token="path"/> 1143 <external opt="required" type="char *"/> 1144 <comment>destination directory</comment> 1145 </entry> 1146 <entry id="dst_label"> 1147 <internal token="label"/> 1148 <external opt="required" type="m_label_t *"/> 1149 <comment>destination label</comment> 1150 </entry> 1151 <entry id="return"> 1152 <internal token="return"/> 1153 <external opt="none"/> 1154 </entry> 1155 </event> 1156 1157 <!-- uadmin(1m) events --> 1158 <event id="AUE_uadmin_generic" type="generic" omit="always"> 1159 <entry id="subject"> 1160 <internal token="subject"/> 1161 <external opt="none"/> 1162 </entry> 1163 <entry id="fcn"> 1164 <internal token="text"/> 1165 <external opt="required" type="msg uadmin_fcn"/> 1166 <comment>next action</comment> 1167 </entry> 1168 <entry id="mdep"> 1169 <internal token="text"/> 1170 <external opt="optional" type="char *"/> 1171 <comment>machine dependent argument</comment> 1172 </entry> 1173 <entry id="return"> 1174 <internal token="return"/> 1175 <external opt="none"/> 1176 </entry> 1177 </event> 1178 <event id="AUE_uadmin_generic_fcn" type="generic" omit="always"> 1179 <entry id="subject"> 1180 <internal token="subject"/> 1181 <external opt="none"/> 1182 </entry> 1183 <entry id="fcn"> 1184 <internal token="text"/> 1185 <external opt="required" type="msg uadmin_fcn"/> 1186 <comment>next action</comment> 1187 </entry> 1188 <entry id="return"> 1189 <internal token="return"/> 1190 <external opt="none"/> 1191 </entry> 1192 </event> 1193 <event id="AUE_uadmin_shutdown" instance_of="AUE_uadmin_generic" 1194 header="0" idNo="51" omit="JNI"> 1195 <title>uadmin shutdown</title> 1196 <program>/sbin/uadmin</program> 1197 <program>/usr/sbin/uadmin</program> 1198 <see>uadmin(1M)</see> 1199 </event> 1200 <event id="AUE_uadmin_reboot" instance_of="AUE_uadmin_generic" 1201 header="0" idNo="52" omit="JNI"> 1202 <title>uadmin reboot</title> 1203 <program>/sbin/uadmin</program> 1204 <program>/usr/sbin/uadmin</program> 1205 <see>uadmin(1M)</see> 1206 </event> 1207 <event id="AUE_uadmin_dump" instance_of="AUE_uadmin_generic" 1208 header="0" idNo="53" omit="JNI"> 1209 <title>uadmin dump</title> 1210 <program>/sbin/uadmin</program> 1211 <program>/usr/sbin/uadmin</program> 1212 <see>uadmin(1M)</see> 1213 </event> 1214 <event id="AUE_uadmin_freeze" instance_of="AUE_uadmin_generic" 1215 header="0" idNo="54" omit="JNI"> 1216 <title>uadmin freeze</title> 1217 <program>/sbin/uadmin</program> 1218 <program>/usr/sbin/uadmin</program> 1219 <see>uadmin(1M)</see> 1220 </event> 1221 <event id="AUE_uadmin_remount" header="0" idNo="55" omit="JNI"> 1222 <title>uadmin remount</title> 1223 <program>/sbin/uadmin</program> 1224 <program>/usr/sbin/uadmin</program> 1225 <see>uadmin(1M)</see> 1226 <entry id="subject"> 1227 <internal token="subject"/> 1228 <external opt="none"/> 1229 </entry> 1230 <entry id="return"> 1231 <internal token="return"/> 1232 <external opt="none"/> 1233 </entry> 1234 </event> 1235 <!-- uadmin ftrace and swapctl are not documented in uadmin(2) --> 1236 <event id="AUE_uadmin_ftrace" instance_of="AUE_uadmin_generic_fcn" 1237 header="0" idNo="56" omit="JNI"> 1238 <title>uadmin ftrace</title> 1239 <program>/sbin/uadmin</program> 1240 <program>/usr/sbin/uadmin</program> 1241 <see>uadmin(1M)</see> 1242 </event> 1243 <event id="AUE_uadmin_swapctl" instance_of="AUE_uadmin_generic_fcn" 1244 header="0" idNo="57" omit="JNI"> 1245 <title>uadmin swapctl</title> 1246 <program>/sbin/uadmin</program> 1247 <program>/usr/sbin/uadmin</program> 1248 <see>uadmin(1M)</see> 1249 </event> 1250 <event id="AUE_uadmin_thaw" header="0" idNo="96" omit="JNI"> 1251 <title>thaw after freeze</title> 1252 <program>/sbin/uadmin</program> 1253 <program>/usr/sbin/uadmin</program> 1254 <see>uadmin(1M)</see> 1255 <entry id="subject"> 1256 <internal token="subject"/> 1257 <external opt="none"/> 1258 </entry> 1259 <entry id="fcn"> 1260 <internal token="text"/> 1261 <external opt="required" type="msg uadmin_fcn"/> 1262 <comment>freeze action type</comment> 1263 </entry> 1264 <entry id="return"> 1265 <internal token="return"/> 1266 <external opt="none"/> 1267 </entry> 1268 </event> 1269 1270<!-- smbd service event; smbd session setup --> 1271 <event id="AUE_smbd_session" header="0" idNo="58" omit="JNI"> 1272 <title>smbd</title> 1273 <program>/usr/lib/smbsrv/smbd</program> 1274 <entry id="subject"> 1275 <internal token="subject"/> 1276 <external opt="none"/> 1277 </entry> 1278 <entry id="domain"> 1279 <internal token="text"/> 1280 <external opt="required" type="char*"/> 1281 <comment>domain</comment> 1282 </entry> 1283 <entry id="username"> 1284 <internal token="text"/> 1285 <external opt="required" type="char*"/> 1286 <comment>username</comment> 1287 </entry> 1288 <entry id="sid"> 1289 <internal token="text"/> 1290 <external opt="optional" type="char*"/> 1291 <comment>sid</comment> 1292 </entry> 1293 <entry id="return"> 1294 <internal token="return"/> 1295 <external opt="none"/> 1296 </entry> 1297 </event> 1298 1299<!-- smbd service event; smbd session logoff --> 1300 <event id="AUE_smbd_logoff" header="0" idNo="59" omit="JNI"> 1301 <title>smbd</title> 1302 <program>/usr/lib/smbsrv/smbd</program> 1303 <entry id="subject"> 1304 <internal token="subject"/> 1305 <external opt="none"/> 1306 </entry> 1307 <entry id="domain"> 1308 <internal token="text"/> 1309 <external opt="required" type="char*"/> 1310 <comment>domain</comment> 1311 </entry> 1312 <entry id="username"> 1313 <internal token="text"/> 1314 <external opt="required" type="char*"/> 1315 <comment>username</comment> 1316 </entry> 1317 <entry id="return"> 1318 <internal token="return"/> 1319 <external opt="none"/> 1320 </entry> 1321 </event> 1322 1323<!-- vscan service event; infected file detected --> 1324 <event id="AUE_vscan_quarantine" header="0" idNo="60" omit="JNI"> 1325 <title>VSCAN: quarantine infected file</title> 1326 <program>/usr/lib/vscan/vscand</program> 1327 <see>vscand(1M), ICAP RFC 3507 (Extensions)</see> 1328 <entry id="subject"> 1329 <internal token="subject"/> 1330 <external opt="none"/> 1331 </entry> 1332 <entry id="file"> 1333 <internal token="path"/> 1334 <external opt="required" type="char*"/> 1335 <comment>infected file</comment> 1336 </entry> 1337 <entry id="violations,nviolations"> 1338 <internal token="text"/> 1339 <external opt="optional" type="char**,int"/> 1340 <comment>ID - threat description</comment> 1341 </entry> 1342 <entry id="return"> 1343 <internal token="return"/> 1344 <external opt="none"/> 1345 </entry> 1346 </event> 1347 1348<!-- ndmp service event; ndmp client connect --> 1349 <event id="AUE_ndmp_connect" instance_of="AUE_generic_basic" header="0" 1350 idNo="61" omit="JNI"> 1351 <title>NDMP Connect</title> 1352 <program>/usr/lib/ndmp/ndmpd</program> 1353 <see>ndmpd(1M)</see> 1354 </event> 1355 1356<!-- ndmp service event; ndmp client disconnect --> 1357 <event id="AUE_ndmp_disconnect" instance_of="AUE_generic_basic" header="0" 1358 idNo="62" omit="JNI"> 1359 <title>NDMP Disconnect</title> 1360 <program>/usr/lib/ndmp/ndmpd</program> 1361 <see>ndmpd(1M)</see> 1362 </event> 1363 1364<!-- ndmp service event; ndmp backup --> 1365 <event id="AUE_ndmp_backup" header="0" idNo="63" omit="JNI"> 1366 <title>NDMP Backup</title> 1367 <program>/usr/lib/ndmp/ndmpd</program> 1368 <see>ndmpd(1M)</see> 1369 <entry id="subject"> 1370 <internal token="subject"/> 1371 <external opt="none"/> 1372 </entry> 1373 <entry id="source"> 1374 <internal token="path"/> 1375 <external opt="required" type="char *"/> 1376 <comment>path to be backed up</comment> 1377 </entry> 1378 <entry id="local_dest"> 1379 <internal token="path"/> 1380 <external opt="optional" type="char *"/> 1381 <comment>local path of backup destination</comment> 1382 </entry> 1383 <entry id="remote_dest"> 1384 <internal token="in_peer"/> 1385 <external opt="optional" type="fd_t"/> 1386 <comment>remote ip address and port of backup destination</comment> 1387 </entry> 1388 <entry id="return"> 1389 <internal token="return"/> 1390 <external opt="none"/> 1391 </entry> 1392 </event> 1393 1394<!-- ndmp service event; ndmp restore --> 1395 <event id="AUE_ndmp_restore" header="0" idNo="64" omit="JNI"> 1396 <title>NDMP Restore</title> 1397 <program>/usr/lib/ndmp/ndmpd</program> 1398 <see>ndmpd(1M)</see> 1399 <entry id="subject"> 1400 <internal token="subject"/> 1401 <external opt="none"/> 1402 </entry> 1403 <entry id="destination"> 1404 <internal token="path"/> 1405 <external opt="required" type="char *"/> 1406 <comment>path to restore to</comment> 1407 </entry> 1408 <entry id="local_source"> 1409 <internal token="path"/> 1410 <external opt="optional" type="char *"/> 1411 <comment>local path to restore from</comment> 1412 </entry> 1413 <entry id="remote_source"> 1414 <internal token="in_peer"/> 1415 <external opt="optional" type="fd_t"/> 1416 <comment>remote ip address and port to restore from</comment> 1417 </entry> 1418 <entry id="return"> 1419 <internal token="return"/> 1420 <external opt="none"/> 1421 </entry> 1422 </event> 1423 1424<!-- SMF related events --> 1425 <event id="AUE_smf_generic" type="generic" omit="always"> 1426 <!-- 1427 This is a template for the event types that have no tokens 1428 other than the header and return. There is no allowed_type 1429 list because the template is not externally visible due to the 1430 omit="always". 1431 --> 1432 <entry id="subject"> 1433 <internal token="subject"/> 1434 <external opt="none"/> 1435 </entry> 1436 <entry id="auth_used"> 1437 <internal token="uauth"/> 1438 <external opt="required" type="char *"/> 1439 <comment>authorization used</comment> 1440 </entry> 1441 <entry id="fmri"> 1442 <internal token="fmri"/> 1443 <external opt="required" type="char *"/> 1444 <comment>name</comment> 1445 </entry> 1446 <entry id="return"> 1447 <internal token="return"/> 1448 <external opt="none"/> 1449 </entry> 1450 </event> 1451 1452 <event id="AUE_smf_generic_pg" type="generic" omit="always"> 1453 <!-- 1454 This is a template for the event types related to property groups. 1455 There is no allowed_type list because the template is not externally 1456 visible due to the omit="always". 1457 --> 1458 <entry id="subject"> 1459 <internal token="subject"/> 1460 <external opt="none"/> 1461 </entry> 1462 <entry id="auth_used"> 1463 <internal token="uauth"/> 1464 <external opt="required" type="char *"/> 1465 <comment>authorization used</comment> 1466 </entry> 1467 <entry id="fmri"> 1468 <internal token="fmri"/> 1469 <external opt="required" type="char *"/> 1470 </entry> 1471 <entry id="type"> 1472 <internal token="text"/> 1473 <external opt="required" type="char *"/> 1474 <comment>property group type</comment> 1475 </entry> 1476 <entry id="return"> 1477 <internal token="return"/> 1478 <external opt="none"/> 1479 </entry> 1480 </event> 1481 1482 <event id="AUE_smf_enable" instance_of="AUE_smf_generic" header="0" 1483 idNo="65" omit="JNI"> 1484 <program>svc.configd(1M)</program> 1485 <see>svcadm(1M)</see> 1486 </event> 1487 <event id="AUE_smf_tmp_enable" instance_of="AUE_smf_generic" header="0" 1488 idNo="66" omit="JNI"> 1489 <program>svc.configd(1M)</program> 1490 <see>svcadm(1M)</see> 1491 </event> 1492 <event id="AUE_smf_disable" instance_of="AUE_smf_generic" header="0" 1493 idNo="67" omit="JNI"> 1494 <program>svc.configd(1M)</program> 1495 <see>svcadm(1M)</see> 1496 </event> 1497 <event id="AUE_smf_tmp_disable" instance_of="AUE_smf_generic" header="0" 1498 idNo="68" omit="JNI"> 1499 <program>svc.configd(1M)</program> 1500 <see>svcadm(1M)</see> 1501 </event> 1502 <event id="AUE_smf_restart" instance_of="AUE_smf_generic" header="0" 1503 idNo="69" omit="JNI"> 1504 <program>svc.configd(1M)</program> 1505 <see>svcadm(1M)</see> 1506 </event> 1507 <event id="AUE_smf_refresh" instance_of="AUE_smf_generic" header="0" 1508 idNo="70" omit="JNI"> 1509 <program>svc.configd(1M)</program> 1510 <see>svcadm(1M)</see> 1511 </event> 1512 <event id="AUE_smf_clear" instance_of="AUE_smf_generic" header="0" 1513 idNo="71" omit="JNI"> 1514 <program>svc.configd(1M)</program> 1515 <see>svcadm(1M)</see> 1516 </event> 1517 <event id="AUE_smf_degrade" instance_of="AUE_smf_generic" header="0" 1518 idNo="72" omit="JNI"> 1519 <program>svc.configd(1M)</program> 1520 <see>svcadm(1M)</see> 1521 </event> 1522 <event id="AUE_smf_immediate_degrade" instance_of="AUE_smf_generic" 1523 header="0" idNo="73" omit="JNI"> 1524 <program>svc.configd(1M)</program> 1525 <see>svcadm(1M)</see> 1526 </event> 1527 <event id="AUE_smf_maintenance" instance_of="AUE_smf_generic" header="0" 1528 idNo="74" omit="JNI"> 1529 <program>svc.configd(1M)</program> 1530 <see>svcadm(1M)</see> 1531 </event> 1532 <event id="AUE_smf_immediate_maintenance" instance_of="AUE_smf_generic" 1533 header="0" idNo="75" omit="JNI"> 1534 <program>svc.configd(1M)</program> 1535 <see>svcadm(1M)</see> 1536 </event> 1537 <event id="AUE_smf_immtmp_maintenance" instance_of="AUE_smf_generic" 1538 header="0" idNo="76" omit="JNI"> 1539 <program>svc.configd(1M)</program> 1540 <see>svcadm(1M)</see> 1541 </event> 1542 <event id="AUE_smf_tmp_maintenance" instance_of="AUE_smf_generic" header="0" 1543 idNo="77" omit="JNI"> 1544 <program>svc.configd(1M)</program> 1545 <see>svcadm(1M)</see> 1546 </event> 1547 <event id="AUE_smf_milestone" instance_of="AUE_smf_generic" header="0" 1548 idNo="78" omit="JNI"> 1549 <program>svc.configd(1M)</program> 1550 <see>svcadm(1M)</see> 1551 </event> 1552 1553 <event id="AUE_smf_create" instance_of="AUE_smf_generic" header="0" 1554 idNo="79" omit="JNI"> 1555 <program>svc.configd(1M)</program> 1556 <see>svccfg(1M)</see> 1557 </event> 1558 <event id="AUE_smf_delete" instance_of="AUE_smf_generic" header="0" 1559 idNo="80" omit="JNI"> 1560 <program>svc.configd(1M)</program> 1561 <see>svccfg(1M)</see> 1562 </event> 1563 1564 <event id="AUE_smf_create_pg" instance_of="AUE_smf_generic_pg" header="0" 1565 idNo="81" omit="JNI"> 1566 <program>svc.configd(1M)</program> 1567 <see>svccfg(1M)</see> 1568 </event> 1569 <event id="AUE_smf_create_npg" instance_of="AUE_smf_generic_pg" header="0" 1570 idNo="82" omit="JNI"> 1571 <program>svc.configd(1M)</program> 1572 <see>svccfg(1M)</see> 1573 </event> 1574 <event id="AUE_smf_delete_pg" instance_of="AUE_smf_generic_pg" header="0" 1575 idNo="83" omit="JNI"> 1576 <program>svc.configd(1M)</program> 1577 <see>svccfg(1M)</see> 1578 </event> 1579 <event id="AUE_smf_delete_npg" instance_of="AUE_smf_generic_pg" header="0" 1580 idNo="84" omit="JNI"> 1581 <program>svc.configd(1M)</program> 1582 <see>svccfg(1M)</see> 1583 </event> 1584 1585 <event id="AUE_smf_create_snap" header="0" idNo="85" omit="JNI"> 1586 <program>svc.configd(1M)</program> 1587 <see>svccfg(1M)</see> 1588 <entry id="subject"> 1589 <internal token="subject"/> 1590 <external opt="none"/> 1591 </entry> 1592 <entry id="auth_used"> 1593 <internal token="uauth"/> 1594 <external opt="required" type="char *"/> 1595 <comment>authorization used</comment> 1596 </entry> 1597 <entry id="fmri"> 1598 <internal token="fmri"/> 1599 <external opt="required" type="char *"/> 1600 <comment>name</comment> 1601 </entry> 1602 <entry id="name"> 1603 <internal token="text"/> 1604 <external opt="required" type="char *"/> 1605 <comment>snapshot name</comment> 1606 </entry> 1607 <entry id="return"> 1608 <internal token="return"/> 1609 <external opt="none"/> 1610 </entry> 1611 </event> 1612 <event id="AUE_smf_delete_snap" header="0" idNo="86" omit="JNI"> 1613 <program>svc.configd(1M)</program> 1614 <see>svccfg(1M)</see> 1615 <entry id="subject"> 1616 <internal token="subject"/> 1617 <external opt="none"/> 1618 </entry> 1619 <entry id="auth_used"> 1620 <internal token="uauth"/> 1621 <external opt="required" type="char *"/> 1622 <comment>authorization used</comment> 1623 </entry> 1624 <entry id="fmri"> 1625 <internal token="fmri"/> 1626 <external opt="required" type="char *"/> 1627 <comment>name</comment> 1628 </entry> 1629 <entry id="name"> 1630 <internal token="text"/> 1631 <external opt="required" type="char *"/> 1632 <comment>snapshot name</comment> 1633 </entry> 1634 <entry id="return"> 1635 <internal token="return"/> 1636 <external opt="none"/> 1637 </entry> 1638 </event> 1639 <event id="AUE_smf_attach_snap" header="0" idNo="87" omit="JNI"> 1640 <program>svc.configd(1M)</program> 1641 <see>svccfg(1M)</see> 1642 <entry id="subject"> 1643 <internal token="subject"/> 1644 <external opt="none"/> 1645 </entry> 1646 <entry id="auth_used"> 1647 <internal token="uauth"/> 1648 <external opt="required" type="char *"/> 1649 <comment>authorization used</comment> 1650 </entry> 1651 <entry id="old_fmri"> 1652 <internal token="fmri"/> 1653 <external opt="required" type="char *"/> 1654 <comment>old name</comment> 1655 </entry> 1656 <entry id="old_name"> 1657 <internal token="text"/> 1658 <external opt="required" type="char *"/> 1659 <comment>old snapshot</comment> 1660 </entry> 1661 <entry id="new_fmri"> 1662 <internal token="fmri"/> 1663 <external opt="required" type="char *"/> 1664 <comment>new name</comment> 1665 </entry> 1666 <entry id="new_name"> 1667 <internal token="text"/> 1668 <external opt="required" type="char *"/> 1669 <comment>new snapshot</comment> 1670 </entry> 1671 <entry id="return"> 1672 <internal token="return"/> 1673 <external opt="none"/> 1674 </entry> 1675 </event> 1676 1677 <event id="AUE_smf_annotation" header="0" idNo="88" omit="JNI"> 1678 <program>svc.configd(1M)</program> 1679 <see>svccfg(1M)</see> 1680 <entry id="subject"> 1681 <internal token="subject"/> 1682 <external opt="none"/> 1683 </entry> 1684 <entry id="operation"> 1685 <internal token="text"/> 1686 <external opt="required" type="char *"/> 1687 <comment>operation</comment> 1688 </entry> 1689 <entry id="file"> 1690 <internal token="path"/> 1691 <external opt="required" type="char *"/> 1692 <comment>imported file</comment> 1693 </entry> 1694 <entry id="return"> 1695 <internal token="return"/> 1696 <external opt="none"/> 1697 </entry> 1698 </event> 1699 1700 <event id="AUE_smf_create_prop" header="0" idNo="89" omit="JNI"> 1701 <program>svc.configd(1M)</program> 1702 <see>svccfg(1M)</see> 1703 <entry id="subject"> 1704 <internal token="subject"/> 1705 <external opt="none"/> 1706 </entry> 1707 <entry id="auth_used"> 1708 <internal token="uauth"/> 1709 <external opt="required" type="char *"/> 1710 <comment>authorization used</comment> 1711 </entry> 1712 <entry id="fmri"> 1713 <internal token="fmri"/> 1714 <external opt="required" type="char *"/> 1715 <comment>name</comment> 1716 </entry> 1717 <entry id="type"> 1718 <internal token="text"/> 1719 <external opt="required" type="char *"/> 1720 <comment>type</comment> 1721 </entry> 1722 <entry id="value"> 1723 <internal token="text"/> 1724 <external opt="optional" type="char *"/> 1725 <comment>value</comment> 1726 </entry> 1727 <entry id="return"> 1728 <internal token="return"/> 1729 <external opt="none"/> 1730 </entry> 1731 </event> 1732 1733 <event id="AUE_smf_change_prop" header="0" idNo="90" omit="JNI"> 1734 <program>svc.configd(1M)</program> 1735 <see>svccfg(1M)</see> 1736 <entry id="subject"> 1737 <internal token="subject"/> 1738 <external opt="none"/> 1739 </entry> 1740 <entry id="auth_used"> 1741 <internal token="uauth"/> 1742 <external opt="required" type="char *"/> 1743 <comment>authorization used</comment> 1744 </entry> 1745 <entry id="fmri"> 1746 <internal token="fmri"/> 1747 <external opt="required" type="char *"/> 1748 <comment>name</comment> 1749 </entry> 1750 <entry id="type"> 1751 <internal token="text"/> 1752 <external opt="required" type="char *"/> 1753 <comment>type</comment> 1754 </entry> 1755 <entry id="value"> 1756 <internal token="text"/> 1757 <external opt="optional" type="char *"/> 1758 <comment>value</comment> 1759 </entry> 1760 <entry id="return"> 1761 <internal token="return"/> 1762 <external opt="none"/> 1763 </entry> 1764 </event> 1765 <event id="AUE_smf_delete_prop" header="0" idNo="91" omit="JNI"> 1766 <program>svc.configd(1M)</program> 1767 <see>svccfg(1M)</see> 1768 <entry id="subject"> 1769 <internal token="subject"/> 1770 <external opt="none"/> 1771 </entry> 1772 <entry id="auth_used"> 1773 <internal token="uauth"/> 1774 <external opt="required" type="char *"/> 1775 <comment>authorization used</comment> 1776 </entry> 1777 <entry id="fmri"> 1778 <internal token="fmri"/> 1779 <external opt="required" type="char *"/> 1780 <comment>name</comment> 1781 </entry> 1782 <entry id="return"> 1783 <internal token="return"/> 1784 <external opt="none"/> 1785 </entry> 1786 </event> 1787 1788 <event id="AUE_smf_read_prop" instance_of="AUE_smf_generic" header="0" 1789 idNo="92" omit="JNI"> 1790 <program>svc.configd(1M)</program> 1791 <see>svccfg(1M)</see> 1792 </event> 1793 1794<!-- CPUFreq related events --> 1795 1796 <event id="AUE_cpu_ondemand" header="0" idNo="93" omit="JNI"> 1797 <title>set CPU freq to minimal unless load increases</title> 1798 <program>/usr/lib/hal/hald-addon-cpufreq</program> 1799 <see>hald(1M)</see> 1800 <entry id="subject"> 1801 <internal token="subject"/> 1802 <external opt="none"/> 1803 </entry> 1804 <entry id="auth_used"> 1805 <internal token="uauth"/> 1806 <external opt="required" type="char *"/> 1807 <comment>authorization used</comment> 1808 </entry> 1809 <entry id="return"> 1810 <internal token="return"/> 1811 <external opt="none"/> 1812 </entry> 1813 </event> 1814 <event id="AUE_cpu_performance" header="0" idNo="94" omit="JNI"> 1815 <title>set CPU freq to Max</title> 1816 <program>/usr/lib/hal/hald-addon-cpufreq</program> 1817 <see>hald(1M)</see> 1818 <entry id="subject"> 1819 <internal token="subject"/> 1820 <external opt="none"/> 1821 </entry> 1822 <entry id="auth_used"> 1823 <internal token="uauth"/> 1824 <external opt="required" type="char *"/> 1825 <comment>authorization used</comment> 1826 </entry> 1827 <entry id="return"> 1828 <internal token="return"/> 1829 <external opt="none"/> 1830 </entry> 1831 </event> 1832 <event id="AUE_cpu_threshold" header="0" idNo="95" omit="JNI"> 1833 <title>set CPU frequency threshold percentage</title> 1834 <program>/usr/lib/hal/hald-addon-cpufreq</program> 1835 <see>hald(1M)</see> 1836 <entry id="subject"> 1837 <internal token="subject"/> 1838 <external opt="none"/> 1839 </entry> 1840 <entry id="auth_used"> 1841 <internal token="uauth"/> 1842 <external opt="required" type="char *"/> 1843 <comment>authorization used</comment> 1844 </entry> 1845 <entry id="threshold"> 1846 <internal token="text"/> 1847 <external opt="required" type="int"/> 1848 <comment>threshold percent 1-100</comment> 1849 </entry> 1850 <entry id="return"> 1851 <internal token="return"/> 1852 <external opt="none"/> 1853 </entry> 1854 </event> 1855 1856<!-- NWAM events --> 1857 1858 <event id="AUE_nwam_attach" header="0" idNo="97" omit="JNI"> 1859 <title>Network Autoconfig Client</title> 1860 <program>nwamd</program> 1861 <see>nwamd(1M)</see> 1862 <entry id="subject"> 1863 <internal token="subject"/> 1864 <external opt="none"/> 1865 </entry> 1866 <entry id="auth_used"> 1867 <internal token="uauth"/> 1868 <external opt="required" type="char *"/> 1869 <comment>authorization used</comment> 1870 </entry> 1871 <entry id="return"> 1872 <internal token="return"/> 1873 <external opt="none"/> 1874 </entry> 1875 </event> 1876 1877 <event id="AUE_nwam_detach" instance_of="AUE_generic_basic" header="0" 1878 idNo="98" omit="JNI"> 1879 <title>Network Autoconfig Client</title> 1880 <program>nwamd</program> 1881 <see>nwamd(1M)</see> 1882 </event> 1883 1884<!-- add new events here with the next higher idNo --> 1885<!-- Highest idNo is 98, so next is 99, then fix this comment --> 1886<!-- end of C Only events --> 1887 1888 1889<!-- 1890 token definitions are partially implemented. All they do for now 1891 is create a list of defined token names. In the future they may 1892 become a way of describing token structure. 1893--> 1894 1895 <token id="acl"> 1896 </token> 1897 <token id="arbitrary"> 1898 </token> 1899 <token id="arg"> 1900 </token> 1901 <token id="attr"> 1902 </token> 1903 <token id="command"> 1904 </token> 1905 <token id="command_alt"> 1906 </token> 1907 <token id="date"> 1908 </token> 1909 <token id="exec_args"> 1910 </token> 1911 <token id="exec_env"> 1912 </token> 1913 <token id="exit"> 1914 </token> 1915 <token id="file"> 1916 </token> 1917 <token id="fmri"> 1918 </token> 1919 <token id="groups"> 1920 </token> 1921 <!-- pseudo token; in_addr and in_port of peer --> 1922 <token id="in_peer"> 1923 </token> 1924 <token id="ipc"> 1925 </token> 1926 <token id="ipc_perm"> 1927 </token> 1928 <token id="label"> 1929 </token> 1930 <token id="newgroups"> 1931 </token> 1932 <token id="opaque"> 1933 </token> 1934 <token id="path"> 1935 </token> 1936 <!-- pseudo token; path list generates 0 or more path tokens --> 1937 <token id="path_list"> 1938 </token> 1939 <token id="tid"> 1940 </token> 1941 1942 <!-- 1943 privilege token is implemented as one of the pseudo tokens 1944 priv_limit, priv_effective, or priv_inherit 1945 1946 <token id="privilege"> 1947 </token> 1948 --> 1949 <token id="priv_effective"> 1950 </token> 1951 <token id="priv_inherit"> 1952 </token> 1953 <token id="priv_limit"> 1954 </token> 1955 <token id="process"> 1956 </token> 1957 <token id="return"> 1958 </token> 1959 <token id="seq"> 1960 </token> 1961 <token id="socket"> 1962 </token> 1963 <token id="socket-inet"> 1964 </token> 1965 <token id="subject"> 1966 </token> 1967 <token id="text"> 1968 </token> 1969 <token id="uauth"> 1970 </token> 1971 <token id="zonename"> 1972 </token> 1973 1974<!-- 1975 error value list for return values with success/fail code of fail. 1976 These values start at 1000 so praudit can tell the difference 1977 between the libbsm/common/audit_*.c broken error values and 1978 the new adt_ error value list. It is public so that praudit 1979 can find it. 1980 1981 praudit outputs "failure" %s" for these strings, so there is 1982 no need to use words such as "failed" in the message. 1983 1984 ** Add to the end only to maintain validity across versions of 1985 the audit log. ** 1986--> 1987 1988 <msg_list id="fail_value" header="0" start="1000" public="true"> 1989 <msg id="PW_ATTR">Attribute update</msg> 1990 <msg id="PW">Password update</msg> 1991 <msg id="USERNAME">bad username</msg> 1992 <msg id="AUTH">authorization failed</msg> 1993 <msg id="UID">bad uid</msg> 1994 <msg id="UNKNOWN">unknown failure</msg> 1995 <msg id="EXPIRED">password expired</msg> 1996 <msg id="ACCOUNT_LOCKED">Account is locked</msg> 1997 <msg id="BAD_DIALUP">Bad dial up</msg> 1998 <msg id="BAD_ID">Invalid ID</msg> 1999 <msg id="BAD_PW">Invalid password</msg> 2000 <msg id="CONSOLE">Not on console</msg> 2001 <msg id="MAX_TRIES">Too many failed attempts</msg> 2002 <msg id="PROTOCOL_FAILURE">Protocol failure</msg> 2003 <msg id="EXCLUDED_USER">Excluded user</msg> 2004 <msg id="ANON_USER">No anonymous</msg> 2005 <msg id="BAD_CMD">Invalid command</msg> 2006 <msg id="BAD_TTY">Standard input not a tty line</msg> 2007 <msg id="PROGRAM">Program failure</msg> 2008 <msg id="CHDIR_FAILED">chdir to home directory</msg> 2009 <msg id="INPUT_OVERFLOW">Input line too long.</msg> 2010 <msg id="DEVICE_PERM">login device override</msg> 2011 <msg id="AUTH_BYPASS">authorization bypass</msg> 2012 <msg id="LOGIN_DISABLED">login disabled</msg> 2013 </msg_list> 2014 2015<!-- 2016 The following empty list is used for PAM errors; the "start" 2017 value is used by praudit to know to use the PAM infrastructure 2018 for generating error strings 2019--> 2020 <msg_list id="fail_pam" header="0" start="2000" public="true"> 2021 </msg_list> 2022 2023<!-- 2024 This is still in use by SMC. See AUE_generic_login. When 2025 either SMC is fixed to stop using this, or SMC goes away. 2026 REMOVE this stuff and the corresponding AUE_generic_login 2027 message field. 2028 2029 Message list for the various authentication events, such 2030 as AUE_login and AUE_admin_authenticate. Add new entries 2031 at the end. The order of msg_list entries and the order 2032 of msg entries both affect the names in adt.h and the value 2033 of the associated enumerated types. 2034 2035 Each of these messages except NO_MSG is also in the failure_attribute 2036 list; the difference is that the messages below use a text token 2037 in the audit record, while the failure_attribute messages are 2038 associated with the return value of the return token. 2039 2040 This list is deprecated; please don't use text tokens for error 2041 messages. 2042--> 2043 2044 <msg_list id="login_text" header="0" deprecated="true"> 2045 <msg id="NO_MSG"></msg> 2046 <msg id="ACCOUNT_LOCKED">Account is locked</msg> 2047 <msg id="BAD_DIALUP">Bad dial up</msg> 2048 <msg id="BAD_ID">Invalid ID</msg> 2049 <msg id="BAD_PW">Invalid password</msg> 2050 <msg id="CONSOLE">Not on console</msg> 2051 <msg id="MAX_TRIES">Too many failed attempts</msg> 2052 <msg id="PROTOCOL_FAILURE">Protocol failure</msg> 2053 <msg id="EXCLUDED_USER">Excluded user</msg> 2054 <msg id="ANON_USER">No anonymous</msg> 2055 </msg_list> 2056 2057<!-- msg list for uadmin(1m) fcn argument (next action, see uadmin(2)) --> 2058 <msg_list id="uadmin_fcn" header="0" start="3000" public="true"> 2059 <msg id="AD_HALT">Halt the processor(s)</msg> 2060 <msg id="AD_POWEROFF">Halt the processor(s) and turn off the power</msg> 2061 <msg id="AD_BOOT">Reboot the system using the kernel file</msg> 2062 <msg id="AD_IBOOT">Interactive reboot</msg> 2063 <msg id="AD_SUSPEND_TO_DISK">Save the system state to the state file</msg> 2064 <msg id="AD_CHECK_SUSPEND_TO_DISK">Check if system supports suspend to disk</msg> 2065 <msg id="AD_FORCE">Force suspend to disk even when threads of user 2066 applications are not suspendable</msg> 2067 <msg id="AD_SUSPEND_TO_RAM">Save the system state to memory</msg> 2068 <msg id="AD_CHECK_SUSPEND_TO_RAM">Check if system supports suspend to memory</msg> 2069 <msg id="AD_SBOOT">Single-user reboot</msg> 2070 <msg id="AD_SIBOOT">Single-user interactive reboot</msg> 2071 <msg id="AD_NOSYNC">Do not sync filesystems on next A_DUMP</msg> 2072 <msg id="AD_FASTREBOOT">Reboot bypassing BIOS and boot loader</msg> 2073 <msg id="AD_FASTREBOOT_DRYRUN">Check if system supports reboot bypassing BIOS and boot loader</msg> 2074 <msg id="AD_REUSEINIT">Prepare for AD_REUSABLE</msg> 2075 <msg id="AD_REUSABLE">Create reusable statefile</msg> 2076 <msg id="AD_REUSEFINI">Revert to normal CPR mode (not reusable)</msg> 2077 <msg id="AD_FTRACE_START">ftrace start</msg> 2078 <msg id="AD_FTRACE_STOP">ftrace stop</msg> 2079 </msg_list> 2080</specification> 2081