Commit Graph

28597 Commits

Author SHA1 Message Date
John Birrell
f7de97bc00 Make a bit of FreeBSD-specific code a bit more specific => i386 only. 1998-05-13 22:55:44 +00:00
John Birrell
d788c4fb65 libtcl now builds (with lots of pointer to int cast warnings) on alpha. 1998-05-13 22:54:03 +00:00
John Birrell
d57ddeeb63 libtcl expects to see ieeefp.h definitions through this header. 1998-05-13 22:40:42 +00:00
Justin T. Gibbs
3d5729017c Fix bogus "cleanup" in bufq_remove. The "switch point" for tqdisksort was
getting mangled.

Submitted by:	Bruce Evans <bde@zeta.org.au>
1998-05-13 16:03:33 +00:00
Jordan K. Hubbard
ea66042212 Name cronyx devices correctly. 1998-05-13 12:38:26 +00:00
KATO Takenori
cd0ab95415 Sync with sys/i386/isa/sio.c revision 1.201. 1998-05-13 10:42:36 +00:00
KATO Takenori
2b4c22da51 Sync with sys/i386/conf/majors.i386 revision 1.41. 1998-05-13 10:40:32 +00:00
Poul-Henning Kamp
f06a8de3a8 FreeBSD -> %s/%m
PR:		6600
Reviewed by:	phk
Submitted by:	Josh Gilliam <josh@quick.net>
1998-05-13 08:10:07 +00:00
Poul-Henning Kamp
777558c3ce The SYNOPSYS of mount_umap(8) says
mount_umap [-o options] target mount-point uid-mapfile gid-mapfile

This should read

     mount_umap [-o options] -u uid-mapfile -g gid-mapfile target mount-point

PR:		6586
Reviewed by:	phk
Submitted by:	Amakawa Shuhei amakawa@hoh.t.u-tokyo.ac.jp
1998-05-13 08:02:50 +00:00
Poul-Henning Kamp
bc345ec5bf The description of the format of the id mapfile is wrong. You have
to write an original-id and a local-id in the other way around.

PR:		6593
Reviewed by:	phk
Submitted by:	Amakawa Shuhei <amakawa@hoh.t.u-tokyo.ac.jp>
1998-05-13 08:01:00 +00:00
Poul-Henning Kamp
84717b42e8 .Sh ENVIRONMENT VARIABLES -> .Sh ENVIRONMENT
PR:		6599
Reviewed by:	phk
Submitted by:	Josh Gilliam <josh@quick.net>
1998-05-13 07:57:49 +00:00
Peter Wemm
e4a57cb44a Add missing arg to vget().. Serves me right for committing a 2.2 patch to
-current without testing it there.. :-(

Submitted by: Michael Hancock <michaelh@cet.co.jp>
1998-05-13 07:49:08 +00:00
Philippe Charnier
61c9c5ebee Correct use of .Nm. Add rcsid. 1998-05-13 07:47:35 +00:00
Philippe Charnier
15638d89b5 Correct use of .Nm. 1998-05-13 07:43:56 +00:00
Philippe Charnier
00c2adfe12 Convert to mdoc. 1998-05-13 07:41:13 +00:00
Philippe Charnier
95d0bf6556 Correct use of .Nm. Add rcsid. 1998-05-13 07:39:11 +00:00
Philippe Charnier
d072138a0a Correct use of .Nm. 1998-05-13 07:35:44 +00:00
Philippe Charnier
1ba0e048a2 Restore Lite-2 sccsid. Restore include of sys/types.h. 1998-05-13 07:33:54 +00:00
Philippe Charnier
574d120677 Restore Lite-2 sccsid. Restore include of sys/param.h. 1998-05-13 07:31:42 +00:00
Philippe Charnier
91ac062612 Restore include of sys/types.h and sys/param.h. 1998-05-13 07:29:15 +00:00
Poul-Henning Kamp
bdb8446393 The PnP code in 2.2.6 detects the Motorola ModemSurfer 56K,
but doesn't do much of anything with it.  I added it to siopnp_ids[]
and it was found and recognized as a serial port.

PR:		6605
Reviewed by:	phk
Submitted by:	Dave Marquardt <marquard@zilker.net>
1998-05-13 07:26:55 +00:00
Philippe Charnier
c194af34bd Restore Lite-2 sccsid. 1998-05-13 07:25:17 +00:00
Philippe Charnier
d4e2eddf9d Restore original Lite-2 sccsid. Restore include of sys/types.h. 1998-05-13 07:22:11 +00:00
Philippe Charnier
930ab418d3 Do not remove include of <sys/param.h> and <sys/types.h>. They should
be here before including almost any POSIX header.
Requested by:	Bruce
1998-05-13 07:19:45 +00:00
Philippe Charnier
12f93eb9b1 Restore Lite2 sccsids by removing `const'. Improve documentation a little.
Suggested by:	Bruce
1998-05-13 07:16:37 +00:00
John Birrell
ef1c4c53f4 The printf type checking in gcc wants %qd to be a long long, so add
a cast in case off_t is not a long long (as on alpha).
1998-05-13 06:52:08 +00:00
John Birrell
84cc0c31af Make -Werror i386 specific because -nostinc on alpha spits warnings
for unused static inline functions in header files.
1998-05-13 06:50:09 +00:00
Peter Wemm
1d1099369a Delete the #if 0 (nearly) duplicate definitions of nfsproto.h. Having
these two files that are almost-but-not-quite the same leads to false grep
hits, confusion etc.

Only installing one copy with a symlink would be nice but that doesn't
work with SHARED=symlinks (it changes the source tree).
1998-05-13 06:40:56 +00:00
Peter Wemm
9733f8ee44 Hold a reference to the vnode during the sillyrename cleanup. If we block
in nfs_vinvalbuf() or the nfs_removeit(), we can have the nfsnode reallocated
from underneath us (eg: replaced by a ufs 'struct inode') which can cause
disk corruption ('freeing free block' when di_db[5] gets trashed).
This is not a cheap fix, but it'll do until the nfsnodes get reference
counting and/or locking.

Apparently NetBSD have a similar fix (apparently from BSDI).

I wish all PR's had this much useful detail. :-)

PR: 6611
Submitted by: Stephen Clawson <sclawson@marker.cs.utah.edu>
1998-05-13 06:10:13 +00:00
John Birrell
c021a0a9d0 Fix broken (at least on alpha, but probably on i386 too) code which
is supposed to walk an arry of character pointers, not an array of
characters.
1998-05-13 05:50:42 +00:00
Peter Wemm
3b5745a500 Move the *vpp initialization earlier so that it's set in all error cases.
This should stop the 'panic: leaf should not be empty' nfs panic.

PR: 1856
Submitted by: msaitoh@spa.is.uec.ac.jp
1998-05-13 05:47:09 +00:00
John Birrell
36d15cd4fb Add perl to the list of build tools because it is needed to build the
perl-related directories (like x2p which generates the perl headers).
1998-05-12 23:11:58 +00:00
John Birrell
2abfb02abe perl now works on alpha.
This just leaves gdb to be configured for alpha.
1998-05-12 23:09:36 +00:00
John Birrell
f8fc1eb94b This code casts double -> int -> char *. Ugh. Take a punt and change the
int to a long so that no bits are thrown away on alpha and hope for
the best.
1998-05-12 23:07:07 +00:00
John Birrell
3ef29d3bf0 Change a cast of long * to time_t * in a call to time(); 1998-05-12 23:03:50 +00:00
John Birrell
4baa8a70b5 Allow the makefile to choose the perl executable to run h2ph rather
than relying on the #!/usr/bin/perl in the first line of the script.
1998-05-12 23:02:14 +00:00
John Birrell
ecf85f0379 If perl exists in OBJDIR it has just been built; if it exists in
CURDIR it has been built without an obj directory; however if it is in
neither of those places, we expect it to be in DESTDIR.

Yes Bruce, I know this is broken because the host is not supposed to be
the same as the target, but we need to get the hosted build working
properly first before even attempting a cross compiled operating
system build. That will need to concept of TOOLSDIR or something that
can be mapped to DESTDIR in the case of a hosted build and set to the
installed tools in a cross compiled build. Later, later, later!
1998-05-12 22:51:34 +00:00
John Birrell
b0c3b27388 Change .if to .elif to prevent the current directory path search for a
perl executable from overriding the object directory path search where
perl is most likely to be. Most people haven't seen this because it
defaulted to /usr/bin/perl which might be OK as a fallback, but when
bootstrapping a new version (or the *first* version on alpha), we don't
really want to use /usr/bin/perl.
1998-05-12 22:32:03 +00:00
John Birrell
266f0ba434 awk and groff (et al) now work on alpha as the result of library
fixes.
1998-05-12 21:07:45 +00:00
John Birrell
417a2ea72c Build awk and groff with build tools now. 1998-05-12 21:04:53 +00:00
John Dyson
cfa5644b2b Some temporary fixes to SMP to make it more scheduling and signal friendly.
This is a result of discussions on the mailing lists.  Kudos to those who
have found the issue and created work-arounds.  I have chosen Tor's fix
for now, before we can all work the issue more completely.
Submitted by:		Tor Egge
1998-05-12 18:37:10 +00:00
John Dyson
471176aa5d Fix alot of silly LINT that I left in the code. 1998-05-12 18:28:05 +00:00
Bruce Evans
b322fb5d76 Backed out previous commit. It is invalid to call d_ioctl() on
possibly non-open devices, and we don't want to restrict dumping
to swap devices anwyay.  It is especially invalid to call d_ioctl()
in non-process context for panics.  d_psize() can be called on
non-open devices, at least on non-SLICED ones that support d_dump(),
and setdumpdev() has depended on this for a long time although it
is probably wrong, but even d_psize() can't be called in non-process
context - that's why dumpsys() depends on previously computed values
although these values may be stale.  The historical restriction to
devices with dkpart(dev) == SWAP_PART should go away.
1998-05-12 17:34:02 +00:00
Jordan K. Hubbard
56700fcbe6 Reserve major number 99 for vak's cronyx/tau serial driver. 1998-05-12 17:03:24 +00:00
Bruce Evans
e7c80443b4 Don't attempt to read process context from the kernel when (the
kernel's) curproc is null.  This fixes endless recursion in
xfer_umem() for attempts to read from user addresses, in particular
for attempts to read %fs and %gs from the pcb for `info reg'.
1998-05-12 16:49:13 +00:00
Wolfram Schneider
12e553e059 Add upcoming NetBSD 1.3.2
Submitted by: Sune Stjerneby <stjerneby@usa.net>
1998-05-12 14:33:37 +00:00
Wolfram Schneider
43721e3d1d Some commands are shell builtins. Execute the builtins by the shell
and not directly by make(1).

PR: bin/6550
Submitted by: Theo de Raadt <deraadt@cvs.openbsd.org & wosch
1998-05-12 11:54:12 +00:00
Masafumi Max NAKANE
b5d6d28e62 Give a reasonable default value (-p /var/run/xntpd.pid) to xntpd_flags. 1998-05-12 10:50:46 +00:00
KATO Takenori
fd9cfd28fd Sync with sys/i386/isa/wd.c revision 1.167. 1998-05-12 09:32:19 +00:00
KATO Takenori
150bac3199 Sync with sys/i386/conf/options.i386 revision 1.78. 1998-05-12 09:31:44 +00:00