Commit Graph

15422 Commits

Author SHA1 Message Date
ache
58f9b78e5e Convert to newly added collate compare function 1996-08-12 21:32:15 +00:00
joerg
dcde70f16b Fix two minor oddities introduced by my yesterday's patches:
. preserve a multi-char sequence in a small static buffer inside
  pccngetc(), so it won't be clobbered later (used to happen when
  breaking into DDB user Ctrl-Alt-ESC), and

. simplify the ``keystroke is present'' determination in sgetc(), thus
  making pccncheck() actually working without waiting for a keystroke.
1996-08-12 21:31:07 +00:00
wollman
084c9a9ee6 Back out mistaken local change that sneaked in on the last commit. 1996-08-12 20:03:16 +00:00
wollman
9782a04d1c Don't declare the user_ldt functions unless USER_LDT is defined.
Eliminates an obnoxious warning.
1996-08-12 19:57:10 +00:00
ache
05aa8617cf Convert to newly added collate compare function 1996-08-12 19:31:11 +00:00
ache
bc4e65eedc Remove old version hooks 1996-08-12 19:18:47 +00:00
ache
1563880d65 Convert to newly aded collate compare function 1996-08-12 19:12:40 +00:00
ache
62d22e65bd Convert to newly aded collate compare function 1996-08-12 19:04:24 +00:00
ache
ffcd81205d Convert to newly aded collate compare function 1996-08-12 18:56:38 +00:00
ache
18e6a0b58f Convert to newly aded collate compare function 1996-08-12 18:49:54 +00:00
ache
956383bed8 There is so many places where range comparation (using collate)
needed (much more than I think initially), so I forced to add
new user-visible non-standard function to libc.
1996-08-12 18:38:49 +00:00
ache
9d1e0928b1 There is so many places where range comparation (using collate)
needed (much more than I think initially), so I forced to add
new user-visible non-standard function to libc.
1996-08-12 18:30:43 +00:00
ache
d0049dcf85 Use collate for alpha character ranges 1996-08-12 18:03:54 +00:00
ache
f25f152775 Pick collate info too 1996-08-12 17:55:41 +00:00
peter
bfb5d5b14d Extend the poll code so that it can periodically scan the host cards
for work regardless of whether there was an interrupt.  This needs more
work, it should be able to run better when there are more than 3 host
cards present, ie: all cards in polling-only mode with no IRQ.  (The
host cards have a choice of 3 irq's, 11, 12, or 15, or just polling)
1996-08-12 17:12:07 +00:00
peter
4485ba1557 Add a simple -v (verbose) option that allows you to see when -C actually
installs something.  This is not 100% right, since it has a false hit
when install -C snaps hard links.

Also, run strip(1) from the $PATH, otherwise you need a special version
of install to install (say) elf binaries which have a different strip.
With JDP's elfkit, the layout of the path determines which binary format
you are generating.
1996-08-12 17:03:30 +00:00
jfieber
c1c3cbd0e1 &ero; -> & 1996-08-12 16:07:50 +00:00
peter
6b18c72cfc Add new option to chpass: -e "expire" ; change the account expire time
from a script as if it was done in the interactive editor.

When reassembling the gecos string, trim any excess trailing commas, they
look ugly in the passwd file. :-)

Have a simple Makefile tweak to prevent mortal users from changing their
fullname.  As ISP's we have seem some real bizzare stuff here..

When decoding the change/expire string, allow the month number as a
synonym for the name of the month.. (ie: 1 as well as Jan or January)
Note that using numbers means there's a chance that you can get bitten
if you're not used to the American DD-MM-YY order.
1996-08-12 14:45:26 +00:00
peter
665b6e261b clear sockaddr_in's on stack before use
set sin_len
close one ftp port bounce attack
have rresvport() use bindresvport() rather than duplicate the code,
  rresvport() is a superset of bindresvport().

Obtained from: OpenBSD / Jason Downs / Theo de Raadt, minor tweaks by me.
1996-08-12 14:14:09 +00:00
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