193889be5SDag-Erling Smørgrav.\"- 293889be5SDag-Erling Smørgrav.\" Copyright (c) 2002 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.\" 36ee02aaa9SDag-Erling Smørgrav.Dd June 30, 2002 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 4593889be5SDag-Erling Smørgrav.In security/pam_appl.h 46ac7e3b9dSDag-Erling Smørgrav.In security/openpam.h 4793889be5SDag-Erling Smørgrav.Ft void 4893889be5SDag-Erling Smørgrav.Fn openpam_free_data "pam_handle_t *pamh" "void *data" "int status" 4993889be5SDag-Erling Smørgrav.Sh DESCRIPTION 5093889be5SDag-Erling SmørgravThe 5193889be5SDag-Erling Smørgrav.Nm 5293889be5SDag-Erling Smørgravis a cleanup function suitable for passing to 5393889be5SDag-Erling Smørgrav.Xr pam_set_data 3 . 5493889be5SDag-Erling SmørgravIt simply releases the data by passing its 5593889be5SDag-Erling Smørgrav.Va data 5693889be5SDag-Erling Smørgravargument to 5793889be5SDag-Erling Smørgrav.Xr free 3 . 5893889be5SDag-Erling Smørgrav.Sh SEE ALSO 5993889be5SDag-Erling Smørgrav.Xr free 3 , 6093889be5SDag-Erling Smørgrav.Xr pam 3 , 6193889be5SDag-Erling Smørgrav.Xr pam_set_data 3 6293889be5SDag-Erling Smørgrav.Sh STANDARDS 6393889be5SDag-Erling SmørgravThe 6493889be5SDag-Erling Smørgrav.Nm 6593889be5SDag-Erling Smørgravfunction is an OpenPAM extension. 6693889be5SDag-Erling Smørgrav.Sh AUTHORS 6793889be5SDag-Erling SmørgravThe 6893889be5SDag-Erling Smørgrav.Nm 6993889be5SDag-Erling Smørgravfunction and this manual page were developed for the FreeBSD Project 70ee02aaa9SDag-Erling Smørgravby ThinkSec AS and Network Associates Laboratories, the Security 71ee02aaa9SDag-Erling SmørgravResearch Division of Network Associates, Inc. under DARPA/SPAWAR 72ee02aaa9SDag-Erling Smørgravcontract N66001-01-C-8035 7393889be5SDag-Erling Smørgrav.Pq Dq CBOSS , 7493889be5SDag-Erling Smørgravas part of the DARPA CHATS research program. 75