xref: /freebsd/contrib/openpam/doc/man/openpam_free_data.3 (revision 556dce83d809ee1117490ae560afc1c2be5a4c53)
193889be5SDag-Erling Smørgrav.\"-
231c521e9SDag-Erling Smørgrav.\" Copyright (c) 2001-2003 Networks Associates Technology, Inc.
393889be5SDag-Erling Smørgrav.\" All rights reserved.
493889be5SDag-Erling Smørgrav.\"
593889be5SDag-Erling Smørgrav.\" This software was developed for the FreeBSD Project by ThinkSec AS and
6ee02aaa9SDag-Erling Smørgrav.\" Network Associates Laboratories, the Security Research Division of
7ee02aaa9SDag-Erling Smørgrav.\" Network Associates, Inc. under DARPA/SPAWAR contract N66001-01-C-8035
8ee02aaa9SDag-Erling Smørgrav.\" ("CBOSS"), as part of the DARPA CHATS research program.
993889be5SDag-Erling Smørgrav.\"
1093889be5SDag-Erling Smørgrav.\" Redistribution and use in source and binary forms, with or without
1193889be5SDag-Erling Smørgrav.\" modification, are permitted provided that the following conditions
1293889be5SDag-Erling Smørgrav.\" are met:
1393889be5SDag-Erling Smørgrav.\" 1. Redistributions of source code must retain the above copyright
1493889be5SDag-Erling Smørgrav.\"    notice, this list of conditions and the following disclaimer.
1593889be5SDag-Erling Smørgrav.\" 2. Redistributions in binary form must reproduce the above copyright
1693889be5SDag-Erling Smørgrav.\"    notice, this list of conditions and the following disclaimer in the
1793889be5SDag-Erling Smørgrav.\"    documentation and/or other materials provided with the distribution.
1893889be5SDag-Erling Smørgrav.\" 3. The name of the author may not be used to endorse or promote
1993889be5SDag-Erling Smørgrav.\"    products derived from this software without specific prior written
2093889be5SDag-Erling Smørgrav.\"    permission.
2193889be5SDag-Erling Smørgrav.\"
2293889be5SDag-Erling Smørgrav.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
2393889be5SDag-Erling Smørgrav.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
2493889be5SDag-Erling Smørgrav.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
2593889be5SDag-Erling Smørgrav.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
2693889be5SDag-Erling Smørgrav.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
2793889be5SDag-Erling Smørgrav.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
2893889be5SDag-Erling Smørgrav.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
2993889be5SDag-Erling Smørgrav.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
3093889be5SDag-Erling Smørgrav.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
3193889be5SDag-Erling Smørgrav.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3293889be5SDag-Erling Smørgrav.\" SUCH DAMAGE.
3393889be5SDag-Erling Smørgrav.\"
34ee02aaa9SDag-Erling Smørgrav.\" $P4$
3593889be5SDag-Erling Smørgrav.\"
36556dce83SDag-Erling Smørgrav.Dd June 16, 2005
3793889be5SDag-Erling Smørgrav.Dt OPENPAM_FREE_DATA 3
3893889be5SDag-Erling Smørgrav.Os
3993889be5SDag-Erling Smørgrav.Sh NAME
4093889be5SDag-Erling Smørgrav.Nm openpam_free_data
4193889be5SDag-Erling Smørgrav.Nd generic cleanup function
4293889be5SDag-Erling Smørgrav.Sh LIBRARY
4393889be5SDag-Erling Smørgrav.Lb libpam
4493889be5SDag-Erling Smørgrav.Sh SYNOPSIS
45644f2b7cSDag-Erling Smørgrav.In sys/types.h
4693889be5SDag-Erling Smørgrav.In security/pam_appl.h
47ac7e3b9dSDag-Erling Smørgrav.In security/openpam.h
48ca236e63SDag-Erling Smørgrav.Ft "void"
4993889be5SDag-Erling Smørgrav.Fn openpam_free_data "pam_handle_t *pamh" "void *data" "int status"
5093889be5SDag-Erling Smørgrav.Sh DESCRIPTION
5193889be5SDag-Erling SmørgravThe
5293889be5SDag-Erling Smørgrav.Nm
53b33ab329SDag-Erling Smørgravfunction is a cleanup function suitable for
54b33ab329SDag-Erling Smørgravpassing to
5593889be5SDag-Erling Smørgrav.Xr pam_set_data 3 .
5693889be5SDag-Erling SmørgravIt simply releases the data by passing its
57b33ab329SDag-Erling Smørgrav.Fa data
5893889be5SDag-Erling Smørgravargument to
5993889be5SDag-Erling Smørgrav.Xr free 3 .
6093889be5SDag-Erling Smørgrav.Sh SEE ALSO
6193889be5SDag-Erling Smørgrav.Xr free 3 ,
6293889be5SDag-Erling Smørgrav.Xr pam 3 ,
6393889be5SDag-Erling Smørgrav.Xr pam_set_data 3
6493889be5SDag-Erling Smørgrav.Sh STANDARDS
6593889be5SDag-Erling SmørgravThe
6693889be5SDag-Erling Smørgrav.Nm
6793889be5SDag-Erling Smørgravfunction is an OpenPAM extension.
6893889be5SDag-Erling Smørgrav.Sh AUTHORS
6993889be5SDag-Erling SmørgravThe
7093889be5SDag-Erling Smørgrav.Nm
71ca236e63SDag-Erling Smørgravfunction and this manual page were developed for the
72ca236e63SDag-Erling Smørgrav.Fx
73ca236e63SDag-Erling SmørgravProject by ThinkSec AS and Network Associates Laboratories, the
74b33ab329SDag-Erling SmørgravSecurity Research Division of Network Associates, Inc.& under
75ca236e63SDag-Erling SmørgravDARPA/SPAWAR contract N66001-01-C-8035
7693889be5SDag-Erling Smørgrav.Pq Dq CBOSS ,
7793889be5SDag-Erling Smørgravas part of the DARPA CHATS research program.
78