core dump vs kern.ipc.shm_use_phys

John Baldwin jhb at freebsd.org
Tue Feb 11 19:49:44 UTC 2014


On Wednesday, January 22, 2014 6:32:01 am Andriy Gapon wrote:
> 
> I seems that if kern.ipc.shm_use_phys is enabled then shared memory regions are
> not included into a coredump.  Seems that each_writable_segment() in
> sys/kern/imgact_elf.c skips OBJT_PHYS objects.

Hmm, that may be a feature.  I often map large shared memory segments with
MAP_NOCORE on purpose.  Is it to tell if a given OBJT_PHYS object is a SYSV
SHM object?  (I assume it isn't.)

-- 
John Baldwin


More information about the freebsd-arch mailing list