Commit Graph

55892 Commits

Author SHA1 Message Date
bmilekic
37decc93f5 Implement MTX_RECURSE flag for mtx_init().
All calls to mtx_init() for mutexes that recurse must now include
the MTX_RECURSE bit in the flag argument variable. This change is in
preparation for an upcoming (further) mutex API cleanup.
The witness code will call panic() if a lock is found to recurse but
the MTX_RECURSE bit was not set during the lock's initialization.

The old MTX_RECURSE "state" bit (in mtx_lock) has been renamed to
MTX_RECURSED, which is more appropriate given its meaning.

The following locks have been made "recursive," thus far:
eventhandler, Giant, callout, sched_lock, possibly some others declared
in the architecture-specific code, all of the network card driver locks
in pci/, as well as some other locks in dev/ stuff that I've found to
be recursive.

Reviewed by: jhb
2001-01-19 01:59:14 +00:00
phk
5977e97236 Look for modules in /boot/kernel these days. 2001-01-18 22:36:34 +00:00
bmah
4bb6924610 New release notes: Condition variables in kernel, ConnectionsPerPeriod
deprecated in sshd_config, cdcontrol(1) and CDROM, sysctl -N,
ports "origin", sysinstall->/usr/sbin.

Note MFC for LinkSys cards note, clarify and MFC syslogd(8) and
LOG_CONSOLE.
2001-01-18 19:25:40 +00:00
bmah
57c420bc7b Document I386_CPU kernel options, and note removal of I386_CPU
from the GENERIC kernel.

Reviewed by:	peter, jhb
2001-01-18 17:25:34 +00:00
ru
24425e5600 mdoc(7) police: add missing .Ed call. 2001-01-18 17:23:15 +00:00
ru
9394aea4ed man(7) -> mdoc(7). 2001-01-18 16:04:48 +00:00
sos
c33caa8ae0 When blocksize is set to 2352, alwas read 2352 bytes.
This means it might read more than just data, but that is exactly
what we want here (for reading VCD's fx)
2001-01-18 15:20:18 +00:00
ru
17384aec71 man(7) -> mdoc(7). 2001-01-18 12:56:17 +00:00
ben
eca77bec74 remove reference to nonexistent screenmap(5) manual page.
PR:		24305
Submitted by:	Marco van de Voort <marcov@stack.nl>
2001-01-18 11:59:01 +00:00
ru
b99317af38 mdoc(7) police:
Use proper macros for variables and their types, removed
hard sentence breaks, added a bunch of cross references.
2001-01-18 09:42:50 +00:00
jhb
2c69cab2ed Protect p_stat and p_oncpu with sched_lock in forward_signal(). 2001-01-18 08:19:25 +00:00
jkh
7fd26bda78 Note that /stand/sysinstall is deprecated.
Forgotten by:	jhb
2001-01-18 08:13:38 +00:00
peter
a6e9fcc15c Deal with table parsing bugs caused by out-of-order record entries.
Complain about out-of-order entries.  This fixes the 'mp extended
table HOSED!" report on the DL360 we have here with the "fixed" compaq
bios rom to fix the table length off-by-one error.
2001-01-18 07:42:02 +00:00
asmodai
5545c6b0d5 Add a smal line of text which indicates I am working on updating
this.  <almost exactly 6 years after Garrett>
2001-01-18 07:19:25 +00:00
itojun
32557560ce workaround; be sure to initialize nd6 interface information when IPv6
interface address gets added.  this will avoid presenting EMSGSIZE when
outgoing interface is down (and never brought up).

sync with kame.
2001-01-18 06:07:53 +00:00
n_hibma
a3510062b5 Nikon E990 and Nomad MP3 player Ids.
Submitted by:	pete@altadena.net
2001-01-18 00:15:49 +00:00
peter
77e7d6b0f8 Previous commit was:
Submitted by: Bart Thate <freebsd@1st.dudi.org>
2001-01-17 22:37:52 +00:00
peter
e56988022f Argh! add card_if.h to the generated list. This fixes kernel builds for
those who haven't added 'NO_MODULES=off' to /etc/make.conf.
2001-01-17 22:36:49 +00:00
ben
00a7cb7324 Document the restrictions on changing times in high securelevels.
PR:		23502
Submitted by:	Robert Boyd <rboyd@pokerspot.com>
2001-01-17 21:27:54 +00:00
ben
6c17e2cfa9 Document EHOSTDOWN error.
PR:		24410
Submitted by:	Martin Horcicka <horcicka@vol.cz>
2001-01-17 21:02:50 +00:00
jedgar
168082bf38 Clarify comments referring to strlcat() usage
Obtained from:	OpenBSD
2001-01-17 20:51:20 +00:00
jedgar
3644801234 - Reverse the order of two loop invariant to ensure strlcat() does not
attempt to read memory when siz is 0
- Clarify comments referring to strlcat() usage

PR:		24278, 24295
Submitted by:	Tony Finch <dot@dotat.at>
		Richard Kettlewell <rjk@greenend.org.uk>
Reviewed by:	-audit
2001-01-17 20:51:16 +00:00
wilko
d4d18015b9 Note fix for isp that made certain CDROM attach fail.
PR:		22650
2001-01-17 20:42:29 +00:00
jhb
0c73f664da The example install.cfg now lives in /usr/src/usr.sbin/sysinstall. 2001-01-17 19:52:16 +00:00
jhb
c296ee4800 Look for help files in /usr/src/usr.sbin/sysinstall instead of
/usr/src/release/sysinstall.
2001-01-17 19:51:08 +00:00
jhb
9aa77b866f Tell users to run /usr/sbin/sysinstall now instead of /stand/sysinstall.
Reminded by:	jkh
2001-01-17 19:29:53 +00:00
ben
10361fc9ee Merge the documentation for sigsetmask() and sigblock() into a
single manual page, appropriately linked, since this removes the
decision of which page the (previously non-existent) sigmask.2
MLINK should point at.

Submitted by:	will
2001-01-17 19:20:58 +00:00
ru
2b24819cd8 man(7) -> mdoc(7). 2001-01-17 18:26:21 +00:00
ru
295d5f80dc Add librpcsvc. 2001-01-17 18:19:06 +00:00
imp
c31669cf49 Catchup from my holiday lull:
o libcrypt not a symlink.
o hw.sndunit -> hw.snd.unit
o burncd / kernel changes
o I386_CPU now mutually exclusive with all other CPU types.
2001-01-17 17:59:09 +00:00
dmlb
4356e42b84 Take advantage of the fixes to the pcic code that allows multiple
active memory maps. This removes the need to change the memory
map from common to attribute every time a packet is sent/received.

This increases performance and decreases cpu load (ping times on
slow machines improve by about 1.5ms).

Move out the old common memory/attrbiute memory hack functions to a
new header file to tidy up the main code. I want to keep them available
for a while.
2001-01-17 17:55:00 +00:00
ache
64179cca15 Activate Greek message catalog 2001-01-17 16:54:43 +00:00
ache
ad3739ff3c Add Greek collate
PR:		24324
Submitted by:	past@netmode.ntua.gr
2001-01-17 16:47:28 +00:00
ache
00fb20d0e1 Add Greek keyboard
PR:		24324
Submitted by:	past@netmode.ntua.gr
2001-01-17 16:27:47 +00:00
ache
98ba472b80 Add iso07 fonts
PR:		24324
Submitted by:	past@netmode.ntua.gr
2001-01-17 15:57:22 +00:00
ache
6fe181e846 Add Greek support
PR:		24324
Submitted by:	past@netmode.ntua.gr
2001-01-17 13:43:20 +00:00
ache
0f6592819f Add Greek support
PR:		24324
Submitted by:	past@netmode.ntua.gr
2001-01-17 13:30:16 +00:00
ache
96082be1d9 Add el_GR.ISO_8859-7 2001-01-17 13:15:46 +00:00
peter
79a0dc74e0 Add NEWCARD hooks. This seems to work just fine. 2001-01-17 12:31:59 +00:00
ben
346e52a57b document ${KERNEL}
PR:		24404
Submitted by:	Mike Meyer <mwm@mired.org>
2001-01-17 11:51:43 +00:00
ru
49ab0ab564 rstat(1) and rstat_svc(8) are the early versions of
the rup(1) and rpc.rstatd(8) manpages respectively.
2001-01-17 11:50:42 +00:00
ben
5ec0383033 Actually add build.7 to the Makefile, 2 months late.
PR:		24405
Submitted by:	Mike Meyer <mwm@mired.org>
2001-01-17 11:11:02 +00:00
sos
70f7bdb079 Add first cut support for the ATA100 capable VIA82c686b. 2001-01-17 09:22:13 +00:00
ru
9750a039c1 man(7) -> mdoc(7). 2001-01-17 09:15:13 +00:00
ru
0138595d39 mdoc(7) police: compact a few lists for better output. 2001-01-17 09:07:31 +00:00
ru
9509d98395 mdoc(7) police: removed empty line (mdocNG does not like them),
columnate ENVIRONMENT variables.
2001-01-17 08:32:08 +00:00
jhb
ecba41ee8d Sysinstall has been repocopied to src/usr.sbin/sysinstall and everything
now uses the sources found there.
2001-01-17 07:14:45 +00:00
jhb
ef2b685ba1 - sysinstall now gets built as part of world, so don't throw in extra
commands to build sysinstall manually during release.
- Get the sysinstall help files from /usr/src/usr.sbin/sysinstall/help
  rather than ${.CURDIR}/sysinstall/help.
2001-01-17 07:13:40 +00:00
jhb
dd438a218a Now that sysinstall lives in /usr/src/usr.sbin, we don't need to pull it
from /usr/src/release.
2001-01-17 07:11:05 +00:00
bde
a5c721c71a Removed unused copy of ../mount/getmtopts.3.
Removed used copies of ../mount/getmntopts.c ../mount/mntopts.h.  Use the
versions in ../mount directly like all other mount utilities.

Removed used copy of ../mount/pathnames.h.  Use the version in ../mount
for free as a side effect of using the mntopts files there.  We should
not use it at all, since the 2/3 of the definitions in it are in <paths.h>
and the other 1/3 should be in ../mountd/pathnames.h and is not used by
mount_ifs anyway.
2001-01-17 04:10:06 +00:00