Commit Graph

119700 Commits

Author SHA1 Message Date
maxim
b598cec6e6 MFC rev. 1.38: NIS clients ask for "shells" map not "shells.list". 2006-07-08 07:45:58 +00:00
imp
b6f0c31ffd MFC: phk's bus_{read,write}_* macros. These are slightly different than
-current because rman is opaque in RELENG_6, but are 100% API compatible.
If they prove to be too slow, we may be able to make rman non-opaque to
mitigate it.  This should help porting drivers from -current into
-stable.
2006-07-07 23:30:14 +00:00
bmah
0e1722770a Update rc.d/jail item for EN-06:01.jail.
Somewhat belatedly update NDP item for a merge to RELENG_6.
2006-07-07 15:34:44 +00:00
marcel
373fa1bf00 Sync with HEAD. 2006-07-07 03:30:37 +00:00
marcel
43c958307c Sync with HEAD: MFC rev. 1.9 & 1.10 2006-07-07 02:02:55 +00:00
flz
3a998b0102 MFC:
Add a -q option to suppress header lines when multiple files are specified
  (and fixes from Ruslan).

      src/usr.bin/tail/extern.h: rev 1.9 -> 1.10
      src/usr.bin/tail/tail.1: rev 1.12 -> 1.13
      src/usr.bin/tail/forward.c: rev 1.39 -> 1.40
      src/usr.bin/tail/tail.c: rev 1.21 -> 1.22
2006-07-06 12:56:38 +00:00
glebius
f1f47c97e3 MFC: sync taskqueue api with HEAD modulo preserving the calling
convention for taskqueue_create

This is replay of [1], that was backed out before 6.1-RELEASE
due to breaking ACPI on certain laptops. The [2] commit has
fixed this problem. bsam@, who once reported the breakage
confirms that after [2] the problem has vanished and now it
is safe to merge [1] again.

[1] http://lists.freebsd.org/pipermail/cvs-src/2006-March/061203.html
[2] http://lists.freebsd.org/pipermail/cvs-src/2006-June/065256.html

Tested by:	bsam
2006-07-06 08:32:50 +00:00
marcel
79dec57de6 Sync with HEAD: Update to SDM 2.2. 2006-07-05 22:55:00 +00:00
jhb
0675df12a2 MFC: Move the code to handle the vm.blacklist tunable up a layer. 2006-07-05 19:08:49 +00:00
kib
6b3c448bc0 MFC rev. 1.637:
Fix the LOR that occurs when the MAC compiled into the kernel
and vnode is destroyed.

LOR:		189
Approved by:	kan (mentor)
2006-07-05 16:34:16 +00:00
kib
d0bf84ea4e MFC rev. 1.4.
Replace absolute addressing in the call instructions with position-independend
calls. This eliminates TEXTREL from libc, making its text segment relocatable.

PR:	i386/85242
Approved by:	kan (mentor)
2006-07-05 12:43:13 +00:00
rwatson
fd4b45cce8 Merge rpc_svcout.c:1.23 from HEAD to RELENG_6:
In change 1.15, an arbitrary setting of the max RPC record size to
  RPC_MAXDATASIZE was introduced.  This is believed to have been debugging
  code committed accidentally, although I've been unable to reach the
  committer to confirm this.  The effect was to limit the size of RPCs on
  TCP and UDP to 9k, well below the default protocol limits in the libc
  rpc code.  This change simply removes these introduced limits, falling
  back on the libc definitions.

  PR:             88856
  Reported by:    Keith Bostic <bostic at sleepycat dot com>
  Testing by:     Susan LoVerso <sue at loverso dot southborough dot ma dot us>
  Reveiwed by:    cel, rees
  Review timeout: alfred, mbr

Approved by:	mbr
2006-07-05 11:35:17 +00:00
brooks
22d913af15 MFC: removal of dhcp entries 2006-07-04 02:02:47 +00:00
rwatson
573f176594 In ip_ctloutput(), check for a NULL inpcb pointer before dereferencing,
as this can occur with TCP if protocol-layer socket options are set or
queried after the connection has closed.  There are still races
associated with ip_ctloutput() and connection close with TCP, corrected
in HEAD via a more comprehensive set of changes, but this fixes the
trivial panic reported on several occasions.

This is a RELENG_6_1 and RELENG_6_0 errata branch candidate.

PR:		97095
Tested by:	Stanislaw Halik <sthalik at tehran dot lain dot pl>
MFC after:	3 days
2006-07-03 23:14:28 +00:00
des
3a5046ed40 MFC: (1.95) add the model name. 2006-07-03 06:38:53 +00:00
davidxu
259850f327 MFC: clear invalid bits in SSE mxcsr register. 2006-07-01 09:06:40 +00:00
maxim
c0a08097bb MFC rev. 1.34: record a file offset for a last successfully parsed
group file line.  If the initial buffer size (1KB) for the given group
line is not big enough, reset the offset.
2006-07-01 07:25:20 +00:00
maxim
162a3d1162 MFC rev. 1.24 do_command.c and rev. 1.13 popen.c: check return code
from setuid(2), setgid(2), setlogin(2) and initgroups(3).
2006-07-01 07:18:16 +00:00
davidxu
b0faec3bf7 MFC: Clear invalid bits in SSE mxcsr register. 2006-07-01 00:57:56 +00:00
cognet
5e60f60f14 MFC: Define the magic number for the ELF trampoline. 2006-06-30 21:42:52 +00:00
julian
6a074edffb MFC: Add the ability to log to an arbitrary udp port as well as the
standard syslog port.
2006-06-29 21:22:30 +00:00
julian
64961250b2 MFC: 1.84. (and fixes)
If in silent mode, do not return an error responce if asked
to delete a table entry that is not present, or add one that exists.
2006-06-29 21:03:12 +00:00
jhb
d9a624ae3b MFC: Check for errors when registering and unregistering firmware modules. 2006-06-29 20:24:17 +00:00
ume
ceb370c051 MFC 1.136:
- Pullup even when the extention header is unknown, to prevent
    infinite loop with net.inet6.ip6.fw.deny_unknown_exthdrs=0.
  - Teach ipv6 and ipencap as they appear in an IPv4/IPv6 over IPv6
    tunnel.
  - Test the next extention header even when the routing header type
    is unknown with net.inet6.ip6.fw.deny_unknown_exthdrs=0.
2006-06-29 18:36:39 +00:00
mjacob
4fb0d8444f MFC Basic Queueing model fixes. 2006-06-29 18:12:18 +00:00
maxim
1ff9d689a9 o MFC rev. 1.50: expand an exclusive lock scope. 2006-06-29 03:27:04 +00:00
stefanf
c08ca374de MFC rev 1.35: Don't interpret .//dir as /dir. 2006-06-28 21:14:23 +00:00
wpaul
3e8cff03c8 MFC: fix detection of 8168, detect 8111 separately 2006-06-28 16:06:11 +00:00
rwatson
18cd364e3b Merge uipc_socket.c:1.267 from HEAD to RELENG_6:
Rearrange code in soalloc() so that it's less indented by returning
  early if uma_zalloc() from the socket zone fails.  No functional
  change.
2006-06-28 15:01:08 +00:00
rwatson
7880900fff Merge uipc_socket2.c:1.158 and socketvar.h:1.150 from HEAD to RELENG_6:
Remove sbinsertoob(), sbinsertoob_locked().  They violate (and have
  basically always violated) invariannts of soreceive(), which assume
  that the first mbuf pointer in a receive socket buffer can't change
  while the SB_LOCK sleepable lock is held on the socket buffer,
  which is precisely what these functions do.  No current protocols
  invoke these functions, and removing them will help discourage them
  from ever being used.  I should have removed them years ago, but
  lost track of it.

  Prodded almost by accident by:  peter
2006-06-28 14:33:47 +00:00
flz
3e0ad83861 MFC:
Since INSTALLS_SHLIB has been superseded by USE_LDCONFIG in bsd.port.mk, I
  expect to see quite a few files appearing in libdata/ldconfig directories.
  This change avoids the screen to be filled with the names of those ldconfig
  files and replace them by the actual non-default directories they contain.
  Most of them will be ${PREFIX}/lib so, 'sort -u' will help reducing the
  output.

      src/etc/rc.d/ldconfig: rev 1.15 -> 1.16
2006-06-28 12:49:45 +00:00
mjacob
ce38303e57 MFC: Fixes related for VMWare. 2006-06-27 18:12:36 +00:00
maxim
e0f79f0a90 MFC rev. 1.13: remove LK_REENABLE and LK_NOPAUSE lockinit(9) flags,
add LK_NOSHARE.
2006-06-27 08:04:55 +00:00
wpaul
6640c89228 MFC updates to the re(4) driver from -current 2006-06-26 20:44:34 +00:00
yar
b815069dc8 MFC rev. 1.29-1.33:
Document things that are in RELENG_6 already:

	- <bsd.snmpmod.mk>
	- new spelling of MAN and modern style of NO_MAN
	- the "clean" target of <bsd.prog.mk> removing less files
2006-06-26 13:54:37 +00:00
yar
f520c48b5b MFC rev. 1.120:
Document the fact that 'true' and 'false'
	are among sh(1) built-in commands.
2006-06-26 13:25:41 +00:00
mjacob
c5e8c5905e MFC 1.162: Grumble. VMWare ESX and VMWare WorkStation have *slightly*
different inquiry data (pointlessly different I might add). Pick
the common parts.
2006-06-26 05:42:54 +00:00
iedowse
3de7d79a42 MFC 1.47: increment the disk block offset after writing, not before.
This fixes filesystem corruption when nextboot.conf is located after
cylinder 1023.

PR:		bin/98005
2006-06-26 01:44:41 +00:00
iedowse
5666262af1 MFC: implement umass_cam_poll() and add a missing ohci_waitintr()
call so that polled operation works.

PR:		usb/93720
2006-06-26 00:31:25 +00:00
brueffer
b9ee3676a6 MFC: rev. 1.2
- Convert to new SYNOPSIS layout
- New Sentence, new line
- Remove eol whitespace
2006-06-25 19:47:45 +00:00
marcel
6affff8115 Sync with HEAD: $FreeBSD$ cleanups. 2006-06-25 19:09:51 +00:00
marcel
3f527c928e MFC 1.55: Improve handling of IPI_STOP. 2006-06-25 19:09:04 +00:00
marcel
2f0796e78b MFC 1.208: Identify the dual-core Montecito. 2006-06-25 19:07:51 +00:00
simon
b0daff4ba7 MFC rev. 1.82:
- Fail with an understandable error message if we cannot detect the
  sector size, instead of later failing with an error about /boot/mbr
  not being a multiple of the sector size (since we end up with an
  assumed sector size of MAX_SEC_SIZE * 2).
- We query the sector size via an IOCTL anyway, so if that succeeds
  use that instead of probing for it via read(2) calls.  This fixes
  the problem with fdisk failing to operate on at least graid3 and
  md(4) devices on kernels with src/sys/geom/geom_dev.c before
  rev. 1.90, due to fdisk failing to detect the sector size.
- When detecting the root device allow "/" characters in it, which
  happens with e.g. gmirror devices.
2006-06-25 08:52:19 +00:00
phk
45d0009c1b MFC:
Extensible printf implementation compatible with GLIBC
2006-06-25 07:35:51 +00:00
mjacob
bf5c32871a MFC 1.161: VMware disk volumes are only on LUN 0, and
some VMware HBAs have known bugs with commands sent to
other than LUN 0.
2006-06-25 02:03:18 +00:00
stefanf
5a4cc9e905 MFC rpc_hout.c 1.12 and rpc_main.c 1.28:
Only write prototypes to the headers if -h was specified and they don't have
internal linkage.
2006-06-24 09:31:29 +00:00
oleg
f361b24e4b MFC src/sys/netinet/ip_fw2.c rev.1.133:
install_state() should properly initialize 'addr_type' field of newly created
flows for O_LIMIT rules.

MFC src/sbin/ipfw/ipfw2.c rev.1.90 (mlaier):

Print dynamic rules for IPv6 as well.

PR:		bin/98349
2006-06-24 06:38:39 +00:00
oleg
216499f76e MFC rev.1.24:
1) Fix mii_phy_tick():
   Current code does not report link loss correctly - when link goes down,
   mii_phy_tick() will notice that with up to mii_anegticks delay.
   If link goes up during this delay then link flapping will be unnoticed
   by driver.

2) mii_phy_add_media(): initialize sc->mii_anegticks for 10/100 media

3) Use MII_ANEGTICKS/MII_ANEGTICKS_GIGE defines instead of hardcoded values.
2006-06-24 06:17:07 +00:00
oleg
66bedb527d MFC rev.1.18:
Introduce MII_ANEGTICKS and MII_ANEGTICKS_GIGE defines.
(How many ticks should we wait before retrying autonegotiation process).
2006-06-24 06:14:24 +00:00