Commit Graph

43222 Commits

Author SHA1 Message Date
Poul-Henning Kamp
a704009d8a This fell out of a previous commit: create the opt_md.h and opt_mfs.h
files for the md module.
1999-11-26 21:01:03 +00:00
Poul-Henning Kamp
86e88eb492 Do not create bdev nodes anymore. Instead create cdev nodes with the
same names:

        rover# ls -l /dev/*wd0a
        crw-r-----  1 root  operator    3,   0 Nov 26 20:20 /dev/rwd0a
        crw-r-----  1 root  operator    3,   0 Nov 26 20:20 /dev/wd0a

Notice: Over time, no earlier than FreeBSD 5.0, the "r*" names may
be discontinued.  A fair number of programs and scripts need to
(un)learn some tricks before then.

This will take no effect until you either run MAKEDEV by hand or
reinstall your system.

WARNING:  Kernels older than approx November 22 will not be happy
about a /dev created with MAKEDEV after this commit.  Please update
your /kernel.good etc.
1999-11-26 20:45:26 +00:00
Warner Losh
7a92b31caa Add poul's md information, in abbreviated form, to the UPDATING file. 1999-11-26 20:38:36 +00:00
Bill Fumerola
b71dd2c73b The author of this is REALLY: Bruce A. Mah <bmah@CS.Sandia.GOV> 1999-11-26 20:38:18 +00:00
Bill Fumerola
80d667c495 Add the author as co-maintainer, a la mergemaster. 1999-11-26 20:35:55 +00:00
Bill Fumerola
33b668b529 Welcome pkg_version into the FreeBSD source tree.
pkg_version (as you may well know) matches the existing packages/ports
installed on your system with the ports INDEX and reports which
ports differ from the current INDEX.

Submitted by:	Bruce A. Mah <CA.Sandia.GOV>
Reviewed by:	ports
1999-11-26 20:31:58 +00:00
Poul-Henning Kamp
71e4fff823 Retire MFS_ROOT and MFS_ROOT_SIZE options from the MFS implementation.
Add MD_ROOT and MD_ROOT_SIZE options to the md driver.

Make the md driver handle MFS_ROOT and MFS_ROOT_SIZE options for compatibility.

Add md driver to GENERIC, PCCARD and LINT.

This is a cleanup which removes the need for some of the worse hacks in
MFS:  We really want to have a rootvnode but MFS on a preloaded image
doesn't really have one.  md is a true device, so it is less trouble.

This has been tested with make release, and if people remember to add
the "md" pseudo-device to their kernels, PicoBSD should be just fine
as well.  If people have no other use for MFS, it can be removed from
the kernel.
1999-11-26 20:08:44 +00:00
Søren Schmidt
7dfec6b427 Oops, committed the wrong file.. 1999-11-26 20:05:11 +00:00
Søren Schmidt
30f5b2a68e Fix atapi_wait_ready, it returned prematurely.
Less verbosity on non-fatal errors.
1999-11-26 19:26:04 +00:00
Søren Schmidt
a150cc4284 Tidy up the VIA support a bit, make it more generic. 1999-11-26 19:24:26 +00:00
Daniel C. Sobral
1b6ef0a40c Add id for ESS 1869 OEM to Compaq on Presario 1621. 1999-11-26 18:58:03 +00:00
Luigi Rizzo
b73ccac130 RTFREE the correct route entry in dummynet_io(). The previous
code failed in handling things like "forward" actions.

Reported-and-tested-by: Jean-Hugues ROYER jhroyer@joher.com
1999-11-26 13:37:09 +00:00
Poul-Henning Kamp
6512591f8d s/dir.h/dir.c/ 1999-11-26 12:29:48 +00:00
Yoshihiro Takahashi
53a312d593 Sync with sys/i386/conf/files.i386 revision 1.281. 1999-11-26 11:47:01 +00:00
Marcel Moolenaar
25e5bdab9e Implement fdatasync in terms of fsync. The regeneration of proto.h,
syscall.h and sysent.h was probably forgotten after the last change
syscalls.master.
1999-11-26 10:20:10 +00:00
Peter Wemm
5e0c812c7c To avoid confusion, zap libtermcap. ncurses provides both curses, termcap
and termlib (terminfo) support.
1999-11-26 09:33:02 +00:00
Peter Wemm
532d6f2fff To avoid confusion, zap libcurses. ncurses provides both curses, termcap
and termlib (terminfo) support.
1999-11-26 09:28:33 +00:00
Poul-Henning Kamp
a8704f8999 Add a sysctl to control if argv is disclosed to the world:
kern.ps_argsopen
It defaults to 1 which means that all users can see all argvs in ps(1).

Reviewed by:	Warner
1999-11-26 08:27:16 +00:00
Daniel C. Sobral
0f59fe37a4 Belatedly add splash_pcx_load to the documented variables. Reword
splash_bmp_load.
1999-11-26 08:09:04 +00:00
Warner Losh
63f52da783 Add note about how hardwiring ep0 will not likely work.
Also correct a small spelling nit from Bill Fumerola.
1999-11-26 06:36:13 +00:00
Julian Elischer
b812525f18 Fix out-of-date comment 1999-11-26 05:02:06 +00:00
David E. O'Brien
07bdb1554d Support the environtmental var "GREP_OPTIONS". Which can hold a set of
default options for diff.  These options are interpreted first and can be
overwritten by explicit command line parameters.

Obtained from:	GNU Grep 2.3h
1999-11-26 03:26:59 +00:00
David E. O'Brien
c0bc11462b Style changes -- whitespace and sorting. 1999-11-26 03:06:33 +00:00
David E. O'Brien
20ee132cae * Support the environtmental var "DIFF_OPTIONS". Which can hold a set of
default options for diff.  These options are interpreted first and can be
overwritten by explicit command line parameters.
* Add the "-o" option to specify old-traditional output style.
* Add utility functions for env vars obtained from GNU Grep 2.3h.
1999-11-26 02:51:44 +00:00
Bill Paul
dda0e6f54e Update the WaveLAN/IEEE driver:
- Convert to new bus attachment scheme. Thanks to Blaz Zupan for doing
  the initial work here. One thing I changed was to have the attach
  and detach routines work like the PCI drivers, which means that in
  theory you should be able to load and unload the driver like the PCI
  NIC drivers, however the pccard support for this hasn't settled down
  yet so it doesn't quite work. Once the pccard work is done, I'll have
  to revisit this.

- Add device wi0 to PCCARD. If we're lucky, people should be able to
  install via their WaveLAN cards now.

- Add support for signal strength caching. The wicontrol utility has
  also been updated to allow zeroing and displaying the signal strength
  cache.

- Add a /sys/modules/wi directory and fix a Makefile to builf if_wi.ko.
  Currently this module is only built for the i386 platform, though once
  the pccard stuff is done it should be able to work on the alpha too.
  (Theoretically you should be able to plug one of the WaveLAN/IEEE ISA
  cards into an alpha with an ISA slot, but we'll see how that turns out.

- Update LINT to use only device wi0. There is no true ISA version of
  the WaveLAN/IEEE so we'll never use an ISA attachment.

- Update files.i386 so that if_wi is dependent on card.
1999-11-25 20:45:49 +00:00
Alan Cox
2b71c841f5 Remove nonsensical vm_map_{clear,set}_recursive() calls
from vm_map_pageable().  At the point they called, vm_map_pageable()
holds a read (or shared) lock on the map.  The purpose
of vm_map_{clear,set}_recursive() is to disable/enable repeated
write (or exclusive) lock requests by the same process.
1999-11-25 20:21:52 +00:00
Julian Elischer
e13b3c7870 Place netgraph entry into alphabetical position
along with the misplaced entries that it was next to.
1999-11-25 20:05:07 +00:00
Peter Wemm
945d12af3b This commit was generated by cvs2svn to compensate for changes in r53696,
which included commits to RCS files with non-trunk default branches.
1999-11-25 18:03:05 +00:00
Peter Wemm
b518ca7de5 Apply the sendmail 8.9.3 denial-of-service patch which prevents untrusted
users from running newaliases.  (This is to protect aliases.db against
truncation).

PR:		15088
1999-11-25 18:03:05 +00:00
Jordan K. Hubbard
2925899ae9 minor bugfix to loader.conf code. 1999-11-25 17:56:00 +00:00
Joerg Wunsch
e9b61ea0fd Don't coredump if can't write to the scorefile. 1999-11-25 15:57:54 +00:00
Yoshihiro Takahashi
45a43b495c Fixed to support IBM-PC HDD.
- Use 'or' operation to change b_flags.
    - SCSI HDD device is 'da', not 'sd'.

Submitted by:	kura@tim.hi-ho.ne.jp (Tomohiko Kurahashi) and
		chi@bd.mbn.or.jp (Chiharu Shibata)
1999-11-25 13:37:42 +00:00
Yoshihiro Takahashi
2dae6d29ec Sync with sys/i386/conf/Makefile.i386 revision 1.165. 1999-11-25 12:52:13 +00:00
Yoshihiro Takahashi
82dbc15151 Sync with sys/boot/i386/loader/Makefile revision 1.37. 1999-11-25 12:46:16 +00:00
Yoshihiro Takahashi
c347ed1c87 Sync with sys/i386/i386/machdep.c revision up to 1.378. 1999-11-25 12:43:07 +00:00
Kris Kennaway
4e83a8fef4 Fix a buffer overflow due to sending strings >1k in length. This is unlikely
to be a security problem, but it's not totally impossible. OpenBSD take note

Reviewed by:	imp
1999-11-25 07:28:54 +00:00
David E. O'Brien
dfe43144ff MFS: note that only IP addresses work when wrapping the portmapper.
Make clearer we consider this only an example, and admins should really
write this file for their needs.
1999-11-25 03:00:44 +00:00
Brian Somers
2cb305af77 Rewrite the link descriptor transfer code in MP mode.
Previously, ppp attempted to bind() to a local domain tcp socket
based on the peer authname & enddisc.  If it succeeded, it listen()ed
and became MP server.  If it failed, it connect()ed and became MP
client.  The server then select()ed on the descriptor, accept()ed
it and wrote its pid to it then read the link data & link file descriptor,
and finally sent an ack (``!'').  The client would read() the server
pid, transfer the link lock to that pid, send the link data & descriptor
and read the ack.  It would then close the descriptor and clean up.

There was a race between the bind() and listen() where someone could
attempt to connect() and fail.

This change removes the race.  Now ppp makes the RCVBUF big enough on a
socket descriptor and attempts to bind() to a local domain *udp* socket
(same name as before).  If it succeeds, it becomes MP server.  If it
fails, it sets the SNDBUF and connect()s, becoming MP client.  The server
select()s on the descriptor and recvmsg()s the message, insisting on at
least two descriptors (plus the link data).  It uses the second descriptor
to write() its pid then read()s an ack (``!'').  The client creates a
socketpair() and sendmsg()s the link data, link descriptor and one of
the socketpair descriptors.  It then read()s the server pid from the
other socketpair descriptor, transfers any locks and write()s an ack.

Now, there can be no race, and a connect() failure indicates a stale
socket file.

This also fixes MP ppp over ethernet, where the struct msghdr was being
misconstructed when transferring the control socket descriptor.

Also, if we fail to send the link, don't hang around in a ``session
owner'' state, just do the setsid() and fork() if it's required to
disown a tty.

UDP idea suggested by: Chris Bennet from Mindspring at FreeBSDCon
1999-11-25 02:47:04 +00:00
Seigo Tanimura
869f459c00 Add the description for the configuration of GUS non-PnP bridge driver.
Submitted by:	Pascal Hofstee <daeron@shadowmere.student.utwente.nl>
1999-11-25 01:20:29 +00:00
Seigo Tanimura
5d6784867c Attach the resources as given in the configuration in a proper way
for non-PnP cards.

Noticed by:	Pascal Hofstee <daeron@shadowmere.student.utwente.nl>
1999-11-25 01:13:52 +00:00
Søren Schmidt
3082a6dc59 Add DMA support for the VIA 82C586 & 82C686 chips, also rearrange
to fall back to slower speeds if the faster ones fails to probe.

Log and retry request on UDMA CRC errors.

Fix a couple of warnings.
1999-11-24 21:40:05 +00:00
Søren Schmidt
84d1d01b7a Add 3 more parts of the VIA 82C686. 1999-11-24 21:07:29 +00:00
Nick Hibma
efb9fba1e1 Make the devices for the endpoints 0-15, not only for 0. This creates
ugen0 and ugen0.1 - ugen0.15, not only ugen0 (control endpoint).
1999-11-24 21:05:59 +00:00
Poul-Henning Kamp
9b962c56a4 General clean-up of socket.h and associated sources to synchronise up
with NetBSD and the Single Unix Specification v2.

This updates some structures with other, almost equivalent types and
effort is under way to get the whole more consistent.

Also removes a double definition of INET6 and some other clean-ups.

Reviewed by: green, bde, phk
Some part obtained from: NetBSD, SUSv2 specification
1999-11-24 20:49:04 +00:00
Nick Hibma
a27816e5a5 Avoid null dereference on verbose output.
Submitted-By: Doug Ambrisko <ambrisko@whistle.com>

Don't print a warning on exit status 0.
1999-11-24 19:18:57 +00:00
Poul-Henning Kamp
d21c76f6ef Remove /dev/drum 1999-11-24 19:14:11 +00:00
Poul-Henning Kamp
a886b6851f Remove leftover reference to the "od" devices. 1999-11-24 19:07:31 +00:00
Daniel C. Sobral
c124b1392d Activates password protection (if a password is defined).
Adds $FreeBSD$.
1999-11-24 17:59:37 +00:00
Daniel C. Sobral
d2290dd57e Add silly password feature. If people want to depend on a flawed
security measures, so be it. It costs us almost nothing.

Document some code in support.4th that I was unable to understand
just by reading.
1999-11-24 17:56:40 +00:00
Guido van Rooij
725585340b Adjust man page: if command is specified, file name is mandatory 1999-11-24 15:47:45 +00:00