Commit Graph

45906 Commits

Author SHA1 Message Date
Nicolas Souchu
249a96889e Fix system hang when printer locks on missing paper
(also called the "printer fiasco")

Approved by: jkh
2000-02-08 21:46:27 +00:00
Ruslan Ermilov
a9534fe4f0 -mdoc'ify. 2000-02-08 21:32:12 +00:00
Poul-Henning Kamp
9b6d9dba20 Also allow non-rot processes to setproctitle()
Submitted by:	Paul Saab <paul@mu.org>
Approved by:	jkh
2000-02-08 19:54:15 +00:00
Søren Schmidt
1af69d6936 Probe cosmetics. 2000-02-08 18:38:39 +00:00
Søren Schmidt
cc8baa1136 The bde script has a bug, I used a patch from it verbatim, bad idea....
Fixed...
2000-02-08 16:39:11 +00:00
Luigi Rizzo
752b4f600f Remove unused files.
Approved-by: jordan
2000-02-08 15:40:53 +00:00
Luigi Rizzo
a43bd80325 Remove unused files
Approved-by: jordan
2000-02-08 15:37:25 +00:00
Luigi Rizzo
cceb343a97 Remove unused files
Approved-by: jordan
2000-02-08 15:21:43 +00:00
Luigi Rizzo
05a8cbfa9a Update config files
Approved-by: jordan
2000-02-08 15:15:53 +00:00
Luigi Rizzo
527dd2b7a1 Update configuration files.
Approved-by: jordan
2000-02-08 15:14:27 +00:00
Luigi Rizzo
6e4a7f7049 Remove unused files.
Approved-by: jordan
2000-02-08 15:09:50 +00:00
Luigi Rizzo
a5e3422574 Remove unused file
Approved-by: jordan
2000-02-08 15:04:39 +00:00
Luigi Rizzo
25a3a898ca Update bridging code to the one already in -stable (this was
forgotten some time ago...).

Approved-by: jordan
2000-02-08 14:53:55 +00:00
Luigi Rizzo
361725a2ca Update makefile and kernel config file
Approved-by: jordan
2000-02-08 14:49:31 +00:00
Luigi Rizzo
5b07faf82f Remove unused files
Approved-by: jordan
2000-02-08 14:38:10 +00:00
Luigi Rizzo
84d1c90536 Remove unused Makefile
Approved-by: jordan
2000-02-08 14:28:43 +00:00
Luigi Rizzo
52b7336b10 Cleanup of the default floppy tree for PicoBSD builds.
Approved-by: jordan
2000-02-08 14:20:54 +00:00
Luigi Rizzo
abf070d11d Update files for "isp" floppy type.
Approved-By: jordan
2000-02-08 11:42:08 +00:00
Luigi Rizzo
c97822e186 Add global version of mfs.mtree -- this is common to most floppy types
Approved-by: jordan
2000-02-08 11:39:28 +00:00
Luigi Rizzo
0ce83089f8 Remove unused files
Approved-by: jordan
2000-02-08 11:37:40 +00:00
Luigi Rizzo
a918adf25f Update config file 2000-02-08 09:14:23 +00:00
Luigi Rizzo
d8a9ec78b2 Remove mfs.mtree, there is now a global version in ../build
Approved-By: jordan
2000-02-08 08:42:52 +00:00
Luigi Rizzo
17ed87528d Remove unused files. Reboot is now part of the crunched image,
and if you decide to "update" your system you better know a bit
of english!

Approved-By: jordan
2000-02-08 08:41:03 +00:00
Luigi Rizzo
dff86e3271 Remove the (now unused; it is in ../../build/Makefile.crunch)
Makefile, update crunch.conf

Approved-By: jordan
2000-02-08 08:37:50 +00:00
Luigi Rizzo
bdc410e54d Add a new file to be included by the makefiles used by crunchgen
(this is a convenient place to put Make variables until we add a -D
option to crunchgen).

Approved-By: jordan
2000-02-08 08:29:18 +00:00
Luigi Rizzo
d13031514e The Makefile for building the crunched image is the same
for almost all images, so let's have a centralized copy.

Approved-By: jordan
2000-02-08 08:27:55 +00:00
Luigi Rizzo
f908e29f8d Cleanup the build scripts.
Approved-by: jordan
2000-02-08 08:25:00 +00:00
Luigi Rizzo
f144de8b3d Remove unused files.
Approved-By: jordan
2000-02-08 08:19:04 +00:00
Luigi Rizzo
e9a9d8ebf5 Start the cleanup of PicoBSD build scripts and general build
structure.
These changes have been discussed with Greg Lehey and posted on
freebsd-small (most things in the PicoBSD tree were already broken
so things can only improve!)

Approved-By: jordan
2000-02-08 08:13:47 +00:00
David E. O'Brien
f506ed7467 There is a problem in that one cannot use ctype.h at the same time as parts
of the C++ stdlib.  Our ctype.h uses symbols of the form _<X> to denote the
various character classes.  Our ctype.h also extends the usual ctype.h
offering by adding the "_T" (special) class.  Problem is parts of the STL
also use the symbol "_T" as its parameterized type.  These two uses are
incompatible.

Thus change the form of the symbols used in ctype to something that fixes
the current problem and is less likely to cause conflicts in the future.

Requested by:	Tomoaki NISHIYAMA <tomoaki@biol.s.u-tokyo.ac.jp>
Ok'ed by:	JKH
2000-02-08 07:43:26 +00:00
David E. O'Brien
e0908a9f34 Use lstat(2) rather than stat(2) in isdir(), so that a symlink to a
directory is not considered a directory.  I have a feeling all the other
stat(2) calls should instead be lstat(2) calls, but I have not suffiently
determined that the current behavior [especially in isfile()] isn't
depended upon by someone.

Ok'ed by:	JKH
2000-02-08 06:36:08 +00:00
Yoshinobu Inoue
12cefbcc20 Change IPv6 address scope delimeter from '@' to '%' as recent KAME change.
'@' conflicts with existing notations such as user@host, so '%' is better.

Approved by: jkh

Obtained from: KAME project
2000-02-08 05:12:45 +00:00
Yoshinobu Inoue
e870738008 ping -S option was missing from IPsec merge, so enable it again.
Approved by: jkh

Submitted by: Matthew Reimer <mreimer@vpop.net>
2000-02-08 05:07:50 +00:00
Jordan K. Hubbard
e47ca39431 Always set dist_attr to NULL.
Submitted by:   "John W. DeBoskey" <jwd@unx.sas.com>
2000-02-08 04:07:00 +00:00
Søren Schmidt
e8359a57de Do refcounting of open devices (more) correctly.
count_dev funtion by phk.
2000-02-07 23:05:40 +00:00
Søren Schmidt
a9ec39136b Dont panic if no sub-driver is found. 2000-02-07 22:57:11 +00:00
Søren Schmidt
77145a3388 Unbreak addump, now dumping works again. 2000-02-07 22:56:32 +00:00
Nick Hibma
4f2e8d6383 Add PCI Id's for i810 chipsets.
PR:		16517
Submitted by:	SAKIYAMA Nobuo <sakichan@lares.dti.ne.jp>
Approved by:	jhk
2000-02-07 12:50:33 +00:00
Matthew N. Dodd
5326b23cd6 m_pullup() frees the supplied mbuf on failure; we don't need to try
and do this ourselves.

Approved by:	jkh
Noticed by:	Mike Spengler <mks@networkcs.com>
2000-02-07 06:18:38 +00:00
Warner Losh
92c9724fe4 Enshrine my own personal tantrum to the whole xinstall fiasco.
Inspired by: reading too much -current and updating my laptop accross
the great divide.
2000-02-07 05:14:16 +00:00
Yoshinobu Inoue
648c4d3822 IPv6 prefix assignment bug fixes.
(1)When all related IPv6 addresses are removed,
       then remove the associated IPv6 prefix.
    (2)When multiple IPv6 link local addrs exist for a same
       interface , then let its IPv6 prefix have multiple
       interface id, and create multiple IPv6 global addrs with same
       interface id.
    (3)When a new IPv6 link local addr is assigned for an
       interface, then let its IPv6 prefix also have the
       interface id of the new IPv6 link local addr, and
       create new IPv6 global addrs with same interface id.

Approved by: jkh
2000-02-07 01:45:30 +00:00
Yoshinobu Inoue
836b116ab0 Permit site local addr in IPv6 source address selection rule.
KAME source addr selection rule had a problem to treat IPv6 site
  local addr.
  The rule is completely rewritten recently and the above problem
  is also fixed, but rewriting same code part in freebsd4.0 is too
  dangerous in this stage, so just add workaround to avoid
  the problem. Just add code for IPv6 site local addresses into IPv6
  source addr selection algorythm part.
2000-02-07 01:32:41 +00:00
Yoshinobu Inoue
f306e0c85f Fix telnet core dump at invalid service name specified.
Added an error check to avoid it.

Approved by: jkh

Submitted by: Robert Muir <rmuir@gibralter.net>
2000-02-07 00:52:49 +00:00
Nick Hibma
bc687a0b51 Add MacAlly Keyboard in USB section 2000-02-06 21:56:35 +00:00
Paul Richards
f49c61a73a Add a firewall_flags option that is used when ipfw processes a file. It allows
you to run a preprocessor, such as m4, so that you can use macros in your
rules file.

Approved by:	jkh
2000-02-06 19:25:00 +00:00
David E. O'Brien
6eea92a408 Move brandelf from being i386 specific to the MI area -- Linux emulation
is comming to the Alpha.
2000-02-06 19:15:10 +00:00
Hellmuth Michaelis
6945eda6ea Approved by: jkh
Reviewed by: joerg

The isdnd is able to listen on a socket for isdnmonitor to connect to
it to remotely control it (similar to ppp and pppctl). When this is
enabled in the isdnd config file, it will fail currently because isdnd
is started before the network interfaces are configured.
It is necessary to move the isdnd start after the ifconfig of the network
interfaces, then this problem will not occur.
2000-02-06 16:33:54 +00:00
Nick Hibma
3a119ee1e2 Don't use tsleep when cold booting. It is called before bus->use_polling
is initialised by usb_init.

This might solve problems with some controllers not being initiliased
properly, because a delay was effectively a tsleep that returned
immediately.

Approved by:	jhk
2000-02-06 14:59:00 +00:00
Nick Hibma
16422b76f1 Correctly handle suspend and resume in APM.
Up to now, errors from DEVICE_SUSPEND(root_bus) were ignored. The fix for
this problem (the introduction of defaults for device methods) has been
committed months ago by Doug Rabson.

Second, the suspended devices were not always properly resumed on error.

Third, swapped the order for calling restore hooks and restore methods, to
be in line with the cases above.

Reviewed by:	Doug Rabson
Approved by:	jhk
2000-02-06 14:57:05 +00:00
Nick Hibma
ef4da90333 Disable the generation of SMIs (System Management Interrupts). Always set
the PIRQD bit.

This fixes the problem of uhub0 hanging forever during boot when USB
keyboard support is switched on in the BIOS on motherboards with Intel
chipsets (UHCI).

Approved by:	The Sheep
2000-02-06 14:52:27 +00:00