Commit Graph

24077 Commits

Author SHA1 Message Date
Jordan K. Hubbard
4a50ae9ab3 Add a new netInteractive variable so that the interactiveness of the TCP
setup dialog from scripts is more controllable.  No more biasing off of
hostname (which is now non-optional in the non-netInteractive case).
Requested by:	pst
1997-09-17 13:33:14 +00:00
KATO Takenori
61fd9882c1 Synchronize with sys/i386/conf/options.i386 and sys/i386/isa/fd.c
revisions 1.59 and 1.101, respectively.
1997-09-17 08:01:07 +00:00
Philippe Charnier
6c9d588507 Use err(3). Document options in man page, not in usage string. 1997-09-17 06:32:45 +00:00
Philippe Charnier
8268bea759 Perror() -> warn(). 1997-09-17 06:30:22 +00:00
Philippe Charnier
ea28e1c532 Use err(3). Add prototypes. 1997-09-17 06:29:23 +00:00
Philippe Charnier
355c9698df Use err(3), add usage(). 1997-09-17 06:27:23 +00:00
Philippe Charnier
9006448ee5 Use err(3) instead of local redefinition. 1997-09-17 06:26:06 +00:00
Philippe Charnier
873c7a4e8f Use err(3). Use An/Aq for author name. 1997-09-17 06:24:58 +00:00
Philippe Charnier
d82e5f5287 Wrap too long lines.
Requested by: Bruce.
1997-09-17 06:20:45 +00:00
Brian Somers
bc24029963 o Fix two unlikely descriptor leaks.
o Output the correct device for "show modem"
  while in -direct mode.
o Cosmetic:  Moan a bit more when we can't open
  the [modem] device.
o Call OpenModem() in a more "natural" way.
o Add some LogDEBUG in OpenModem().
1997-09-16 23:15:16 +00:00
Jordan K. Hubbard
5ef5a78cd2 Whoops, forgot a file!
Submitted by:	pst
1997-09-16 18:57:47 +00:00
Jordan K. Hubbard
9f86ac0aa7 Much better dispatch code and scripting support.
Submitted by:	pst
1997-09-16 18:57:18 +00:00
Joerg Wunsch
0cc12cc57e Make TCPDEBUG a new-style option. 1997-09-16 18:36:06 +00:00
Bruce Evans
f116a277ad Drop temporary source-level compatibility for old mount(2) interface. 1997-09-16 14:44:24 +00:00
Bruce Evans
d69bfa565e Removed a stray backslash-newline. 1997-09-16 14:37:55 +00:00
Bruce Evans
a169d922a0 Fixed syntax errors in `#if 0' code. 1997-09-16 14:31:44 +00:00
Bruce Evans
1363910d86 Cleaned up. 1997-09-16 14:23:35 +00:00
Bruce Evans
d9f190c880 Removed declaration of nonexistent function fuibyte().
Sorted some declarations.

Fixed missing __P(())'s.

Removed `timeout_func_t (pointer to timeout function) typedef.  It was
mainly used in bogus casts.  The more useful `timeout_t' (timeout function)
typedef should be used instead.

Cleaned up callout declarations and comments.
1997-09-16 14:19:46 +00:00
Bruce Evans
043a2f3b8b Fixed staticization. buckets[] was staticized but was still declared
extern in <sys/malloc.h> and it should not have been staticized for
the !(KMEMSTATS || DIAGNOSTIC) case.

Fixed the !(KMEMSTATS || DIAGNOSTIC) case.  The MALLOC() and FREE()
macros are evil, but code generally doesn't allow for this and some code
involving else clauses did not compile.

Finished staticization.
1997-09-16 13:52:04 +00:00
Bruce Evans
514ede0953 Fixed gratuitous ANSIisms. 1997-09-16 11:44:05 +00:00
Bruce Evans
3b6f5a5bdd Removed installhdrs target. It was an unnecessary complication. 1997-09-16 10:52:59 +00:00
Bruce Evans
d7f4fc69b4 Backed out rev.1.136 and rev.1.144. Force SHARED=symlinks in a different
way - for buildworld only.

Rev.1.136 broke the (deprecated) external includes target.  Rev.1.144 was
a half-baked backout of rev.1.136.  It broke SHARED=symlinks for the
buildworld target and installation of subdirs of src/include for the
includes target.
1997-09-16 10:45:41 +00:00
Jordan K. Hubbard
365a44db75 MF22: pst's changes.
Submitted by:	pst
1997-09-16 10:14:23 +00:00
Bruce Evans
0e6021ad31 Reject attempts to set an in-core label which says that the "disk"
or a partition is larger than the slice.

Now `disklabel -Brw sdX auto' should fail properly on sliced disks
without partition of type 165, e.g., on zip disks with the factory
default formatting.  Previously it set a bogus in-core label for
the compatibility slice and used this to corrupt the MBR (the slice
has offset 0 and size 0, but setting the label in effect corrupted
its size to nonzero).

`disklabel -Brw sdX auto' already failed properly on normally (not
dangerously dedicated) sliced disks _with_ partition of type 165,
because the compatibility slice has a nonzero offset so the MBR
remained inaccessible when the size was corrupted.

This bug only affected in-core labels.  On-disk labels are checked
carefully when they read and written.
1997-09-16 10:11:49 +00:00
Julian Elischer
72963672f5 devfs changes to allow old (better) and newer (braindamaged) behaviour.
I'm going to try migrate back, while keeping the newer code.
1997-09-16 09:10:18 +00:00
Joerg Wunsch
c6850a7698 Sigh, there's always one more buffer overflow. :-(
This one hinted to by the recently posted exploit (although not exploited by
it).
1997-09-16 08:33:52 +00:00
Poul-Henning Kamp
044839fb8b Don't leak memory, from sef.
Stylistic nits and a blunder, from bde.
1997-09-16 08:05:09 +00:00
Joerg Wunsch
d2fb48929a Make FDC_DEBUG a supported option.
Hide the bogus FDC ``chip type'' display behind a (mostly) undocumented
option, since people started to trust the bogus claim.  Once we're going
to handle 2.88 MB controllers, we have to redo the chip detection, by
now just leave it hidden.
1997-09-16 07:45:45 +00:00
Philippe Charnier
bc8600f650 Police from style.9 and Bruce. 1997-09-16 07:11:13 +00:00
Peter Wemm
9e06e6da51 Some adjustments for the resolver use of poll(). For some reason I thought
an unimplemented syscall returned ENOSYS, rather than EINVAL.  I have run
statically linked code with this wrapper and it does appear to work fine
on 2.2-stable which doesn't have poll().  ktrace shows the poll syscall fail
once and the fallback to select() working.
1997-09-16 06:03:54 +00:00
Peter Wemm
b7ecb08afa Put a system call not present checking wrapper around the call to
__getcwd().  I've got this libc code running on one of my machines
at the moment without the __getcwd() syscall being present.
1997-09-16 06:00:50 +00:00
Andrey A. Chernov
0e257512d8 Remove revoke privs, not needed 1997-09-16 01:22:47 +00:00
Andrey A. Chernov
a292598d51 Remove HIDEGAME, it is not a game 1997-09-16 01:19:26 +00:00
Eivind Eklund
c0f3f3cd13 Comment the UID games -> GID games change - mention the known problems with
it and ask for feedback on any unknown ones.
1997-09-16 00:26:24 +00:00
Andrey A. Chernov
194a213eff Prevent overflow with fragmented packets
Reviewed by: wollman
1997-09-15 23:07:01 +00:00
Wolfram Schneider
211fed7e35 Fix yet a minor stylistic nit from Bruce.
(`cvs diff -ib' print one new char ;-).
1997-09-15 19:37:23 +00:00
Wolfram Schneider
753da33042 Add a genclass.1 manpage. 1997-09-15 19:18:59 +00:00
Poul-Henning Kamp
7874d7a3bb Solve race-condition, return path in normal order.
A couple of stylistic nits from Bruce.

If your libc contains version 1.11 or 1.12 of getcwd.c, (ie: if
you recompiled libc one of the last couple of days):
>>> Recompile LIBC before you boot a new kernel <<<
A new libc will deal with both old and new kernels.
1997-09-15 19:11:07 +00:00
Poul-Henning Kamp
36dff60096 Fix yet a minor stylistic nit from Bruce (Doesn't he have more
important things to do ?? :-)

Prepare for the likely case of a change in kernel algorithm.
1997-09-15 17:40:15 +00:00
Wolfram Schneider
11210c4ed5 Add a simple manpage. 1997-09-15 16:08:56 +00:00
Jordan K. Hubbard
d03802742b revert: The warning was supposed to irritate someone into fixing this. 1997-09-15 11:02:10 +00:00
Jordan K. Hubbard
65de42dc08 Proper casting for clnt_broadcast() args. 1997-09-15 09:47:16 +00:00
Jordan K. Hubbard
9e55697463 Silence a warning with a cast. 1997-09-15 09:46:42 +00:00
Jordan K. Hubbard
0a214d26c9 unsigned char -> caddr_t for mmap's return value. 1997-09-15 08:31:20 +00:00
Poul-Henning Kamp
d56f6402d5 Deal more correctly with mountpoints. 1997-09-15 08:25:43 +00:00
Poul-Henning Kamp
9c2d6fcf05 Fix a buglet and a couple of stylistic nits from Bruce. 1997-09-15 08:25:14 +00:00
Poul-Henning Kamp
97bc6e857c Fix a comment.
Submitted by:		Mikael Karpberg <karpen@ocean.campus.luth.se>
1997-09-15 08:20:27 +00:00
John-Mark Gurney
6b4b86e517 remove redudant decls from this header file (used for 2.2.x compat) 1997-09-15 07:34:49 +00:00
Philippe Charnier
b17e90a9c9 Use err(3). 1997-09-15 06:41:09 +00:00
Philippe Charnier
401e64688b Use err(3). Rewrote man page in mdoc format. 1997-09-15 06:39:25 +00:00