Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Feb 2000 23:45:44 -0600
From:      Alan Cox <alc@cs.rice.edu>
To:        Paul Saab <ps@freebsd.org>
Cc:        cvs-committers@freebsd.org, cvs-all@freebsd.org
Subject:   Re: cvs commit: src/lib/libc/sys madvise.2 mmap.2 src/sys/kern imgact_elf.c src/sys/sys mman.h src/sys/vm vm_map.c vm_map.h vm_mmap.c
Message-ID:  <20000227234544.F4600@cs.rice.edu>
In-Reply-To: <200002280410.UAA87346@freefall.freebsd.org>; from Paul Saab on Sun, Feb 27, 2000 at 08:10:37PM -0800
References:  <200002280410.UAA87346@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Feb 27, 2000 at 08:10:37PM -0800, Paul Saab wrote:
> ps          2000/02/27 20:10:36 PST
> 
>   Modified files:
>     lib/libc/sys         madvise.2 mmap.2 
>     sys/kern             imgact_elf.c 
>     sys/sys              mman.h 
>     sys/vm               vm_map.c vm_map.h vm_mmap.c 
>   Log:
>   Add MAP_NOCORE to mmap(2), and MADV_NOCORE and MADV_CORE to madvise(2).
>   This
>   This feature allows you to specify if mmap'd data is included in
>   an application's corefile.
>   

It's not just mmap'ed regions of the address space.  I can perform
an madvise MADV_CORE on any part of the address space and exclude it
from the core file.  I would suggest changing the comment in
imgact_elf.c to reflect this.

Alan


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000227234544.F4600>