1 <?xml version=
"1.0" encoding=
"UTF-8" ?>
4 Copyright 2010 Sun Microsystems, Inc. All rights reserved.
5 Use is subject to license terms.
9 The contents of this file are subject to the terms of the
10 Common Development and Distribution License (the "License").
11 You may not use this file except in compliance with the License.
13 You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
14 or http://www.opensolaris.org/os/licensing.
15 See the License for the specific language governing permissions
16 and limitations under the License.
18 When distributing Covered Code, include this CDDL HEADER in each
19 file and include the License file at usr/src/OPENSOLARIS.LICENSE.
20 If applicable, add the following below this CDDL HEADER, with the
21 fields enclosed by brackets "[]" replaced with your own identifying
22 information: Portions Copyright [yyyy] [name of copyright owner]
28 <!--Entity Definitions-->
30 <!-- timeattr or iso8601
33 the time/date to the second in strftime(3C) default format,
34 followed by milliseconds offset.
36 Example: time="Mon May 06 12:10:18 2002" msec="750"
39 ISO 8601 standard format date time and timezone;
40 YYYY-MM-DD HH:MM:SS.sss +/-HH:MM; year, month, day 24 hour time with
41 milliseconds + or - offset from Universal Time (UTC, aka GMT)
43 Example: iso8601="2003-09-17 16:47:41.831 -07:00"
46 <!ENTITY % timeattr
"time CDATA #IMPLIED
49 <!ENTITY % iso8601
"iso8601 CDATA #IMPLIED">
51 <!-- xinfo Generic info for X related tokens. -->
52 <!ENTITY % xinfo
"xid CDATA #REQUIRED
53 xcreator-uid CDATA #REQUIRED">
57 This represents the set of "reserved" tokens whose placement is
61 <!ENTITY % reserved_toks
"(
71 This represents the set of all tokens other than the "reserved"
75 <!ENTITY % normaltoks
"(
103 use_of_authorization |
119 <!--Element Definitions-->
123 The main element, "audit", consists of a sequence of file & record tokens.
126 <!ELEMENT audit (file | record)*
>
129 <!ELEMENT file (#PCDATA)
>
130 <!ATTLIST file %iso8601;
>
135 Audit records will have this general layout of tokens after the
136 first token (which is the record token):
137 (tokens),subject,group,(tokens),return,sequence,host
139 (all tokens after the record token are optional; the host token is unused.)
149 version CDATA #REQUIRED
150 event CDATA #REQUIRED
151 modifier CDATA #IMPLIED
157 <!ELEMENT text (#PCDATA)
>
160 <!ELEMENT user EMPTY
>
163 username CDATA #REQUIRED
167 <!ELEMENT path (#PCDATA)
>
169 <!-- path_attr token -->
170 <!ELEMENT path_attr (xattr*)
>
171 <!ELEMENT xattr (#PCDATA)
>
174 <!ELEMENT host (#PCDATA)
>
176 <!-- subject token -->
177 <!ELEMENT subject EMPTY
>
179 audit-uid CDATA #REQUIRED
189 <!-- process token -->
190 <!ELEMENT process EMPTY
>
192 audit-uid CDATA #REQUIRED
202 <!-- return token -->
203 <!ELEMENT return EMPTY
>
205 errval CDATA #REQUIRED
206 retval CDATA #REQUIRED
210 <!ELEMENT exit EMPTY
>
212 errval CDATA #REQUIRED
213 retval CDATA #REQUIRED
216 <!-- sequence token -->
217 <!ELEMENT sequence EMPTY
>
219 seq-num CDATA #REQUIRED
223 <!ELEMENT fmri (#PCDATA)
>
226 <!ELEMENT group (gid)*
>
227 <!ELEMENT gid (#PCDATA)
>
229 <!-- opaque token -->
230 <!ELEMENT opaque (#PCDATA)
>
232 <!-- liaison token -->
233 <!-- (NOTE: liaison is obsolete and is no longer generated -->
234 <!ELEMENT liaison (#PCDATA)
>
236 <!-- argument token -->
237 <!ELEMENT argument EMPTY
>
239 arg-num CDATA #REQUIRED
240 value CDATA #REQUIRED
244 <!-- attribute token -->
245 <!ELEMENT attribute EMPTY
>
251 nodeid CDATA #REQUIRED
252 device CDATA #REQUIRED
256 <!ELEMENT cmd (argv*, arge*)
>
257 <!ELEMENT argv (#PCDATA)
>
258 <!ELEMENT arge (#PCDATA)
>
260 <!-- exec_args token -->
261 <!ELEMENT exec_args (arg*)
>
262 <!ELEMENT arg (#PCDATA)
>
264 <!-- exec_env token -->
265 <!ELEMENT exec_env (env*)
>
266 <!ELEMENT env (#PCDATA)
>
268 <!-- arbitrary token -->
269 <!ELEMENT arbitrary (#PCDATA)
>
271 print CDATA #REQUIRED
273 count CDATA #REQUIRED
276 <!-- privilege token -->
277 <!ELEMENT privilege (#PCDATA)
>
279 set-type CDATA #REQUIRED
282 <!-- secflags token -->
283 <!ELEMENT secflags (#PCDATA)
>
285 set-type CDATA #REQUIRED
289 <!-- use_of_privilege token -->
290 <!ELEMENT use_of_privilege (#PCDATA)
>
291 <!ATTLIST use_of_privilege
292 result CDATA #REQUIRED
295 <!-- use_of_authorization token -->
296 <!ELEMENT use_of_authorization (#PCDATA)
>
301 ipc-type CDATA #REQUIRED
302 ipc-id CDATA #REQUIRED
305 <!-- IPC_perm token -->
306 <!ELEMENT IPC_perm EMPTY
>
310 creator-uid CDATA #REQUIRED
311 creator-gid CDATA #REQUIRED
317 <!-- ip_address token -->
318 <!ELEMENT ip_address (#PCDATA)
>
320 <!-- ip_port token -->
321 <!-- (NOTE: ip_port is obsolete and is no longer generated -->
322 <!ELEMENT ip_port (#PCDATA)
>
325 <!-- (NOTE: ip is obsolete and is no longer generated -->
328 version CDATA #REQUIRED
329 service_type CDATA #REQUIRED
332 offset CDATA #REQUIRED
333 time_to_live CDATA #REQUIRED
334 protocol CDATA #REQUIRED
335 cksum CDATA #REQUIRED
336 src_addr CDATA #REQUIRED
337 dest_addr CDATA #REQUIRED
340 <!-- old_socket token -->
341 <!ELEMENT old_socket EMPTY
>
348 <!-- socket token -->
349 <!ELEMENT socket EMPTY
>
351 sock_domain CDATA #REQUIRED
352 sock_type CDATA #REQUIRED
353 lport CDATA #REQUIRED
354 laddr CDATA #REQUIRED
355 fport CDATA #REQUIRED
356 faddr CDATA #REQUIRED
367 access_mask CDATA #IMPLIED
371 <!-- future intent: contain one of ipadr | MTUadr | device -->
372 <!ELEMENT tid (ipadr*)
>
377 <!-- ipadr content of tid token -->
378 <!ELEMENT ipadr EMPTY
>
380 local-port CDATA #REQUIRED
381 remote-port CDATA #REQUIRED
385 <!-- X_atom token -->
386 <!ELEMENT X_atom (#PCDATA)
>
388 <!-- X_color_map token -->
389 <!ELEMENT X_color_map EMPTY
>
390 <!ATTLIST X_color_map %xinfo;
>
392 <!-- X_cursor token -->
393 <!ELEMENT X_cursor EMPTY
>
394 <!ATTLIST X_cursor %xinfo;
>
396 <!-- X_font token -->
397 <!ELEMENT X_font EMPTY
>
398 <!ATTLIST X_font %xinfo;
>
400 <!-- X_graphic_context token -->
401 <!ELEMENT X_graphic_context EMPTY
>
402 <!ATTLIST X_graphic_context %xinfo;
>
404 <!-- X_pixmap token -->
405 <!ELEMENT X_pixmap EMPTY
>
406 <!ATTLIST X_pixmap %xinfo;
>
408 <!-- X_window token -->
409 <!ELEMENT X_window EMPTY
>
410 <!ATTLIST X_window %xinfo;
>
412 <!-- X_property token -->
413 <!ELEMENT X_property (#PCDATA)
>
414 <!ATTLIST X_property %xinfo;
>
416 <!-- X_client token -->
417 <!ELEMENT X_client (#PCDATA)
>
419 <!-- X_selection token -->
420 <!ELEMENT X_selection (xsel_text, xsel_type, xsel_data)
>
421 <!ELEMENT x_sel_text (#PCDATA)
>
422 <!ELEMENT x_sel_type (#PCDATA)
>
423 <!ELEMENT x_sel_data (#PCDATA)
>
425 <!-- zonename token -->
426 <!ELEMENT zone EMPTY
>