HP-UX Reference (11i v2 03/08) - 1 User Commands A-M (vol 1)
c
chatr(1) chatr(1)
+c flag (Format 2 only.) Enable or disable the code bit for a specified segment. If this is enabled,
it is denoted by the c flag for the segment listing in the
chatr output.
+cd flag Enable or disable the code bit for the file’s data segment(s). If this is enabled, it is
denoted by the c flag for the segment listing in the
chatr output.
+ci flag Enable or disable the code bit for the file’s text segments(s). If this is enabled, it is
denoted by the c flag for the segment listing in the
chatr output.
+dbg flag Enable or disable the ability to run a program, and, after it is running, attach to it with a
debugger and set breakpoints in its dependent shared libraries.
+dz flag (Format 2 only.) Enable or disable lazy swap allocation for dynamically allocated seg-
ments (such as the stack or heap).
+es flag Control the ability of user code to execute from stack with the flag values,
enable and
disable. See the Restricting Execute Permission on Stacks section below for additional
information related to security issues.
+gst flag Control whether the global symbol table hash mechanism is used to look up values of
symbol import/export entries. The two flag values,
enable and disable, respectively
enable and disable use of the global symbol table hash mechanism. The default is
dis-
able.
+gstsize size
Request a particular hash array size using the global symbol table hash mechanism. The
value can vary between 1 and MAXINT. The default value is 1103. Use this option with
+gst enable. This option works on files liked with the +gst option.
+id flag Controls the preference of physical memory for the data segment. This is only important
on ccNUMA (Cache Coherent Non-Uniform Memory Architecture) systems. The flag
value may be either enable or disable. When enabled, the data segment will use inter-
leaved memory. When disabled (the default), the data segment will use cell local
memory. This behavior will be inherited across a fork(), but not an exec().
For more information regarding ccNUMA, see pstat_getlocality(2).
+k flag Request kernel assisted branch prediction. The flags enable and disable turn this
request on and off, respectively.
+l library Indicate that the specified shared library is not subject to run-time path lookup if direc-
tory path lists are provided (see +s and +b).
+m flag (Format 2 only.) Enable or disable the modification bit for a specified segment. If this is
enabled, it is denoted by the m flag for the segment listing in the chatr
output.
+md flag Enable or disable the modification bit for the file’s data segment(s). If this is enabled, it
is denoted by the m flag for the segment listing in the chatr output.
+mergeseg flag
Enable or disable the shared library segment merging features. When enabled, all data
segments of shared libraries loaded at program startup are merged into a single block.
Data segments for each dynamically loaded library will also be merged with the data seg-
ments of its dependent libraries. Merging of these segments increasesrun-time perfor-
mance by allowing the kernel to use larger size page table entries.
+mi flag Enable or disable the modification bit for the file’s text segment(s). If this is enabled, it is
denoted by the m flag for the segment listing in the chatr output.
+o flag Enable or disable the DF_ORIGIN flag to control use of $ORIGIN in calculating the
absolute path of the working directory. Enabling the flag instructs the dynamic loader to
calculate the absolute path of the current working directory when the parent module
(object module, shared library, or executable) is first loaded. The loader then uses this
path for all occurrences of $ORIGIN. The loader then uses this path for all occurrences
of $ORIGIN in the dependent libraries.
If there are no occurrences of
$ORIGIN, you should disable the DF_ORIGIN flag, to
avoid calculating the absolute path. By default, if $ORIGIN is not present, the
DF_ORIGIN flag is disabled.
Section 1−−76 Hewlett-Packard Company − 2 − HP-UX 11i Version 2: August 2003