Commit Graph

93 Commits

Author SHA1 Message Date
des
e00bc60be4 Upgrade to OpenPAM Resedacea.
MFC after:	3 weeks
2017-05-05 13:31:25 +00:00
des
79c4a0ad28 Restore the NULL check that was removed in upstream r913. It is not
unreasonable to call pam_end() with a NULL pamh in error handling code.

Reported by:	rwatson
2017-03-24 14:45:58 +00:00
des
8b625a3731 Upgrade to OpenPAM Radula. 2017-02-20 00:56:46 +00:00
des
ea85485818 Restore the upstream (and documented) behavior of searching for modules
both in /usr/lib and /usr/local/lib, thus simplifying the use of modules
from ports, without breaking the compat32 case again.

PR:		191151
MFC after:	3 weeks
2015-09-21 17:26:35 +00:00
dim
021a871674 Apply changeset 854 from upstream openpam (by Dag-Erling Smørgrav):
Silence all remaining qual-cast warnings except in the test suite.
2015-01-28 18:13:52 +00:00
des
96d30cbc7e Staticize the test plans. 2014-11-05 20:13:18 +00:00
des
2cacd00320 Merge upstream r825: fix line continuation in whitespace 2014-10-19 11:06:54 +00:00
des
ec657b1011 Upgrade to OpenPAM Ourouparia. 2014-09-15 13:40:09 +00:00
delphij
f26fc92da5 Fix incorrect error handling in PAM policy parser. [SA-14:13] 2014-06-03 19:01:38 +00:00
des
8a82f5b94f MFV (r262529): fix is_upper() predicate
MFC after:	1 week
2014-02-26 17:14:02 +00:00
des
a496157a2f MFV (r255387): undo autoprop damage
Approved by:	re (glebius)
2013-09-08 16:56:17 +00:00
des
6a7561b73b Update to OpenPAM Nummularia. 2013-09-07 19:43:39 +00:00
des
628e6f8bef This was a good idea that never went anywhere. 2013-09-07 18:55:52 +00:00
des
e50a38ba7d MFV (r255364): move the code around in preparation for Nummularia. 2013-09-07 18:46:35 +00:00
des
4faf138873 Backport upstream r684 (OPENPAM_DEBUG enables debugging macros but does
not turn debugging on by default) and add OPENPAM_DEBUG to CFLAGS.
2013-04-14 16:49:27 +00:00
des
a46fb687f8 Merge upstream r634:646: correctly parse mixed quoted / unquoted text. 2013-03-04 18:51:53 +00:00
des
04c4fe086c OpenPAM Micrampelis was re-rolled due to a showstopper bug. 2012-05-26 23:10:21 +00:00
des
e591108b4f Update to OpenPAM Micrampelis. 2012-05-26 17:10:16 +00:00
des
fa4733b805 r234173 missed one instance of FREE(line).
Noticed by:	glebius@
2012-04-27 11:29:09 +00:00
des
c67d18e869 Keep a copy of the original pointer returned by openpam_readline() so
we can free it later, instead of trying to free a pointer that points
to the end of the buffer.

Committed to head because this code no longer exists upstream.

Submitted by:	jasone@
2012-04-12 11:23:24 +00:00
des
b075a9fc19 Merge upstream r509: don't log an error in the common case (ENOENT). 2011-12-22 18:12:51 +00:00
des
50a0ec7697 Upgrade to OpenPAM Lycopsida. 2011-12-18 17:22:45 +00:00
des
efab740882 Add minimal validation of the service name to fend off at least one
attack vector against applications that allow the applicant to specify
which policy to apply.

Submitted by:	Matthias Drochner <drochner@netbsd.org>
MFC after:	1 week
2011-12-10 01:44:24 +00:00
des
333ce73d6a Merge upstream r432:
pam_end() already contains a NULL check, and it is not unreasonable to
call it with a NULL pamh in a cleanup / error-handling situation.  Remove
OPENPAM_NONNULL, which may cause gcc to optimize away the NULL check.

This fixes a potential NULL pointer dereference in error-handling code
in passwd(1).
2010-03-22 11:00:57 +00:00
des
dd851241ac Merge upstream r421: grammar nit in pam.conf(5). 2009-10-09 09:42:58 +00:00
des
32589bd8e2 Update and remove CVS-specific items
Approved by:	re (kib)
2009-08-13 06:07:38 +00:00
des
123e930ac3 Don't try to auto-detect dynamic linking; it fails on mips. The Makefile
part of the patch is an ugly (and hopefully temporary) hack.

Discussed with:	imp@
2009-02-17 16:35:19 +00:00
des
646ea20dec Flatten and clean up. 2008-12-13 22:45:22 +00:00
des
76b6e0b06e As per discussion, commit experimental metadata for my contrib packages.
The idea is to have a FREEBSD-vendor file for every third-party package
in the tree.
2008-02-06 23:06:24 +00:00
des
5bb985da80 Merge r412 from vendor, which reintroduces _OPENPAM. See comment in the
code for explanation.  Hopefully, this will forestall any reports of
breakage in OpenPAM-aware ports.

MFC after:	3 days
2008-01-29 20:22:00 +00:00
des
274f594de6 Remove dead files 2007-12-21 11:56:21 +00:00
des
e05e8ab881 Vendor import of OpenPAM Hydrangea. 2007-12-21 11:49:29 +00:00
des
ea144ae9da Merge from upstream:
------------------------------------------------------------------------
r380 | des | 2006-03-14 15:42:09 +0100 (Tue, 14 Mar 2006) | 1 line

Fix signedness mismatch, and use an explicit cast when calling ctype functions.
------------------------------------------------------------------------
2007-04-07 13:36:53 +00:00
des
a41c608b44 Fix markup errors caused by a bug in gendoc.pl (see P4 change #78671)
Approved by:	re (kensmith)
2005-06-17 14:39:09 +00:00
des
74d48f7bc8 MFP4: (#78671) correctly escape \& in Perl strings.
Submitted by:	ru
Approved by:	re (kensmith)
2005-06-17 14:37:52 +00:00
des
a5a1a07fd9 MFP4: (#78670) markup nits
MFP4: (#78673) bump date

Submitted by:	ru
Approved by:	re (kensmith)
2005-06-17 14:37:16 +00:00
des
771f41713c MFP4: (#78672) markup nits.
Submitted by:	ru
Approved by:	re (kensmith)
2005-06-17 14:35:37 +00:00
des
62f0804df4 Vendor import of OpenPAM Figwort. 2005-06-17 08:11:43 +00:00
des
bdbb876515 Vendor import of OpenPAM Feterita. 2005-02-01 10:16:17 +00:00
des
26edb61b76 This file was removed from the OpenPAM distribution in December, 2002. 2004-07-27 10:15:55 +00:00
des
be2af0e1d9 MFP4 (#47094): avoid bogus NULL pointer warnings when building with -DDEBUG. 2004-03-11 18:04:03 +00:00
des
e7b7250764 Vendor import of OpenPAM Eelgrass. 2004-02-10 10:11:23 +00:00
des
0ac9b614f9 MFP4: really fix resp issue, and don't trim trailing spaces (#43727) 2003-12-10 16:46:08 +00:00
des
309ac786af MFP4: fix confusion about the layout of resp (#42758)
Approved by:	re (rwatson)
2003-11-20 07:55:08 +00:00
des
66b982e44c MFP4: revert constification of pam_message.msg (perforce change #34785) 2003-07-21 19:54:17 +00:00
des
de170d509e These files have been removed from the distribution. 2003-07-15 07:23:52 +00:00
des
4f94712dd1 Vendor import of OpenPAM Dogwood. 2003-07-15 07:18:26 +00:00
des
49e0f275db Avoid side effects in macro arguments (perforce change #33323)
Submitted by:	Dmitry V. Levin <ldv@altlinux.org>
2003-06-18 09:44:09 +00:00
des
f4ecd47466 Remove debugging output (perforce change #32378) 2003-06-02 15:04:15 +00:00
des
3409f2d5db Vendor import of OpenPAM Digitalis. 2003-06-01 12:54:03 +00:00