xref: /netbsd-src/external/bsd/openpam/dist/doc/man/openpam_free_data.3 (revision 0d9d0fd8a30be9a1924e715bbcf67a4a83efd262)
1*0d9d0fd8Schristos.\"	$NetBSD: openpam_free_data.3,v 1.9 2023/06/30 21:46:20 christos Exp $
244269bb5Schristos.\"
38fa0fefeSchristos.\" Generated from openpam_free_data.c by gendoc.pl
4*0d9d0fd8Schristos.Dd June 27, 2023
544269bb5Schristos.Dt OPENPAM_FREE_DATA 3
644269bb5Schristos.Os
744269bb5Schristos.Sh NAME
844269bb5Schristos.Nm openpam_free_data
944269bb5Schristos.Nd generic cleanup function
1044269bb5Schristos.Sh SYNOPSIS
1144269bb5Schristos.In sys/types.h
1244269bb5Schristos.In security/pam_appl.h
1344269bb5Schristos.In security/openpam.h
1444269bb5Schristos.Ft "void"
1544269bb5Schristos.Fn openpam_free_data "pam_handle_t *pamh" "void *data" "int status"
1644269bb5Schristos.Sh DESCRIPTION
1744269bb5SchristosThe
18e1b25b17Schristos.Fn openpam_free_data
1944269bb5Schristosfunction is a cleanup function suitable for
2044269bb5Schristospassing to
2144269bb5Schristos.Xr pam_set_data 3 .
2244269bb5SchristosIt simply releases the data by passing its
2344269bb5Schristos.Fa data
2444269bb5Schristosargument to
2544269bb5Schristos.Xr free 3 .
2644269bb5Schristos.Sh SEE ALSO
2744269bb5Schristos.Xr free 3 ,
2844269bb5Schristos.Xr pam 3 ,
2944269bb5Schristos.Xr pam_set_data 3
3044269bb5Schristos.Sh STANDARDS
3144269bb5SchristosThe
32e1b25b17Schristos.Fn openpam_free_data
3344269bb5Schristosfunction is an OpenPAM extension.
3444269bb5Schristos.Sh AUTHORS
3544269bb5SchristosThe
36e1b25b17Schristos.Fn openpam_free_data
37e1b25b17Schristosfunction and this manual page were
38e1b25b17Schristosdeveloped for the
3944269bb5Schristos.Fx
40e1b25b17SchristosProject by ThinkSec AS and Network Associates Laboratories, the
4144269bb5SchristosSecurity Research Division of Network Associates, Inc.\& under
4244269bb5SchristosDARPA/SPAWAR contract N66001-01-C-8035
4344269bb5Schristos.Pq Dq CBOSS ,
4444269bb5Schristosas part of the DARPA CHATS research program.
458fa0fefeSchristos.Pp
468fa0fefeSchristosThe OpenPAM library is maintained by
474cb4af11Schristos.An Dag-Erling Sm\(/orgrav Aq Mt des@des.no .
48