HP-UX Reference (11i v3 07/02) - 1 User Commands A-M (vol 1)

c
chatr_ia(1)
Integrity Systems Only
chatr_ia(1)
To set the modify bit of a specific segment, first find the index or address number of the segment.
chatr a.out
a.out:
32-bit ELF executable
shared library dynamic path search:
LD_LIBRARY_PATH enabled first
SHLIB_PATH enabled second
embedded path enabled third /CLO/TAHOE_BE/usr/lib/hpux32
shared library list:
libsin.so
libc.so.1
shared library binding:
deferred
global hash table enabled
global hash table size 100
shared library mapped private disabled
shared vtable support disabled
segments:
index type address flags size
5 text 04000000 ----c D (default)
6 data 40000000 ---m- L (largest possible)
executable from stack: D (default)
kernel assisted branch prediction enabled
lazy swap allocation for dynamic segments disabled
For Format 2, for a text segment, use the following:
chatr +si 5 +m enable a.out
or
chatr +sa 04000000 +m enable a.out
For Format 1, use the following:
chatr +mi enable a.out
WARNINGS
This release of the chatr command no longer supports the following options:
-n
-q
-M
-N
+getbuckets size
+plabel_cache flag
+q3p flag
+q4p flag
AUTHOR
chatr was developed by HP.
SEE ALSO
System Tools
ld(1) invoke the link editor
dld.so(5) dynamic loader
Miscellaneous
a.out(4) assembler, compiler, and linker output
magic(4) magic number for HP-UX implementations
sam(1M) system administration manager
executable_stack(5) controls whether program stacks are executable by default
HP-UX 11i Version 3: February 2007 6 Hewlett-Packard Company 115