Project

General

Profile

Actions

Bug #6102

open

struct pam_conv mismatch between pam_start(3PAM) manpage and /usr/include/pam_appl.h

Added by Jason King almost 7 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Start date:
2015-08-06
Due date:
% Done:

0%

Estimated time:
Difficulty:
Bite-size
Tags:
needs-triage
Gerrit CR:

Description

The pam_start(3PAM) manpage gives the prototype of the pam conversation function as:

     int conv(int num_msg, const struct pam_message **msg,
                struct pam_response **resp, void *appdata_ptr);

however, the actual definition in /usr/include/security/pam_appl.h is:

        int (*conv)(int, struct pam_message **,
            struct pam_response **, void *);

where the second argument is not const. We should make the two agree. For reference, I believe the Linux pam implementations define the second parameter as const, however that should not be taken as advice as to which entity to be modified to match the other.

No data to display

Actions

Also available in: Atom PDF