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: [email protected]
          Reporter: [email protected]

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.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to