Commit Graph

35789 Commits

Author SHA1 Message Date
brian
5dc50d8ed5 When resending chap challenges, resend the same challenge
each time rather than making up a new one.

Increase the authname/authkey max sizes to 100 characters.

Allow ``authkey'' specifications beginning with ``!''.
When a challenge is received, the text following the
``!'' is executed as a program (expanding stuff in the same
way that ``sh'' and ``!bg'' do).  The program is passed the
peer name, peer challenge and local ``authname'' on standard
input and is expected to output the name/key combination that
should be used to build the CHAP response.

This provides support for Secure ID cards (guess what I was
given at work recently!) using CHAP.

Examples will follow.
1999-02-11 10:14:08 +00:00
msmith
4ef23fab94 Zero p->retval[1] when starting a process. This value ends up in %edx
when the process starts, and having it nonzero causes statically-linked
Linux binaries to fail.

PR:		i386/10015
Submitted by:	Marcel Moolenaar <marcel@scc.nl>
1999-02-11 07:53:28 +00:00
gibbs
0b7d53e958 Set the ultra enable bits in the adaptor's scratch ram area only after
we finish modifying our in kernel version during seeprom configuration.
1999-02-11 07:12:16 +00:00
gibbs
7967a0ac41 Make the ahc_eisa file also optional on 'eisa'. 1999-02-11 07:11:00 +00:00
gibbs
806b785adb Ensure that the ACK from the last information transfer phase has been
de-asserted by the initiator before changing phase or releasing the bus.
Corrects a SCSI specification violation in target mode.
1999-02-11 07:10:20 +00:00
gibbs
4a6d37ea75 Completely set information in the transaction description before performing
a selwakeup for it.  Cosmetic.
1999-02-11 07:08:58 +00:00
gibbs
51586d35df Correct a race condition where a target mode SCB dma could occur
before we finished setting the pending phase information.

Use the ALL_TARGETS_MASK #define instead of 0xffff for the default
ultraenb mask.
1999-02-11 07:07:27 +00:00
grog
6c6407eea4 Correct some indentation
Implicitly-desired-by: bde

update_plex_state:  Handle empty RAID-5 plexes correctly
1999-02-11 06:44:46 +00:00
grog
c644d9d444 build_write_request: correct logic for handling writes to volumes with
failed plexes.

allocrqg: Remove dead code
1999-02-11 06:44:12 +00:00
grog
3d1b831874 check_drive: Make sure that we don't open two different drives with
the same name.  Silently return EEXIST if this happens.

vinum_scandisk: Collect drive numbers, not pointers, to avoid problems
of relocated drives.

Tripped-over-by:  Bernd Walter <ticso@cicely.de>
1999-02-11 06:43:15 +00:00
grog
ad4e6d446e In some cases, it's possible that I/O errors will cause the daemon to
time out on an operation.  Under these circumstances, vinum(8) will
automatically start another daemon.  Add a pid for the daemon, so that
an overtaken daemon will discover that it's no longer in favour, and
will crawl into a corner and die.
1999-02-11 06:42:39 +00:00
grog
cc1dab1dbe Modify example configuration file to show more optimum stripe size of
256 kB instead of 16 kB.

Pointed-out-by: Steve Taylor <staylor@cybernet.com>

Modify description of start command to include 'start' with no
parameters, which reads the config from all drives found on the
system.
1999-02-11 06:14:49 +00:00
grog
f97a00b52a Extend 'start' command: if used without any parameters, vinum scans
all disks known to devstat for vinum drives and reads their
configuration.
1999-02-11 06:14:15 +00:00
grog
8eec767f72 Check for both kinds of Vinum module (with and without RAID-5). Using
the wrong module can cause confusion, including loading both versions
(which conflict with each other) and incorrect ioctls, which cause
unintelligible error messages.

Extend 'start' command: if used without any parameters, vinum scans
all disks known to devstat for vinum drives and reads their
configuration.
1999-02-11 06:13:44 +00:00
grog
028cc6c93f Include libdevstat in executable, for extended start command. 1999-02-11 06:12:06 +00:00
jkoshy
3891b1bccc Fix typos 1999-02-11 06:07:27 +00:00
obrien
436c49a681 add -1 option: Try once, if we fail, EXIT
Obtained from:	OpenBSD
1999-02-10 23:51:25 +00:00
obrien
1c3a691009 remove cruft I meant to remove 1999-02-10 21:23:48 +00:00
obrien
4cc78bced0 hook in dhclient 1999-02-10 21:09:48 +00:00
obrien
ff94f6a807 * fix paths in manpages
* sort references
1999-02-10 21:02:32 +00:00
obrien
728d260720 This commit was generated by cvs2svn to compensate for changes in r43855,
which included commits to RCS files with non-trunk default branches.
1999-02-10 20:51:22 +00:00
obrien
6dcf170bc4 bmake framework for ISC-DHCP client 1999-02-10 20:51:22 +00:00
wpaul
7a6606c859 The ypbind_setdom_2 procedure returns NULL in the success case. This is
incorrect; returning NULL here means that the dispatcher won't send any
response back to the caller, which means the caller will sit there waiting
until it times out. I don't know how this ever worked before. The effect
is that using 'ypset foo' to get the local ypbind to change servers would
work, but would sit there hanging for a long time for no reason.
1999-02-10 20:04:22 +00:00
obrien
609cf46404 Our default /etc/dhclient.conf. 1999-02-10 18:30:01 +00:00
des
dae0ad8f7b Don't use an arbitrary hardcoded value for nfds in select() calls.
PR:		bin/9986
1999-02-10 18:08:51 +00:00
jkh
e57466a1c3 Use /etc/defaults/rc.conf everywhere, falling back to /etc/rc.conf
as necessary (for half-assed upgrades).
1999-02-10 18:08:16 +00:00
wpaul
fdde373153 Add some tweaks to hopefully fix a problem I've started to notice recently.
Under certain conditions (possibly associated with heavy load), ypserv will
fork() child processes that don't exit like they're supposed to. I think
this is because of some suspect logic in the ypproc_all procedure. I updated
it to use what I hope is a more bulletproof approach.

Also tweaked yp_svc_run() a little so that the 'are we a child?' test happens
at every pass through the for(;;) loop, not just immediately after returning
from svc_getreqset2().
1999-02-10 16:16:14 +00:00
yokota
8d9b8047a3 - Revise text, and fix typos and grammatical errors.
- Add syscons.4.

If there still are errors, whether technical or grammatical, they are
entirely mine, not the reviewers'.

Reviewed by: sos, jkh, archie, Nick Hilliard <nick@iol.ie>
1999-02-10 14:25:03 +00:00
kato
b897dbf5fe Fixed COPYRIGHT_PC98 (good bye 1998).
Noticed by:	Takahashi Yoshihiro <nyan@dd.catv.ne.jp>
1999-02-10 13:09:09 +00:00
kato
84517f5f62 Sync with sys/i386/i386/userconfig.c revision 1.130. 1999-02-10 13:02:38 +00:00
obrien
0f26402a3e use /sbin/dhclient-script rather than /etc/dhclient-script
Obtained from:	OpenBSD
1999-02-10 09:35:26 +00:00
obrien
07c996cf8d patch-ac from ports/net/isc-dhcp2
date: 1997/06/03 06:24:11;  author: pst
current apparently defines INADDR_LOOPBACK
1999-02-10 09:18:30 +00:00
obrien
b87d9f7062 Information on how I did the import.
I still have reservations about choosing the ISC client over the WIDE client,
but I believe the FreeBSD community in general seems to prefer this choice.
Also OpenBSD uses this version and msmith showed that the ISC client gives
us more choices in how we hook the client into sysinstall and /etc/rc*
1999-02-10 09:16:11 +00:00
jkh
1a0dc12e91 Install the correct rc.conf file. 1999-02-10 09:15:27 +00:00
jkh
eb2538b12d Install a little, erm, less from the etc/defaults directory. 1999-02-10 09:14:05 +00:00
obrien
117fbe9a9b Virgin import of ISC-DHCP v2.0b1pl6 1999-02-10 09:10:13 +00:00
obrien
f63ad30707 This commit was generated by cvs2svn to compensate for changes in r43829,
which included commits to RCS files with non-trunk default branches.
1999-02-10 09:10:13 +00:00
des
a0d36e43b9 Remove the lpt(4) page, and fix references in the lp(4) and rdp(4) pages.
Also fix a language nit in the rdp(4) page.
1999-02-10 02:45:06 +00:00
des
7dd9b0cd62 Remove the lpt driver, as discussed on -hackers. 1999-02-10 02:41:24 +00:00
des
d57c230beb Remove lpt from the device list.
Add the rdp driver (forgotten by Joerg?)
1999-02-10 02:37:24 +00:00
des
9e7ce1fd58 Use ppbus instead of the lpt driver. 1999-02-10 02:26:04 +00:00
des
3fa30397c0 Use ppbus instead of the lpt driver. Throw in a (commented-out) vpo entry
for good measure.
1999-02-10 02:18:31 +00:00
msmith
9436d32fb2 The loader doesn't use '@' to suppress command lines anymore. 1999-02-10 01:57:38 +00:00
ken
10cc51ce30 Fix vmstat display problems. The header printout wasn't quite right, and
the display wrapped around.

This decreases the default maximum number of disks shown to 2, so things
don't wrap around so easily.  Also, it fixes the header display issues.

Submitted by:	Bruce Evans <bde@FreeBSD.ORG>
1999-02-10 00:46:27 +00:00
jkh
aa5893d547 Save pnp changes into a sysctl variable for kget, just as is done
with the isa changes.
1999-02-10 00:26:47 +00:00
ken
542b263658 Add a prioritization field to the devstat_add_entry() call so that
peripheral drivers can determine where in the devstat(9) list they are
inserted.

This requires recompilation of libdevstat, systat, vmstat, rpc.rstatd, and
any ports that depend on the devstat code, since the size of the devstat
structure has changed.  The devstat version number has been incremented as
well to reflect the change.

This sorts devices in the devstat list in "more interesting" to "less
interesting" order.  So, for instance, da devices are now more important
than floppy drives, and so will appear before floppy drives in the default
output from systat, iostat, vmstat, etc.

The order of devices is, for now, kept in a central table in devicestat.h.
If individual drivers were able to make a meaningful decision on what
priority they should be at attach time, we could consider splitting the
priority information out into the various drivers.  For now, though, they
have no way of knowing that, so it's easier to put them in an easy to find
table.

Also, move the checkversion() call in vmstat(8) to a more logical place.

Thanks to Bruce and David O'Brien for suggestions, for reviewing this, and
for putting up with the long time it has taken me to commit it.  Bruce did
object somewhat to the central priority table (he would rather the
priorities be distributed in each driver), so his objection is duly noted
here.

Reviewed by:	bde, obrien
1999-02-10 00:04:13 +00:00
wes
4eda991f81 Reviewed by: jkh
Submitted by:	wes
Added commentary to ttys to clarify the meaning of the columns.
Added commentary to ttys to clarify the meaning of the columns.
1999-02-09 23:55:13 +00:00
wes
155ee0bd22 Reviewed by: jkh
Submitted by:	wes
Added commentary to ttys to clarify the meaning of the columns.
1999-02-09 23:55:04 +00:00
jkh
ffd599b4ab Install rc.conf properly into /etc/defaults/ directory. 1999-02-09 23:17:25 +00:00
jkh
9e9e0d3516 Write changes out to /etc/rc.conf again; rc.conf.site is dead! 1999-02-09 22:18:10 +00:00