1 02/02/84 get_privileges_
2
3
4 Entry points in get_privileges_:
5 List is generated by the help command
6
7
8 :Entry: get_privileges_: 02/02/84 get_privileges_
9
10
11 Function: returns the access privileges of the process.
12
13
14 Syntax:
15 declare get_privileges_ entry returns bit36 aligned;
16 privilege_string = get_privileges_ ;
17
18
19 Arguments:
20 privilege_string
21 is a bit string with a bit set "1"b for each access privilege the
22 process has. Output
23
24
25 Notes: The individual bits in privilege_string are defined by the
26 following PL/I structure. For each bit, "1"b = yes and "0"b = no.
27
28 dcl 1 privileges unaligned,
29 2 ipc bit1,
30 2 dir bit1,
31 2 seg bit1,
32 2 soos bit1,
33 2 ring1 bit1,
34 2 rcp bit1,
35 2 mbz bit30;
36
37
38 Structure elements:
39 ipc
40 indicates whether the access isolation mechanism AIM
41 restrictions for sending/receiving wakeups to/from any other
42 process are bypassed for the calling process.
43 dir
44 indicates whether the AIM restrictions for accessing any
45 directory are bypassed for the calling process.
46 seg
47 indicates whether the AIM restrictions for accessing any segment
48 are bypassed for the calling process.
49 soos
50 indicates whether the AIM restrictions for accessing directories
51 that have been set security-out-of-service are bypassed for the
52 calling process.
53
54
55 ring1
56 indicates whether the AIM restrictions for accessing any ring 1
57 system segment are bypassed for the calling process.
58 rcp
59 indicates whether the AIM restrictions for accessing resources
60 through RCP resource management are bypassed for the calling
61 process.
62 mbz
63 is unused and is "0"b.