Commit Graph

35862 Commits

Author SHA1 Message Date
hubertf 9bc65afc99 Check length of given user name to (slip)login. Fixed the exploit in
http://www.rootshell.com/archive-Rbf4ahcmxzw5qn2S/199801/sliplogin.c.
1998-01-12 08:59:56 +00:00
thorpej 9c183e53cb Slight change to previous. 1998-01-12 08:57:20 +00:00
thorpej b731c12641 Adjust for config changes. 1998-01-12 08:51:09 +00:00
thorpej c574630ead Add device classes. 1998-01-12 08:48:28 +00:00
thorpej 43ba4e27bd Adjust for config changes. 1998-01-12 08:44:08 +00:00
thorpej 2ceadba464 Add device classes. 1998-01-12 08:21:30 +00:00
mikel 83d4f0d268 make usage string match manpage 1998-01-12 08:11:19 +00:00
thorpej d58acb2a64 Pull in ioconf.h if _KERNEL and ! _LKM. 1998-01-12 08:04:55 +00:00
thorpej bc1733bc88 Add code to emit the cfdriver structures into ioconf.c. This requires
a change to the config grammar, to specify a device's class (i.e. DV_xxx)
like:

device	sd class disk: ...

Also emit an ioconf.h, which contains extern declarations of the
cfdriver structures.

While I'm here, add support for specifying multiple options per defopt
line, as well as specifying the file name in which the options will
appear.

defopt	foo bar baz

generates "opt_foo.h", "opt_bar.h", and "opt_baz.h"

defopt	opt_mumble.h foo bar baz

generates "opt_mumble.h" which contains all three options.

Also, clean up and fix some bugs in the code that generates header files.
1998-01-12 07:37:40 +00:00
thorpej c5f6a2dbb3 Add (commented out) COMPAT_13 1998-01-12 07:09:24 +00:00
thorpej 83c4c24058 Add "non-volatile" memory cluster usage bit. 1998-01-12 07:07:19 +00:00
sakamoto 1f703bce45 Sync w/ dev/isa/wdc.c 1998-01-12 06:08:41 +00:00
sakamoto 38efb3ac5f add The Be interrupt controller setmask function(bebox_intr_mask).
change SINT_TTY to SINT_SERIAL
       splsofttty to splsoftserial, and so on.
1998-01-12 04:57:10 +00:00
scottr 54ea074777 Use option header file for MROUTING 1998-01-12 03:02:48 +00:00
scottr 3cdcd5e1c7 Use option header file for TCP_COMPAT_42 1998-01-12 03:00:42 +00:00
scottr 243db3d614 defopt MROUTING and TCP_COMPAT_42 1998-01-12 02:58:58 +00:00
pk 54719a53a3 More comments and general re-organization (group by device class) provided
by Todd Vierling.
1998-01-11 23:32:55 +00:00
thorpej 1ef77e68aa Oops, fix a printf format. 1998-01-11 23:16:04 +00:00
marc 4a03c84731 change the initial loop condition not to round up if the iobase starts
<= 0x70
1998-01-11 22:22:12 +00:00
thorpej f522bda243 Convert the hp300 LANCE driver to use bus.h 1998-01-11 21:57:02 +00:00
thorpej 5021043b13 ia->ia_addr is of type `bus_addr_t'. 1998-01-11 21:56:13 +00:00
thorpej 582d47fcf0 ia->ia_addr is a physical address, not a kernel virtual address. 1998-01-11 21:55:08 +00:00
thorpej 1687835b3e Pass down bus space tags to children, and use types appropriate for
bus.h.
1998-01-11 21:53:04 +00:00
thorpej 774d66001e Add bus_space.c 1998-01-11 21:42:44 +00:00
thorpej 77706becd7 Initial implementation of bus_space functions for hp300. Some cleanup
of this will be possible once some pmap changes are made.
1998-01-11 21:40:52 +00:00
thorpej b69358e4ca bus.h for the hp300 port. Only supports bus_space for now. 1998-01-11 21:26:04 +00:00
scottr 448859f0c9 Add NFS_BOOT_DHCP option, and compile nfs_bootdhcp.c if either
NFS_BOOT_BOOTP or NFS_BOOT_DHCP are specified.
1998-01-11 05:57:45 +00:00
scottr afc2a8933a Make NFS_BOOT_DHCP work as expected. 1998-01-11 05:55:40 +00:00
mikel 553548fb22 sparc kmem(4) 1998-01-10 23:08:35 +00:00
mikel 9eb5ee9f6e use += to set MLINKS so all links are made 1998-01-10 23:06:38 +00:00
perry c9eb40b69e Commit a fix to the problem that nvi was reporting a completely silly
error message when TERM is not set. This might or might not be a
reasonable permanent fix -- I'm waiting to hear back from Keith Bostic.

Problem was reported in pr-3816 by Erik Fair.
1998-01-10 23:04:11 +00:00
kleink c8b10b78af Document PROT_NONE. 1998-01-10 14:54:56 +00:00
tv 24ca7df4ba don't run minor() macro twice in ISDEV...() macro definitions 1998-01-10 14:07:25 +00:00
enami d9272c9112 Add missing comma in SEE ALSO list. 1998-01-10 12:40:24 +00:00
enami d9fba75667 .Nm in SYNOPSIS except first one should be followed by "". 1998-01-10 08:29:55 +00:00
enami e3c03cb969 Document some undocumented options (-d and -N) and commands
in interactive mode (?, xit and Debug).
1998-01-10 08:27:54 +00:00
enami ae49269de7 Fix a typo; s/Complaints/Complains/ (pointed by Mike Long). 1998-01-10 08:21:58 +00:00
enami f8f06cda52 Fix a typo; s/accomodate/accommodate/ 1998-01-10 08:11:42 +00:00
thorpej e76d5a2fe1 Oops, don't need vm_page_physget() if PMAP_STEAL_MEMORY. 1998-01-10 03:02:58 +00:00
pk 69487f1532 * Fix a train-load of bugs, mostly present in one of these categories:
- "out of resource" errors cause receive buffer chain corruption
	- resets can confuse the interrupt handler
	- multi-cast setup causes receive buffer chain corruption
	- shared memory setup incomplete

* Enhance effiency by avoiding unnecessary shared memory access,
  improved handling of receive frame & buffer descriptors, and
  introducing an `asynchronous' option when issuing 82586 commands.

* Exclusively use offsets relative to the bus handle representing the shared
  memory area to formulate accesses to the chip's data-structures.  The
  front-ends provide glue functions that cater to the chip's endian-
  sensitivity, to perform the actual device access (note: single-byte
  accesses are done here using `bus_space_{read,write}_1()').
  This concludes the transformation into a bus-independent driver module.
1998-01-10 02:35:31 +00:00
pk f041e52c7e * Rename a bunch of chip definitions for consistency.
* Abolish C structures to access chip data-structures; instead use macros
  that take indices and offsets relative to the bus handle representing
  the chip's resources.

* Include the old version of this file wholesale, until all drivers
  have been updated to use the MI 82586 code.
1998-01-10 01:46:32 +00:00
perry aceff90d16 add yet another PCI brige -- from pr 4780 from Nathan J. Williams 1998-01-10 01:15:14 +00:00
lukem 385bb40506 add pool.9 1998-01-10 01:05:17 +00:00
lukem 1cf73dfe86 use Nx 1.4 not Nx 1.3a 1998-01-10 01:04:20 +00:00
perry bac6f0ec1e fix root .cshrc so that it ends prompts with a '#' when invoked by root
and a '%' when invoked by non-root.
Submitted by riz@beast.boogers.sf.ca.us in pr-4248
1998-01-10 00:51:56 +00:00
perry 77fc921931 get rid of secretmail residue -- suggested in pr-4568 from Carl Shapiro 1998-01-10 00:37:34 +00:00
lukem c3c0dec69f use IP_PORTRANGE_LOW sockopt rather than home-grown code 1998-01-10 00:27:34 +00:00
perry 6b9926770a get rid of secretmail residue -- suggested in pr-4568 from Carl Shapiro 1998-01-10 00:06:23 +00:00
perry 296a627800 add a number of "standard" system aliases from rfc2142. 1998-01-09 23:51:09 +00:00
perry af38d09ecc remove outdated paragraph -- moots pr 4702 (from Simon J. Gerraty) 1998-01-09 22:55:01 +00:00