From owner-p4-projects@FreeBSD.ORG Fri Jan 28 13:48:29 2005 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id EE63716A4D0; Fri, 28 Jan 2005 13:48:28 +0000 (GMT) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 84F8416A4CE for ; Fri, 28 Jan 2005 13:48:28 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4DD7C43D2F for ; Fri, 28 Jan 2005 13:48:28 +0000 (GMT) (envelope-from des@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j0SDmS72024768 for ; Fri, 28 Jan 2005 13:48:28 GMT (envelope-from des@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j0SDmSYr024765 for perforce@freebsd.org; Fri, 28 Jan 2005 13:48:28 GMT (envelope-from des@freebsd.org) Date: Fri, 28 Jan 2005 13:48:28 GMT Message-Id: <200501281348.j0SDmSYr024765@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to des@freebsd.org using -f From: Dag-Erling Smorgrav To: Perforce Change Reviews Subject: PERFORCE change 69875 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Jan 2005 13:48:29 -0000 http://perforce.freebsd.org/chv.cgi?CH=69875 Change 69875 by des@des.at.des.thinksec.com on 2005/01/28 13:47:41 Add openpam_free_envlist(). I'm tired of freeing them by hand. Affected files ... .. //depot/projects/openpam/doc/man/Makefile.am#2 edit .. //depot/projects/openpam/include/security/openpam.h#28 edit .. //depot/projects/openpam/lib/Makefile.am#2 edit .. //depot/projects/openpam/lib/openpam_free_envlist.c#1 add Differences ... ==== //depot/projects/openpam/doc/man/Makefile.am#2 (text+ko) ==== @@ -35,6 +35,7 @@ OMAN = \ openpam_borrow_cred.3 \ openpam_free_data.3 \ + openpam_free_envlist.3 \ openpam_get_option.3 \ openpam_log.3 \ openpam_nullconv.3 \ ==== //depot/projects/openpam/include/security/openpam.h#28 (text+ko) ==== @@ -31,7 +31,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $P4: //depot/projects/openpam/include/security/openpam.h#27 $ + * $P4: //depot/projects/openpam/include/security/openpam.h#28 $ */ #ifndef _SECURITY_OPENPAM_H_INCLUDED @@ -60,6 +60,9 @@ void *_data, int _status); +void +openpam_free_envlist(char **_envlist); + const char * openpam_get_option(pam_handle_t *_pamh, const char *_option); ==== //depot/projects/openpam/lib/Makefile.am#2 (text+ko) ==== @@ -11,6 +11,7 @@ openpam_dynamic.c \ openpam_findenv.c \ openpam_free_data.c \ + openpam_free_envlist.c \ openpam_get_option.c \ openpam_load.c \ openpam_log.c \