Commit Graph

119711 Commits

Author SHA1 Message Date
markm
d5f69f2a4f MFC: pick up maintainer stragglers. 2006-07-09 22:06:28 +00:00
markm
d6b293cdf3 MFC: updating maintainers. 2006-07-09 16:39:53 +00:00
markm
d1187d8c29 MFC: MAINTAINER status quo 2006-07-09 15:38:31 +00:00
des
acb97a4ded MFC: (1.16) our glob(3) has all the required features. 2006-07-08 15:43:26 +00:00
kib
557190ccc3 MFC rev. 1.62:
Reparent the process that executes the window= command from the ttys
to the init. This prevents zombies from being accumulated.

PR:		bin/64198
Tested by:	Eugene Grosbein <eugen at www svzserv kemerovo su>
Approved by:	kan (mentor)
2006-07-08 15:34:27 +00:00
des
beff2b8d49 MFC: namespace munging hack 2006-07-08 14:37:19 +00:00
netchild
59692ae939 MFC:
- linux_misc.c 1.179
  Don't copyout/do unneccesary work if the buffer is a NULL pointer.

  Noticed by:     Dmitry Ganenko <dima@apk-inform.com>
  Reviewed by:    rdivacky (the original version as in emulation@)

- linprocfs.c 1.96:
  Improve linprovfs to provide/fix the
   - process state (idle, sleeping, running, ...) [1]
   - the process group ID of the process which owns the connected tty
   - some page fault stats
   - time spend in kernel/userland
   - priority/nice value
   - starttime [1]
   - memory/swap stats
   - scheduling policy

  Additionally add some new fields and correct some not filled out ones.

  This brings us down to 15 dummy fields.

  The fields marked with [1] are needed to get Oracle 10 running. The starttime
  field is not completely right, since it displays the _same_ starttime for
  _every_ process, but at least it is not 0 and Oracle accepts this.

  Noticed by:     Dmitry Ganenko <dima@apk-inform.com> [1]
  Reviewed by:    des, rdivacky

- pseudofs_vnops.c 1.60:
  Correctly calculate a buffer length. It was off by one so a read() returned
  one byte less than needed.

  Noticed by:     Dmitry Ganenko <dima@apk-inform.com>
  Testcase by:    Dmitry Ganenko <dima@apk-inform.com>
  Reviewed by:    des
  Submitted by:   rdivacky
  Sponsored by:   Google SoC 2006

All of those are needed for Oracle 10. Since previous Oracle versions work
just fine without those fixes, these patches can be seen as regression fixes
too. Because of this I think they are a RELENG_6_x candidate (MFC reminder
set).

MFC after:	1 month
2006-07-08 14:06:56 +00:00
rodrigc
4e720de90a In get_exportlist(), properly loop over mounted filesystems.
PR:	bin/99873
Submitted by:	Danny Braniss <danny at cs dot huji dot ac dot il>
2006-07-08 13:54:49 +00:00
des
9b07dc305d MFC: (1.10) regenerate host.conf every time nsswitch.conf is updated. 2006-07-08 13:47:40 +00:00
maxim
56d93aecdc MFC rev. 1.40: fix a condition logic for !do_dns case. 2006-07-08 07:53:57 +00:00
maxim
81f0a176d1 MFC rev. 1.41: remove rev. 1.30 leftover. 2006-07-08 07:48:43 +00:00
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