Commit Graph

59083 Commits

Author SHA1 Message Date
joerg
66840d0239 ``An undocumented feature is a bug.''
Turn on my asbesto suit, and document the DD and Wizard mode menu
keys.  It's a nuisance to always have to look them up in the source
code when needed.
2001-04-18 20:26:28 +00:00
alfred
e6ee97803e Protect pager object creation with sx locks.
Protect pager object list manipulation with a mutex.

It doesn't look possible to combine them under a single sx lock because
creation may block and we can't have the object list manipulation block
on anything other than a mutex because of interrupt requests.
2001-04-18 20:24:16 +00:00
jhb
82131f7a66 Back out the previous revision as it causes random sig 11's to userland
processes until a better fix is found.

Submitted by:	gallatin
2001-04-18 17:17:55 +00:00
ru
fe80a1fb97 mdoc(7) police: update referenced standard name. 2001-04-18 16:01:43 +00:00
ru
2d1b95a96f mdoc(7) police: normalize .Nd. 2001-04-18 15:54:10 +00:00
ru
16a48734c9 mdoc(7) police: fix markup. 2001-04-18 15:43:06 +00:00
dfr
03a0655e15 Don't panic when we try to modify the kernel pmap. 2001-04-18 15:08:37 +00:00
dfr
ea79003dd8 Print an approximation of the function arguments in the stack trace. 2001-04-18 15:07:56 +00:00
dfr
5142414afb Implement a simple stack trace for DDB. This will have to be redone
if/when we change to a more modern toolchain.
2001-04-18 14:15:45 +00:00
dfr
4ecfe212ec Record the right value for tf_ndirty for kernel interruptions so that
we can examine the interrupted register stack frame in DDB.
2001-04-18 14:10:43 +00:00
ru
dca2cb11d9 mdoc(7) police: use .Fx. 2001-04-18 13:39:57 +00:00
ru
13593bc9b1 mdoc(7) police: use .Fx. 2001-04-18 13:24:18 +00:00
ru
7d4b08864a mdoc(7) police: fix markup. 2001-04-18 13:16:47 +00:00
ru
8c5fa3b175 mdoc(7) police: use .Fx where appropriate. 2001-04-18 13:14:47 +00:00
ru
889eeac6e7 mdoc(7) police: fixed whatis(1) entry. 2001-04-18 12:56:15 +00:00
deischen
5e6e0f0b7b Typo; fix open() so that it is not a cancellation point when called
from libc.
2001-04-18 12:42:11 +00:00
deischen
9b1e997b4c Reinstall the alternate signal stack after a fork.
PR:		25110
Tested by:	knu
2001-04-18 12:40:30 +00:00
ru
28cc9e1ba4 Add groff to bootstrap-tools. 2001-04-18 12:20:28 +00:00
ru
c76108416e Add missing -mtty-char for MANBUILDCAT. 2001-04-18 12:13:08 +00:00
tanimura
546a3cb874 Reclaim directory vnodes held in namecache if few free vnodes are
available.

Only directory vnodes holding no child directory vnodes held in
v_cache_src are recycled, so that directory vnodes near the root of
the filesystem hierarchy remain in namecache and directory vnodes are
not reclaimed in cascade.

The period of vnode reclaiming attempt and the number of vnodes
attempted to reclaim can be tuned via sysctl(2).

Suggested by:	tegge
Approved by:	phk
2001-04-18 11:19:50 +00:00
ru
ad298e18d8 Synch with devascii/R.proto, RFC 1489, and groff_char(7). 2001-04-18 09:22:51 +00:00
alfred
6d135b3afa NFS module now requires nfs_lock.c 2001-04-18 08:33:52 +00:00
ru
03fd77f5a8 mdoc(7) police: uppercase document title. 2001-04-18 08:25:26 +00:00
dd
39857d7a3f List the explanations of the command line arguments in the same order
as they're listed in the synopsis (alphabetical).
2001-04-18 07:21:58 +00:00
phk
11bb4116b3 bread() is a special case of breadn(), so don't replicate code. 2001-04-18 07:16:07 +00:00
imp
60035bdf1f Add some more O2Micro devices I gleened from the web site/linux pcmcia cs.
Add TI4451 as well.

These are untested since I don't have the hardware to test against.

Also, some O2Micro devices are #define w/o numbers as place holders so that
I can encourage people to submit them when they appear in the channels.
2001-04-18 05:45:15 +00:00
alfred
cd79f17cad Fix the botched rev 1.59 where I made it such that without INVARIANTS
the map is never locked.

Submitted by: tegge
2001-04-18 05:30:24 +00:00
imp
6034603194 Add support for the OZ6832.
Submitted by: Martin Nilsson <martin@svenskabutiker.se>
2001-04-18 04:42:11 +00:00
iedowse
3f3a6a4168 A few more mountd cleanups:
- Remove some horrible code that faked a "struct addrinfo" to be
  later passed to freeaddrinfo(). Instead, add a new group type
  "GT_DEFAULT" used to denote that the filesystem is exported to the
  world, and treat this case separately.
- Don't clear the AI_CANONNAME flag in a struct addrinfo returned
  by getaddrinfo. There's still a bit more struct addrinfo abuse
  left in here.
- Simplify do_mount() slightly by using an addrinfo pointer to keep
  track of the current address.
2001-04-18 00:28:37 +00:00
imp
95a0a96501 Move setting of TI113X_PCI_CARD_CONTROL register sooner 2001-04-17 23:56:12 +00:00
imp
f899d123d0 Minor comment that missed the last change 2001-04-17 23:50:24 +00:00
imp
92b1af4042 When booting, turn on the 3E0 compatibility address for ricoh cardbus
parts.  This is based on the newcard code that turns it off :-).  We
can now reboot after NEWCARD or Windows and have OLDCARD work.  Add
support for the RL5C466 while I'm at it.

Treat TI1031 the same as the CLPD6832.  It doesn't work yet, but sucks
less than it did before.

Also add a few #defines for other changes in the pipe.
2001-04-17 23:15:00 +00:00
iedowse
023d47cd6f Various bugfixes and cleanups, mainly from Martin Blapp:
- Revert del_mlist() to its pre-tirpc prototype. Unlike NetBSD's version,
  ours lets the caller generate any syslog() messages, so that it
  can include the service name in the message.
- Initialise a few local variables to clarify the logic and avoid some
  compiler warnings.
- Remove a few unused functions and local variables, and fix some
  whitespace issues.
- Reinstate the logic for avoiding duplicate host entries that got
  removed accidentally in revision 1.41 (added in r1.5). This bit
  was submitted in a slightly different form by Thomas Quinot.

Submitted by:	Martin Blapp <mb@imp.ch>,
		Thomas Quinot <quinot@inf.enst.fr>
PR:		bin/26148
2001-04-17 22:25:48 +00:00
dd
c50aedd1ac Make this driver play ball with devfs(5).
Reviewed by:	brian
2001-04-17 20:53:11 +00:00
alfred
2c4a656351 Add a sanity check on ucred refcount.
Submitted by: Terry Lambert <terry@lambert.org>
2001-04-17 20:50:43 +00:00
alfred
f0669d6c9e Implement client side NFS locks.
Obtained from: BSD/os
Import Ok'd by: mckusick, jkh, motd on builder.freebsd.org
2001-04-17 20:45:23 +00:00
phk
676302e684 Write a switch statement as less obscure if statements. 2001-04-17 20:22:07 +00:00
bmah
b141e422b6 Update for security advisories: 01:32 (ipfilter), 01:33 (glob/ftp).
New release notes:  TCP ISS randomization, groff-1.17.
2001-04-17 19:22:07 +00:00
schweikh
6a476620d8 Fixed typos.
Approved by:	jkh
2001-04-17 19:08:41 +00:00
obrien
25ef5bec44 Optimize make invocations by using multiple targets. 2001-04-17 18:32:35 +00:00
jhb
2a45d7c9b1 Save are floating point state in cpu_switch() if needed instead of relying
completely on lazy floating point state saving.  This is needed for the
SMP case since processes can migrate to other CPUs.

Submitted by:	dfr
2001-04-17 18:27:55 +00:00
kris
3c55192143 I think this was supposed to be __const like in NetBSD: I have no idea
why I changed it to const.

Noticed by:	David Wolfskill <david@catwhisker.org>
2001-04-17 18:16:46 +00:00
kris
c6ccf71cc0 Note that the previous commit also restored some historical behaviour
in the TCP_COMPAT_42 case (e.g. choosing '1' as the initial sequence
number at boot-time, instead of randomizing it).  TCP_COMPAT_42 is the
repository for old security holes, too :-)
2001-04-17 18:14:37 +00:00
kris
0c55f2e6da Randomize the TCP initial sequence numbers more thoroughly.
Obtained from:	OpenBSD
Reviewed by:	jesper, peter, -developers
2001-04-17 18:08:01 +00:00
jhb
f2fbc423a1 Fix an old bug related to BETTER_CLOCK. Call forward_*clock if SMP
and __i386__ are defined rather than if SMP and BETTER_CLOCK are defined.
The removal of BETTER_CLOCK would have broken this except that kern_clock.c
doesn't include <machine/smptests.h>, so it doesn't see the definition of
BETTER_CLOCK, and forward_*clock aren't called, even on 4.x.  This seems to
fix the problem where a n-way SMP system would see 100 * n clk interrupts
and 128 * n rtc interrupts.
2001-04-17 17:53:36 +00:00
schweikh
8d48c36eaf Typos fixed.
Approved by:	jkh
2001-04-17 17:42:46 +00:00
n_hibma
666a229175 Regen. 2001-04-17 15:53:35 +00:00
n_hibma
6d8536593a Add the HP scanner 3400C 2001-04-17 15:53:20 +00:00
n_hibma
b7ba82d18a Regen. 2001-04-17 15:34:44 +00:00
n_hibma
d36374f53c Lexar jumpSHOT Id.
Submitted by:	gshapiro
2001-04-17 15:34:22 +00:00