Commit Graph

15603 Commits

Author SHA1 Message Date
peter
54e3eaa9da 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
9251f2fa6d 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
db6cbc908c 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
907d8c43f6 Simplify expression 1996-08-12 12:31:28 +00:00
ache
45e04db41a Pick collate info too 1996-08-12 12:24:20 +00:00
ache
045882bc73 Use collate info for alpha character ranges
8bit cleanup
1996-08-12 12:13:16 +00:00
peter
ededbf3b9b 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
5e7c856667 Localize it 1996-08-12 11:39:24 +00:00
ache
fda5493376 Use collate for alpha character ranges 1996-08-12 04:03:50 +00:00
ache
01ab307656 Remove static collcmp, use new internal function now 1996-08-12 03:51:16 +00:00
ache
34c45fbcd2 Remove static collcmp, ise new internal function now 1996-08-12 03:45:53 +00:00
ache
fe15588093 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
14738091c0 Use collate for alpha character ranges 1996-08-12 02:08:43 +00:00
ache
9b7a3d641b Use collate for alpha character ranges 1996-08-12 02:00:56 +00:00
wpaul
0c65e30497 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
9f8c58b3e3 Fix unsetenv of locale variable 1996-08-11 23:10:38 +00:00
ache
7792694e18 Localize it 1996-08-11 22:51:00 +00:00
ache
700d7fa2cf 8bit cleaness (ctype) fixes 1996-08-11 19:20:30 +00:00
ache
2f037f351f Make it at least semi-worked 1996-08-11 18:08:53 +00:00
ache
ec926d5821 Localize it
8bit cleanup
1996-08-11 17:46:35 +00:00
dg
4bfd626732 Add support for i686 machine check trap. 1996-08-11 17:41:25 +00:00
dg
add91e0d79 Defined T_MCHK exception for i686; renumbered T_RESERVED to 29. 1996-08-11 17:29:39 +00:00
pst
25fd4acd75 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
969fcc0e49 Throw some unnecessary dreck out of this Makefile. 1996-08-11 17:21:20 +00:00
ache
3020663efc Pick collate info for RE character ranges 1996-08-11 16:59:27 +00:00
ache
9257d220bd Localize it
8bit cleanup
1996-08-11 16:48:11 +00:00
ache
55fd4760f4 Pick collate info for RE character ranges 1996-08-11 16:22:47 +00:00
ache
c5d1240658 Use collate data for national alpha character ranges like [a-z] 1996-08-11 16:08:17 +00:00
ache
72446a008f Describe collation order rules (from POSIX WG) 1996-08-11 14:55:14 +00:00
wosch
a14238d34d 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
2eba752350 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
66e6dffadd 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
0a233b14ad Short value is better for hash due to easy overflow in 8bit characters 1996-08-11 11:49:23 +00:00
ache
4fd7b57b44 Use locale for character classes instead of hardcoded values
Misc 8bit cleanup
1996-08-11 11:42:03 +00:00
peter
917a149262 Add missing netatalk, netipx and netkey directories. 1996-08-11 04:32:14 +00:00
alex
acee8dc2a1 Fix some improperly wrapped lines in the code. 1996-08-11 02:20:05 +00:00
joerg
a8b5debc64 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
6315224415 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
1d77d9aa46 Typo corrections. Closes PR 1477.
Submitted by:	Masafumi Nakane <max@sfc.wide.ad.jp>
1996-08-10 17:51:15 +00:00
alex
475a85fc51 Change syslog examples from /386bsd to /kernel. Closes PR 1475. 1996-08-10 17:38:37 +00:00
markm
9e3b4edcc0 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
2837ce3d40 chmod(2) directories once only (was twice) 1996-08-10 15:05:26 +00:00
joerg
70d188888e 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
c17991c39f 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
3713fb73db Fix an exceedingly confusing typo. 1996-08-10 13:30:11 +00:00
peter
54860a48b4 s/trace -C/ktrace -C/
Pointed out by: zgabor@code.hu (Zahemszky Gabor)  PR#1486
1996-08-10 09:05:17 +00:00
peter
aced093dd1 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
3f2a28ffd7 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
peter
96020440c9 Remove the need for rdist(1) to run setuid, thus completely closing any
possibility of a security hole.  It now does what rdist-6 does, and calls
/usr/bin/rsh if not running as root.  There are NO protocol changes, this
is 100% compatable with the old rdist, except that it does not need setuid
root privs.

However, there are some minor differences to the base rdist-6 code in that
if it is being run by root, it will call rcmd(3) directly rather than
piping everything through rsh(1).  This is a little more efficient as it
doesn't involve context switching on pipe reads/writes.

Also, the -P option was added from rdist-6.1.2, which allows an alternative
rsh program to be specified, such as ssh.  Note that it requires the fixes
to the ssh port to disable the unconditional USE_PIPES option that was
recently added.  The rcmd(3) optimisation is disabled if a non-rsh program
is speficied.
1996-08-10 07:54:17 +00:00