1 /* BEGIN include file access_audit_bin_header.incl.pl1 */
 2 
 3 /* format: style4 */
 4 
 5 /* NOTE: All changes must also be done to access_audit_bin_header.incl.alm */
 6 
 7 /* 85-01-18 E. Swenson - renamed to access_audit_bin_header.incl.pl1 */
 8 /* 85-01-17 E. Swenson - restructured, added session_uid, changed
 9    min and max authorization to authorization range. */
10 /* 85-01-07 EJ Sharpe - added min_authorization, cleanup */
11 /* 84-11-15 EJ Sharpe - added event_flags word */
12 /* 84-11-06 EJ Sharpe - added unaligned attr to version and proxy_flag */
13 /* 84-10-24 EJ Sharpe - added the constants */
14 /* 84-09-04 BIM - created */
15 
16 declare  audit_record_ptr pointer;
17 
18 dcl  1 audit_record_header aligned based (audit_record_ptr),
19        2 header aligned like arh_header_,
20        2 subject aligned like arh_user_info_;
21 
22 dcl  1 audit_record_header_proxy aligned based (audit_record_ptr),
23        2 header aligned like arh_header_,
24        2 subjects (2) aligned like arh_user_info_;
25 
26 dcl  1 arh_header_ aligned based,
27        2 type fixed bin (9) unsigned unaligned,
28        2 version fixed bin (9) unsigned unaligned,
29        2 flags unaligned,
30          3 (
31          subject_is_process,                                /* binary data in subject is valid */
32          object_is_valid                                    /* There is an object */
33          ) bit (1) unaligned,
34          3 pad bit (16) unaligned,
35        2 operation_code bit (36) aligned,                   /* like access_audit_encoded_op */
36        2 event_flags bit (36) aligned,                      /* like access_audit_eventflags */
37        2 session_uid fixed bin (35);                        /* uid for the login session */
38 
39 dcl  1 arh_user_info_ aligned based,
40        2 person char (22) unaligned,                        /* see anonymous bit */
41        2 project char (9) unaligned,                        /*  blank  for nologin w/out proj */
42        2 tag char (1) unaligned,
43        2 ring fixed bin (3) uns unaligned,
44        2 anonymous bit (1) unaligned,
45        2 pad3 bit (32) unaligned,
46        2 process_id bit (36) aligned,
47        2 authorization bit (72) aligned,
48        2 authorization_range (2) bit (72) aligned;
49 
50 dcl  ARH_TYPE_PROXY fixed bin init (2)
51           static options (constant);
52 dcl  ARH_TYPE_NO_PROXY fixed bin init (1)
53           static options (constant);
54 dcl  ACCESS_AUDIT_HEADER_VERSION_3 fixed bin (9) unsigned
55           init (3) static options (constant);
56 
57 /* End include file access_audit_bin_header.incl.pl1 */