1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 proc_info: proc(process_id,process_group_id,process_dir_name,lock_id_);
18
19 declare process_id bit(36) aligned,
20 process_group_id char(32) aligned,
21 process_dir_name char(32) aligned,
22 lock_id_ bit(36) aligned,
23 ((pds$processid, pds$lock_id, tc_data$initializer_id) bit(36),
24 (pds$process_group_id, pds$process_dir_name) char(32)) aligned ext;
25
26
27 process_id = pds$processid;
28 lock_id_ = pds$lock_id;
29 process_group_id = pds$process_group_id;
30 process_dir_name = pds$process_dir_name;
31 return;
32
33 get_initial_ring: entry(iring);
34
35 dcl (pds$initial_ring ext, iring) fixed bin;
36
37 iring = pds$initial_ring;
38
39 return;
40
41 set_mask_ring: entry;
42
43 if pds$processid = tc_data$initializer_id
44 then pds$initial_ring = 4;
45 return;
46
47 authorization: entry(auth, max_auth);
48
49 declare (auth, max_auth) bit(72) aligned,
50 (pds$access_authorization, pds$max_access_authorization) ext static aligned bit(72);
51
52 auth = pds$access_authorization;
53 max_auth = pds$max_access_authorization;
54 return;
55
56 end proc_info;