Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libpam/modules/pam_exec Remove local copy of openpam_fre...
details: https://anonhg.NetBSD.org/src/rev/e4ac94fecc05
branches: trunk
changeset: 574347:e4ac94fecc05
user: christos <christos%NetBSD.org@localhost>
date: Sat Feb 26 22:45:52 2005 +0000
description:
Remove local copy of openpam_free_envlist.
diffstat:
lib/libpam/modules/pam_exec/pam_exec.c | 17 ++---------------
1 files changed, 2 insertions(+), 15 deletions(-)
diffs (38 lines):
diff -r 9449c4a9d94e -r e4ac94fecc05 lib/libpam/modules/pam_exec/pam_exec.c
--- a/lib/libpam/modules/pam_exec/pam_exec.c Sat Feb 26 22:45:09 2005 +0000
+++ b/lib/libpam/modules/pam_exec/pam_exec.c Sat Feb 26 22:45:52 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pam_exec.c,v 1.3 2005/02/26 16:03:58 thorpej Exp $ */
+/* $NetBSD: pam_exec.c,v 1.4 2005/02/26 22:45:52 christos Exp $ */
/*-
* Copyright (c) 2001,2003 Networks Associates Technology, Inc.
@@ -38,7 +38,7 @@
#ifdef __FreeBSD__
__FBSDID("$FreeBSD: src/lib/libpam/modules/pam_exec/pam_exec.c,v 1.4 2005/02/01 10:37:07 des Exp $");
#else
-__RCSID("$NetBSD: pam_exec.c,v 1.3 2005/02/26 16:03:58 thorpej Exp $");
+__RCSID("$NetBSD: pam_exec.c,v 1.4 2005/02/26 22:45:52 christos Exp $");
#endif
#include <sys/types.h>
@@ -66,19 +66,6 @@
ENV_ITEM(PAM_RUSER),
};
-/*
- * XXX Until we import OpenPAM Feterita.
- */
-static void
-openpam_free_envlist(char **envlist)
-{
- char **env;
-
- for (env = envlist; *env != NULL; ++env)
- free(*env);
- free(envlist);
-}
-
static int
_pam_exec(pam_handle_t *pamh __unused, int flags __unused,
int argc, const char *argv[])
Home |
Main Index |
Thread Index |
Old Index