[Bug 239959] linkset inconsistency in static libpam
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Aug 19 03:16:48 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239959
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 at FreeBSD.org
Reporter: aavzz at 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.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list