Dag-Erling Smørgrav
9db21c5fd1
This one needs NO_WERROR too.
2002-04-07 12:53:58 +00:00
Dima Dorfman
21687047cf
Fix (for the second time) kvm_getprocs() for the case where no
...
processes match the given criteria. Since revision 1.60 of malloc.c,
malloc() and friends return an invalid pointer when given a size of 0.
kvm_getprocs() uses sysctl() with a NULL oldp argument to get an
initial size, but does not check whether it's 0 before passing it to
realloc() (via _kvm_realloc()). Before the aforementioned malloc()
change, this resulted in a minimal allocation made and a valid poitner
returned, but now results in an invalid, but non-NULL, pointer being
returned. When this is passed to sysctl(), the latter returns EFAULT
(as it should).
2002-04-07 04:47:58 +00:00
Dag-Erling Smørgrav
92c07aa880
Turn on NO_WERROR due to namespace pollution in krb5 headers.
2002-04-07 04:44:16 +00:00
Dag-Erling Smørgrav
111ccd256c
Aggressive cleanup of warnings + authtok-related code in preparation for
...
PAMifying passwd(1).
Sponsored by: DARPA, NAI Labs.
2002-04-06 19:30:04 +00:00
Dag-Erling Smørgrav
18006b1ab8
Disconnect pam_passwdqc for now, it has some issues that need resolving.
2002-04-06 19:25:36 +00:00
Dag-Erling Smørgrav
4004c08e79
Fix some style issues, a const warning, and abuse of PAM_ABORT.
...
Sponsored by: DARPA, NAI Labs
2002-04-06 14:25:04 +00:00
Ruslan Ermilov
dab8ffaac3
Polish previous revision.
2002-04-06 09:54:17 +00:00
Matthew Dillon
87bd4d6ceb
Fix ether_ntoa() to generate the %02x format people expect, instead of %x,
...
for the ethernet address.
MFC after: 1 day
2002-04-06 05:21:57 +00:00
Thomas Moestl
ca31253aa8
htonl() and ntohl() operate on unsinged types, so they must zero-extend,
...
not sign-extend. Fix a comment in the former to that effect, and change
the latter over to do the right conversion.
2002-04-06 00:07:15 +00:00
Dag-Erling Smørgrav
40b93e6278
Remove some duplicate free()s and add some that were missing.
...
Submitted by: tmm
2002-04-05 20:00:05 +00:00
Dag-Erling Smørgrav
f8334e0084
pam_get_pass() -> pam_get_authtok()
2002-04-05 10:49:45 +00:00
Dag-Erling Smørgrav
8f85b6caad
Upgrade to something quite close, but not identical, to version 1.6 of
...
Andrew Korty's pam_ssh. The most notable difference is that this uses
commas rather than colons to separate items in the "keyfiles" option.
Sponsored by: DARPA, NAI Labs
2002-04-04 18:45:21 +00:00
Dag-Erling Smørgrav
2b814c7ea1
Add pam_passwdqc to the build.
...
Sponsored by: DARPA, NAI Labs
2002-04-04 16:08:28 +00:00
Poul-Henning Kamp
6a263fa41d
Initial deorbit burn for the undocumented and unused d_boot[01]
...
fields of struct disklabel.
Sponsored by: DARPA and NAI Labs.
2002-04-03 15:44:53 +00:00
Hajimu UMEMOTO
3d246faa5a
When _kevent() returns with errno = EINTR and timeout is not
...
exceeded, it should be falldown to next_ns.
MFC after: 1 week
2002-04-01 16:09:45 +00:00
Kris Kennaway
3167dde2d5
Work around a gcc bug which causes zlib to dump core in certain
...
situations. This can be removed once gcc is fixed.
Submitted by: bde
2002-03-31 23:47:52 +00:00
Mark Murray
4cd0119367
Do not use __progname directly (except in [gs]etprogname(3)).
...
Also, make an internal _getprogname() that is used only inside
libc. For libc, getprogname(3) is a weak symbol in case a
function of the same name is defined in userland.
2002-03-29 22:43:43 +00:00
Josef Karthauser
7b8cfc5217
Install libusbhid, and use it instead of libusb.
...
MFC after: 6 days
2002-03-28 18:44:25 +00:00
Josef Karthauser
7793e75522
Update the documentation to reflect the change from libusb to libusbhid.
...
MFC after: 6 days
2002-03-28 18:22:33 +00:00
Josef Karthauser
5450b5b0c2
Finish the libusb.h -> libusbhid.h migration.
...
MFC after: 7 days
2002-03-28 11:42:45 +00:00
Josef Karthauser
bd819be9c6
Rename libusb.h to libusbhid.h, via a repocopy.
...
MFC after: 7 days
2002-03-28 01:42:36 +00:00
Josef Karthauser
a6402160b1
Follow NetBSD and rename libusb to libusbhid.
...
MFC after: 7 days
2002-03-27 16:07:20 +00:00
David E. O'Brien
57f8b17ed0
Embellish more.
2002-03-26 23:09:34 +00:00
David E. O'Brien
54a5fb6c94
Embellish the comment.
2002-03-26 23:08:42 +00:00
Bruce Evans
46d7c2979e
Resurrect Lite1's gamma() as C99's tgamma(). Minimal changes.
2002-03-26 11:59:29 +00:00
Bruce Evans
675902aa73
Fixed some bugs in the description of plain gamma() (and gammaf()).
...
Give a more detailed and correct history of when gamma() was actually
the gamma function.
2002-03-26 10:18:20 +00:00
Bruce Evans
6898f8c48e
Fixed some minor style bugs.
2002-03-26 09:18:09 +00:00
Bruce Evans
514a0ae7d2
Fixed some style bugs in the removal of __P(()). Some function parameter
...
lists were outdented to column 0.
2002-03-26 01:35:05 +00:00
Poul-Henning Kamp
fe681e1955
Fix grammer in comment.
...
Submitted by: Engin Gunduz <engin@ripe.net>
2002-03-25 15:55:36 +00:00
Poul-Henning Kamp
42c159fe38
Modernize my email address.
2002-03-25 14:12:49 +00:00
Poul-Henning Kamp
06229ad2af
Modernize my email address
2002-03-25 13:53:46 +00:00
Poul-Henning Kamp
aaead0dfe9
Modernize my email address.
2002-03-25 13:52:45 +00:00
Poul-Henning Kamp
adf75add2d
Modernize my email-address.
2002-03-25 13:48:53 +00:00
Dima Dorfman
e10bdff354
A break after a return is useless.
2002-03-24 08:38:21 +00:00
Dima Dorfman
3afe2c7806
Fix braino.
2002-03-24 06:30:28 +00:00
David E. O'Brien
ecaaecd7a4
Update comments. We uniformly use __FBSDID in libc now.
2002-03-23 20:08:00 +00:00
David E. O'Brien
15164b99cc
W/o __P, the internal declarations will all fit on one line.
2002-03-23 18:22:40 +00:00
David E. O'Brien
327e1e773f
Style nit.
2002-03-23 18:14:20 +00:00
David E. O'Brien
a378c419fe
Remove prototype, no other crt1.c has or needs it.
2002-03-23 18:14:04 +00:00
David E. O'Brien
d9c0a739c5
Remove these abortive MIPS bits.
2002-03-23 17:55:32 +00:00
Warner Losh
bb28f3c29b
Breath deep and take __P out of the system include files.
...
# This appears to not break X11, but I'm having problems compiling the
# glide part of the server with or without this patch, so I can't tell
# for sure.
2002-03-23 17:24:55 +00:00
David E. O'Brien
c04447ba03
Standardize on our SCM ID style.
2002-03-23 02:44:19 +00:00
David E. O'Brien
0f4f02856d
Restore CSRG ID's lost in January 1995.
2002-03-23 02:10:28 +00:00
David E. O'Brien
1114a754ed
Fix the style of the SCM ID's.
...
I believe have made all of libc .h's as consistent as possible.
2002-03-22 23:42:05 +00:00
David E. O'Brien
d3d20c8267
Fix the style of the SCM ID's.
...
I believe have made all of libc .c's as consistent as possible.
2002-03-22 23:18:37 +00:00
David E. O'Brien
74fd44fc19
Fix the style of the SCM ID's.
...
I believe have made all of libc .h's as consistent as possible.
2002-03-22 23:18:17 +00:00
David E. O'Brien
333fc21e3c
Fix the style of the SCM ID's.
...
I believe have made all of libc .c's as consistent as possible.
2002-03-22 21:53:29 +00:00
David E. O'Brien
4b74b09895
Back out last commit (rev 1.2). I thought I caught this file in time
...
when deP'ing. But I guess not.
2002-03-22 19:45:43 +00:00
Alfred Perlstein
b275d8fe48
Constify the first arg to callrpc(3).
2002-03-22 19:19:32 +00:00
Ruslan Ermilov
d848d77ad7
This library uses its own versions of some of the system headers.
...
Protect against CFLAGS having -I/usr/include listed explicitly.
The real solution would be to fix the library. XXX
2002-03-22 18:34:52 +00:00