chatr_ia.1 (2010 09)
c
chatr_ia(1)
Integrity Systems Only
chatr_ia(1)
EXAMPLES
Change a.out to demand-loaded
chatr -q a.out
Change binding mode of program file that uses shared libraries to immediate and nonfatal. Also enable
usage of SHLIB_PATH environment variable:
chatr -B immediate -B nonfatal +s enable a.out
Disallow run-time path lookup for the shared library
/usr/lib/libc.sl that the shared library
libfoo.sl depends on:
chatr +l /usr/lib/libc.sl libfoo.sl
Given segment index number 5 from a previous run of
chatr, change the page size to 4 kilobytes:
chatr +si 5 +p 4K average64
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
6 Hewlett-Packard Company − 6 − HP-UX 11i Version 3: September 2010