117454 Commits

Author SHA1 Message Date
rwatson
8a0d15098c Merge Makefile:1.262, namei.9:1.27, and VFS_LOCK_GIANT.9:1.1 from
HEAD to RELENG_6:

  Add discussion of Giant, the MPSAFE flag, and NDHASGIANT() to namei(9).

  Add a VFS_LOCK_GIANT(9)/VFS_UNLOCK_GIANT(9) man page.

  Discussed with: jeff

Approved by:	re (hrs)
2005-09-25 18:51:45 +00:00
rwatson
f35d1a423f Merge rc.conf:1.260, kerberos:1.5, rc.conf.5:1.265 from HEAD to RELENG_6:
Add a new rc.conf entry, kerberos5_server_flags, which allows the
  administrator to specify additional start-up flags to the Kerberos
  5 Authentication Server.

Approved by:	re (scottl)
2005-09-25 18:45:56 +00:00
wilko
2b39ecac0b Try to avoid crashes during kernel startup by limiting the # of EISA
slots to probe.  Problems have been reported in this area, lets hope
this  bandaid helps.

	!! Owners of EISA-equipped Alpha machines are requested to at least
	!! boot-test a 6-BETA build and report back to the Alpha list. Thanks!

Approved by: re (scottl)
Suggested by: ticso
2005-09-25 18:34:18 +00:00
cognet
2e14014059 It seems I can't MFC something without forgetting half the files.
MFC rev 1.25
revision 1.25
date: 2005/09/18 19:23:35;  author: cognet;  state: Exp;  lines: +2 -4
Slightly change the API for the SNPSTTY ioctl so that the userland now
provides a file descriptor instead of a dev_t.

Approved by:	re
2005-09-24 13:19:20 +00:00
cognet
fa4d030633 MFC rev 1.27:
revision 1.27
date: 2005/09/19 13:48:45;  author: ru;  state: Exp;  lines: +8 -5
Restore the ability to detach from a tty via SIOCSTTY and document
recent changes in a manpage.

Approved by:	re
2005-09-24 13:17:33 +00:00
brueffer
9cd2e3f8ce MFC:
- Sort the list of ethernet devices by driver-name.
- Sort the list of disk controllers by driver-name.  The notable exception is
  ata(4), which should stay on top.
- Add esp(4).

Approved by:	re (hrs)
2005-09-24 10:46:38 +00:00
brueffer
b7b0a4fd38 MFC: rev. 1.286
Don't claim matcd(4) support, it was removed long ago.

Approved by:	re (hrs)
2005-09-24 07:45:21 +00:00
brueffer
bda3ce0621 MFC: rev. 1.2
Use the correct function name as .Nm argument.

Approved by:	re (hrs)
2005-09-24 07:13:37 +00:00
keramida
754be4de67 MFC: a lot of manpage fixes from HEAD.
Approved by:	re (hrs)
2005-09-24 01:59:40 +00:00
cognet
56af4acac5 MFC rev 1.32, 1.33, 1.34:
revision 1.32
date: 2005/09/18 19:24:05;  author: cognet;  state: Exp;  lines: +8 -2
Open the tty device and pass the fd for SNPSTTY.

revision 1.33
date: 2005/09/19 13:48:45;  author: ru;  state: Exp;  lines: +3 -3
Restore the ability to detach from a tty via SIOCSTTY and document
recent changes in a manpage.

revision 1.34
date: 2005/09/21 14:30:14;  author: cognet;  state: Exp;  lines: +8 -8
Close the tty file descriptor once we're done with it.
Use O_NONBLOCK when opening the tty device.

Approved by:	re
2005-09-23 23:24:55 +00:00
cognet
e52f9ba968 MFC rev 1.5:
revision 1.5
date: 2005/09/19 10:14:05;  author: mux;  state: Exp;  lines: +1 -1
Fix the module build for snp(4).

Approved by:	re
2005-09-23 23:23:54 +00:00
cognet
1675cfdf22 MFC rev 1.101 and 1.102:
revision 1.101
date: 2005/09/18 19:23:35;  author: cognet;  state: Exp;  lines: +14 -5
Slightly change the API for the SNPSTTY ioctl so that the userland now
provides a file descriptor instead of a dev_t.

revision 1.102
date: 2005/09/19 13:48:45;  author: ru;  state: Exp;  lines: +5 -5
Restore the ability to detach from a tty via SIOCSTTY and document
recent changes in a manpage.

Approved by:	re
2005-09-23 23:22:22 +00:00
sos
d397569b01 MFC:
Harden the hotplug support for SATA devices.
	This also fixes a few races that was present in the timeout/detach code.
	Fix support for the VIA 6421 controller.
	Fixes the losage of some ATAPI device that reported failed probing.
	Fix problem finding the still working disk in a broken mirror on VIA.

Approved by: re@ (scottl)
2005-09-23 18:06:11 +00:00
rwatson
50fb626c0b Merge rc.initdiskless:1.45 from HEAD to RELENG_6:
Use sysctl -q when querying for kern.bootp_cookie in order to avoid
  printing boot-time errors that don't reflect true error conditions.

Approved by:	re (kensmith)
2005-09-22 16:58:56 +00:00
rwatson
80b8ca94f5 Merge sysctl.8:1.59, sysctl.c:1.68 from HEAD to RELENG_6:
Add "-q" argument to sysctl(8), which suppresses a limited set of
  warnings/ errors generated.  In particular, it suppresses "unknown oid"
  when attempting to get or set a sysctl not present in the kernel.

Approved by:	re (kensmith)
2005-09-22 15:30:21 +00:00
keramida
bad3bd7ff4 MFC 1.167: panic on attach failure...
% When bus_alloc_resource_any() fails, dc_detach() is called and it
% attempts to deallocate busdma tags and resources that haven't been
% allocated yet, causing a panic every time a dc interface fails to
% attach.  Fix by checking that we really have something to dealloc
% before calling bus_dma*() functions.
%
% Approved by:    jhb
% MFC after:      1 week

Approved by:	re (kensmith)
2005-09-22 12:46:01 +00:00
kensmith
6db27a0a53 Fix a whitespace screw-up I made when doing the MFC of COMPAT_FREEBSD5.
It's supposed to be "option", "space", "tab"; not "option", "tab", "tab".

Approved by:	re (scottl)
Pointed out by:	rwatson
Pointy hat:	kensmith
2005-09-22 12:36:39 +00:00
jhb
acc9af9f7a MFC: Various small cleanups. No functional change.
Approved by:	re (kensmith)
2005-09-21 21:11:28 +00:00
jhb
40676a22c1 MFC: Several improvements to the manual page including mentioning that
mtx_trylock() only works with MTX_DEF mutexes.

Approved by:	re (kensmith)
2005-09-21 21:09:36 +00:00
jhb
e0440d1c00 MFC: Use if_printf() and device_printf().
Approved by:	re (kensmith)
2005-09-21 21:06:39 +00:00
jhb
897fc13bf2 MFC: Destroy sx locks created with SX_SYSINIT() during module unload via a
SYSUNINIT.

Approved by:	re (kensmith)
2005-09-21 21:05:19 +00:00
jhb
77262478e8 MFC: Add witness checks to make sure exiting threads don't hold any locks.
Approved by:	re (kensmith)
2005-09-21 21:04:16 +00:00
rodrigc
63a5da33bb MFC: 1.16:
In mountd_precmd(), use rc_args, not mountd_args to
  override the value of mountd_args.  This fixes the problem
  where mountd_args was not properly being set if
  weak_mountd_authentifcation="YES" was set in rc.conf.

PR:             conf/86260
Submitted by:   Thierry Herbelot <thierry at herbelot dot com>
Approved by:	re (kensmith)
2005-09-21 20:27:50 +00:00
cvs2svn
2b4d75fb47 This commit was manufactured by cvs2svn to create branch 'RELENG_6'. 2005-09-21 20:08:25 +00:00
rwatson
c3f16149d1 Merge uipc_socket.c:1.248 from HEAD to RELENG_6:
Fix spelling in a comment.

Approved by:	re (scottl)
2005-09-21 15:32:21 +00:00
rwatson
533efa352a Merge fifo_vnops.c:1.126 from HEAD to RELENG_6:
Assert that (vp) is locked in fifo_close(), since we rely on the
  exclusive vnode lock to synchronize the reference counts on struct
  fifoinfo.

Approved by:	re (scottl)
2005-09-21 15:31:26 +00:00
rwatson
37c3665582 Merge uipc_socket2.c:1.148 from HEAD to RELENG_6:
Re-comment sbcompress() to explain what it is it does; it took me
  quite a bit of reading to figure it out, and I want to avoid figuring
  it out again.

  Convert an if (foo) else printf("this is almost a panic") into a
  KASSERT.

Approved by:	re (scottl)
2005-09-21 15:30:54 +00:00
yongari
fa502534e3 MFC rev. 1.29 to RELENG_6:
fix LOR by dropping driver lock before calling resource_int_value(9).

Approved by:	re(scottl)
2005-09-21 03:18:30 +00:00
kientzle
77b68075b4 MFC archive_read_extract.c 1.42 and 1.43: Correctly restore file flags.
Approved by: re
2005-09-21 03:12:45 +00:00
yongari
131a491265 MFC rev. 1.21 to RELENG_6: fix module unloading panic
Approved by:	re(scottl)
2005-09-21 02:44:09 +00:00
rwatson
d14a3e32b7 Merge fifo_vnops.c:1.125 from HEAD to RELENG_6:
The socket pointers in fifoinfo are not permitted to be NULL, so
  don't check if they are, it just confuses the fifo code more.

Approved by:	re (kensmith)
2005-09-20 13:57:17 +00:00
glebius
be4f3d3a0f MFC typo fix from 1.75:
Dej'a vu of revision 1.35

  PR:		kern/86258
  Submitted by:	Hiroshi Oota <ghelp excite.co.jp>

Approved by:	re (kensmith)
2005-09-20 13:46:15 +00:00
glebius
ea4e44a4c6 MFC 1.84 by yar:
Test the new M_VLANTAG packet flag before calling
  m_tag_locate().  This adds little overhead of a simple
  bitwise operation in case hardware VLAN acceleration
  is on, yet saves the more expensive function call if
  the acceleration is off.

  Reviewed by:	ru, glebius

Approved by:	re (kensmith)
2005-09-20 13:44:36 +00:00
glebius
2031716961 MFC 1.69:
When message can't fit into socket receive buffer return ENOBUFS
  to userland program instead of letting it wait until end of days.

  PR:	kern/85907

Approved by:	re (kensmith)
2005-09-20 13:42:20 +00:00
glebius
93d4651ace Merge locking of ng_pptpgre node. See 1.38, 1.39 log for longer
description.

Approved by:	re (kensmith)
2005-09-20 13:40:55 +00:00
rwatson
390cc7eacc Merge savecore.c:1.76 from HEAD to RELENG_6:
Don't consider being unable to open the bounds file worthy of printing
  at LOG_WARNING by default; instead, consider it something to be printed
  to the tty when 'verbose' mode is set.  This avoids printing out extra
  lines at every boot on a system with crash dumps enabled, but that has
  not yet had to generate a crashdump.

Approved by:	re (kensmith)
2005-09-20 13:29:37 +00:00
rwatson
f142f17b2d Merge dumpon:1.10 from HEAD to RELENG_6:
Use kenv -q to extract dumpdev rather than kenv, in order to avoid
  spamming the console in the event that a loader tunable 'dumpdev'
  isn't defined, which is not a relevant failure to report.

Approved by:	re (kensmith)
2005-09-20 13:28:01 +00:00
rwatson
a407208894 Merge kenv.1:1.12, kenv.c:1.8 from HEAD to RELENG_6:
Add a "-q" quiet flag to kenv so that warnings can be suppressed.

Approved by:	re (kensmith)
2005-09-20 13:26:21 +00:00
glebius
c702d4e49b Suppress warning, to avoid fake bug reports from users of 6.0-RELEASE.
Push warning in net_add_domain() down under DIAGNOSTIC. At the moment, the
only loadable domain is netgraph and it has no problems to be loaded
at runtime, since it doesn't use if_afdata[AF_NETGRAPH], yet.

Approved by:	re (scottl)
2005-09-20 09:16:10 +00:00
delphij
b1029e7f15 MFC 1.64 by kientzle:
The bsdtar_warnc() reporting function requires the program name to be
set up before it is called, so move the progname initialization before
the first possible call to bsdtar_warnc().

Thanks to: Stanislav Sedov
PR: bin/83366

Approved by:	re (scottl)
2005-09-20 07:48:00 +00:00
brueffer
ee822d1f45 MFC: rev. 1.886 by joel
New release notes: snd_t4dwave(4) manual page added.

Approved by:	re (hrs)
2005-09-20 04:53:12 +00:00
brueffer
0293a5e00f MFC:
Auto generate device listings for snd_t4dwave(4).

Approved by:	re (hrs)
2005-09-20 04:51:32 +00:00
brueffer
ff11e2ea49 MFC: rev. 1.40 by joel
Xref snd_t4dwave(4).

Approved by:	re (hrs)
2005-09-20 04:49:59 +00:00
brueffer
b73f94156a MFC:
Add manual page for snd_t4dwave(4).

Approved by:	re (hrs)
2005-09-20 04:48:30 +00:00
csjp
79bee3e493 MFC v1.129 src/sys/net/rtsock.c
Make sysctl_rtsock MP safe.

Approved by:	re (scottl)
2005-09-20 01:59:54 +00:00
rodrigc
c5e33d3c5e MFC: 1.61
Clarify wording for -m flag.

PR:     docs/84704
Approved by:	re (hrs)
2005-09-20 00:34:54 +00:00
marcus
534fb07b6c MFC:
Correct a mis-merge from HEAD, and make sure the socket permissions are set
to 0666.

Reported by:	delphij via rwatson
Approved by:	re (scottl)
2005-09-19 21:50:31 +00:00
cperciva
e59c7653ea MFC revision 1.5:
When (re)allocating space for an array of pointers to char, use
  sizeof(*list), not sizeof(**list).  (i.e., sizeof(pointer) rather than
  sizeof(char)).

Approved by:	re (scottl)
2005-09-19 20:56:10 +00:00
brueffer
050872b51e MFC:
- ed(4) MPSAFE
- acpi_ibm.4 and acpi_sony.4 manpages added

While here, correct two entities.

Approved by:	re (hrs)
2005-09-19 16:53:59 +00:00
brueffer
22973b5d20 MFC:
Manpage for the acpi_sony(4) driver.

Approved by:	re (hrs)
2005-09-19 16:51:10 +00:00