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
"(
104 use_of_authorization |
120 <!--Element Definitions-->
124 The main element, "audit", consists of a sequence of file & record tokens.
127 <!ELEMENT audit (file | record)*
>
130 <!ELEMENT file (#PCDATA)
>
131 <!ATTLIST file %iso8601;
>
136 Audit records will have this general layout of tokens after the
137 first token (which is the record token):
138 (tokens),subject,group,(tokens),return,sequence,host
140 (all tokens after the record token are optional; the host token is unused.)
150 version CDATA #REQUIRED
151 event CDATA #REQUIRED
152 modifier CDATA #IMPLIED
158 <!ELEMENT text (#PCDATA)
>
161 <!ELEMENT user EMPTY
>
164 username CDATA #REQUIRED
168 <!ELEMENT path (#PCDATA)
>
170 <!-- path_attr token -->
171 <!ELEMENT path_attr (xattr*)
>
172 <!ELEMENT xattr (#PCDATA)
>
175 <!ELEMENT host (#PCDATA)
>
177 <!-- subject token -->
178 <!ELEMENT subject EMPTY
>
180 audit-uid CDATA #REQUIRED
190 <!-- process token -->
191 <!ELEMENT process EMPTY
>
193 audit-uid CDATA #REQUIRED
203 <!-- return token -->
204 <!ELEMENT return EMPTY
>
206 errval CDATA #REQUIRED
207 retval CDATA #REQUIRED
211 <!ELEMENT exit EMPTY
>
213 errval CDATA #REQUIRED
214 retval CDATA #REQUIRED
217 <!-- sequence token -->
218 <!ELEMENT sequence EMPTY
>
220 seq-num CDATA #REQUIRED
224 <!ELEMENT fmri (#PCDATA)
>
227 <!ELEMENT group (gid)*
>
228 <!ELEMENT gid (#PCDATA)
>
230 <!-- opaque token -->
231 <!ELEMENT opaque (#PCDATA)
>
233 <!-- liaison token -->
234 <!-- (NOTE: liaison is obsolete and is no longer generated -->
235 <!ELEMENT liaison (#PCDATA)
>
237 <!-- argument token -->
238 <!ELEMENT argument EMPTY
>
240 arg-num CDATA #REQUIRED
241 value CDATA #REQUIRED
245 <!-- attribute token -->
246 <!ELEMENT attribute EMPTY
>
252 nodeid CDATA #REQUIRED
253 device CDATA #REQUIRED
257 <!ELEMENT cmd (argv*, arge*)
>
258 <!ELEMENT argv (#PCDATA)
>
259 <!ELEMENT arge (#PCDATA)
>
261 <!-- exec_args token -->
262 <!ELEMENT exec_args (arg*)
>
263 <!ELEMENT arg (#PCDATA)
>
265 <!-- exec_env token -->
266 <!ELEMENT exec_env (env*)
>
267 <!ELEMENT env (#PCDATA)
>
269 <!-- arbitrary token -->
270 <!ELEMENT arbitrary (#PCDATA)
>
272 print CDATA #REQUIRED
274 count CDATA #REQUIRED
277 <!-- privilege token -->
278 <!ELEMENT privilege (#PCDATA)
>
280 set-type CDATA #REQUIRED
283 <!-- secflags token -->
284 <!ELEMENT secflags (#PCDATA)
>
286 set-type CDATA #REQUIRED
290 <!-- use_of_privilege token -->
291 <!ELEMENT use_of_privilege (#PCDATA)
>
292 <!ATTLIST use_of_privilege
293 result CDATA #REQUIRED
296 <!-- sensitivity_label token -->
297 <!ELEMENT sensitivity_label (#PCDATA)
>
299 <!-- use_of_authorization token -->
300 <!ELEMENT use_of_authorization (#PCDATA)
>
305 ipc-type CDATA #REQUIRED
306 ipc-id CDATA #REQUIRED
309 <!-- IPC_perm token -->
310 <!ELEMENT IPC_perm EMPTY
>
314 creator-uid CDATA #REQUIRED
315 creator-gid CDATA #REQUIRED
321 <!-- ip_address token -->
322 <!ELEMENT ip_address (#PCDATA)
>
324 <!-- ip_port token -->
325 <!-- (NOTE: ip_port is obsolete and is no longer generated -->
326 <!ELEMENT ip_port (#PCDATA)
>
329 <!-- (NOTE: ip is obsolete and is no longer generated -->
332 version CDATA #REQUIRED
333 service_type CDATA #REQUIRED
336 offset CDATA #REQUIRED
337 time_to_live CDATA #REQUIRED
338 protocol CDATA #REQUIRED
339 cksum CDATA #REQUIRED
340 src_addr CDATA #REQUIRED
341 dest_addr CDATA #REQUIRED
344 <!-- old_socket token -->
345 <!ELEMENT old_socket EMPTY
>
352 <!-- socket token -->
353 <!ELEMENT socket EMPTY
>
355 sock_domain CDATA #REQUIRED
356 sock_type CDATA #REQUIRED
357 lport CDATA #REQUIRED
358 laddr CDATA #REQUIRED
359 fport CDATA #REQUIRED
360 faddr CDATA #REQUIRED
371 access_mask CDATA #IMPLIED
375 <!-- future intent: contain one of ipadr | MTUadr | device -->
376 <!ELEMENT tid (ipadr*)
>
381 <!-- ipadr content of tid token -->
382 <!ELEMENT ipadr EMPTY
>
384 local-port CDATA #REQUIRED
385 remote-port CDATA #REQUIRED
389 <!-- X_atom token -->
390 <!ELEMENT X_atom (#PCDATA)
>
392 <!-- X_color_map token -->
393 <!ELEMENT X_color_map EMPTY
>
394 <!ATTLIST X_color_map %xinfo;
>
396 <!-- X_cursor token -->
397 <!ELEMENT X_cursor EMPTY
>
398 <!ATTLIST X_cursor %xinfo;
>
400 <!-- X_font token -->
401 <!ELEMENT X_font EMPTY
>
402 <!ATTLIST X_font %xinfo;
>
404 <!-- X_graphic_context token -->
405 <!ELEMENT X_graphic_context EMPTY
>
406 <!ATTLIST X_graphic_context %xinfo;
>
408 <!-- X_pixmap token -->
409 <!ELEMENT X_pixmap EMPTY
>
410 <!ATTLIST X_pixmap %xinfo;
>
412 <!-- X_window token -->
413 <!ELEMENT X_window EMPTY
>
414 <!ATTLIST X_window %xinfo;
>
416 <!-- X_property token -->
417 <!ELEMENT X_property (#PCDATA)
>
418 <!ATTLIST X_property %xinfo;
>
420 <!-- X_client token -->
421 <!ELEMENT X_client (#PCDATA)
>
423 <!-- X_selection token -->
424 <!ELEMENT X_selection (xsel_text, xsel_type, xsel_data)
>
425 <!ELEMENT x_sel_text (#PCDATA)
>
426 <!ELEMENT x_sel_type (#PCDATA)
>
427 <!ELEMENT x_sel_data (#PCDATA)
>
429 <!-- zonename token -->
430 <!ELEMENT zone EMPTY
>