Jump to content
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
HP.com home

Transition Impacts

Tru64 UNIX Software Transition Kit


» HP STK home
» Home
» Overview
» Tools
» Documentation
» Transition impacts
» Identifier types
» Impact list
» Porting to HP-UX
» Glossary
» Help
» Send us feedback
Site maps
» Tru64 UNIX STK
Content starts here

non-critical impact:

shmat - shared memory core dump differences (NcWn353)

KN Impacts

Problem description

Shared memory segments created with the shmat system call are included in process core dumps by default on Tru64 UNIX but not on HP-UX.

On Tru64 UNIX, the shm_enable_core_dump system attribute disables (0) or enables (1) the dumping of shared memory segments. The default value is 1.

On HP-UX, the core_addshmem_read and core_addshmem_write kernel tunables disable (0) or enable (1) the dumping of shared memory segments. Their default value is 0.

These mechanisms only affect shared memory segments created with shmat and do not affect memory regions created with mmap.


C/C++ Functionsshmat            

See also

Solution description

To include shared memory segments in process core dumps on HP-UX, set the core_addshmem_read and/or core_addshmem_write kernel tunables to 1.

See also

Problem summary

classifications source types OS release severity type
KN C, C++ any HP-UX 11i version non-critical warning
Printable version
Privacy statement Using this site means you accept its terms Feedback to DSPP
© 2007 Hewlett-Packard Development Company, L.P.