diff options
author | des <des@FreeBSD.org> | 2002-02-23 01:24:02 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2002-02-23 01:24:02 +0000 |
commit | b7924daede5918d4af38aea32dcfe788509d2326 (patch) | |
tree | ae223d64d0eef9481ac27d428fd4c517fe5427e4 /contrib/openpam/doc/man/pam_set_data.3 | |
parent | 8f1441cfb24a5778dd1a680f7f9b48ef1560d682 (diff) | |
download | FreeBSD-src-b7924daede5918d4af38aea32dcfe788509d2326.zip FreeBSD-src-b7924daede5918d4af38aea32dcfe788509d2326.tar.gz |
Vendor import of OpenPAM Cantaloupe
Diffstat (limited to 'contrib/openpam/doc/man/pam_set_data.3')
-rw-r--r-- | contrib/openpam/doc/man/pam_set_data.3 | 36 |
1 files changed, 30 insertions, 6 deletions
diff --git a/contrib/openpam/doc/man/pam_set_data.3 b/contrib/openpam/doc/man/pam_set_data.3 index b179cb9..811b59a 100644 --- a/contrib/openpam/doc/man/pam_set_data.3 +++ b/contrib/openpam/doc/man/pam_set_data.3 @@ -33,7 +33,7 @@ .\" .\" $Id$ .\" -.Dd February 9, 2002 +.Dd February 22, 2002 .Dt PAM_SET_DATA 3 .Os .Sh NAME @@ -48,16 +48,40 @@ .Sh DESCRIPTION The .Nm -function is not yet documented. +function associates a pointer to an opaque object +with an arbitrary string specified by the +.Va module_data_name +argument, +in the PAM context specified by the +.Va pamh +argument. +.Pp +If not +.Dv NULL , +the +.Xr cleanup 3 +argument should point to a function +responsible for releasing the resources associated with the object. +.Pp +This function and its counterpart +.Xr pam_get_data 3 +are useful for managing +data that are meaningful only to a particular service module. .Sh RETURN VALUES The -.Fn +.Nm function returns one of the following values: -.Bl -tag -width PAM_AUTHTOK_DISABLE_AGING +.Bl -tag -width 18n +.It Bq Er PAM_BUF_ERR +Memory buffer error. +.It Bq Er PAM_SYSTEM_ERR +System error. .El .Sh SEE ALSO -.Xr pam_strerror 3 , -.Xr pam 3 +.Xr cleanup 3 , +.Xr pam 3 , +.Xr pam_get_data 3 , +.Xr pam_strerror 3 .Sh STANDARDS .Rs .%T "X/Open Single Sign-On Service (XSSO) - Pluggable Authentication Modules" |