christos
f6d9547d6f
Describe get{pw,gr}ent_r. XXX: Are they in any standards?
2005-04-04 14:19:55 +00:00
wiz
c2fd74dc8e
Remove duplicate words; grammar fix.
2005-04-04 08:19:00 +00:00
wiz
11f7061e02
Drop trailing whitespace.
2005-04-04 08:14:49 +00:00
christos
ada3b096d0
Add FreeBSD's strfmon(3). From Rui Paulo. No bump this time. Take advantage
...
of the getpwent_r bump.
2005-04-03 20:09:29 +00:00
christos
bf7832efc6
use getpwent_r
2005-04-02 06:28:10 +00:00
christos
184974e05a
PR/29849, PR/29850: Add getpwent_r and getgrent_r
2005-04-02 04:53:53 +00:00
christos
fffc26d436
Use getpwuid_r, KNF. From John Nemeth, many thanks.
2005-04-01 12:51:07 +00:00
lukem
7f46de1e4e
tweak comment reminding us about lack of reentrancy
2005-03-31 23:58:28 +00:00
christos
096c521c10
Remove the bugs section. It has been fixed.
2005-03-31 15:45:53 +00:00
thorpej
59cbc9e205
Use getpwnam_r().
2005-03-31 15:11:54 +00:00
christos
99ab3bdfc8
Fix compilation both with and without SSL. The buffer argument is different
...
type, not just the length.
2005-03-31 14:29:32 +00:00
wiz
0ef0d9cbc7
Drop trailing whitespace.
2005-03-31 11:44:26 +00:00
christos
a075f0f32c
Document the return values of the _r functions.
2005-03-31 04:17:05 +00:00
christos
ae82b1bd49
detect when this is used as a tool and don't use the _r getpw functions.
2005-03-31 00:05:02 +00:00
christos
1880024ade
mention that SIG_IGN on SIGCHLD does not produce zombies.
2005-03-30 17:09:28 +00:00
christos
5d3d04b484
use re-entrant versions of getpw*(). In libc only pwcache remains and this
...
cannot be changed easily because it involves an API change.
2005-03-30 16:12:58 +00:00
yamt
73a5d8f913
s of sack is selective, not selection. pointed by Michael Eriksson.
2005-03-30 11:09:16 +00:00
wiz
215d79769a
Add man page for wcsftime from FreeBSD.
2005-03-30 10:15:12 +00:00
christos
eb808713b7
PR/29826: J. T. Conklin: Add wcsftime(3) (from FreeBSD)
2005-03-30 03:47:11 +00:00
christos
c4e3c4d493
Don't refuse to create a hash database on 0 length files. Treat
...
them as new files the same way that the btree code does. Note that
we do the fstat() after the open() instead of re-using the previous
result of the stat() to avoid races (we open with O_EXLOCK when we care).
2005-03-29 23:37:15 +00:00
tnozaki
a3b248100e
add csmapper:CNS11643-1,2 and esdb:ISO-2022-CN,
...
integrate esdb:EUC-TW, locale:zh_TW.eucTW.
2005-03-27 22:30:05 +00:00
christos
bc0c808b3b
Don't sign extend characters when they get converted to wide characters in
...
mbtowc. Otherwise you are not going to be able to wctomb them. Added
regression test. From kim, many thanks.
2005-03-27 18:51:19 +00:00
christos
049130f10b
change some ints to size_t
2005-03-26 04:38:21 +00:00
christos
b97f63a242
Regen for OpenSSL 0.9.7f
2005-03-26 03:26:46 +00:00
christos
039caef355
bump minor.
2005-03-26 02:22:01 +00:00
christos
1adff5028c
enable FIPS.
2005-03-26 02:21:34 +00:00
christos
4d2554560d
Add fips include files, needed for compilation only. FIPS is not enabled
...
right now, but we will enable it later (adding -DOPENSSL_FIPS).
2005-03-25 20:14:40 +00:00
kleink
a6636f0f7b
Avoid lint warning after previous.
2005-03-23 08:16:53 +00:00
kleink
b9a719ae1e
Add restrict qualifiers to remaining <signal.h> function arguments.
2005-03-22 20:25:31 +00:00
kleink
98061f1fca
* Add restrict qualifiers to tdelete() function arguments.
...
* Const-poison tfind()'s rootp argument, per SVID Issue 1 and later.
2005-03-22 20:13:42 +00:00
wiz
1c3ab7213e
Wording improvements, from yamt@
2005-03-22 01:43:31 +00:00
kleink
4adfe32052
Add restrict qualifiers to function arguments (already in <semaphore.h>).
2005-03-21 21:55:08 +00:00
kleink
9cf9c2316b
Add restrict qualifiers to <pthread.h> function arguments.
2005-03-21 17:55:07 +00:00
kleink
172675479e
Only name <netdb.h> in the synopsis, like the old manual page used to.
2005-03-21 13:35:04 +00:00
kleink
53b42c4e52
Add restrict qualifiers to getaddrinfo() and getnameinfo() arguments.
2005-03-21 13:30:50 +00:00
kleink
34579587e1
Include <sys/select.h> explicitly rather than relying on other headers
...
to do it.
2005-03-21 09:00:49 +00:00
yamt
38083a97f4
update tcp.sack. noted by Hubert Feyrer.
2005-03-21 08:51:40 +00:00
christos
611fb1aa58
Make S/Key prompt compliant with RFC 2289. Patch supplied by Dave Huang
...
in PR bin/23167.
2005-03-20 16:48:47 +00:00
christos
35d638917d
PR/29738: Rui Paulo: Incorrect tok_line and tok_str declarations.
2005-03-19 17:36:02 +00:00
kleink
363c26d4ba
Interpose cancellation points in pollts() and pselect(), bringing us
...
to libc.so.12.127 and libpthread.so.0.6.
2005-03-18 11:23:44 +00:00
kleink
54e5574ccd
We have pselect(2) now; the local wrapper is no longer necessary.
2005-03-17 20:48:50 +00:00
jwise
f579845294
Lint warning police -- don't use `//' for comments in C code.
2005-03-17 17:23:21 +00:00
kleink
e9705ca517
Rename select argument to selectfn to avoid a shadowing warning.
2005-03-17 10:18:22 +00:00
christos
dbf71d82fb
remove debugging printf's
2005-03-17 01:14:40 +00:00
christos
99186ebfc8
Clear the authorization token at the entry of each loop, so that
...
we get a chance to re-enter.
2005-03-17 01:13:59 +00:00
manu
ec81f7eda5
update ipsec-tools version
2005-03-16 23:52:56 +00:00
he
733ba3e3bd
GCC 2.95.3 doesn't like macros to be called with no argument when
...
the definition has an argument. Cheesily add a 0 argument to the
srandomdev() invocation (which gets defined as null on NetBSD).
Restores our vax port to a buildable state.
2005-03-16 10:34:25 +00:00
christos
1c6d713c7d
New strcpy.S from jtc. This should have been committed together with the
...
rest of the string changes before.
2005-03-15 15:16:59 +00:00
christos
476e930172
Add missing define, needed for debugging (from Rob Rodgers)
2005-03-15 00:10:40 +00:00
christos
52ffc9e55d
remove code to deal with authorized keys. it has no place here.
2005-03-14 23:39:26 +00:00
wiz
88a7e2e28f
Remove one of two nearly duplicate words.
2005-03-14 10:36:51 +00:00
manu
b586aa59be
update ipsec-tools version
2005-03-14 08:15:28 +00:00
christos
041bcdce98
Go back to rev-1.5. This is better than what was there before, but I am
...
still uncertain about the proper way to dealing what keys to accept.
2005-03-14 05:45:48 +00:00
christos
56cc440468
Revert previous. This is not the right fix.
2005-03-14 05:40:35 +00:00
christos
adb433f9e5
Do not let keys that are not listed in authorized_keys participate
...
in authentication. Problem reported by Maximum Entropy.
2005-03-14 05:35:23 +00:00
tnozaki
6e2609d649
anonymous union between chlen and _UTF7StatePrive has
...
compilation problem with gcc295.
this union attempt to make mbsinit(3) handle multibyte state correctly,
but it's useless as far as we use utf-7 only iconv interface.
so i eliminate ctype feature.
patch contributed by Joerg Sonnenberg(who porting Citrus to DragonFlyBSD).
and yamt-san gave me advice, thanks a lot.
2005-03-14 03:43:10 +00:00
perry
1968911436
Fix stupid typo. I added memmem, not memmove.
2005-03-14 03:13:53 +00:00
perry
f4cc0f6ed6
bump for memmem(3)
2005-03-13 15:16:47 +00:00
perry
ff41832f1c
add memmem
2005-03-13 15:15:13 +00:00
perry
f7be5521ff
Add memmem(3), compatible with version in Linux
2005-03-13 14:47:02 +00:00
christos
068081ef36
Fix another _DIAGASSERT issue (Joerg Sonnenberger)
2005-03-12 04:20:30 +00:00
christos
61e7a23268
UTF8EncodingInfo is an empty struct; remove noop code and DIAGASSERT.
...
From Joerg Sonnenberger
2005-03-11 23:32:03 +00:00
ginsbach
27ff389ba6
Update standards section; add X/Open XNS and X/Open - IEEE POSIX.
...
RFC 2553 made obsolete by RFC 3493. Approved by wiz.
2005-03-11 16:13:13 +00:00
kleink
79b311d547
Crank the copyright year.
2005-03-10 19:53:22 +00:00
christos
af62817ea3
Always update the position variables before the map function is called.
...
From Rob Rodgers, thanks!
2005-03-10 19:34:46 +00:00
wiz
892987d654
End sentence with a dot. Remove trailing whitespace.
2005-03-10 16:51:42 +00:00
kleink
ebf592f1e6
Move up the definition of __LIBC12_SOURCE__; since <poll.h> now includes
...
<sys/sigtypes.h> this is needed earlier.
2005-03-10 00:34:23 +00:00
kleink
7dfdae2368
s/nil pointer/null pointer/
2005-03-10 00:31:38 +00:00
kleink
6fe0a614b5
Add pollts() prototype to <poll.h>, and update manual page synopsis for
...
pollts() header use.
2005-03-10 00:29:37 +00:00
christos
f96c72ee24
set UNBUFFERED again after you do the line callback so that the new line
...
gets refreshed.
2005-03-09 23:55:35 +00:00
christos
04a4f22437
Make sure we flush after we prepare when we are unbuffered otherwise the
...
prompt will not appear immediately.
2005-03-09 23:55:02 +00:00
kleink
7ef4223e7d
nil pointer -> null pointer
2005-03-09 22:28:52 +00:00
christos
ceb0805a9b
Add -lcrypt where -lcrypto is specified.
2005-03-09 03:11:21 +00:00
lukem
1e6ef7af3f
remove unnecessary (and possibly incorrect for non-ELF) duplicate LIBDPLIBS
2005-03-09 01:55:51 +00:00
wiz
be7db22fff
Bump date for previous.
2005-03-07 13:21:24 +00:00
tnozaki
45885f7f00
add new citrus iconv module UTF-7.
2005-03-06 04:25:04 +00:00
christos
bab13a9d96
Revert previous commit at 1.17. a maximum BSIZE of 65536 ends up stored
...
as a 0 in the page, but it is supported and it does work.
2005-03-06 03:42:14 +00:00
christos
811c70b5c5
Free the prompt response.
2005-03-05 20:33:40 +00:00
christos
a3df4155fc
PR/29566: Izumi Tsutsui: login(1) shows wrong last-login-from host
...
Caused by improper initialization of struct lastlogx. Code has been
completely restructured, and we also now use pam_prompt() instead of
printf().
cvs: ----------------------------------------------------------------------
2005-03-05 20:32:41 +00:00
kleink
1c7e2b47c4
Provide select() and pselect() prototypes in <sys/select.h>, per
...
1003.1-2001, and leave the select() prototype in <unistd.h> for
compatibility. To allow for transition, reorganization of this is
deferred until netbsd-3 gets branched.
2005-03-05 19:48:38 +00:00
tnozaki
fe05f588fb
add new citrus iconv module UTF-7.
...
thanks advice, yamt-san.
2005-03-05 18:05:14 +00:00
tnozaki
97264db5f1
correct uninitialized value `err'.
2005-03-05 17:31:03 +00:00
christos
fde63d0ea8
If authentication failed because the user was not in wheel, say so like
...
the old su did. From John Nemeth
2005-03-05 15:39:43 +00:00
dsl
8476342d19
Some more optimisations - I must stop looking at this file!
...
Update copyright to include 2005
(I have a compleetly different version, but it is only a few 100 bytes
smaller due to a 560 byte data area.)
2005-03-05 14:07:15 +00:00
dsl
3fa8666b4f
A going-over with the optimiser, save over 500 bytes.
...
I think this is enough to get rescue_tiny to fit again.
While there fix some bugs:
- %y failed to subtract 1900 from tm_year
- %p (am/pm) only worked at the end of the string
- %E% was treated at %% (ie match a % character)
regression test being added....
2005-03-04 21:41:42 +00:00
dsl
7f90294800
Re-implement in terms of fseek0()
2005-03-04 16:25:20 +00:00
dsl
28c48df97b
de __P
2005-03-04 16:04:58 +00:00
wiz
e2bc5f883e
Bump date for touchline() correction, and drop trailing whitespace.
2005-03-04 11:41:36 +00:00
blymn
fc90def939
Fixed incorrect documentation of the touchln() function. (thanks Wiz)
2005-03-04 11:15:47 +00:00
he
21b1464ae4
Build openpam_free_envlist as part of libpam, and install it's man
...
page. This is required for ports not yet supporting shared libraries.
2005-03-03 22:40:49 +00:00
kleink
25bfafbaf1
Normalize the declarations of the FD_* "functions".
2005-03-03 20:49:47 +00:00
christos
3d37b7e762
Document the no_nested option.
2005-03-03 02:11:49 +00:00
christos
fa02801fbd
- Fix the quiet option; use login_cap to determine if we should print or not.
...
- Add nested user handling, including a no_nested option to control it.
2005-03-03 02:11:40 +00:00
christos
0713fcd141
Make at least the ELF version work. crypt was broken because it was
...
compiled against the wrong headers. Now we just depend on libcrypt.
2005-03-02 01:04:21 +00:00
wiz
15a3d47d36
Improve wording of the BUGS section to make it easier to understand.
...
Ok'd by christos.
2005-02-28 15:21:25 +00:00
wiz
598792bd15
Bump date for pselect.
2005-02-28 10:42:19 +00:00
wiz
7564ea71d1
Bump date for pollts.
2005-02-28 10:42:10 +00:00
wiz
49d2a708c0
Bump date for previous. Remove trailing whitespace. Sort SEE ALSO.
...
Remove superfluous .Pp.
2005-02-28 10:34:17 +00:00
wiz
e368145667
Bump date for new SECURITY CONSIDERATIONS section.
2005-02-28 10:31:41 +00:00
lukem
a30452355d
Overhaul the use of nsdispatch(3) by public APIs so that the back-end
...
methods use va_list in a manner that is directly related to the public API.
This makes it much easier to write dynamic nsswitch backends for the
getusershell(3) (et al) functions.
Per my proposal on tech-userlevel in September 2004.
2005-02-28 02:56:28 +00:00
lukem
efd08c7b4f
Prevent NULL deref upon malloc failure.
2005-02-28 01:25:24 +00:00
christos
d747ae24a0
Document that this is broken and not used.
2005-02-28 01:25:01 +00:00
lukem
6596888aee
Restore getpwent() behaviour prior to rev 1.57; skip dodgy NIS & DNS entries
...
rather than failing with NS_UNAVAIL when encountering them.
Fixes PR 29272 by Antoine Reilles.
2005-02-28 00:40:05 +00:00
thorpej
a4e3f97482
Add a SECURITY CONSIDERATIONS section.
2005-02-27 21:33:02 +00:00
thorpej
80ea74d85d
Add a SECURITY CONSIDRATIONS section.
2005-02-27 21:32:46 +00:00
thorpej
11b55133f0
Add an S/Key PAM module.
2005-02-27 21:01:59 +00:00
nathanw
22f226cf84
Correct the order of arguments to __sigplusset() in two places to correct
...
the signal mask experienced by signal handlers in threaded programs.
Fixes regress/lib/libpthread/sigmask3.
2005-02-27 18:25:01 +00:00
christos
901ebd51aa
NetBSD does not allow setuid(user) when euid=user, and ruid=0. Change
...
the logic for setting the uid/gid/groups for the agent around and also
add error checking. I.e. Don't exec the agent, if we could not set
the proper environment for it. Add a few more debugging lines. Now ssh
authentication works through xdm.
2005-02-27 01:16:27 +00:00
christos
783ec0bc09
Remove local copy of openpam_free_envlist.
2005-02-26 22:45:52 +00:00
nathanw
916de87872
Keep the kernel updated with signal action signal masks (act.sa_mask) until
...
threads are started, since before that the traditional signal invocation
method will be used. Fixes regress/lib/libpthread/sigmask2.
2005-02-26 20:33:06 +00:00
thorpej
55d1dd0979
Place some limits on the creds acquired for password change. Other
...
minor cleanup inspired by passwd(1).
2005-02-26 18:25:28 +00:00
nathanw
1eaf7124f7
Fetch the old signal mask for the signal action whether or not we're
...
setting a new signal action; this makes sigaction(sig, NULL, &oact)
return a sensible value in the signal mask instead of stack trash.
Addresses PR lib/29536.
XXX the mask seen by signal handlers in a program linked with
libpthread but not yet multithreaded will not reflect masks set here.
2005-02-26 18:15:25 +00:00
thorpej
b41692728e
Use the more familar princ@realm style of password prompt.
2005-02-26 18:10:35 +00:00
matt
79c744210f
Build syscalls stubs for pselect and pollts. Update man pages.
2005-02-26 18:04:19 +00:00
thorpej
a2d3bf486f
Check for PAM_PRELIM_CHECK and simply do nothing. (Did this even work
...
in FreeBSD?)
2005-02-26 18:03:37 +00:00
wiz
03a04bd58b
Add article.
2005-02-26 16:37:46 +00:00
wiz
b055ab330f
Sort SEE ALSO.
2005-02-26 16:36:53 +00:00
thorpej
7331ee2083
Merge PAM20050226.
...
XXX Hack here until we import OpenPAM Feterita.
2005-02-26 16:03:58 +00:00
thorpej
4251f117ba
Merge PAM20050226.
2005-02-26 15:57:57 +00:00
wiz
cbc550d45c
Drop trailing whitespace.
2005-02-26 15:39:50 +00:00
wiz
9b82a3d7c1
Bump date for previous.
2005-02-26 15:39:23 +00:00
thorpej
28836513c3
Remove references to local_pass and nis_pass. Add description of
...
passwd_db option of the password management module.
2005-02-26 15:33:24 +00:00
thorpej
2f6bdc4a7b
Minor wording consistency nit.
2005-02-26 15:11:26 +00:00
thorpej
610505c88f
Fix a markup bug and a minor wording consistency nit.
2005-02-26 15:08:54 +00:00
thorpej
5a2161b24e
Minor wording consistency nit.
2005-02-26 15:05:25 +00:00
thorpej
9503750ce5
Oops, one more nit.
2005-02-26 15:04:52 +00:00
thorpej
5f604055a2
Minor wording consistency nit.
2005-02-26 15:04:09 +00:00
thorpej
aa2b566306
Wording consistency nits.
2005-02-26 15:02:15 +00:00
thorpej
d7bb9fc4f2
Minor wording consistency nit.
2005-02-26 14:54:25 +00:00
thorpej
0a40f744b4
Make sure to set yppwd.oldpass.
2005-02-26 02:57:32 +00:00
matt
ab963ad04b
Alphabetize main list of sources.
2005-02-25 21:51:10 +00:00
christos
4274cae273
Don't try to build PIC stuff if we cannot do PIC.
2005-02-25 18:26:00 +00:00
manu
34ec7ca0bb
update ipsec-tools version
2005-02-24 20:56:19 +00:00
manu
be15b99c92
Define SADB_X_EALG_AESCBC=SADB_X_EALG_AES, as we define SADB_X_EALG_AES
...
in <net/pfkeyv2.h> while ipsec-tools uses SADB_X_EALG_AESCBC in the code.
2005-02-24 13:45:08 +00:00
manu
da4d1abb40
bump ipsec-tools package version
2005-02-23 15:27:09 +00:00
he
738be40c8f
Make conversions from unsigned long to int explicit via casts,
...
rather than imiplicit, which causes lint heart burn ("conversion
from 'unsigned long' to 'int' may lose accuracy).
2005-02-20 23:59:31 +00:00
wiz
9086769d81
Fix Xref.
2005-02-20 19:39:09 +00:00
wiz
1d07a19af1
<> -> \*[Lt]\*[Gt].
2005-02-20 19:38:01 +00:00
wiz
b57f6d2615
Sort SEE ALSO.
2005-02-20 19:37:30 +00:00
christos
03b16f4fe5
Put back exit on warning for lint.
2005-02-20 17:06:33 +00:00
christos
595789382e
Fix lint on 64 bit machines.
2005-02-20 17:06:16 +00:00
martin
bf9e950197
This needs work to pass lint - whic I'm not going to invest.
...
Make lint not treat warnings as errors.
2005-02-20 16:20:36 +00:00
wiz
fb1b5900a0
Remove duplicate .Pp. XXX: References non-existing rad_config(3).
2005-02-20 01:02:07 +00:00
manu
00b13c7897
Build libradius, imported from FreeBSD
2005-02-20 00:52:02 +00:00
christos
6683368b82
Add pam_radius.
2005-02-20 00:37:49 +00:00
christos
ccb28c34b3
Get rid of liblibradius; hi manu.
2005-02-20 00:36:47 +00:00
christos
23d6637ce7
Oops, include dir.
2005-02-20 00:32:18 +00:00
christos
28074938ee
Add include files.
2005-02-20 00:31:01 +00:00
christos
476ca6e1f0
Pass lint and WARNS=3
2005-02-20 00:28:20 +00:00
manu
8809553739
Import FreeBSD's libradius as of 2005/02/20, plus minor tweaks to build
...
o nNetBSD and a Makefile for NetBSD.
2005-02-19 23:56:30 +00:00