1ce77a8d6SDag-Erling Smørgrav.\" Generated from pam_set_data.c by gendoc.pl 2*3ba4c8c8SDag-Erling Smørgrav.Dd June 27, 2023 35c1eca55SDag-Erling Smørgrav.Dt PAM_SET_DATA 3 45c1eca55SDag-Erling Smørgrav.Os 55c1eca55SDag-Erling Smørgrav.Sh NAME 65c1eca55SDag-Erling Smørgrav.Nm pam_set_data 75c1eca55SDag-Erling Smørgrav.Nd set module information 85c1eca55SDag-Erling Smørgrav.Sh SYNOPSIS 9644f2b7cSDag-Erling Smørgrav.In sys/types.h 105c1eca55SDag-Erling Smørgrav.In security/pam_appl.h 11ca236e63SDag-Erling Smørgrav.Ft "int" 125c1eca55SDag-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)" 135c1eca55SDag-Erling Smørgrav.Sh DESCRIPTION 145c1eca55SDag-Erling SmørgravThe 152f3ed619SDag-Erling Smørgrav.Fn pam_set_data 1646acc370SDag-Erling Smørgravfunction associates a pointer to an opaque object 1746acc370SDag-Erling Smørgravwith an arbitrary string specified by the 18b33ab329SDag-Erling Smørgrav.Fa module_data_name 1946acc370SDag-Erling Smørgravargument, 2046acc370SDag-Erling Smørgravin the PAM context specified by the 21b33ab329SDag-Erling Smørgrav.Fa pamh 2246acc370SDag-Erling Smørgravargument. 2346acc370SDag-Erling Smørgrav.Pp 2446acc370SDag-Erling SmørgravIf not 2546acc370SDag-Erling Smørgrav.Dv NULL , 2646acc370SDag-Erling Smørgravthe 27b33ab329SDag-Erling Smørgrav.Fa cleanup 2846acc370SDag-Erling Smørgravargument should point to a function 2946acc370SDag-Erling Smørgravresponsible for releasing the resources associated with the object. 3046acc370SDag-Erling Smørgrav.Pp 3146acc370SDag-Erling SmørgravThis function and its counterpart 3246acc370SDag-Erling Smørgrav.Xr pam_get_data 3 3346acc370SDag-Erling Smørgravare useful for managing 3446acc370SDag-Erling Smørgravdata that are meaningful only to a particular service module. 355c1eca55SDag-Erling Smørgrav.Sh RETURN VALUES 365c1eca55SDag-Erling SmørgravThe 372f3ed619SDag-Erling Smørgrav.Fn pam_set_data 385c1eca55SDag-Erling Smørgravfunction returns one of the following values: 3946acc370SDag-Erling Smørgrav.Bl -tag -width 18n 4049e56509SDag-Erling Smørgrav.It Bq Er PAM_SUCCESS 4149e56509SDag-Erling SmørgravSuccess. 4246acc370SDag-Erling Smørgrav.It Bq Er PAM_BUF_ERR 4346acc370SDag-Erling SmørgravMemory buffer error. 4446acc370SDag-Erling Smørgrav.It Bq Er PAM_SYSTEM_ERR 4546acc370SDag-Erling SmørgravSystem error. 465c1eca55SDag-Erling Smørgrav.El 475c1eca55SDag-Erling Smørgrav.Sh SEE ALSO 4846acc370SDag-Erling Smørgrav.Xr pam 3 , 4946acc370SDag-Erling Smørgrav.Xr pam_get_data 3 , 5046acc370SDag-Erling Smørgrav.Xr pam_strerror 3 515c1eca55SDag-Erling Smørgrav.Sh STANDARDS 525c1eca55SDag-Erling Smørgrav.Rs 535c1eca55SDag-Erling Smørgrav.%T "X/Open Single Sign-On Service (XSSO) - Pluggable Authentication Modules" 545c1eca55SDag-Erling Smørgrav.%D "June 1997" 555c1eca55SDag-Erling Smørgrav.Re 565c1eca55SDag-Erling Smørgrav.Sh AUTHORS 575c1eca55SDag-Erling SmørgravThe 582f3ed619SDag-Erling Smørgrav.Fn pam_set_data 592f3ed619SDag-Erling Smørgravfunction and this manual page were 602f3ed619SDag-Erling Smørgravdeveloped for the 61ca236e63SDag-Erling Smørgrav.Fx 622f3ed619SDag-Erling SmørgravProject by ThinkSec AS and Network Associates Laboratories, the 639bc006deSDag-Erling SmørgravSecurity Research Division of Network Associates, Inc.\& under 64ca236e63SDag-Erling SmørgravDARPA/SPAWAR contract N66001-01-C-8035 655c1eca55SDag-Erling Smørgrav.Pq Dq CBOSS , 665c1eca55SDag-Erling Smørgravas part of the DARPA CHATS research program. 67ce77a8d6SDag-Erling Smørgrav.Pp 68ce77a8d6SDag-Erling SmørgravThe OpenPAM library is maintained by 69f3b0ac34SDag-Erling Smørgrav.An Dag-Erling Sm\(/orgrav Aq Mt des@des.no . 70