gmcgarry
a9af41a9f1
Correctly use linksets with PCC too.
2008-08-29 00:35:25 +00:00
drochner
0a06aa4eeb
While openpam overwrites possible sensitive data on cleanup, it misses
...
the buffers used in the password dialog. Clean them too.
2008-07-16 18:20:17 +00:00
christos
a94d934365
Remove __PIC__ because on mips __PIC__ is used to indicate that the pic abi
...
is used, and it is set even in the absence of -fpic or -fPIC. Thanks to
tsutsui@ for the explanation.
2008-01-31 20:07:46 +00:00
christos
ce19c44682
merge conflicts. Unfortunately openpam changed from $P4 -> $Id so there will
...
be RCS screwage in the next import.
2008-01-27 01:22:55 +00:00
christos
70f2fdca0b
from www.openpam.org
2008-01-27 00:54:36 +00:00
drochner
13434589bc
free the temporary path string if the fallback to an unversioned
...
plugin module fails
2007-09-14 17:57:39 +00:00
christos
b7414305ba
Update the manual section
2006-06-14 16:23:46 +00:00
christos
3e2e64af97
Regen
2006-06-14 16:22:54 +00:00
christos
826ade140d
Use /dev/tty if possible and only fall back to stdin/stderr if that is not
...
available like getpass(3) does.
2006-06-14 16:17:01 +00:00
xtraeme
0511c26dfa
openpam_dynamic(): add missing '/' between OPENPAM_MODULES_DIR and
...
the pam's name module, otherwise it will try to load the module as:
"/usr/lib/security<pam_module>"
Before christos' update we were using PAM_SOPREFIX = "/usr/lib/security/"
with the last '/', now we aren't. So be SAFE and add it to avoid
future problems.
2006-02-05 05:39:49 +00:00
christos
aad78462b6
resolve conflicts
2006-02-05 02:37:45 +00:00
christos
70d3347b2d
Import figwort: for changes read the HISTORY file.
2006-02-05 02:32:33 +00:00
lukem
f391b937b7
appease gcc -Wuninitialized
2005-06-01 12:14:53 +00:00
christos
6a3704f4d9
Never fail open: auth chain *must* have at least one required or binding
...
element.
2005-03-16 15:28:55 +00:00
wiz
b67bc0fbc2
Re-remove superfluous .Pp.
2005-03-04 12:32:31 +00:00
christos
e0ebf94412
Regen.
2005-03-03 02:09:04 +00:00
christos
0711b6123a
Deal with the NUSER addition.
2005-03-03 02:07:07 +00:00
christos
9ec5ce8afc
Add a variable to pass in the nested user.
2005-03-03 02:06:42 +00:00
wiz
663b6c2589
Remove superfluous .Pp.
2005-02-28 10:48:08 +00:00
christos
c2c52ef2eb
Resolve conflicts.
2005-02-26 20:58:24 +00:00
christos
4ef1eb92fc
Import feterita from www.openpam.org
2005-02-26 20:44:47 +00:00
wiz
3748b0d6f7
Add xref to openpam_free_data (for man page).
2005-02-22 15:22:02 +00:00
wiz
d2ef6b97b8
Add sections to some functions so xrefs in man page will be correct.
2005-02-22 15:21:26 +00:00
wiz
ea9fa3e293
Some fixes:
...
. add RCS Id to generated man pages
. fix for =cleanup (special case for one man page, sorry)
. sort xrefs in SEE ALSO correctly.
2005-02-22 15:20:48 +00:00
wiz
cf3e23f3e8
Use Ar for function argument.
2005-02-22 15:15:51 +00:00
wiz
b061c59389
Fix some xrefs.
2005-02-20 19:34:40 +00:00
wiz
c952b0b731
FreeBSD -> .Fx.
2005-02-20 19:33:59 +00:00
wiz
85c561fa24
Drop superfluous .Pp.
2005-02-20 19:33:39 +00:00
wiz
0ebd8f8b30
Fix xrefs.
2005-02-20 19:30:51 +00:00
wiz
f0d89116f5
Add RCS Id.
2005-02-20 19:27:58 +00:00
christos
d48b4dc8c5
Regen.
2005-02-01 17:53:07 +00:00
christos
192f3d9e5a
Add a PAM_SOCKADDR extension so that we can pass the socket address
...
of the host we logged in from to the lastlog module.
2005-02-01 17:51:01 +00:00
christos
4f025fd3d0
Protect alarm(0) the same way we protected the other alarm calls.
...
From Dag-Erling Sm=F8rgrav
2005-02-01 13:20:25 +00:00
christos
0e59802be5
Fail closed for NetBSD. If /etc/pam.d and /etc/pam.conf are missing, then
...
return PAM_SYSTEM_ERR. This is done by checking that chains have at least
one member.
2005-01-12 01:38:23 +00:00
christos
edd9734813
Fix debugging compilation.
2005-01-08 07:58:02 +00:00
thorpej
a6336417c1
openpam_dynamic(): If the pathname provided is not an absolute pathname,
...
prepend PAM_SOPREFIX to the name before dlopen()'ing it. On NetBSD, define
PAM_SOPREFIX as "/usr/lib/security/".
2005-01-03 17:21:48 +00:00
christos
36dcc3119d
more size_t casts
2004-12-30 16:22:45 +00:00
christos
28b908ca06
add size_t casts to silence up lint where size_t is unsigned long.
2004-12-30 02:25:51 +00:00
christos
c7df97ab82
Another linted comment about empty macro decl.
2004-12-12 19:44:46 +00:00
christos
980de1e92d
s/__function__/__func__/
2004-12-12 08:29:56 +00:00
christos
80184d2e85
Add a linted comment for an unused variable
2004-12-12 08:16:41 +00:00
christos
a97ddb0609
s/__FUNCTION__/__function__/
2004-12-12 08:06:42 +00:00
christos
a2078b09d1
- link set NetBSD changes from thorpej
...
- lint silencing comments
2004-12-12 06:19:35 +00:00
christos
78a16257c7
Lint silencing comments
2004-12-12 06:18:52 +00:00
christos
3c33f5d161
- unsigned char casts for ctype macros.
...
- lint silencing comments.
2004-12-12 06:18:17 +00:00
christos
d316c2d956
Don't look in /usr/local for pam configuration files. NetBSD does not
...
have them. XXX: maybe look in /usr/pkgsrc?
Unsigned char casts for ctype macros.
2004-12-12 06:17:31 +00:00
christos
e9803b264c
prevent double-free by setting variable to NULL after it has been freed.
...
Avoids problem when shared library is not found during configuration.
2004-12-12 06:15:58 +00:00
christos
fe57a1b812
NetBSD specific link set changes.
2004-12-12 06:14:58 +00:00
christos
3c39f8e35c
- add LINTED comments.
...
- prevent alarm of negative numbers.
- size_t lint casts
- avoid shadowing of variables.
2004-12-12 06:14:06 +00:00
christos
dead717d6a
size_t cast for lint
2004-12-12 06:12:26 +00:00