git: <sys/conf.h>: Move SPECNAMELEN to <sys/param.h>.

Sascha Wildner swildner at
Sun Jun 30 03:27:17 PDT 2019

commit 0f3a2b94a0a29dc787643aa2916651eb99579b2d
Author: Sascha Wildner <saw at>
Date:   Sun Jun 30 12:25:56 2019 +0200

    <sys/conf.h>: Move SPECNAMELEN to <sys/param.h>.
    Some dports and also stuff in our tree depend on it being public, which
    all compensate with local defines for now, some of them not having been
    adjusted when SPECNAMELEN was bumped from 15 to 63, such as in
    sysutils/{mfi,mpt}d. Patches for these ports have been submitted.
    They all could have got at it by defining _KERNEL_STRUCTURES before
    including <sys/conf.h> but that didn't catch up it seems.
    It's public in <sys/param.h> in FreeBSD and I see no reason why we
    shouldn't follow.
    Reported-by: aly

Summary of changes:
 sys/boot/efi/loader/devicename.c | 2 --
 sys/sys/conf.h                   | 4 +---
 sys/sys/param.h                  | 1 +
 usr.sbin/mptutil/mptutil.h       | 2 --
 4 files changed, 2 insertions(+), 7 deletions(-)

DragonFly BSD source repository

More information about the Commits mailing list