Commit graph

18432 commits

Author SHA1 Message Date
KATO Takenori af4342c037 Staticize the functions rtc_inb, rtc_outb, rtc_serialcombit, and
rtc_serialcom.  These functions are only used by PC98.
1997-01-10 17:11:09 +00:00
Poul-Henning Kamp ceb85496fa kern/2433: Multiple AHA1542 scsi controllers don't work
Reviewed by:	phk
Submitted by:	Virgil Champlin <champlin@pa.dec.com>
1997-01-10 08:45:55 +00:00
Nate Williams 11f1a97fce The 2.2-Beta version doesn't have the brackets after the if statement.
This has the effect of making every link a "passthrough" which means the
TCP or UDP port won't be freed after link deletion -- so there could be
eventual port exhaustion if the program were allowed to operate long
enough.

Submitted by:	Charles Mott <cmott@srv.net>
1997-01-10 08:32:05 +00:00
Warner Losh 99c02d39bc Fix many buffer overruns in the code. Specifically, disallow ExpandString
to be used to expand things beyond the size of the buffer passed in.  Also
do a general cleanup of sprintf -> snprintf as well as strcpy and strncat
safety.  Also expand some buffers to allow for the largest possible data
that might be used.

This is a 2.2 candidate.  However, it needs to be vetted on -current
since little testing has been done on this due to my lack of PPP on
this machine.

Reviewed by:	Jordan Hubbard, Peter Wemm, Guido van Rooij
1997-01-10 07:53:28 +00:00
Mike Pritchard 77776eccf6 Get rid of all those annoying warnings when making the
handbook.  Closes PR# 2375.

Submitted by:	William Lloyd <wlloyd@mpd.ca>
1997-01-10 07:46:56 +00:00
Mike Pritchard 576821edfc Various changes submitted by the original author.
Closes PR# 2372.

Reviewed by:	The spelling police
Submitted by:	William Lloyd <wlloyd@mpd.ca>
1997-01-10 07:02:43 +00:00
KATO Takenori be832e6c07 Synchronize with sys/i386/isa/ft.c revision 1.29 (fix ft driver
panics).
1997-01-10 06:50:47 +00:00
Mike Pritchard 34cf430230 Add a man page for mixer(8). 1997-01-10 06:33:13 +00:00
Mike Pritchard 01d5b65c75 Add a man page for linux(8) (loads the Linux emulator kernel module). 1997-01-10 05:48:50 +00:00
Masafumi Max NAKANE 36219e1a16 Merge the en version change made in 1.14 -> 1.15. 1997-01-10 05:35:43 +00:00
Mike Pritchard a3e3d6b076 Fix some spelling errors. 1997-01-10 05:29:15 +00:00
Bruce Evans 5d2c7b5b1f Fixed DPADD (don't put -L in it). 1997-01-10 05:24:55 +00:00
Bruce Evans 248e6ea0a3 Oops, the last change added an extra ${LIBSCRYPT} to ${DPADD}, but
it should have reordered the existing one (so that ${DPADD} can be
compared with ${LDADD}).

Use ${} consistently.
1997-01-10 05:18:23 +00:00
Bruce Evans 7afeece433 Use ${} consistently. 1997-01-10 05:18:02 +00:00
Bruce Evans 8f1ab0d02b Removed stray DPADD. 1997-01-10 05:08:25 +00:00
Mike Pritchard 28e678762b Change an incorrect path name.
Submitted by:	Sean Kelly
1997-01-10 05:04:49 +00:00
John Dyson c0b89506ba Fix CCD for bounced devices. 1997-01-10 04:09:13 +00:00
John Polstra 775f9cd54d For "ldd -v", print shared object dependencies that were specified as
pathnames (rather than as "-lfoo") correctly.
Closes PR bin/2404.
1997-01-10 02:51:00 +00:00
Paul Traina 9c1fc5f52b Clean up imap 1997-01-10 02:42:14 +00:00
Andrey A. Chernov 0743315ba6 Make 'skey' command visible through 'help' 1997-01-10 00:29:00 +00:00
Andrey A. Chernov 914860e874 Use -DSKEY instead of wrong -DPATH_SKEY 1997-01-10 00:27:50 +00:00
Garrett Wollman 97d1e20ef9 If the RTM_NEWMADDR and RTM_DELMADDR messages are defined
(in <net/route.h>), then interpret them appropriately.  This has
no effect until I commit the changes to multicast group
management (awaiting review).
1997-01-09 21:34:03 +00:00
Wolfram Schneider c15a12df0f add cross reference to cd(1), where CDPATH variable is explained 1997-01-09 21:04:10 +00:00
John Polstra ae06cb4d32 On failure, return various exit codes from <sysexits.h>. In particular,
return EX_TEMPFAIL if the file was already locked.  This makes it easier
to distinguish between lock collisions and failures within the command
being executed.

Also, don't complain if the unlink() fails in the cleanup handler.  It
doesn't matter anyway, and it obscured the exit status returned from
the command that was executed.
1997-01-09 19:53:21 +00:00
John Fieber 5ef6c2c373 Lots more squashing of bugs, in particular making sure generated
HTML is compliant with the 3.2 DTD.

Sanity preservation and bug prevention - define frequently used
constructs as entities.

What remains to be done is better hypertextification which includes
breaking large documents into managable chunks, and managing links.
There are currently some (easy to avioid) situations that result
in multiple anchors with the same name, or links nested within other
links.  :(
1997-01-09 18:30:15 +00:00
Peter Wemm f809a5f8dd Correct logic braino when attempting to exclude loopback addresses on
the first pass.

Submitted by: Greg Lehey <grog@lemis.de>
1997-01-09 16:38:05 +00:00
Peter Wemm 45eccbb217 Two minor changes to try and make it more robust in the face of many
interfaces, until it's redone to use sysctl().
- bump the SIOCGIFCONF buffer size from 1K to 8K
- if we didn't find a suitable address, return a failure.  Previously
  if it didn't find anything it left the return address uninitialised.
  Perhaps it would be better to return AF_INET/111/127.0.0.1 rather than
  failing?
1997-01-09 14:55:15 +00:00
Mike Pritchard 00f7ecb490 Fix some file descriptor leaks. Closes PR# 2392.
2.2 candidate.
1997-01-09 14:50:42 +00:00
KATO Takenori fbb488e831 Synchronize with sys/i386/isa/isa.c rev. 1.75. 1997-01-09 13:13:38 +00:00
Poul-Henning Kamp 2a66b46b42 i386/2427: 2.2-BETA ft driver panics when there're no floppy drives
Reviewed by:	phk
Submitted by:	hosokawa@jp.FreeBSD.org
1997-01-09 12:50:07 +00:00
Mike Pritchard 4fc96a56f5 Fix a couple of typos in a comment and in the usage output. 1997-01-09 07:36:14 +00:00
Mike Pritchard 9d2592273f Update the copyright notices to match our bsd-copyright example. 1997-01-09 07:26:05 +00:00
Mike Pritchard 32e43d391c Minor mdoc style fixes. 1997-01-09 07:12:09 +00:00
Mike Pritchard 9d16a728b6 Make the man page agree with the actual vmstat output
and options.
1997-01-09 06:49:33 +00:00
Mike Pritchard 81fba91b52 Add some real example diagnostics to example.[14]
Add all of the possible errno's to example.3.

Show examples of the .Bx (BSD) and .At (AT&T UNIX) macros
in the various HISTORY sections.

Add some .Rs/.Re (used for referencing things other
than man pages) in the SEE ALSO sections.

Suggested by: wollman
1997-01-09 06:32:22 +00:00
David Nugent e0f530a531 Internationalise "authorize". 1997-01-09 04:16:18 +00:00
John Polstra 1a809a51b0 The error returned when F_SETLK collides with an existing lock is
EAGAIN, not EACCES.  POSIX says that either one is OK.
2.2 candidate.
1997-01-08 23:48:02 +00:00
Wolfram Schneider 80001b55bd bring section LIMITS back; reviewed by: mpp 1997-01-08 22:57:15 +00:00
John Polstra 8e42672199 Enable lockf. 1997-01-08 20:19:22 +00:00
John Polstra c8929a4926 Initial import of the lockf utility. It executes an arbitrary command
while holding an exclusive lock on a file.
1997-01-08 20:12:59 +00:00
Nate Williams 62ce633d36 Make the code more consistant by using the INTR*MASK macros througout the
code.

Reviewed by:	bde

[
Bruce suggest removing the macros completely, but I'm not up to that
task quite yet.
]
1997-01-08 16:12:56 +00:00
Garrett Wollman b20531189a Fix typo. I hate waking up at 4:45 in the morning... 1997-01-08 15:23:17 +00:00
Garrett Wollman 4f079e2ff0 Correctly account for header length in m_pkthdr.len when sending
packets through BPF.

Submitted by:	seki@sysrap.cs.fujitsu.co.jp in PR#2415
1997-01-08 14:17:27 +00:00
Garrett Wollman e76da59456 Delete -D_POSIX_MODE and -D_MULTI_LIBM from CFLAGS. They never had any effect
because _IEEE_LIBM always takes priority, so the definition just served
to confuse.

Reviewed by:	bde
1997-01-08 13:22:28 +00:00
Garrett Wollman 373f88ed5c Fix a few oversights in the new multicast membership interface. 1997-01-08 13:20:25 +00:00
Andrey A. Chernov 07a7a2c487 Fix fake failures on the short names which looks like hexadecimal numbers
Submitted by: paul@vix.com
1997-01-08 13:06:14 +00:00
Joerg Wunsch ca4967cbda Document the various reasons for EINVAL.
Document the flaw that `offset' is required to be page-aligned, in the
BUGS section.
1997-01-08 12:02:15 +00:00
Joerg Wunsch c28065c606 Our mmap(2) has a limitation where the `offset' parameter must be
page-aligned.  cmp(1) should know about this flaw, and work around it.

While i was at it, fixed an uninitialized variable as reported by
-Wall.
1997-01-08 12:00:55 +00:00
Andrey A. Chernov b8b15e71f7 Build ebones/telnetd only if MAKE_EBONES defined 1997-01-08 11:46:23 +00:00
Andrey A. Chernov 1f18743134 Make eBones/telnet only if MAKE_EBONES defined 1997-01-08 11:38:33 +00:00