Compare commits
2 Commits
0458be7855
...
47388948d2
Author | SHA1 | Date |
---|---|---|
Dag-Erling Smørgrav | 47388948d2 | |
Dag-Erling Smørgrav | 7da86c0c62 |
1
CREDITS
1
CREDITS
|
@ -45,6 +45,7 @@ ideas:
|
||||||
Mikko Työläjärvi <mbsd@pacbell.net>
|
Mikko Työläjärvi <mbsd@pacbell.net>
|
||||||
Nick Hibma <nick@van-laarhoven.org>
|
Nick Hibma <nick@van-laarhoven.org>
|
||||||
Patrick Bihan-Faou <patrick-fbsd@mindstep.com>
|
Patrick Bihan-Faou <patrick-fbsd@mindstep.com>
|
||||||
|
Robert Morris <rtm@lcs.mit.edu>
|
||||||
Robert Watson <rwatson@freebsd.org>
|
Robert Watson <rwatson@freebsd.org>
|
||||||
Ruslan Ermilov <ru@freebsd.org>
|
Ruslan Ermilov <ru@freebsd.org>
|
||||||
Sebastian Krahmer <sebastian.krahmer@gmail.com>
|
Sebastian Krahmer <sebastian.krahmer@gmail.com>
|
||||||
|
|
5
HISTORY
5
HISTORY
|
@ -1,7 +1,10 @@
|
||||||
OpenPAM ??? 2020-07-??
|
OpenPAM Ximenia 2023-06-27
|
||||||
|
|
||||||
- BUGFIX: Fix race condition in openpam_ttyconv(3) when used with
|
- BUGFIX: Fix race condition in openpam_ttyconv(3) when used with
|
||||||
expect scripts.
|
expect scripts.
|
||||||
|
|
||||||
|
- BUGFIX: In openpam_set_option(3), when removing an option, properly
|
||||||
|
decrement the option count.
|
||||||
============================================================================
|
============================================================================
|
||||||
OpenPAM Tabebuia 2019-02-24
|
OpenPAM Tabebuia 2019-02-24
|
||||||
|
|
||||||
|
|
2
LICENSE
2
LICENSE
|
@ -1,6 +1,6 @@
|
||||||
|
|
||||||
Copyright (c) 2002-2003 Networks Associates Technology, Inc.
|
Copyright (c) 2002-2003 Networks Associates Technology, Inc.
|
||||||
Copyright (c) 2004-2019 Dag-Erling Smørgrav
|
Copyright (c) 2004-2023 Dag-Erling Smørgrav
|
||||||
All rights reserved.
|
All rights reserved.
|
||||||
|
|
||||||
This software was developed for the FreeBSD Project by ThinkSec AS and
|
This software was developed for the FreeBSD Project by ThinkSec AS and
|
||||||
|
|
4
RELNOTES
4
RELNOTES
|
@ -1,6 +1,6 @@
|
||||||
|
|
||||||
Release notes for OpenPAM Tabebuia
|
Release notes for OpenPAM Ximenia
|
||||||
==================================
|
=================================
|
||||||
|
|
||||||
OpenPAM is developed primarily on FreeBSD, but is expected to work on
|
OpenPAM is developed primarily on FreeBSD, but is expected to work on
|
||||||
almost any POSIX-like platform that has GNU autotools, GNU make and
|
almost any POSIX-like platform that has GNU autotools, GNU make and
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2002-2003 Networks Associates Technology, Inc.
|
* Copyright (c) 2002-2003 Networks Associates Technology, Inc.
|
||||||
* Copyright (c) 2004-2019 Dag-Erling Smørgrav
|
* Copyright (c) 2004-2023 Dag-Erling Smørgrav
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* This software was developed for the FreeBSD Project by ThinkSec AS and
|
* This software was developed for the FreeBSD Project by ThinkSec AS and
|
||||||
|
@ -37,7 +37,7 @@
|
||||||
#define SECURITY_OPENPAM_VERSION_H_INCLUDED
|
#define SECURITY_OPENPAM_VERSION_H_INCLUDED
|
||||||
|
|
||||||
#define OPENPAM
|
#define OPENPAM
|
||||||
#define OPENPAM_VERSION 20190224
|
#define OPENPAM_VERSION 20230627
|
||||||
#define OPENPAM_RELEASE "Tabebuia"
|
#define OPENPAM_RELEASE "Ximenia"
|
||||||
|
|
||||||
#endif /* !SECURITY_OPENPAM_VERSION_H_INCLUDED */
|
#endif /* !SECURITY_OPENPAM_VERSION_H_INCLUDED */
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2002-2003 Networks Associates Technology, Inc.
|
* Copyright (c) 2002-2003 Networks Associates Technology, Inc.
|
||||||
* Copyright (c) 2004-2011 Dag-Erling Smørgrav
|
* Copyright (c) 2004-2023 Dag-Erling Smørgrav
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* This software was developed for the FreeBSD Project by ThinkSec AS and
|
* This software was developed for the FreeBSD Project by ThinkSec AS and
|
||||||
|
@ -83,6 +83,7 @@ openpam_set_option(pam_handle_t *pamh,
|
||||||
for (free(cur->optv[i]); i < cur->optc; ++i)
|
for (free(cur->optv[i]); i < cur->optc; ++i)
|
||||||
cur->optv[i] = cur->optv[i + 1];
|
cur->optv[i] = cur->optv[i + 1];
|
||||||
cur->optv[i] = NULL;
|
cur->optv[i] = NULL;
|
||||||
|
--cur->optc;
|
||||||
RETURNC(PAM_SUCCESS);
|
RETURNC(PAM_SUCCESS);
|
||||||
}
|
}
|
||||||
if (asprintf(&opt, "%.*s=%s", (int)len, option, value) < 0)
|
if (asprintf(&opt, "%.*s=%s", (int)len, option, value) < 0)
|
||||||
|
|
Loading…
Reference in New Issue