1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-23 11:18:54 +00:00
Commit Graph

31 Commits

Author SHA1 Message Date
Dag-Erling Smørgrav
c399daf6d0 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
Dag-Erling Smørgrav
1dde0f9745 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
Dag-Erling Smørgrav
57392877a2 Flatten and clean up. 2008-12-13 22:45:22 +00:00
Dag-Erling Smørgrav
bb9740d80e 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
Dag-Erling Smørgrav
fe9807548e Vendor import of OpenPAM Hydrangea. 2007-12-21 11:49:29 +00:00
Dag-Erling Smørgrav
556dce83d8 Vendor import of OpenPAM Figwort. 2005-06-17 08:11:43 +00:00
Dag-Erling Smørgrav
b33ab32994 Vendor import of OpenPAM Feterita. 2005-02-01 10:16:17 +00:00
Dag-Erling Smørgrav
e10ae02217 Vendor import of OpenPAM Eelgrass. 2004-02-10 10:11:23 +00:00
Dag-Erling Smørgrav
845c1b9ce2 MFP4: revert constification of pam_message.msg (perforce change #34785) 2003-07-21 19:54:17 +00:00
Dag-Erling Smørgrav
ca236e63dd Vendor import of OpenPAM Dogwood. 2003-07-15 07:18:26 +00:00
Dag-Erling Smørgrav
31c521e9ea Vendor import of OpenPAM Digitalis. 2003-06-01 12:54:03 +00:00
Dag-Erling Smørgrav
4cb68ea5f3 Vendor import of OpenPAM Dianthus. 2003-05-02 15:08:06 +00:00
Dag-Erling Smørgrav
1e518e37e8 #include <stddef.h> rather than <sys/types.h> (perforce change 24116) 2003-01-23 21:37:53 +00:00
Dag-Erling Smørgrav
40ce2f606a #include <sys/types.h> (perforce change 24073) 2003-01-22 16:46:44 +00:00
Dag-Erling Smørgrav
648199192c Vendor import of OpenPAM Cyclamen. 2002-12-16 15:28:05 +00:00
Dag-Erling Smørgrav
d453fb1b0a Vendor import of OpenPAM Citronella. 2002-06-30 21:36:39 +00:00
Dag-Erling Smørgrav
ee02aaa95b Vendor import of OpenPAM Citronella. 2002-06-30 21:30:05 +00:00
Dag-Erling Smørgrav
55e3fbc9f1 Vendor import of OpenPAM Cinquefoil. 2002-05-24 13:18:43 +00:00
Dag-Erling Smørgrav
ac7e3b9d95 Vendor import of OpenPAM Cinnamon. 2002-05-02 04:40:21 +00:00
Dag-Erling Smørgrav
bdcb69e2b5 Fix braino in the openpam_log() macro that caused the arguments to be
expanded twice (perforce change 9853)
2002-04-16 21:34:41 +00:00
Dag-Erling Smørgrav
183bda3791 Vendor import of OpenPAM Cineraria. 2002-04-14 18:28:22 +00:00
Dag-Erling Smørgrav
8d38dc9dca Fix typo in openpam_log macro (perforce change 9634)
Sponsored by:	DARPA, NAI Labs
2002-04-12 22:22:27 +00:00
Dag-Erling Smørgrav
b825a3ace6 Linux-PAM compatibility improvements (perforce change 9623)
Sponsored by:	DARPA, NAI Labs
2002-04-12 18:31:28 +00:00
Dag-Erling Smørgrav
93889be53d Vendor import of OpenPAM Cinchona. 2002-04-08 12:30:31 +00:00
Dag-Erling Smørgrav
11d144d325 MFOpenPAM: a slew of changes, mostly related to pam_get_authtok() (perforce
changes 9207, 9209, 9210, 9211, 9213, 9220)

Sponsored by:	DARPA, NAI Labs
2002-04-06 19:28:08 +00:00
Dag-Erling Smørgrav
856bb440c7 Vendor import of OpenPAM Centaury. 2002-03-14 20:42:07 +00:00
Dag-Erling Smørgrav
527825f1c2 s/PAM_REINITIALISE_CRED/PAM_REINITIALIZE_CRED/
Sponsored by:	DARPA, NAI Labs
2002-03-07 12:11:34 +00:00
Dag-Erling Smørgrav
4579d22cac Vendor import of OpenPAM Celandine. 2002-03-05 13:49:56 +00:00
Dag-Erling Smørgrav
46acc37026 Vendor import of OpenPAM Cantaloupe 2002-02-23 01:24:02 +00:00
Dag-Erling Smørgrav
ac676a1116 Vendor import of OpenPAM Caliopsis 2002-02-23 01:23:20 +00:00
Dag-Erling Smørgrav
5c1eca5551 Vendor import of OpenPAM Calamite 2002-02-23 01:22:51 +00:00