summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThorsten Kukuk <kukuk@thkukuk.de>2008-11-29 07:28:44 +0000
committerThorsten Kukuk <kukuk@thkukuk.de>2008-11-29 07:28:44 +0000
commit45077949c9aa2aa05ba190738ae8616c1ec16950 (patch)
treed1e751c17da8828c2e96b3d5de77764db63b2c16
parent4a67d64dd0cb01c40e675f48f0c6ea3d08e53664 (diff)
Relevant BUGIDs:
Purpose of commit: bugfix Commit summary: --------------- 2008-11-29 Thorsten Kukuk <kukuk@thkukuk.de> * doc/man/pam_getenv.3.xml: Document that application should not free return value. * doc/man/pam.3.xml: Add Note about thread-safeness of libpam functions.
-rw-r--r--ChangeLog8
-rw-r--r--doc/man/pam.3.xml6
-rw-r--r--doc/man/pam_getenv.3.xml5
3 files changed, 17 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index f58ef8a7..43329736 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2008-11-29 Thorsten Kukuk <kukuk@thkukuk.de>
+
+ * doc/man/pam_getenv.3.xml: Document that application should
+ not free return value.
+
+ * doc/man/pam.3.xml: Add Note about thread-safeness of libpam
+ functions.
+
2008-11-28 Tomas Mraz <t8m@centrum.cz>
* modules/pam_unix/unix_update.c (set_password): Allow root to change
diff --git a/doc/man/pam.3.xml b/doc/man/pam.3.xml
index 3cf71b2d..78e1cf3e 100644
--- a/doc/man/pam.3.xml
+++ b/doc/man/pam.3.xml
@@ -430,4 +430,10 @@
</citerefentry>
</para>
</refsect1>
+ <refsect1 id='pam3-notes'><title>NOTES</title>
+ <para>
+ The <emphasis>libpam</emphasis> interfaces are only thread-safe if each
+ thread within the multithreaded application uses its own PAM handle.
+ </para>
+ </refsect1>
</refentry>
diff --git a/doc/man/pam_getenv.3.xml b/doc/man/pam_getenv.3.xml
index 871e511d..7e8db015 100644
--- a/doc/man/pam_getenv.3.xml
+++ b/doc/man/pam_getenv.3.xml
@@ -33,8 +33,9 @@
The <function>pam_getenv</function> function searches the
PAM environment list as associated with the handle
<emphasis>pamh</emphasis> for an item that matches the string
- pointed to by <emphasis>name</emphasis> and returns the value
- of the environment variable.
+ pointed to by <emphasis>name</emphasis> and returns a pointer
+ to the value of the environment variable. The application is
+ not allowed to free the data.
</para>
</refsect1>