diff options
author | des <des@FreeBSD.org> | 2003-05-02 15:08:06 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2003-05-02 15:08:06 +0000 |
commit | 1b2b5956a02e1d56168e372dc96807d70b3ca363 (patch) | |
tree | 9381d916c61bc9101bbefef7b4c7f547e277a611 /contrib/openpam/include | |
parent | f1f9c1228ba0058106dd6a76502b853f93ceba5d (diff) | |
download | FreeBSD-src-1b2b5956a02e1d56168e372dc96807d70b3ca363.zip FreeBSD-src-1b2b5956a02e1d56168e372dc96807d70b3ca363.tar.gz |
Vendor import of OpenPAM Dianthus.
Diffstat (limited to 'contrib/openpam/include')
-rw-r--r-- | contrib/openpam/include/security/openpam_version.h | 6 | ||||
-rw-r--r-- | contrib/openpam/include/security/pam_appl.h | 4 | ||||
-rw-r--r-- | contrib/openpam/include/security/pam_constants.h | 5 |
3 files changed, 8 insertions, 7 deletions
diff --git a/contrib/openpam/include/security/openpam_version.h b/contrib/openpam/include/security/openpam_version.h index 0469fea..8afc646 100644 --- a/contrib/openpam/include/security/openpam_version.h +++ b/contrib/openpam/include/security/openpam_version.h @@ -31,14 +31,14 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $P4: //depot/projects/openpam/include/security/openpam_version.h#6 $ + * $P4: //depot/projects/openpam/include/security/openpam_version.h#7 $ */ #ifndef _OPENPAM_VERSION_H_INCLUDED #define _OPENPAM_VERSION_H_INCLUDED #define _OPENPAM -#define _OPENPAM_VERSION 20020630 -#define _OPENPAM_RELEASE "Citronella" +#define _OPENPAM_VERSION 20030502 +#define _OPENPAM_RELEASE "Dianthus" #endif diff --git a/contrib/openpam/include/security/pam_appl.h b/contrib/openpam/include/security/pam_appl.h index 4ad74de..4492244 100644 --- a/contrib/openpam/include/security/pam_appl.h +++ b/contrib/openpam/include/security/pam_appl.h @@ -31,7 +31,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $P4: //depot/projects/openpam/include/security/pam_appl.h#10 $ + * $P4: //depot/projects/openpam/include/security/pam_appl.h#11 $ */ #ifndef _PAM_APPL_H_INCLUDED @@ -83,7 +83,7 @@ pam_get_user(pam_handle_t *_pamh, const char **_user, const char *_prompt); -char * +const char * pam_getenv(pam_handle_t *_pamh, const char *_name); diff --git a/contrib/openpam/include/security/pam_constants.h b/contrib/openpam/include/security/pam_constants.h index 788fe3b..c6c4ed3 100644 --- a/contrib/openpam/include/security/pam_constants.h +++ b/contrib/openpam/include/security/pam_constants.h @@ -31,7 +31,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $P4: //depot/projects/openpam/include/security/pam_constants.h#19 $ + * $P4: //depot/projects/openpam/include/security/pam_constants.h#20 $ */ #ifndef _PAM_CONSTANTS_H_INCLUDED @@ -97,7 +97,8 @@ enum { * XSSO 5.4 */ enum { - PAM_SILENT = 0x80000000, + /* some compilers promote 0x8000000 to long */ + PAM_SILENT = (-0x7fffffff - 1), PAM_DISALLOW_NULL_AUTHTOK = 0x1, PAM_ESTABLISH_CRED = 0x1, PAM_DELETE_CRED = 0x2, |