1ce77a8d6SDag-Erling Smørgrav.\" Generated from pam_set_data.c by gendoc.pl 2*49e56509SDag-Erling Smørgrav.\" $OpenPAM: pam_set_data.c 938 2017-04-30 21:34:42Z des $ 3*49e56509SDag-Erling Smørgrav.Dd April 30, 2017 45c1eca55SDag-Erling Smørgrav.Dt PAM_SET_DATA 3 55c1eca55SDag-Erling Smørgrav.Os 65c1eca55SDag-Erling Smørgrav.Sh NAME 75c1eca55SDag-Erling Smørgrav.Nm pam_set_data 85c1eca55SDag-Erling Smørgrav.Nd set module information 95c1eca55SDag-Erling Smørgrav.Sh SYNOPSIS 10644f2b7cSDag-Erling Smørgrav.In sys/types.h 115c1eca55SDag-Erling Smørgrav.In security/pam_appl.h 12ca236e63SDag-Erling Smørgrav.Ft "int" 135c1eca55SDag-Erling Smørgrav.Fn pam_set_data "pam_handle_t *pamh" "const char *module_data_name" "void *data" "void (*cleanup)(pam_handle_t *pamh, void *data, int pam_end_status)" 145c1eca55SDag-Erling Smørgrav.Sh DESCRIPTION 155c1eca55SDag-Erling SmørgravThe 162f3ed619SDag-Erling Smørgrav.Fn pam_set_data 1746acc370SDag-Erling Smørgravfunction associates a pointer to an opaque object 1846acc370SDag-Erling Smørgravwith an arbitrary string specified by the 19b33ab329SDag-Erling Smørgrav.Fa module_data_name 2046acc370SDag-Erling Smørgravargument, 2146acc370SDag-Erling Smørgravin the PAM context specified by the 22b33ab329SDag-Erling Smørgrav.Fa pamh 2346acc370SDag-Erling Smørgravargument. 2446acc370SDag-Erling Smørgrav.Pp 2546acc370SDag-Erling SmørgravIf not 2646acc370SDag-Erling Smørgrav.Dv NULL , 2746acc370SDag-Erling Smørgravthe 28b33ab329SDag-Erling Smørgrav.Fa cleanup 2946acc370SDag-Erling Smørgravargument should point to a function 3046acc370SDag-Erling Smørgravresponsible for releasing the resources associated with the object. 3146acc370SDag-Erling Smørgrav.Pp 3246acc370SDag-Erling SmørgravThis function and its counterpart 3346acc370SDag-Erling Smørgrav.Xr pam_get_data 3 3446acc370SDag-Erling Smørgravare useful for managing 3546acc370SDag-Erling Smørgravdata that are meaningful only to a particular service module. 365c1eca55SDag-Erling Smørgrav.Sh RETURN VALUES 375c1eca55SDag-Erling SmørgravThe 382f3ed619SDag-Erling Smørgrav.Fn pam_set_data 395c1eca55SDag-Erling Smørgravfunction returns one of the following values: 4046acc370SDag-Erling Smørgrav.Bl -tag -width 18n 41*49e56509SDag-Erling Smørgrav.It Bq Er PAM_SUCCESS 42*49e56509SDag-Erling SmørgravSuccess. 4346acc370SDag-Erling Smørgrav.It Bq Er PAM_BUF_ERR 4446acc370SDag-Erling SmørgravMemory buffer error. 4546acc370SDag-Erling Smørgrav.It Bq Er PAM_SYSTEM_ERR 4646acc370SDag-Erling SmørgravSystem error. 475c1eca55SDag-Erling Smørgrav.El 485c1eca55SDag-Erling Smørgrav.Sh SEE ALSO 4946acc370SDag-Erling Smørgrav.Xr pam 3 , 5046acc370SDag-Erling Smørgrav.Xr pam_get_data 3 , 5146acc370SDag-Erling Smørgrav.Xr pam_strerror 3 525c1eca55SDag-Erling Smørgrav.Sh STANDARDS 535c1eca55SDag-Erling Smørgrav.Rs 545c1eca55SDag-Erling Smørgrav.%T "X/Open Single Sign-On Service (XSSO) - Pluggable Authentication Modules" 555c1eca55SDag-Erling Smørgrav.%D "June 1997" 565c1eca55SDag-Erling Smørgrav.Re 575c1eca55SDag-Erling Smørgrav.Sh AUTHORS 585c1eca55SDag-Erling SmørgravThe 592f3ed619SDag-Erling Smørgrav.Fn pam_set_data 602f3ed619SDag-Erling Smørgravfunction and this manual page were 612f3ed619SDag-Erling Smørgravdeveloped for the 62ca236e63SDag-Erling Smørgrav.Fx 632f3ed619SDag-Erling SmørgravProject by ThinkSec AS and Network Associates Laboratories, the 649bc006deSDag-Erling SmørgravSecurity Research Division of Network Associates, Inc.\& under 65ca236e63SDag-Erling SmørgravDARPA/SPAWAR contract N66001-01-C-8035 665c1eca55SDag-Erling Smørgrav.Pq Dq CBOSS , 675c1eca55SDag-Erling Smørgravas part of the DARPA CHATS research program. 68ce77a8d6SDag-Erling Smørgrav.Pp 69ce77a8d6SDag-Erling SmørgravThe OpenPAM library is maintained by 70f3b0ac34SDag-Erling Smørgrav.An Dag-Erling Sm\(/orgrav Aq Mt des@des.no . 71