History log of /freebsd/tests/sys/kern/coredump_phnum_helper.c (Results 1 – 5 of 5)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: release/14.0.0
# b3e76948 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: two-line .h pattern

Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/


Revision tags: release/13.2.0, release/12.4.0, release/13.1.0
# df696a2f 07-Apr-2022 Andrew Turner <andrew@FreeBSD.org>

Have the coredump_phnum test ask for the page size

The page size may be dynamically selected on boot. Have the
coredump_phnum test helper ask the kernel for the correct value.

Sponsored by: The Fre

Have the coredump_phnum test ask for the page size

The page size may be dynamically selected on boot. Have the
coredump_phnum test helper ask the kernel for the correct value.

Sponsored by: The FreeBSD Foundation

show more ...


Revision tags: release/12.3.0
# 8ec4c5da 21-Nov-2021 Ed Maste <emaste@FreeBSD.org>

Fix coredump_phnum test with ASLR enabled by default

coredump_phnum intends to generate a core file with many PT_LOAD
segments. Previously it called mmap() in a loop with alternating
protections, r

Fix coredump_phnum test with ASLR enabled by default

coredump_phnum intends to generate a core file with many PT_LOAD
segments. Previously it called mmap() in a loop with alternating
protections, relying on each mapping following the previous, to produce
a core file with many page-sized PT_LOAD segments. With ASLR on we no
longer have this property of each mmap() following the previous.

Instead, perform a single allocation, and then use mprotect() to set
alternating pages to PROT_READ.

PR: 259970
Reported by: lwhsu, mw
Reviewed by: kib
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D33070

show more ...


Revision tags: release/13.0.0, release/12.2.0, release/11.4.0, release/12.1.0, release/11.3.0, release/12.0.0, release/11.2.0, release/10.4.0, release/11.1.0
# a2b802ce 02-Nov-2016 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r303250 through r308226.


# e8e39fc2 01-Nov-2016 Conrad Meyer <cem@FreeBSD.org>

Add test case for >65535 segment coredumps

A long-belated follow-up to r303099.

With feedback from: jmmv, ngie
Sponsored by: Dell EMC Isilon
Differential Revision: https://reviews.freebsd.org/D7264