Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Aug 2019 03:16:47 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 239959] linkset inconsistency in static libpam
Message-ID:  <bug-239959-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D239959

            Bug ID: 239959
           Summary: linkset inconsistency in static libpam
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: aavzz@yandex.ru

1. Modules are registered to linkset '_openpam_static_modules'
in trunk/include/security/openpam.h:

...
DATA_SET(_openpam_static_modules, _pam_module)
...


2. Modules are searched for in linkset 'openpam_static_modules' (without
leading underscore) in trunk/lib/libpam/openpam_static.c

...
SET_DECLARE(openpam_static_modules, pam_module_t);
...
SET_FOREACH(module, openpam_static_modules) {


This makes static libpam unusable.
The fix is trivial: linkset reference have to be consistent.

I'd have removed the leading underscore from DATA_SET()'s first
parameter.


Have already reported this upstream.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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