Print this page
7029 want per-process exploit mitigation features (secflags)
7030 want basic address space layout randomization (aslr)
7031 noexec_user_stack should be a secflag
7032 want a means to forbid mappings around NULL.
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/lib/libbsm/adt_record.xsl.1.man.txt
+++ new/usr/src/lib/libbsm/adt_record.xsl.1.man.txt
1 1 () ()
2 2
3 3
4 4
5 5 <?xml version="1.0" encoding="UTF-8" ?>
6 6
7 7 <!--
8 8 Copyright 2010 Sun Microsystems, Inc. All rights reserved.
9 9 Use is subject to license terms.
10 10
11 11 CDDL HEADER START
12 12
13 13 The contents of this file are subject to the terms of the
14 14 Common Development and Distribution License (the "License").
15 15 You may not use this file except in compliance with the License.
16 16
17 17 You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
18 18 or http://www.opensolaris.org/os/licensing.
19 19 See the License for the specific language governing permissions
20 20 and limitations under the License.
21 21
22 22 When distributing Covered Code, include this CDDL HEADER in each
23 23 file and include the License file at usr/src/OPENSOLARIS.LICENSE.
24 24 If applicable, add the following below this CDDL HEADER, with the
25 25 fields enclosed by brackets "[]" replaced with your own identifying
26 26 information: Portions Copyright [yyyy] [name of copyright owner]
27 27
28 28 CDDL HEADER END -->
29 29
30 30 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
31 31 version="1.0">
32 32
33 33 <!-- set the output properties --> <xsl:output method="html"/>
34 34
35 35 <!-- root rule --> <xsl:template match="/"> <HTML>
36 36 <HEAD><TITLE>Audit Trail Data</TITLE></HEAD>
37 37 <BODY BGColor="#FFFFFF" Text="#000000">
38 38 <CENTER>
39 39 <FONT FACE="Arial" SIZE="+1">
40 40 <B>Audit Trail Data</B>
41 41 </FONT>
42 42 <BR/>
43 43 </CENTER>
44 44 <xsl:apply-templates/>
45 45 <HR/>
46 46 </BODY> </HTML> </xsl:template>
47 47
48 48 <!-- suppress non-selected nodes--> <xsl:template match="*"/>
49 49
50 50 <!-- main rule for document element --> <xsl:template match="audit">
51 51 <HR/> <xsl:for-each select="record | file"> <xsl:if
52 52 test="(self::file)"> <BR/> <BR/>
53 53 <B>File: </B> <I>time: </I> <xsl:choose>
54 54 <xsl:when test="@time"> <xsl:value-of select="@time"/>
55 55 + <xsl:value-of select="@msec"/>msec </xsl:when>
56 56 <xsl:when test="@iso8601"> <xsl:value-of
57 57 select="@iso8601"/> </xsl:when> </xsl:choose>
58 58 <BR/> <xsl:value-of select="."/> </xsl:if>
59 59 <xsl:if test="(self::record)"> <BR/> <BR/>
60 60 <B>Event: </B> <B><xsl:value-of select="@event"/></B><BR/>
61 61 <I>time: </I> <xsl:choose> <xsl:when test="@time">
62 62 <xsl:value-of select="@time"/> + <xsl:value-of
63 63 select="@msec"/>msec </xsl:when>
64 64 <xsl:when test="@iso8601"> <xsl:value-of
65 65 select="@iso8601"/> </xsl:when> </xsl:choose>
66 66 <I> vers: </I><xsl:value-of select="@version"/> <I> mod:
67 67 </I><xsl:value-of select="@modifier"/> <I> host: </I><xsl:value-of
68 68 select="@host"/>
69 69 <xsl:apply-templates/> </xsl:if> </xsl:for-each>
70 70 </xsl:template>
71 71
72 72 <!-- Start of handling for remaining tokens -->
73 73
74 74 <xsl:template match="text"> <BR/> <I>TEXT: </I> <xsl:value-of
75 75 select="."/> </xsl:template>
76 76
77 77 <xsl:template match="path"> <BR/> <I>PATH: </I> <xsl:value-of
78 78 select="."/> </xsl:template>
79 79
80 80 <xsl:template match="path_attr"> <BR/> <I>PATH_ATTR </I> <xsl:apply-
81 81 templates/> </xsl:template>
82 82
83 83 <xsl:template match="xattr"> <BR/> <I>xattr: </I> <xsl:value-of
84 84 select="."/> </xsl:template>
85 85
86 86 <xsl:template match="host"> <BR/> <I>HOST: </I> <xsl:value-of
87 87 select="."/> </xsl:template>
88 88
89 89 <xsl:template match="subject"> <BR/> <I>SUBJECT </I> <I> audit-
90 90 uid: </I><xsl:value-of select="@audit-uid"/> <I> uid: </I><xsl:value-of
91 91 select="@uid"/> <I> gid: </I><xsl:value-of select="@gid"/> <I> ruid:
92 92 </I><xsl:value-of select="@ruid"/> <I> rgid: </I><xsl:value-of
93 93 select="@rgid"/> <I> pid: </I><xsl:value-of select="@pid"/> <I> sid:
94 94 </I><xsl:value-of select="@sid"/> <I> tid: </I><xsl:value-of select="@tid"/>
95 95 </xsl:template>
96 96
97 97 <xsl:template match="process"> <BR/> <I>PROCESS </I> <I> audit-
98 98 uid: </I><xsl:value-of select="@audit-uid"/> <I> uid: </I><xsl:value-of
99 99 select="@uid"/> <I> gid: </I><xsl:value-of select="@gid"/> <I> ruid:
100 100 </I><xsl:value-of select="@ruid"/> <I> rgid: </I><xsl:value-of
101 101 select="@rgid"/> <I> pid: </I><xsl:value-of select="@pid"/> <I> sid:
102 102 </I><xsl:value-of select="@sid"/> <I> tid: </I><xsl:value-of select="@tid"/>
103 103 </xsl:template>
104 104
105 105 <xsl:template match="return"> <BR/> <I>RETURN </I> <I> errval:
106 106 </I><xsl:value-of select="@errval"/> <I> retval: </I><xsl:value-of
107 107 select="@retval"/> </xsl:template>
108 108
109 109 <xsl:template match="exit"> <BR/> <I>EXIT </I> <I> errval:
110 110 </I><xsl:value-of select="@errval"/> <I> retval: </I><xsl:value-of
111 111 select="@retval"/> </xsl:template>
112 112
113 113 <xsl:template match="sequence"> <BR/> <I>SEQUENCE </I> <I> seq-num:
114 114 </I><xsl:value-of select="@seq-num"/> </xsl:template>
115 115
116 116 <xsl:template match="fmri"> <BR/> <I>FMRI: </I> <xsl:value-of
117 117 select="."/> </xsl:template>
118 118
119 119 <xsl:template match="user"> <BR/> <I>USER </I> <I> uid:
120 120 </I><xsl:value-of select="@uid"/> <I> username: </I><xsl:value-of
121 121 select="@username"/> </xsl:template>
122 122
123 123 <xsl:template match="group"> <BR/> <I>GROUP </I> <xsl:apply-templates/>
124 124 </xsl:template>
125 125
126 126 <xsl:template match="gid"> <BR/> <I>gid: </I> <xsl:value-of
127 127 select="."/> </xsl:template>
128 128
129 129 <xsl:template match="opaque"> <BR/> <I>OPAQUE: </I> <xsl:value-of
130 130 select="."/> </xsl:template>
131 131
132 132 <xsl:template match="liaison"> <BR/> <I>LIAISON: </I> <xsl:value-of
133 133 select="."/> </xsl:template>
134 134
135 135 <xsl:template match="argument"> <BR/> <I>ARGUMENT </I> <I> arg-num:
136 136 </I><xsl:value-of select="@arg-num"/> <I> value: </I><xsl:value-of
137 137 select="@value"/> <I> desc: </I><xsl:value-of select="@desc"/>
138 138 </xsl:template>
139 139
140 140 <xsl:template match="attribute"> <BR/> <I>ATTRIBUTE </I> <I> mode:
141 141 </I><xsl:value-of select="@mode"/> <I> uid: </I><xsl:value-of
142 142 select="@uid"/> <I> gid: </I><xsl:value-of select="@gid"/> <I> fsid:
143 143 </I><xsl:value-of select="@fsid"/> <I> nodeid: </I><xsl:value-of
144 144 select="@nodeid"/> <I> device: </I><xsl:value-of select="@device"/>
145 145 </xsl:template>
146 146
147 147 <xsl:template match="cmd"> <BR/> <I>CMD </I> <xsl:apply-templates/>
148 148 </xsl:template>
149 149
150 150 <xsl:template match="argv"> <BR/> <I>argv: </I> <xsl:value-of
151 151 select="."/> </xsl:template>
152 152
153 153 <xsl:template match="arge"> <BR/> <I>arge: </I> <xsl:value-of
154 154 select="."/> </xsl:template>
155 155
156 156 <xsl:template match="exec_args"> <BR/> <I>EXEC_ARGS </I> <xsl:apply-
157 157 templates/> </xsl:template>
158 158
159 159 <xsl:template match="arg"> <BR/> <I>arg: </I> <xsl:value-of
160 160 select="."/> </xsl:template>
161 161
162 162 <xsl:template match="exec_env"> <BR/> <I>EXEC_ENV </I> <xsl:apply-
163 163 templates/> </xsl:template>
164 164
165 165 <xsl:template match="env"> <BR/> <I>env: </I> <xsl:value-of
166 166 select="."/> </xsl:template>
167 167
168 168 <xsl:template match="arbitrary"> <BR/> <I>ARBITRARY: </I> <I> print:
169 169 </I><xsl:value-of select="@print"/> <I> type: </I><xsl:value-of
170 170 select="@type"/> <I> count: </I><xsl:value-of select="@count"/> <BR/>
↓ open down ↓ |
170 lines elided |
↑ open up ↑ |
171 171 <xsl:value-of select="."/> </xsl:template>
172 172
173 173 <xsl:template match="privilege"> <BR/> <I>PRIVILEGE: </I> <I> set-type:
174 174 </I><xsl:value-of select="@set-type"/> <BR/> <xsl:value-of select="."/>
175 175 </xsl:template>
176 176
177 177 <xsl:template match="use_of_privilege"> <BR/> <I>USE_OF_PRIVILEGE:
178 178 </I> <I> result: </I><xsl:value-of select="@result"/> <BR/>
179 179 <xsl:value-of select="."/> </xsl:template>
180 180
181 +<xsl:template match="secflags"> <BR/> <I>SECFLAGS: </I> <I> set-type:
182 +</I><xsl:value-of select="@set-type"/> <BR/> <xsl:value-of select="."/>
183 +</xsl:template>
184 +
181 185 <xsl:template match="sensitivity_label"> <BR/> <I>SENSITIVITY_LABEL:
182 186 </I> <xsl:value-of select="."/> </xsl:template>
183 187
184 188 <xsl:template match="use_of_authorization"> <BR/>
185 189 <I>USE_OF_AUTHORIZATION: </I> <xsl:value-of select="."/> </xsl:template>
186 190
187 191 <xsl:template match="IPC"> <BR/> <I>IPC </I> <I> ipc-type:
188 192 </I><xsl:value-of select="@ipc-type"/> <I> ipc-id: </I><xsl:value-of
189 193 select="@ipc-id"/> </xsl:template>
190 194
191 195 <xsl:template match="IPC_perm"> <BR/> <I>IPC_PERM </I> <I> uid:
192 196 </I><xsl:value-of select="@uid"/> <I> gid: </I><xsl:value-of select="@gid"/>
193 197 <I> creator-uid: </I><xsl:value-of select="@creator-uid"/> <I> creator-gid:
194 198 </I><xsl:value-of select="@creator-gid"/> <I> mode: </I><xsl:value-of
195 199 select="@mode"/> <I> seq: </I><xsl:value-of select="@seq"/> <I> key:
196 200 </I><xsl:value-of select="@key"/> </xsl:template>
197 201
198 202 <xsl:template match="ip_address"> <BR/> <I>IP_ADDRESS: </I> <xsl:value-
199 203 of select="."/> </xsl:template>
200 204
201 205 <xsl:template match="ip_port"> <BR/> <I>IP_PORT: </I> <xsl:value-of
202 206 select="."/> </xsl:template>
203 207
204 208 <xsl:template match="ip"> <BR/> <I>IP </I> <I> version:
205 209 </I><xsl:value-of select="@version"/> <I> service_type: </I><xsl:value-of
206 210 select="@service_type"/> <I> len: </I><xsl:value-of select="@len"/> <I>
207 211 id: </I><xsl:value-of select="@id"/> <I> offset: </I><xsl:value-of
208 212 select="@offset"/> <I> time_to_live: </I><xsl:value-of
209 213 select="@time_to_live"/> <I> protocol: </I><xsl:value-of
210 214 select="@protocol"/> <I> cksum: </I><xsl:value-of select="@cksum"/> <I>
211 215 src_addr: </I><xsl:value-of select="@src_addr"/> <I> dest_addr:
212 216 </I><xsl:value-of select="@dest_addr"/> </xsl:template>
213 217
214 218 <xsl:template match="old_socket"> <BR/> <I>OLD_SOCKET </I> <I> type:
215 219 </I><xsl:value-of select="@type"/> <I> port: </I><xsl:value-of
216 220 select="@port"/> <I> addr: </I><xsl:value-of select="@addr"/>
217 221 </xsl:template>
218 222
219 223 <xsl:template match="socket"> <BR/> <I>SOCKET </I> <I>
220 224 sock_domain: </I><xsl:value-of select="@sock_domain"/> <I> sock_type:
221 225 </I><xsl:value-of select="@sock_type"/> <I> lport: </I><xsl:value-of
222 226 select="@lport"/> <I> laddr: </I><xsl:value-of select="@laddr"/> <I>
223 227 fport: </I><xsl:value-of select="@fport"/> <I> faddr: </I><xsl:value-of
224 228 select="@faddr"/> </xsl:template>
225 229
226 230 <xsl:template match="acl"> <BR/> <I>ACL </I> <xsl:choose>
227 231 <xsl:when test="@mode"> <!-- old ACL entry --> <I> type:
228 232 </I><xsl:value-of select="@type"/> <I> value: </I><xsl:value-of
229 233 select="@value"/> <I> mode: </I><xsl:value-of select="@mode"/>
230 234 </xsl:when> <xsl:otherwise> <I> flags: </I><xsl:value-of
231 235 select="@flags"/> <I> id: </I><xsl:value-of select="@id"/>
232 236 <I> access_mask: </I><xsl:value-of select="@access_mask"/> <I>
233 237 type: </I><xsl:value-of select="@type"/> </xsl:otherwise>
234 238 </xsl:choose> </xsl:template>
235 239
236 240 <xsl:template match="tid"> <BR/> <I>terminal id: </I> <I>
237 241 type=</I><xsl:value-of select="@type"/> <xsl:apply-templates/>
238 242 </xsl:template>
239 243
240 244 <xsl:template match="ipadr"> <I> local-port: </I><xsl:value-of
241 245 select="@local-port"/> <I> remote-port: </I><xsl:value-of select="@remote-
242 246 port"/> <I> host: </I><xsl:value-of select="@host"/> </xsl:template>
243 247
244 248 <xsl:template match="X_atom"> <BR/> <I>X_ATOM: </I> <xsl:value-of
245 249 select="."/> </xsl:template>
246 250
247 251 <xsl:template match="X_color_map"> <BR/> <I>X_COLOR_MAP </I> <I>
248 252 xid: </I><xsl:value-of select="@xid"/><I> xcreator-uid: </I><xsl:value-of
249 253 select="@xcreator-uid"/> </xsl:template>
250 254
251 255 <xsl:template match="X_cursor"> <BR/> <I>X_CURSOR </I> <I> xid:
252 256 </I><xsl:value-of select="@xid"/><I> xcreator-uid: </I><xsl:value-of
253 257 select="@xcreator-uid"/> </xsl:template>
254 258
255 259 <xsl:template match="X_font"> <BR/> <I>X_FONT </I> <I> xid:
256 260 </I><xsl:value-of select="@xid"/><I> xcreator-uid: </I><xsl:value-of
257 261 select="@xcreator-uid"/> </xsl:template>
258 262
259 263 <xsl:template match="X_graphic_context"> <BR/> <I>X_GRAPHIC_CONTEXT
260 264 </I> <I> xid: </I><xsl:value-of select="@xid"/><I> xcreator-uid:
261 265 </I><xsl:value-of select="@xcreator-uid"/> </xsl:template>
262 266
263 267 <xsl:template match="X_pixmap"> <BR/> <I>X_PIXMAP </I> <I> xid:
264 268 </I><xsl:value-of select="@xid"/><I> xcreator-uid: </I><xsl:value-of
265 269 select="@xcreator-uid"/> </xsl:template>
266 270
267 271 <xsl:template match="X_window"> <BR/> <I>X_WINDOW </I> <I> xid:
268 272 </I><xsl:value-of select="@xid"/><I> xcreator-uid: </I><xsl:value-of
269 273 select="@xcreator-uid"/> </xsl:template>
270 274
271 275 <xsl:template match="X_property"> <BR/> <I>X_PROPERTY: </I> <I> xid:
272 276 </I><xsl:value-of select="@xid"/><I> xcreator-uid: </I><xsl:value-of
273 277 select="@xcreator-uid"/> <BR/> <xsl:value-of select="."/>
274 278 </xsl:template>
275 279
276 280 <xsl:template match="X_client"> <BR/> <I>X_CLIENT: </I> <xsl:value-of
277 281 select="."/> </xsl:template>
278 282
279 283 <xsl:template match="X_selection"> <BR/> <I>X_SELECTION </I>
280 284 <xsl:apply-templates/> </xsl:template>
281 285
282 286 <xsl:template match="x_sel_text"> <BR/> <I>x_sel_text: </I> <xsl:value-
283 287 of select="."/> </xsl:template>
284 288
285 289 <xsl:template match="x_sel_type"> <BR/> <I>x_sel_type: </I> <xsl:value-
286 290 of select="."/> </xsl:template>
287 291
288 292 <xsl:template match="x_sel_data"> <BR/> <I>x_sel_data: </I> <xsl:value-
289 293 of select="."/> </xsl:template>
290 294
291 295 <xsl:template match="zone"> <BR/> <I>ZONE </I> <I> name:
292 296 </I><xsl:value-of select="@name"/> </xsl:template>
293 297
294 298 </xsl:stylesheet>
295 299
296 300
297 301
298 302 June 15, 2016 ()
↓ open down ↓ |
108 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX