git: nlist(3): Sync with FreeBSD

Aaron LI aly at crater.dragonflybsd.org
Thu Oct 8 21:54:52 PDT 2026


commit 49479ff7b701a4990bc95e8718cbb4dd6689a6c6
Author: Aaron LI <aly at aaronly.me>
Date:   Wed Oct 7 19:20:48 2026 +0800

    nlist(3): Sync with FreeBSD
    
    * Handle multiple symbol tables in ELF files.
      (see FreeBSD commit 4617a6cb82a673b02257257c1f5f8a3c8d2bb943)
    * Remove legacy a.out code.
    * Update man page.
    
    In particular, this fixes the forthcoming OpenSSH's using nlist(3) to
    detect a required symbol in the PKCS#11 or FIDO/U2F providers (libraries).

Summary of changes:
 include/nlist.h      |  15 ++-
 lib/libc/gen/nlist.3 |  21 ++--
 lib/libc/gen/nlist.c | 292 +++++++++++++++++----------------------------------
 3 files changed, 115 insertions(+), 213 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/49479ff7b701a4990bc95e8718cbb4dd6689a6c6


-- 
DragonFly BSD source repository


More information about the Commits mailing list