119493 Commits

Author SHA1 Message Date
flz
1cd79ba7c7 MFC:
- Add new ntpd_config variable so that people can override it in rc.conf.
  - Add default value in /etc/defaults/rc.conf.
  - Add documentation bits to rc.conf(5).

      src/etc/rc.d/ntpd: rev 1.12 -> 1.13
      src/share/man/man5/rc.conf.5: rev 1.292 -> 1.293
      src/etc/defaults/rc.conf: rev 1.280 -> 1.281
2006-06-06 11:17:09 +00:00
flz
8febb4dd86 MFC:
- Harmless typo (s/overide/override/).
  - Sync rc.subr with NetBSD.
  - Merge some documentation bits.

      src/share/man/man8/rc.subr.8: rev 1.10 -> 1.11
      src/etc/rc.subr: rev 1.49 -> 1.51, 1.55 -> 1.56

Obtained from:	NetBSD
2006-06-06 10:35:55 +00:00
flz
a34acc2f8b MFC:
- Fix amd startup when amd is installed from ports.
  - Add the according amd_program default value in defaults.

      src/etc/rc.d/amd: rev 1.16 -> 1.17
      src/etc/defaults/rc.conf: rev 1.277 -> 1.278

PR:		conf/82738
Submitted by:	TAOKA Fumiyoshi <fmysh@iijmio-mail.jp>
2006-06-06 09:47:09 +00:00
bmah
59b5ae999c We shouldn't have any MFC markers on any codeline except for HEAD, so
remove the entity definition from RELENG_6.
2006-06-05 22:28:35 +00:00
bmah
2766f33ebf Delete a sentence related to merged features that doesn't apply to
RELENG_*.
2006-06-05 22:26:57 +00:00
brueffer
bde32f9929 MFC: rev. 1.23
Make this example more real world usable:  When the manpage first appeared
is not interesting, when the driver appeared is.  Most people who use this
example leave the manpage appearance date in and the driver date out.
2006-06-05 19:31:57 +00:00
brueffer
b2dfc22806 MFC:
Convert to use a SYNPOSIS section that mentions kernel modules.
Also add "device scbus" where needed.
2006-06-05 19:30:28 +00:00
brueffer
8390b14b17 MFC: rev 1.17
Fix a formatting issue.
2006-06-05 19:20:13 +00:00
jkim
c56a6fff7e MFC: Move SiS 760 to where it belongs.
PR:		98094
Submitted by:	Mike M < mmcgus at yahoo dot com >
2006-06-05 18:34:13 +00:00
kensmith
c0acb776da MFC v1.898:
> date: 2006/01/30 14:24:31;  author: kensmith;  state: Exp;  lines: +1 -0
> Enable splitting up the MFSROOT floppy on amd64, the contents now overflow
> one floppy's worth of space.
2006-06-05 17:05:09 +00:00
brian
252c78e8c7 MFC: Add missing -s documentation 2006-06-05 16:25:45 +00:00
njl
f545e70963 MFC 1.220: Add support for reset_register rebooting.
Note that this is not the exact right place for this code since it runs
a little earlier than the normal reset SYSINIT.  However, it appears to
work fine and can be backed out if it causes problems.
2006-06-05 15:19:59 +00:00
iedowse
f6045541ec MFC: add the Tripp-Lite U209-000-R serial adapter
PR:		usb/78543, usb/93347
2006-06-05 11:59:07 +00:00
pav
4beb7814fe - MFC 1.20: Fix markup 2006-06-05 08:14:48 +00:00
maxim
3db26749cd Sync with HEAD: take an account a media sectorsize for medium and
bigsize calculation; -r and -w keys to load and save a worklist;
add man page; amd64 fixes.
2006-06-04 10:48:06 +00:00
maxim
efe05ebe0e MFC getent(1) import: a program retrieves and displays entries
from the administrative database specified by database, using
the lookup order specified in nsswitch.conf(5).
2006-06-04 10:28:56 +00:00
maxim
0396b963c9 MFC rev. 1.31 du.1 and rev. 1.39 du.c: implement "-n" flag, ignore
files and directories with "nodump" flag set.
2006-06-04 10:23:08 +00:00
maxim
4f3d9731aa MFC rev. 1.257: add missed error check. 2006-06-04 10:19:34 +00:00
dougb
8a2ae27d58 If NO_BIND_MTREE is set, we don't have anywhere to install the namedb files
to, so don't try.

The PR indicates that NO_BIND_NAMED would also trigger this problem, but
I was unable to reproduce it.

This is going directly to RELENG_6 because testing shows that HEAD is not
affected by this issue, likely due to the renovation of the make knobs
in that branch.

PR:		misc/97188
Submitted by:	Peter Losher <Peter_Losher@isc.org>
2006-06-04 06:38:00 +00:00
wilko
d74a38eeba Testing has shown that the stability problems (panic tracebacks
showing lockmgr) encountered with "make -jX release" for X > 1
and running on SMP hardware are gone once PREEMPTION is disabled.

Better ideas on fixing the problem are more than welcome.
2006-06-03 23:10:46 +00:00
rodrigc
1ab8d17367 MFC:
1.207:
	Add "errmsg" to list of global mount options.

1.225:
	Add "update" mount option to global_opts array,
	for use with vfs_filteropt().
2006-06-03 21:47:11 +00:00
stefanf
63f3d1c92c MFC:
- POSIX special built-ins (builtin.defs 1.19, main.c 1.28, mkbuiltins 1.16,
    eval.c 1.51, exec.c 1.29, exec.h 1.15, options.c 1.25)
- Fix el_gets() buffer handling (input.c 1.23).
- Sort 'set' output (var.c 1.31).
- Document that '#' starts a comment (sh.1 1.118).
2006-06-03 15:38:08 +00:00
mjacob
487eb1ffd8 MFC: allow this to compile cleanly under RELENG_4 2006-06-03 07:21:09 +00:00
krion
02e53faf49 MFC: process.c: 1.40
date: 2006/05/27 19:32:28;  author: krion;  state: Exp;  lines: +1 -2
  Fix using "P" command on empty pattern space.  If the "P" command is
  used once on a non-empty pattern space and then again on an empty
  pattern space, the second usage restores the pattern space length to
  the length that it had when the first "P" was used.

  PR:             bin/96052
  Submitted by:   Andrey Zholos <aaz@althenia.net>
2006-06-03 07:20:17 +00:00
rwatson
a30b7661d4 Merge uma_core.c:1.137 from HEAD to RELENG_6:
When allocating a bucket to hold a free'd item in UMA fails, don't
  report this as an allocation failure for the item type.  The failure
  will be separately recorded with the bucket type.  This may eliminate
  high mbuf allocation failure counts under some circumstances, which
  can be alarming in appearance, but not actually a problem in
  practice.

  Reported by:    ps, Peter J. Blok <pblok at bsd4all dot org>,
                  OxY <oxy at field dot hu>,
                  Gabor MICSKO <gmicskoa at szintezis dot hu>

This is a RELENG_6_1 merge candidate.

Tested by:	Peter J. Blok <pblok at bsd4all dot org>,
		OxY <oxy at field dot hu>,
		Michael Butler <imb at protected-networks dot net>
2006-06-02 09:56:27 +00:00
mlaier
bea68ec8ca MFC rev. 1.131:
Use only lower 64bit of src/dest (and src/dest port) for hashing of IPv6
  connections and get rid of the flow_id as it is not guaranteed to be stable
  some (most?) current implementations seem to just zero it out.

  PR:		kern/88664
2006-06-02 04:02:06 +00:00
rodrigc
6aba23513f MFC: 1.19
Move call to ignore SIGPIPE signals before calling fork(),
so that both parent and child processes ignore this signal.

PR:             bin/97768
Submitted by:   Gea-Suan Lin <gslin at csie dot nctu dot edu dot tw>
2006-06-02 01:20:58 +00:00
tegge
8ca437edd4 MFC: Close race between vmspace_exitfree() and exit1() and races between
vmspace_exitfree() and vmspace_free() which could result in the same
     vmspace being freed twice.

     Factor out part of exit1() into new function vmspace_exit().  Attach
     to vmspace0 to allow old vmspace to be freed earlier.

     Add new function, vmspace_acquire_ref(), for obtaining a vmspace
     reference for a vmspace belonging to another process.  Avoid changing
     vmspace refcount from 0 to 1 since that could also lead to the same
     vmspace being freed twice.

     Change vmtotal() and swapout_procs() to use vmspace_acquire_ref().
2006-06-02 00:26:27 +00:00
krion
c6762dd35f MFC: function.c: 1.58; find.1: 1.77
date: 2006/05/27 18:27:41;  author: krion;  state: Exp;  lines: +35 -3
  Add the capability for a trailing scale indicator to cause the
  specified size to be read in the more familiar units of kilobytes,
  megabytes, gigabytes, terabytes and petabytes.

  PR:             bin/50988
  Submitted by:   Matthew Seaman <m.seaman@infracaninophile.co.uk>
2006-06-01 20:35:20 +00:00
jhb
370f253957 MFC: Only reference the firmware module once rather than twice. 2006-06-01 20:20:15 +00:00
jhb
ff568aef3b MFC: Improve reliability of nforce4 adapters:
- When setting up a packet for transmit, if we the tx ring is over half
  full, kick the binary blob to force it to complete any pending tx
  completions.
- In the watchdog routine, poke the binary blob to force it to flush any
  pending tx completions and only reset the chip if the blob doesn't
  complete any of them.
2006-06-01 20:18:36 +00:00
krion
25e2c53889 MFC: function.c: 1.57
date: 2006/05/25 21:20:43;  author: krion;  state: Exp;  lines: +12 -4
  Enable numeric arguments and +/- prefixes with -user (-group)
  options.

  PR:             bin/71513
  Submitted by:   Andre Albsmeier <Andre.Albsmeier@siemens.com>
2006-06-01 19:58:01 +00:00
bmah
bd868cf35f New errata: rc.d/jail problems, snapshot/quota deadlock, NDP
regression, multi-CDROM package loading problems, mbufs denied
bug, i386/nextboot problem.

These items will be updated as necessary to reflect reality.

Edited alpha sysinstall(8) item for markup and punctuation nits.
2006-06-01 17:49:26 +00:00
mjacob
c50d9cbffd MFC: new 2300 firmware 2006-06-01 07:04:23 +00:00
bmah
dd838ab950 Add SA- prefix to security advisory names. 2006-06-01 04:58:07 +00:00
bmah
46f2e1e442 New errata: SA-06:15, SA-06:16. 2006-06-01 04:49:01 +00:00
bmah
d962a558d7 MFC: SA-06:15, SA-06:16. 2006-05-31 23:41:37 +00:00
cperciva
280f83404d Enable inadvertantly disabled "securenet" access controls in ypserv. [1]
Correct a bug in the handling of backslash characters in smbfs which can
allow an attacker to escape from a chroot(2). [2]

Security:	FreeBSD-SA-06:15.ypserv [1]
Security:	FreeBSD-SA-06:16.smbfs [2]
2006-05-31 22:32:22 +00:00
wilko
3cd401c63b add re(4) to GENERIC.
The RL8169s worked just fine for me on my release building DS20E
with the CVS repo mounted via NFS.  For EUR 10 that is not too bad :)
2006-05-31 21:42:11 +00:00
jhb
6c1896847b MFC: Workaround a hang on some nForce2 systems that can happen if the CPU
goes into and out of the halt state very quickly.
2006-05-31 21:37:11 +00:00
jhb
efa0cd663d MFC: Restore the pre-5.x behavior of only beeping if the user makes a bad
selection.
2006-05-31 21:32:24 +00:00
ceri
9e5278e648 MFC crunchgen.1 revisions 1.29 - 1.30 and crunchgen.c revision 1.36:
Commands like gmirror, graid3, ... and others which use dlopen() to load
classes from say, /lib/geom, cannot be statically linked completely.
Moreover, those shared objects may require other shared objects (i.e.
for geom, libraries like -lmd, -lcrypto).

The libs_so extension to crunchgen fixes this by allowing some libraries
to be linked in dynamically.  This requires that a copy of rtld and the
shared libraries be made available to the crunched binary, and so is not
suitable for all environments.  Crunchgen configurations which do not
use the 'libs_so' keyword are unaffected and produce identical binaries
with and without this commit.

Approved by:            jhb
In collaboration with:  Adrian Steinmann <ast at marabu dot ch>
2006-05-31 19:11:59 +00:00
mjacob
5105b1f5aa MFC 1.117: Don't set CAM_DEV_QFRZN when we get an ABORT_TASK. Just
by itself, this makes no sense.
2006-05-31 18:49:51 +00:00
ps
c1361e659d MFC: Allow concurrent read(2)/readv(2) access to a file. Lock file
offset against multiple read calls.
2006-05-30 02:58:36 +00:00
cel
f84994a70d NFS over TCP retransmit behavior should default to a 60 second time out,
mimicing the NFS reference implementation.

NFS over TCP does not need fast retransmit timeouts, since network loss
and congestion are managed by the transport (TCP), unlike with NFS over
UDP.  A long timeout prevents the unnecessary retransmission of non-
idempotent NFS requests.

Reviewed by:	mohans, silby, rees?
Sponsored by:	Network Appliance, Incorporated
2006-05-30 01:52:59 +00:00
cel
4ec879514b Refactor the NFS over UDP retransmit timeout estimation logic to allow
the estimator to be more easily tuned and maintained.

There should be no functional change except there is now a lower limit
on the retransmit timeout to prevent the client from retransmitting
faster than the server's disks can fill requests, and an upper limit
to prevent the estimator from taking too long to retransmit during a
server outage.

Reviewed by:	mohan, kris, silby
Sponsored by:	Network Appliance, Incorporated
2006-05-30 00:43:07 +00:00
njl
8320836888 MFC: newer Intel and VIA C7-M support 2006-05-29 22:40:03 +00:00
cel
d05b2803c6 Add better sanity checking to the logic that handles ioctl processing
for nfsclient and nfs4client in order to prevent local root users
from panicing the system.

MFC of nfs4client/nfs4_dev.c revision 1.9.

PR:		kern/77463
Submitted by:	Wojciech A. Koszek
Reviewed by:	cel, rees
Security:	Local root users can panic the system at will
Sponsored by:	Network Appliance, Incorporated
2006-05-29 20:07:40 +00:00
flz
c6c15b243d MFC: - Add support for the Acer Acerscan 640BT.
- Add documentation bits.

      src/sys/dev/usb/usbdevs: rev 1.256 -> 1.257
      src/sys/dev/usb/uscanner.c: rev 1.69 -> 1.70
      src/share/man/man4/uscanner.4: rev 1.23 -> 1.24

PR:		usb/95616
Submitted by:	Matthieu Guegan <lesaint@gcu.info>
2006-05-29 17:54:57 +00:00
matteo
d554ee8c54 MFC rev 1.15-1.16
Update README.examples according to the current state of the examples/etc directory

PR:	conf/97232
2006-05-29 15:25:49 +00:00