Dag-Erling Smørgrav
73c77d2614
OpenPAM Micrampelis was re-rolled due to a showstopper bug.
2012-05-26 23:10:21 +00:00
Dag-Erling Smørgrav
2f3ed61901
Update to OpenPAM Micrampelis.
2012-05-26 17:10:16 +00:00
Dag-Erling Smørgrav
9342e1b15c
r234173 missed one instance of FREE(line).
...
Noticed by: glebius@
2012-04-27 11:29:09 +00:00
Dag-Erling Smørgrav
a7216790d8
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
Dag-Erling Smørgrav
d9ecbdf39e
Merge upstream r509: don't log an error in the common case (ENOENT).
2011-12-22 18:12:51 +00:00
Dag-Erling Smørgrav
7f106882fe
Upgrade to OpenPAM Lycopsida.
2011-12-18 17:22:45 +00:00
Dag-Erling Smørgrav
4125bad6b4
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
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
fe9807548e
Vendor import of OpenPAM Hydrangea.
2007-12-21 11:49:29 +00:00
Dag-Erling Smørgrav
ce1e940217
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
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
a1dabad0cd
MFP4 ( #47094 ): avoid bogus NULL pointer warnings when building with -DDEBUG.
2004-03-11 18:04:03 +00:00
Dag-Erling Smørgrav
e10ae02217
Vendor import of OpenPAM Eelgrass.
2004-02-10 10:11:23 +00:00
Dag-Erling Smørgrav
e3f7e72e1a
MFP4: really fix resp issue, and don't trim trailing spaces ( #43727 )
2003-12-10 16:46:08 +00:00
Dag-Erling Smørgrav
47f63312c5
MFP4: fix confusion about the layout of resp ( #42758 )
...
Approved by: re (rwatson)
2003-11-20 07:55:08 +00:00
Dag-Erling Smørgrav
2d142fa40d
These files have been removed from the distribution.
2003-07-15 07:23:52 +00:00
Dag-Erling Smørgrav
ca236e63dd
Vendor import of OpenPAM Dogwood.
2003-07-15 07:18:26 +00:00
Dag-Erling Smørgrav
901243b303
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
Dag-Erling Smørgrav
726edecf4a
Remove debugging output (perforce change #32378 )
2003-06-02 15:04:15 +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
63303d4131
Initialize variables (perforce change #30310 )
2003-05-01 17:16:48 +00:00
Dag-Erling Smørgrav
740d6dcde7
Initialize dlh (perforce change #30312 )
2003-05-01 17:15:45 +00:00
Dag-Erling Smørgrav
83a75cff45
MFP4: guard against null pointer dereference which sshd can cause ( #25271 )
2003-02-16 11:28:55 +00:00
Dag-Erling Smørgrav
f3ea2ebc1b
MFP4: return the actual value of the requested variable ( #24840 )
2003-02-08 20:19:10 +00:00
Dag-Erling Smørgrav
60f020541d
MFP4: avoid side effects in macro arguments ( #24823 )
2003-02-08 20:18:25 +00:00
Dag-Erling Smørgrav
b511bdf31c
Sync with P4. Most of this is debugging code; the only substantial changes
...
are improvements to openpam_{borrow,restore}_cred() (#24779 and #24780 ).
2003-02-07 15:27:03 +00:00
Dag-Erling Smørgrav
644f2b7cdc
Vendor import of OpenPAM Daffodil.
2003-01-06 16:07:51 +00:00
Dag-Erling Smørgrav
70e94b0be1
Fix typo in debugging macro (perforce change 23072)
2003-01-03 02:18:53 +00:00
Dag-Erling Smørgrav
648199192c
Vendor import of OpenPAM Cyclamen.
2002-12-16 15:28:05 +00:00
Dag-Erling Smørgrav
9c05d469da
Add default cases to the switches (perforce change 21902)
2002-12-04 14:37:35 +00:00
Dag-Erling Smørgrav
9f4bac9d42
(MFP4#19900) Write message to stdout, not stderr.
...
Submitted by: jmallet
Sponsored by: Rachel Hestilow <rachel@jerkcity.com>
2002-10-23 08:21:00 +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
e55149b3dc
Add missing include (perforce change 11137)
2002-05-10 22:03:19 +00:00
Dag-Erling Smørgrav
c495750164
Initialize other to all-zeroes before using it (perforce change 10738)
2002-05-03 12:56:29 +00:00
Dag-Erling Smørgrav
ac7e3b9d95
Vendor import of OpenPAM Cinnamon.
2002-05-02 04:40:21 +00:00
Dag-Erling Smørgrav
11d81aa6d4
Set rsp to NULL before calling the conversation function so we can later
...
detect if it hasn't been touched (perforce change 9889)
Sponsored by: DARPA, NAI Labs
2002-04-17 22:57:09 +00:00
Dag-Erling Smørgrav
b81138f1a3
Don't echo log messages to stderr (perforce change 9758)
2002-04-16 22:04:22 +00:00
Dag-Erling Smørgrav
193cf419da
Log dlopen() / dlsym() failures at the debug level (perforce change 9760)
2002-04-16 21:35:53 +00:00
Dag-Erling Smørgrav
69665ef57f
Print newline after error and info messages (perforce change 9750)
2002-04-15 06:32:54 +00:00
Dag-Erling Smørgrav
f116fd5df6
Fix typo in pam_get_authtok(3) (perforce change 9746)
2002-04-15 01:26:36 +00:00
Dag-Erling Smørgrav
183bda3791
Vendor import of OpenPAM Cineraria.
2002-04-14 18:28:22 +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
d32a969cca
Fix incorrect allocation size (perforce change 8918)
...
PR: bin/36658
Submitted by: Takanori Saneto <sanewo@ba2.so-net.ne.jp>
2002-04-02 20:57:22 +00:00
Dag-Erling Smørgrav
a65dc9cb60
Fix braino in code path for new items (perforce change 8760).
...
Based on a patch submitted by Joe Marcus Clarke <marcus@marcuscom.com>.
Sponsored by: DARPA, NAI LabS
cvs: ----------------------------------------------------------------------
2002-04-01 12:20:48 +00:00
Dag-Erling Smørgrav
856bb440c7
Vendor import of OpenPAM Centaury.
2002-03-14 20:42:07 +00:00