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