Commit Graph

74636 Commits

Author SHA1 Message Date
dd
1a506b7f47 sysctl -w -> sysctl 2002-05-11 06:06:11 +00:00
dd
65ea494ab5 sysctl -w -> sysctl
Approved by:	ume
2002-05-11 05:55:05 +00:00
dd
83b30c61bf Beware the log demon! (Fix typo: s/demon/daemon/)
Submitted by:	zhuravlev alexander <zaa@ulstu.ru>
2002-05-11 05:16:02 +00:00
obrien
6ffd9aaeaa Sorry, I did not mean to turn collect2 back on yet. 2002-05-11 04:51:45 +00:00
alfred
00909002b6 Fix warnings by commenting out text after #else/#endif. 2002-05-11 04:40:13 +00:00
jhb
a2929176d9 Temporarily disable Jeff's fix for atomic_cmpset_32() to zero-extend the
value we load from memory.  gcc3.1 passes in the u_int32_t old value to
compare against as a _sign_-extended 64-bit value for some reason (bug?).
This is a temporary workaround so kernels work again on alpha.
2002-05-11 04:27:39 +00:00
alfred
c94931edf3 replace __FUNCTION__ with standardized __func__.
Requested by: jhb
2002-05-11 04:17:55 +00:00
alfred
df59877e64 unbreak build: fix multi-line string literal 2002-05-11 04:10:49 +00:00
alfred
c15786f489 As a temporary bandaid disable '__printf0like' unconditionally, it
doesn't seem to work under gcc 3.1 yet.

We are now 'WERROR' safe again.
2002-05-11 03:58:24 +00:00
alfred
f42c92628a unbreak build: ditch multi-line string literals 2002-05-11 03:54:21 +00:00
alfred
7be446ee1c fix build:
you may not use string concatination with __FUNCTION__, replace all occurances
of:
__FUNCTION__ ": error string"
with:
"%s: error string"
2002-05-11 03:48:49 +00:00
brian
02509bfc4b NetBSD keeps des.h in /usr/include/openssl these days 2002-05-11 03:47:15 +00:00
alfred
1481568735 unbreak build:
K&R style main() makes gcc emit a warning about missing prototypes so
switch to ANSI.
2002-05-11 03:29:04 +00:00
alfred
ab796ae7fb unbreak build:
commands.c, sys_bsd.c: comment out/remove junk after #endif/#else
network.c, terminal.c, utlities.c: include stdlib.h for exit(3)
2002-05-11 03:19:44 +00:00
jedgar
7a96d67f52 #include <stdlib.h> for exit(3) prototype. 2002-05-11 03:18:14 +00:00
jedgar
47acb76e7c Add semicolon to empty default case to silence warning. 2002-05-11 03:12:02 +00:00
wollman
a04093f9b6 EXPR_COMPAT should imply -e, since there is no way to specify it otherwise,
and -e reflects the historic behavior of FreeBSD's expr.
2002-05-11 03:08:12 +00:00
alfred
9605f078e0 unbreak build: include string.h for strcmp prototype. 2002-05-11 03:07:38 +00:00
jhb
847fe64c07 Add a dummy cleandir target to the kernel section so that make buildkernel
actually works on a kernel config with NO_MODULES set.
2002-05-11 02:25:02 +00:00
brian
1b3e4e9ad4 Mention the other RAS_PORT_TYPEs from rfc2865
Suggested by: "lsz8425" <lsz8425@mail.cd.hn.cn>
2002-05-11 01:27:27 +00:00
alfred
2864dba864 while i'm breaking stuff, use __dead2 instead of GCC specific __attribute__. 2002-05-11 01:25:54 +00:00
alfred
2f75a283e0 backout additional include of cdefs.h, it's not helping any. 2002-05-11 01:24:39 +00:00
alfred
83d76dffe1 include cdefs.h for __printf0like to silence warning. 2002-05-11 00:54:33 +00:00
jedgar
818f9c0a64 Add semicolon to empty default case to silence warning. 2002-05-11 00:45:01 +00:00
obrien
a8e2e6d6bb Localize the version number at the request of the GCC developers. 2002-05-11 00:25:50 +00:00
alfred
c4d4a5fa12 Add semicolon to empty default case to silence warning. 2002-05-11 00:21:00 +00:00
obrien
b900b2ab4e Revert rev 1.3 -- I tested using the wrong build compiler. 2002-05-11 00:15:45 +00:00
obrien
aaf4b41b86 Actually we don't need any special YACC'ing here. The ones known to
Bmake are fine.
2002-05-10 23:20:54 +00:00
wollman
e11cb46ee8 The response to my POSIX interpretation request says that `expr'
is required to be oblivious to overflow and to use the data type `long'.
(Division by zero is undefined in ISO C so it's still OK to check for it
here.)  Add a new `-e' flag to get the old, more useful behavior.
2002-05-10 22:59:29 +00:00
obrien
6cd7fcea88 Note potential cvs update problem in contrib/gcc. 2002-05-10 22:56:59 +00:00
des
d0e527bb11 This commit was generated by cvs2svn to compensate for changes in r96364,
which included commits to RCS files with non-trunk default branches.
2002-05-10 22:03:19 +00:00
des
d5f591c3ab Add missing include (perforce change 11137) 2002-05-10 22:03:19 +00:00
obrien
d81b5e34df BWK awk appears to work for world builds just fine now. We want to make
sparc64 the same as the other platforms -- so do it by moving the other
platforms toward the sparc64.
2002-05-10 20:36:21 +00:00
obrien
f4aad0fe00 Add tweaks needed when using as the system compiler. 2002-05-10 19:05:07 +00:00
joerg
12e1531e59 Change the PIO loops from a hard counter into a loop that calls DELAY()
in each cycle, with a tunable max cycle count defined in fdreg.h.

This is said to fix the problem on some Compaq hardware (and perhaps
on other machines using the Natsemi PC87317 chip) where the fdc(4)
driver failed to operate at all.

PR:		kern/21397
Submitted by:	Jung-uk Kim <jkim@niksun.com>
MFC after:	3 days
2002-05-10 17:56:39 +00:00
obrien
525421bc1c Touching the sjlj setting on IA-64 makes things not build.
Submitted by:	peter
2002-05-10 17:42:19 +00:00
obrien
af22093650 Build compiler on all platforms. 2002-05-10 17:30:42 +00:00
obrien
f5e737107a Doh! Add IA-64 to our target list. 2002-05-10 17:23:04 +00:00
gallatin
2c68741e42 Remove ## concatination in the CFGREAD and CFGWRITE macros, as gcc3 complains
about them & they are not needed.  Same fix as to tsunami_pci.c.
(not surprising, as this code was cut and pasted from there when I wrote it).
2002-05-10 16:56:14 +00:00
mux
5bb8b3f421 Fix several bugs in devfs_lookupx(). When we check the nameiop to
make sure it's a correct operation for devfs, do it only in the
ISLASTCN case.  If we don't, we are assuming that the final file will
be in devfs, which is not true if another partition is mounted on top
of devfs or with special filenames (like /dev/net/../../foo).

Reviewed by:	phk
2002-05-10 15:41:14 +00:00
jhb
4a83d37d75 p_leader is only set at fork1() time, so update its locking note
appropriately.
2002-05-10 14:28:05 +00:00
benno
1e4d740de8 Implement the following functions:
- pmap_addr_hint
- pmap_change_wiring
- pmap_extract
- pmap_is_modified
2002-05-10 14:21:48 +00:00
benno
6950bc7f5b Install the system call trap handler. 2002-05-10 14:19:44 +00:00
ru
75c39d9e5c xargs.c,v 1.33 broke the upgrade path from old versions of 4.x and 5.0. 2002-05-10 13:06:34 +00:00
peter
63e16b5a37 Avoid casting a different sized integer to a pointer on LP64 systems. 2002-05-10 12:50:59 +00:00
joerg
8dc69a6709 Fix a misplaced break statement within a switch that accidentally made
it into an "#ifdef INET6" block.  This caused a (harmless but annoying)
EINVAL return value to be sent even though the operation completed
successfully.

PR:		kern/37786
Submitted by:	Ari Suutari <ari.suutari@syncrontech.com>,David Malone <dwmalone@maths.tcd.ie>
MFC after:	1 day
2002-05-10 12:48:09 +00:00
gj
ae16f85e56 Fix a problem which could cause some machines to hang after a warm boot.
This should be in 4.6.

Submitted by:	Ari Suutari <ari.suutari@syncrontech.com>
2002-05-10 12:04:04 +00:00
tg
762262ae8b Cast the uc_mcontext member to regcontext *, not the whole ucontext_t.
PR:		35449
Submitted by:	Stefan Farfeleder <e0026813@stud3.tuwien.ac.at>
2002-05-10 10:40:46 +00:00
tg
bfd97fab25 Fix wrong bitmask. 2002-05-10 10:37:57 +00:00
obrien
2991bb5869 Gather up the stragglers that depends on genrtl.h. This is -j10 safe now. 2002-05-10 10:21:19 +00:00