Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/dist/openpam/doc/man Apply the equivalent of r426 and r427 f...



details:   https://anonhg.NetBSD.org/src/rev/e646cedbe0e1
branches:  trunk
changeset: 753184:e646cedbe0e1
user:      joerg <joerg%NetBSD.org@localhost>
date:      Fri Mar 19 18:26:14 2010 +0000

description:
Apply the equivalent of r426 and r427 from openpam repository:
Fix doc: pam_strerror() ignores pamh.
Portability tip.

diffstat:

 dist/openpam/doc/man/pam_strerror.3 |  12 +++++++++---
 1 files changed, 9 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 014a278a0895 -r e646cedbe0e1 dist/openpam/doc/man/pam_strerror.3
--- a/dist/openpam/doc/man/pam_strerror.3       Fri Mar 19 18:16:14 2010 +0000
+++ b/dist/openpam/doc/man/pam_strerror.3       Fri Mar 19 18:26:14 2010 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: pam_strerror.3,v 1.5 2008/01/27 01:22:58 christos Exp $
+.\"    $NetBSD: pam_strerror.3,v 1.6 2010/03/19 18:26:14 joerg Exp $
 .\"
 .\"-
 .\" Copyright (c) 2001-2003 Networks Associates Technology, Inc.
@@ -55,9 +55,15 @@
 function returns a pointer to a string containing a
 textual description of the error indicated by the
 .Fa error_number
-argument, in the context of the PAM transaction described by the
+argument.
+The
 .Fa pamh
-argument.
+argument is ignored.
+For compatibility with other implementations, it should be either a
+valid PAM handle returned by a previous call to
+.Fn pam_start ,
+or
+.Dv NULL .
 .Sh RETURN VALUES
 The
 .Nm



Home | Main Index | Thread Index | Old Index