HP Tru64 UNIX and TruCluster Server Version 5.1B-5 Patch Summary and Release Notes (March 2009)

NOTE: The Java language interprets byte code at runtime. Unless marked as exempt,
privileged applications written in Java will receive an error when they attempt to
execute instructions residing in the unexecutable memory. The manner in which these
errors are handled is application-specific and thus unpredictable. This is why you must
run the /usr/sbin/javaexecutedata before you enable executable_data.
The following example demonstrates the failing behavior to expect for a privileged
process if execute_data is set to 53 but runs the /usr/sbin/javaexecutedata
script. Other Java applications run with privilege may exhibit different (but still failing)
behavior.
# java -classic -jar SwingSet2.jar
Process 1185 Invalid write/execute mmap call denied.
Process 1185 Invalid write/execute mmap call denied.
Process 1185 Invalid write/execute mmap call denied.
(...)
Process 1185 Invalid write/execute mmap call denied.
Process 1185 Invalid write/execute mmap call denied.
**Out of memory, exiting**
The following example demonstrates the failing behavior to expect for a privileged
processes if execute_data is set to 37 but runs the /usr/sbin/javaexecutedata
script. Other java applications run with privilege may exhibit different (but still failing)
behavior.
# java -classic -jar SwingSet2.jar
Process 1185 Invalid write/execute mmap call modified.
Process 1185 Invalid write/execute mmap call modified.
(...)
Process 1185 Invalid write/execute mmap call modified.
Process 1185 Invalid write/execute mmap call modified.
Process 1185 Invalid write/execute mmap call modified.
SIGSEGV 11* segmentation violation
(...)
Abort (core dumped)
Certain privileged Pascal programs may also fail when executable_data is enabled.
Such programs should also be marked as exempt, using the new chatr utility as
follows:
$chatr +ed enable priv_pascal_executable
current values:
64-bit COFF executable
execute from data: disabled
new values:
64-bit COFF executable
execute from data: enabled
See chatr(1) for information about the chatr utility.
3.2 Prior Release Notes 61