rld Manual
RLD Overview
RLD Manual—528857-006
1-10
Loader Diagnostic Message Verbosity Level
The first rule ensures that privileged code is authorized. A file can be licensed by
only user SUPER.SUPER (User-id 255,255); licensed imputes trust that the code
will not abuse its privilege.
The second rule ensures that trusted code does not invoke untrusted code, so it
cannot be "spoofed."
The third rule ensures that untrusted, unprivileged code cannot damage data upon
which the privileged code depends.
A loadfile is privileged if it contains _callable function or a _priv program entry point.
Loader Diagnostic Message Verbosity Level
In order to get diagnostic output from rld regarding loading of library files, resolution
of symbol names and search details for files and symbols, users have to define a
=_RLDVERBOSE define on Guardian or _RLDVERBOSE environment variable on
OSS giving it a verbosity level.
Verbosity levels are:
0 - default (as though this specification is absent)
1 - none (no output to hometerm/stderr)
2 - warnings and errors
3 - also show files loaded
4 - also show symbol resolution
5 - same as 3, plus file search details
6 - same as 4, plus file search details
7 - same as 4, plus symbol search details
8 - all the above
9 - suppress warnings, report only errors
The syntax for specifying these values is as follows:
Guardian:
add DEFINE = _RLDVERBOSE, class MAP, file #<verbose-level>
OSS:
export _RLDVERBOSE=<verbose-level>
The specified verbosity value applies to rld and is the default for dlopen(). The
verbosity values can be overridden for each dlopen() call by changing the verbosity
level as part of the mode parameter. See dlopen()
on page 2-2 , for details about
defining the verbosity value as part of the dlopen() mode parameter.