Commit Graph

15144 Commits

Author SHA1 Message Date
Peter Wemm cf2fcd35dd Use the more robust and more efficient reserved port allocation mechanism
now built into bind(2).

Obtained from: OpenBSD / Jason Downs / Theo de Raadt
1996-08-12 14:09:46 +00:00
Peter Wemm bbd42ad0e5 Add two more portrange sysctls, which control the area of the below
IPPORT_RESERVED that is used for selection when bind() is told to allocate
a reserved port.

Also, implement simple sanity checking for all the addresses set, to make
it a little harder for a user/sysadmin to shoot themselves in the feet.
1996-08-12 14:05:54 +00:00
Peter Wemm 54edc0bbbf clear various struct sockaddr_in's on stack, set sin_len.
(Noticed when comparing to OpenBSD source)
1996-08-12 14:00:26 +00:00
Jordan K. Hubbard f2b2a91e75 Fix broken modtime preservation code. *Now* it preserves the modtime
correctly!
Noticed-By: knarf@camelot.de (Frank Bartels)
1996-08-12 12:55:26 +00:00
Andrey A. Chernov 917de9be32 Simplify expression 1996-08-12 12:31:28 +00:00
Andrey A. Chernov 351472c6df Pick collate info too 1996-08-12 12:24:20 +00:00
Andrey A. Chernov 0fa1b0ba1f Use collate info for alpha character ranges
8bit cleanup
1996-08-12 12:13:16 +00:00
Peter Wemm 1afbbc7c59 Remove the quotes from some of the kernel options that dont need it.
eg:  options "SCSI_DELAY=15" should be options SCSI_DELAY=15, as config
knows about the "=" and splits it correctly into key=value for the #defines.
The only options that need quotes are those that have numbers as part of
the actual name, eg: "TUNE_1542" and "COMPAT_IBCS2".
1996-08-12 11:48:49 +00:00
Andrey A. Chernov bf4fce1a35 Localize it 1996-08-12 11:39:24 +00:00
Andrey A. Chernov 36a00a4b79 Use collate for alpha character ranges 1996-08-12 04:03:50 +00:00
Andrey A. Chernov c73ac73fb4 Remove static collcmp, use new internal function now 1996-08-12 03:51:16 +00:00
Andrey A. Chernov 89ec343a7f Remove static collcmp, ise new internal function now 1996-08-12 03:45:53 +00:00
Andrey A. Chernov 2eecfbac3a Add internal function __collcmp once instead of adding it statically
to many places in the libc
1996-08-12 03:40:37 +00:00
Andrey A. Chernov 072acff80a Use collate for alpha character ranges 1996-08-12 02:08:43 +00:00
Andrey A. Chernov b92a8919d1 Use collate for alpha character ranges 1996-08-12 02:00:56 +00:00
Bill Paul 89e85b2828 Apply my small patch to make detection of ATAPI CD-ROMs happen a
little more reliably. So far I've received a couple of positive
responses and no objections to these changes.

There are two one-line changes:

- In wdprobe(), when testing the error status of drives, don't
  unconditionally decide that there is no controller present if we
  read back a value of 0x81 (drive 0 okay, drive 1 failed) twice
  in a row. This may be caused by having an ATAPI CD-ROM jumpered
  as a master on the controller with no slave.

- In wdgetctlr(), when checking for a status of WDCS_READY, check the
  value twice. The first time may be bogus. This stops a phantom wd2
  device from being detected when an ATAPI CD-ROM is attached to the
  secondary controller alone as a slave. (This can cause installation to
  fail when sysinstall attempts to open the phantom device and wedges the
  system as a result. This has bitten me a couple of times on some
  Gateway 2000 machines.)
1996-08-12 00:53:02 +00:00
Andrey A. Chernov b4814a03fc Fix unsetenv of locale variable 1996-08-11 23:10:38 +00:00
Andrey A. Chernov ba726b8a91 Localize it 1996-08-11 22:51:00 +00:00
Andrey A. Chernov 6f99f89bbe 8bit cleaness (ctype) fixes 1996-08-11 19:20:30 +00:00
Andrey A. Chernov b7c6d4477a Make it at least semi-worked 1996-08-11 18:08:53 +00:00
Andrey A. Chernov 726aebe5e0 Localize it
8bit cleanup
1996-08-11 17:46:35 +00:00
David Greenman 11282a57ce Add support for i686 machine check trap. 1996-08-11 17:41:25 +00:00
David Greenman 150022d8fc Defined T_MCHK exception for i686; renumbered T_RESERVED to 29. 1996-08-11 17:29:39 +00:00
Paul Traina 7e31b4b1be Previously, if the dial script had any problems, pppd would simply
bomb out.  Unfortunately, FreeBSD's sio driver and certain internal
modems don't get along very well, which can cause the serial port to
wedge until it is closed and reopened.

Add new variable, connect-max-attempts, default = 1 (to mimic previous
behavior).  If > 1, will try up to "n" times to dial remote site before
aborting.
1996-08-11 17:29:37 +00:00
Jordan K. Hubbard 8a80fd427c Throw some unnecessary dreck out of this Makefile. 1996-08-11 17:21:20 +00:00
Andrey A. Chernov 6e0d255e4b Pick collate info for RE character ranges 1996-08-11 16:59:27 +00:00
Andrey A. Chernov de727e7d02 Localize it
8bit cleanup
1996-08-11 16:48:11 +00:00
Andrey A. Chernov 6004290380 Pick collate info for RE character ranges 1996-08-11 16:22:47 +00:00
Andrey A. Chernov 5c551438ec Use collate data for national alpha character ranges like [a-z] 1996-08-11 16:08:17 +00:00
Andrey A. Chernov 1b91f0ec7f Describe collation order rules (from POSIX WG) 1996-08-11 14:55:14 +00:00
Wolfram Schneider d2b945efae delete rule 3 (advertising) from copyright
resolve symlinks before removing user's home directory
with /bin/rm -rf <home dir>

Submitted by: Guy Helmer <ghelmer@alpha.dsu.edu>
1996-08-11 13:03:25 +00:00
Peter Wemm d5dcd8e63f Add a hook ``MANFILTER''. This optionally specifies a command to
pipe the man page source through before compressing or installing.
This can be used to do do (eg) sed substitution on man pages from
3rd party packages (in particular, ncurses and bind-4.9.4)

This should not affect anything already in the source tree.
1996-08-11 12:31:57 +00:00
Peter Wemm 6ba7f9ff84 Replace some leaky ``cpp | as'' pipelines with ``cc -x <lang>'' commands
to do the preprocessing and assembling.

(I've been running this for months, and had forgotten about it)
1996-08-11 12:24:44 +00:00
Andrey A. Chernov 3073507540 Short value is better for hash due to easy overflow in 8bit characters 1996-08-11 11:49:23 +00:00
Andrey A. Chernov b5363c4a3b Use locale for character classes instead of hardcoded values
Misc 8bit cleanup
1996-08-11 11:42:03 +00:00
Peter Wemm 67750f0be2 Add missing netatalk, netipx and netkey directories. 1996-08-11 04:32:14 +00:00
Alexander Langer f20e416903 Fix some improperly wrapped lines in the code. 1996-08-11 02:20:05 +00:00
Joerg Wunsch fae988778b Fix many long-standing bugs and problems with pcvt, namely:
. make pccncheck() work even when interrupts are disabled, so the
  ``Press a key on the console...'' procedure will work,
. make kernel colors #ifndef, so they can be overridden from the
  config file,
. use shutdown_nice() instead of cpu_reset() if Ctrl-Alt-Del is
  enabled,
. allow pccngetc() to return more than a single character, so the
  arrow keys will work (and thus visual UserConfig!),
. fix a warning.

This closes all know PRs related to pcvt, in particular #845, #1236,
and #1265.  PR #991 is a duplicate for 845, and PR #1283 has already
been fixed earlier in rev 1.11 of pcvt_conf.h.

Submitted by:	Ulf Kieber (kieber@sax.de), for the kernel color fix
1996-08-10 22:14:36 +00:00
Joerg Wunsch b458c95f75 Teach UserConfig about ANSI (DEC?) ``application mode'' arrow key
sequences (ESC O A, as opposed to ESC [ A).
1996-08-10 22:06:09 +00:00
Alexander Langer 97d1d3be54 Typo corrections. Closes PR 1477.
Submitted by:	Masafumi Nakane <max@sfc.wide.ad.jp>
1996-08-10 17:51:15 +00:00
Alexander Langer f2a8b38c82 Change syslog examples from /386bsd to /kernel. Closes PR 1475. 1996-08-10 17:38:37 +00:00
Mark Murray 67d29e2c6c This commit was generated by cvs2svn to compensate for changes in r17497,
which included commits to RCS files with non-trunk default branches.
1996-08-10 17:19:16 +00:00
Mark Murray 43e844cb02 Next version from the author - from SSLeay.0.6.3 1996-08-10 17:19:16 +00:00
Adam David f3ad46f409 chmod(2) directories once only (was twice) 1996-08-10 15:05:26 +00:00
Joerg Wunsch b463077353 Finally implement a simple commandline history in DDB.
Emacs-style line editing has already been there (did anybody ever
notice this? :), so i `only' had to add ^P and ^N.  The approach is
fairly minimalistic, with the advantage of keeping the bloat as small
as 864 bytes of .text and 16 bytes of .bss, plus 10*120 bytes
malloc'ed history buffer at the first use.
1996-08-10 13:38:44 +00:00
Jordan K. Hubbard e0d275f1a6 Yeesh! I shouldn't have looked. Fix a whole bunch more. Pray
for ncurses to replace this soon.
1996-08-10 13:37:02 +00:00
Jordan K. Hubbard fb5420bb4d Fix an exceedingly confusing typo. 1996-08-10 13:30:11 +00:00
Peter Wemm 16964dae41 s/trace -C/ktrace -C/
Pointed out by: zgabor@code.hu (Zahemszky Gabor)  PR#1486
1996-08-10 09:05:17 +00:00
Peter Wemm dba2477331 Added A JOSEPH KOSHY <koshy@india.hp.com> for the AMD cpu id code, and
andy@sarc.city.ac.uk (Andy Whitcroft) for the rdist fix.
1996-08-10 08:11:25 +00:00
Peter Wemm 7c34c352e3 Add recognition for the AMD 5x86 CPU models.
Submitted by: A JOSEPH KOSHY <koshy@india.hp.com>
1996-08-10 08:04:24 +00:00