99654 Commits

Author SHA1 Message Date
ache
d14f8bf4c1 Remove unneded files 2004-02-17 01:51:07 +00:00
ache
006d901b64 Remove getopt*.c, we already have compatible getopt_long() in libc 2004-02-17 01:49:20 +00:00
ache
fe43b1b62c Remove unneded files 2004-02-17 01:41:49 +00:00
ache
5d3921b341 Remove getopt*.c, we already have compatible getopt_long() in libc 2004-02-17 01:40:25 +00:00
ache
3242540820 Remove getopt*.c, we already have compatible getopt_long() in libc 2004-02-17 01:34:53 +00:00
ache
9225004184 Remove files no longer needed 2004-02-17 01:20:41 +00:00
ache
206ef758b5 Remove files no longer needed 2004-02-17 01:10:29 +00:00
ache
25de2674ca Remove getopt*.c, we already have compatible getopt_long() in libc 2004-02-17 01:08:34 +00:00
ache
899cb00eb1 Remove files no longer needed 2004-02-17 01:04:18 +00:00
ache
5c61a40f90 Remove getopt*.c, we already have getopt_long() in libc 2004-02-17 00:56:16 +00:00
ache
164b34122a getopt_long() returned 0 (i.e. long options) case not handled, add it
(symptom: "bc --quiet" not works while "bc -q" works)
2004-02-17 00:53:50 +00:00
alfred
3ae5306cbc The callrpc call to unmonitor hosts was passing the wrong xdr
decode/encode functions for the arguments to the statd unmonitor
call.  Fix it.
2004-02-17 00:13:59 +00:00
ache
6fd2831bd0 Remove old explicit -I${DESTDIR}/usr/include/readline
it is no longer needed
2004-02-17 00:06:33 +00:00
obrien
aa6fd8453d Fix the AMD64 build: this file shouldn't exist. 2004-02-16 23:47:02 +00:00
ache
34c0340ed8 Switch back to regex.h 2004-02-16 23:46:39 +00:00
ache
2e70610668 Formally switch back to regex.h (not sure it ever needed here - libgnuregex
is not used)
2004-02-16 23:38:37 +00:00
ache
7c2c6064f7 Switch back to regex.h and fix error when mismatched regex.h used with
system libgnuregex
2004-02-16 23:25:49 +00:00
le
6132c8b55e Remove some more 'makedev' related macros.
Approved by:     grog (mentor)
2004-02-16 23:14:13 +00:00
le
3865a73090 Also remove "makedev" from the online help. 2004-02-16 23:04:52 +00:00
ache
d034a2d7ec Remove files no longer needed
Switch back to regex.h
2004-02-16 22:56:36 +00:00
ache
24f49b8cb4 1) Remove files no longer needed.
2) Switch back to regex.h
2004-02-16 22:43:05 +00:00
ache
cfdb373e76 Install regex.h under include/gnu 2004-02-16 22:32:13 +00:00
ache
699c9560d0 Add "gnu" to the list of subdirs 2004-02-16 22:23:34 +00:00
bms
2b958c2272 Shorten the name of the socket option used to enable TCP-MD5 packet
treatment.

Submitted by:	Vincent Jardin
2004-02-16 22:21:16 +00:00
des
00e29c835f Back out previous commit due to objections. 2004-02-16 21:36:59 +00:00
des
cc76e7c5a3 Back out previous commit; it doesn't seem to do what I thought it does. 2004-02-16 21:31:14 +00:00
obrien
80b83a9bd6 Increase the size of MSGBUF_SIZE if booted with -v. 2004-02-16 20:42:11 +00:00
gad
80b725fa15 Add a 'realclean' target, which simply and quickly removes everything
that was built in previous 'make buildworld' and 'make buildkernel'.  The
target knows enough to run a 'chflags -R 0' and a second 'rm' if the first
'rm' ran into any errors while removing files.

Suggested by:	email with Richard Coleman Re: upcoming 64b-time_t changes.
Reviewed by:	imp, marcel, and others on -hackers
MFC after:	1 week
2004-02-16 20:18:25 +00:00
des
bc27cba087 Remove -Wbad-function-cast. Its main purpose is to catch bugs that we
already catch with -Wstrict-prototypes, and it causes spurious warnings
for some perfectly legitimate constructs.
2004-02-16 20:07:06 +00:00
des
b5f599aa9c Document the change in M_WAITOK semantics. 2004-02-16 18:46:16 +00:00
des
26a38784fb Don't panic if we fail to satisfy an M_WAITOK request; return 0 instead.
The calling code will either handle that gracefully or cause a page fault.
2004-02-16 18:41:58 +00:00
des
177497ee85 Don't bother storing a result when all you need are the side effects. 2004-02-16 18:38:46 +00:00
des
a83d6c2db4 Avoid code duplication on platforms where int and long are the same size. 2004-02-16 18:37:00 +00:00
des
e54c8a0746 Random style fixes and a comment update. No functional changes. 2004-02-16 18:19:15 +00:00
ume
1cfd0c3b38 correct function name in comment.
Submitted by:	"Bjoern A. Zeeb" <bzeeb+freebsd@zabbadoz.net>
2004-02-16 18:07:53 +00:00
mjacob
23f27f388b We aren't D_TAPE. We aren't anything. The reasons why this was ever set
at all is lost in the mists of time.
2004-02-16 17:43:57 +00:00
guido
349bb30cb9 Fix type in a sysctl. It used to be: net.key.prefered_oldsa
and is corrected to net.key.preferred_oldsa
This makes it consistent with the KAME IPsec implementation.

Approved by:	sam
2004-02-16 17:09:53 +00:00
ume
a9d87abe7e don't update outgoing ifp, if ipsec tunnel mode encapsulation
was not made.

Obtained from:	KAME
2004-02-16 17:05:06 +00:00
ume
e0e9092c44 nuke unused functions.
Submitted by:	"Bjoern A. Zeeb" <bzeeb+freebsd@zabbadoz.net>
2004-02-16 17:02:44 +00:00
ume
c4c2d3b635 we don't need to include ipsec.h.
Submitted by:	"Bjoern A. Zeeb" <bzeeb+freebsd@zabbadoz.net>
2004-02-16 16:58:48 +00:00
bms
5770e21ae7 Spell types consistently throughout this file. Do not use the __packed attribute, as we are often #include'd from userland without <sys/cdefs.h> in front of us, and it is not strictly necessary.
Noticed by:	Sascha Blank
2004-02-16 14:40:56 +00:00
das
8c6bf9351e Don't pass a pointer to a 'long' to a function that expects an 'int *'.
Submitted by:	Roop Nanuwa <roop@hqst.com>
PR:		62615
2004-02-16 10:03:44 +00:00
das
d6261f9b0e Remove the code and an associated comment for gcc 1.x compatibility
and fix a typo in the !__GNUC__ case.
2004-02-16 10:03:02 +00:00
das
d7b9eca798 Fix a typo in the !__GNUC__ case and remove an obsolete comment. 2004-02-16 10:02:51 +00:00
das
0a50563417 Fix some aliasing problems. 2004-02-16 10:02:40 +00:00
le
3d4d791def Since DEVFS is mandatory, remove all instances to make_dev*. Keep the
"makedev" command for backwards compatibility, but just print out an
informational message (this was the current behaviour, anyway) and remove
it from the documentation.

Approved by:     grog (mentor)
2004-02-16 09:23:59 +00:00
simokawa
24775302eb - Clean up global data.
- Force dcons to be the high-level console after dcons_crom
	has been attached.
- Add a tunable to be the high-level console.
2004-02-16 07:25:46 +00:00
alc
600caa157e Correct a long-standing race condition in vm_contig_launder() that could
result in a panic "vm_page_cache: caching a dirty page, ...": Access to the
page must be restricted or removed before calling vm_page_cache().  This
race condition is identical in nature to that which was addressed by
vm_pageout.c's revision 1.251 and vm_page.c's revision 1.275.

MFC after:	7 days
2004-02-16 03:43:57 +00:00
wpaul
1e2ef501f0 More cleanups/fixes for the AMD Am1771 driver:
- When adding new waiting threads to the waitlist for an object,
  use INSERT_LIST_TAIL() instead of INSERT_LIST_HEAD() so that new
  waiters go at the end of the list instead of the beginning. When we
  wake up a synchronization object, only the first waiter is awakened,
  and this needs to be the first thread that actually waited on the object.

- Correct missing semicolon in INSERT_LIST_TAIL() macro.

- Implement lookaside lists correctly. Note that the Am1771 driver
  uses lookaside lists to manage shared memory (i.e. DMAable) buffers
  by specifying its own alloc and free routines. The Microsoft documentation
  says you should avoid doing this, but apparently this did not deter
  the developers at AMD from doing it anyway.

With these changes (which are the result of two straight days of almost
non-stop debugging), I think I finally have the object/thread handling
semantics implemented correctly. The Am1771 driver no longer crashes
unexpectedly during association or bringing the interface up.
2004-02-16 02:50:03 +00:00
dwmalone
36469a7a4c Fix some WARNS:
1) Remove some unused variables.
2) Mark some things aas static or __unused.
3) Cast to make sure we're comparing the same types.
2004-02-15 22:48:25 +00:00