mpas_readonly_text(5)mpas_readonly_text(5)NAMEmpas_readonly_text - dynamically enable or disable read-only text seg‐
ment for 32-bit MPAS executables
VALUES
Fail Safe
Default
semantics are disabled
Allowed values
or
DESCRIPTION
This tunable allows 32-bit MPAS executables to have readonly text seg‐
ment. By default, text segment is writable for 32-bit MPAS executables.
In addition to setting this tunable to 1, the data segment should also
start on a page aligned boundary (as set by the tunable If not, the
text segment will continue to be writable even when this tunable is
set.
When text and data are part of the same page, the text segment cannot
be made read-only as data segment needs to be writable.
When the tunable is set to the default of 4K, data segment starts on
its own page. So, setting to 1 will always result in a read-only text
segment in this case.
When the tunable is set to one of the supported page sizes other than
4K, chances are that text and data segment are part of the same page.
In that case, setting to 1 may or may not give a read-only text seg‐
ment.
See the for more information on MPAS.
Who Is Expected to Change This Tunable?
System administrators who wish to have read-only text segment for
32-bit MPAS executables.
Restrictions on Changing
Changes to this tunable take effect immediately.
When Should the Tunable Be Turned Off?
If there is any legacy 32-bit MPAS application that depended on the
writable attribute of the text segment, the tunable should be turned
off.
When Should the Tunable Be Turned On?
If a 32-bit MPAS application wishes to have its text segment read-only,
this tunable must be turned on.
What Other Tunables Should Be Changed at the Same Time?
None.
WARNINGS
All HP-UX kernel tunable parameters are release specific. This parame‐
ter may be removed or have its meaning changed in future releases of
HP-UX.
Installation of optional kernel software, from HP or other vendors, may
cause changes to tunable parameter values. After installation, some
tunable parameters may no longer be at the default or recommended val‐
ues. For information about the effects of installation on tunable val‐
ues, consult the documentation for the kernel software being installed.
For information about optional kernel software that was factory
installed on your system, see at
AUTHOR
was developed by HP.
SEE ALSOld(1), base_pagesize(5).
Tunable Kernel Parameters mpas_readonly_text(5)