Commit Graph

15604 Commits

Author SHA1 Message Date
peter
36d45bbacb 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
cff0cee56f 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
c2fcbeb6ff 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
jkh
633999a94b 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
ache
3a66e92deb Simplify expression 1996-08-12 12:31:28 +00:00
ache
e4cce064d1 Pick collate info too 1996-08-12 12:24:20 +00:00
ache
e853c12467 Use collate info for alpha character ranges
8bit cleanup
1996-08-12 12:13:16 +00:00
peter
592128dcde 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
ache
47124e7ef4 Localize it 1996-08-12 11:39:24 +00:00
ache
e37075011a Use collate for alpha character ranges 1996-08-12 04:03:50 +00:00
ache
563eb69835 Remove static collcmp, use new internal function now 1996-08-12 03:51:16 +00:00
ache
ce519bc5d0 Remove static collcmp, ise new internal function now 1996-08-12 03:45:53 +00:00
ache
378240cb4b Add internal function __collcmp once instead of adding it statically
to many places in the libc
1996-08-12 03:40:37 +00:00
ache
77e622e5f2 Use collate for alpha character ranges 1996-08-12 02:08:43 +00:00
ache
95acc9d04c Use collate for alpha character ranges 1996-08-12 02:00:56 +00:00
wpaul
c8f56afb62 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
ache
6f7ebd36bf Fix unsetenv of locale variable 1996-08-11 23:10:38 +00:00
ache
8affe69b98 Localize it 1996-08-11 22:51:00 +00:00
ache
3c76730132 8bit cleaness (ctype) fixes 1996-08-11 19:20:30 +00:00
ache
8aa8a81b2a Make it at least semi-worked 1996-08-11 18:08:53 +00:00
ache
4fbce9eec9 Localize it
8bit cleanup
1996-08-11 17:46:35 +00:00
dg
90489078d4 Add support for i686 machine check trap. 1996-08-11 17:41:25 +00:00
dg
68af419b0b Defined T_MCHK exception for i686; renumbered T_RESERVED to 29. 1996-08-11 17:29:39 +00:00
pst
db1a2c98a7 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
jkh
1a72bf5044 Throw some unnecessary dreck out of this Makefile. 1996-08-11 17:21:20 +00:00
ache
af9609604e Pick collate info for RE character ranges 1996-08-11 16:59:27 +00:00
ache
c2f58cf70e Localize it
8bit cleanup
1996-08-11 16:48:11 +00:00
ache
cf7c5f37f7 Pick collate info for RE character ranges 1996-08-11 16:22:47 +00:00
ache
95b1e45fe8 Use collate data for national alpha character ranges like [a-z] 1996-08-11 16:08:17 +00:00
ache
a254ea6e33 Describe collation order rules (from POSIX WG) 1996-08-11 14:55:14 +00:00
wosch
b6b7ab5f10 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
a9ad336173 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
7f92d67f08 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
ache
8b7847d9d5 Short value is better for hash due to easy overflow in 8bit characters 1996-08-11 11:49:23 +00:00
ache
bef006b8fc Use locale for character classes instead of hardcoded values
Misc 8bit cleanup
1996-08-11 11:42:03 +00:00
peter
286a76bdee Add missing netatalk, netipx and netkey directories. 1996-08-11 04:32:14 +00:00
alex
057f2934d8 Fix some improperly wrapped lines in the code. 1996-08-11 02:20:05 +00:00
joerg
b0b6f5d7b9 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
c1fd4cb788 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
alex
338d9f7664 Typo corrections. Closes PR 1477.
Submitted by:	Masafumi Nakane <max@sfc.wide.ad.jp>
1996-08-10 17:51:15 +00:00
alex
d336a35cc7 Change syslog examples from /386bsd to /kernel. Closes PR 1475. 1996-08-10 17:38:37 +00:00
markm
cdfd2e2ba7 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
markm
1070b2b72f Next version from the author - from SSLeay.0.6.3 1996-08-10 17:19:16 +00:00
adam
5728bddcc9 chmod(2) directories once only (was twice) 1996-08-10 15:05:26 +00:00
joerg
08f9d454e0 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
jkh
6d942cc83d 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
jkh
572c0d3285 Fix an exceedingly confusing typo. 1996-08-10 13:30:11 +00:00
peter
e1600f46df s/trace -C/ktrace -C/
Pointed out by: zgabor@code.hu (Zahemszky Gabor)  PR#1486
1996-08-10 09:05:17 +00:00
peter
8a96af1ccf 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
501343eb76 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