]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/log
FreeBSD/stable/8.git
11 years agoMF9: r237100: MFC r236338, r236339, r236346, r236347, r236365, & r236977
obrien [Tue, 9 Oct 2012 05:06:30 +0000 (05:06 +0000)]
MF9: r237100: MFC r236338, r236339, r236346, r236347, r236365, & r236977
  * Deprecate the FreeBSD 10's make's ":U" (to-upper case) and ":L"
    (to-lower case) modifiers for ":tu" and ":tl".
  * make it easier to test newly-built make.
  * Add "-V '${VAR}'" variable expansion from Portable Berkeley Make.
  * regression test for '-V' command line option and the :t[lu] modifiers.

MF9: r241364: Update MAKE_VERSION for r237100.

MFC: r201225: add missing `void' keyword.

git-svn-id: svn://svn.freebsd.org/base/stable/8@241368 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r240973: find: Do not pass fd to save current directory to child
jilles [Mon, 8 Oct 2012 16:00:33 +0000 (16:00 +0000)]
MFC r240973: find: Do not pass fd to save current directory to child
processes.

This removes one of the two wrongly passed file descriptors. The other one
appears to be from fts(3).

git-svn-id: svn://svn.freebsd.org/base/stable/8@241352 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r240974: atrun: Do not assume that MAXLOGNAME <= 100.
jilles [Mon, 8 Oct 2012 14:05:00 +0000 (14:05 +0000)]
MFC r240974: atrun: Do not assume that MAXLOGNAME <= 100.

The reserved space for fmt was exactly sufficient for a two-digit value of
MAXLOGNAME - 1.

PR: bin/171815
Submitted by: Jeremy Huddleston Sequoia

git-svn-id: svn://svn.freebsd.org/base/stable/8@241350 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC: r240902
rmacklem [Mon, 8 Oct 2012 13:14:00 +0000 (13:14 +0000)]
MFC: r240902
Attila Bogar reported a bug in mountd when multiple export
entries with different security flavors are in the exports(5)
file. For that case, mountd replies with the security flavors
of the last entry and not the correct one for the client host.
This patch fixes that by storing separate copies of the flavors
for each host/net case, plus a default one for the case where
no hosts/nets are specified on an entry in the exports(5) file.
Unlike the patch in the PR, it replies with the security flavors
for the entry instead of merging the security flavors for all
the entries and replying with that.

git-svn-id: svn://svn.freebsd.org/base/stable/8@241348 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r241218:
dougb [Mon, 8 Oct 2012 05:51:26 +0000 (05:51 +0000)]
MFC r241218:

Remove references to CVS so that people will stop bringing it up

For -p:
The localtime update should have been excluded in the first place

The make.conf comparison has been OBE for some time now, and there
is no src.conf equivalent to share/examples/make.conf, so remove
the whole thing.

Update copyright

git-svn-id: svn://svn.freebsd.org/base/stable/8@241338 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC 239955-239957:
jhb [Sun, 7 Oct 2012 21:33:04 +0000 (21:33 +0000)]
MFC 239955-239957:
Cleanups and fixes for building firmware modules into a kernel:
- Add common rules for building firmware object files (NORMAL_FW to run
  uudecode, and NORMAL_FWO to use ld to build the .fwo file) and use those
  instead of explicit ld/uudecode invocations in sys/conf/files.  Apart from
  increasing readability, this makes it possible to adjust the flags used for
  firmware objects in one place.
- Similar to how r171350 fixed linking of kernel modules containing
  firmware objects by adding --no-warn-mismatch to the linker flags,
  add --no-warn-mismatch when linking firmware objects (*.fwo) as
  well as to the link of the main kernel file.  This permits firmware
  modules to be statically linked into an ia64 kernel.

git-svn-id: svn://svn.freebsd.org/base/stable/8@241335 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC 212429:
jhb [Sun, 7 Oct 2012 20:17:24 +0000 (20:17 +0000)]
MFC 212429:
Add real dependancies on the uuencoded firmwares.
Now when one does 'make kernel ; make kernel' the second invocation
only does:  `kernel.ko' is up to date.
rather than reproduce all the .fw files and relink the kernel.

git-svn-id: svn://svn.freebsd.org/base/stable/8@241332 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC 239440,239519:
jhb [Sun, 7 Oct 2012 18:57:52 +0000 (18:57 +0000)]
MFC 239440,239519:
Refine the changes made in r208212 to avoid bogus failures from
if_delmulti() when clearing the configuration for a subinterface when
the parent interface is being detached.  The current code was still
triggering an assertion in if_delmulti() due to the parent interface being
partially detached.  Fix this by not calling if_delmulti() at all if the
parent interface is being detached.  Warn if if_delmulti() fails when the
parent is not being detached (but similar to 208212, still proceed with
tearing down the vlan state).

git-svn-id: svn://svn.freebsd.org/base/stable/8@241328 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC 240962:
jhb [Sun, 7 Oct 2012 18:42:02 +0000 (18:42 +0000)]
MFC 240962:
Grab the mfi_config_lock while performing a MFI_DCMD_CFG_FOREIGN_IMPORT
request on behalf of a user utility.

git-svn-id: svn://svn.freebsd.org/base/stable/8@241325 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC 239335:
jhb [Sun, 7 Oct 2012 18:37:59 +0000 (18:37 +0000)]
MFC 239335:
Remove D_NEEDGIANT from dead_devsw.  biofinish() (and thus dead_strategy)
does not need Giant.

git-svn-id: svn://svn.freebsd.org/base/stable/8@241323 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC 226961,239951:
jhb [Sun, 7 Oct 2012 18:31:17 +0000 (18:31 +0000)]
MFC 226961,239951:
Add a -h flag similar to the -h flag for ln to force mv(1) to treat a
symbolic link to a directory for the target as a symbolic link instead of
a directory.  This makes it possible to atomically update a symbolic
link using rename().

git-svn-id: svn://svn.freebsd.org/base/stable/8@241321 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC 239906:
jhb [Sun, 7 Oct 2012 18:25:48 +0000 (18:25 +0000)]
MFC 239906:
Clarify that bus_dma does not stall future load requests once a load is
deferred.  The caller is required to enforce that if that is desired.

git-svn-id: svn://svn.freebsd.org/base/stable/8@241319 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC 240132:
jhb [Sun, 7 Oct 2012 18:23:15 +0000 (18:23 +0000)]
MFC 240132:
When WIFCONTINUED was added, the number of "first" macros grew from
three to four.

git-svn-id: svn://svn.freebsd.org/base/stable/8@241317 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC 239913:
jhb [Sun, 7 Oct 2012 18:19:13 +0000 (18:19 +0000)]
MFC 239913:
Attach interrupt handlers during attach instead of during the first time
the interface is brought up.  Without this, the boot time interrupt
round-robin assignment does not think the allocated interrupt resources
are active and leaves them assigned to CPU 0.

While here, add descriptive tags to each interrupt handler when MSI-X
is used.

git-svn-id: svn://svn.freebsd.org/base/stable/8@241315 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC: r240720
rmacklem [Sat, 6 Oct 2012 22:14:19 +0000 (22:14 +0000)]
MFC: r240720
Modify the NFSv4 client so that it can handle owner
and owner_group strings that consist entirely of
digits, interpreting them as the uid/gid number.
This change was needed since new (>= 3.3) Linux
servers reply with these strings by default.
This change is mandated by the rfc3530bis draft.
Reported on freebsd-stable@ under the Subject
heading "Problem with Linux >= 3.3 as NFSv4 server"
by Norbert Aschendorff on Aug. 20, 2012.

git-svn-id: svn://svn.freebsd.org/base/stable/8@241306 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r240343: rc.d/power_profile: use recently added Cmax for cx_lowest
avg [Sat, 6 Oct 2012 19:06:23 +0000 (19:06 +0000)]
MFC r240343: rc.d/power_profile: use recently added Cmax for cx_lowest

git-svn-id: svn://svn.freebsd.org/base/stable/8@241278 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r240349: zfs boot: add a size check for a value in fzap_lookup
avg [Sat, 6 Oct 2012 19:01:31 +0000 (19:01 +0000)]
MFC r240349: zfs boot: add a size check for a value in fzap_lookup

git-svn-id: svn://svn.freebsd.org/base/stable/8@241275 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r240650: hwpmc amd_pcpu_fini: fix a bug in code locked under DEBUG
avg [Sat, 6 Oct 2012 18:59:23 +0000 (18:59 +0000)]
MFC r240650: hwpmc amd_pcpu_fini: fix a bug in code locked under DEBUG

git-svn-id: svn://svn.freebsd.org/base/stable/8@241273 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r240632: zfs: correctly calculate dn_bonuslen for saving SAs to disk
avg [Sat, 6 Oct 2012 18:57:44 +0000 (18:57 +0000)]
MFC r240632:  zfs: correctly calculate dn_bonuslen for saving SAs to disk

git-svn-id: svn://svn.freebsd.org/base/stable/8@241271 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r240631: zfs: allow both DEBUG and ZFS_DEBUG to be defined on
avg [Sat, 6 Oct 2012 18:55:54 +0000 (18:55 +0000)]
MFC r240631: zfs: allow both DEBUG and ZFS_DEBUG to be defined on
command line

git-svn-id: svn://svn.freebsd.org/base/stable/8@241269 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r240347: zfs boot: fix/replace fzap_rlookup implementation
avg [Sat, 6 Oct 2012 18:54:01 +0000 (18:54 +0000)]
MFC r240347: zfs boot: fix/replace fzap_rlookup implementation

git-svn-id: svn://svn.freebsd.org/base/stable/8@241267 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r240629: g_disk_flushcache definitely should not be traced under
avg [Sat, 6 Oct 2012 18:52:06 +0000 (18:52 +0000)]
MFC r240629: g_disk_flushcache definitely should not be traced under
G_T_TOPOLOGY

git-svn-id: svn://svn.freebsd.org/base/stable/8@241265 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r240345: zfs: fix sa_modify_attrs handling of variable-sized
avg [Sat, 6 Oct 2012 18:50:14 +0000 (18:50 +0000)]
MFC r240345: zfs: fix sa_modify_attrs handling of variable-sized
attributes

git-svn-id: svn://svn.freebsd.org/base/stable/8@241263 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r240342: boot: file_loadraw should strdup name argument
avg [Sat, 6 Oct 2012 18:47:31 +0000 (18:47 +0000)]
MFC r240342: boot: file_loadraw should strdup name argument

git-svn-id: svn://svn.freebsd.org/base/stable/8@241261 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r240348: zfs boot: print only an attribute name in fzap_list
avg [Sat, 6 Oct 2012 18:45:18 +0000 (18:45 +0000)]
MFC r240348: zfs boot: print only an attribute name in fzap_list

git-svn-id: svn://svn.freebsd.org/base/stable/8@241259 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r240341,240637: loader/i386: replace ugly inb/outb
avg [Sat, 6 Oct 2012 18:42:39 +0000 (18:42 +0000)]
MFC r240341,240637: loader/i386: replace ugly inb/outb
re-implementations with cpufunc.h

git-svn-id: svn://svn.freebsd.org/base/stable/8@241257 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r239185, r239196:
mav [Sat, 6 Oct 2012 14:04:36 +0000 (14:04 +0000)]
MFC r239185, r239196:
Some minor tunings/cleanups inspired by bde@ after previous commits:
 - remove extra dynamic variable initializations;
 - restore (4BSD) and implement (ULE) hogticks variable setting;
 - make sched_rr_interval() more tolerant to options;
 - restore (4BSD) and implement (ULE) kern.sched.quantum sysctl, a more
user-friendly wrapper for sched_slice;
 - tune some sysctl descriptions;
 - make some style fixes.

git-svn-id: svn://svn.freebsd.org/base/stable/8@241254 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r239157:
mav [Sat, 6 Oct 2012 13:43:56 +0000 (13:43 +0000)]
MFC r239157:
Rework r220198 change (by fabient). I believe it solves the problem from
the wrong direction. Before it, if preemption and end of time slice happen
same time, thread was put to the head of the queue as for only preemption.
It could cause single thread to run for indefinitely long time. r220198
handles it by not clearing TDF_NEEDRESCHED in case of preemption. But that
causes delayed context switch every time preemption happens, even when not
needed.

Solve problem by introducing scheduler-specifoc thread flag TDF_SLICEEND,
set when thread's time slice is over and it should be put to the tail of
queue. Using SW_PREEMPT flag for that purpose as it was before just not
enough informative to work correctly.

On my tests this by 2-3 times reduces run time deviation (improves fairness)
in cases when several threads share one CPU.

git-svn-id: svn://svn.freebsd.org/base/stable/8@241253 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r239153:
mav [Sat, 6 Oct 2012 13:42:21 +0000 (13:42 +0000)]
MFC r239153:
SCHED_4BSD scheduling quantum mechanism appears to be broken for some time.
With switchticks variable being reset each time thread preempted (that is
done regularly by interrupt threads) scheduling quantum may never expire.
It was not noticed in time because several other factors still regularly
trigger context switches.

Handle the problem by replacing that mechanism with its equivalent from
SCHED_ULE called time slice. It is effectively the same, just measured in
context of stathz instead of hz. Some unification is probably not bad.

git-svn-id: svn://svn.freebsd.org/base/stable/8@241252 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r212455:
mav [Sat, 6 Oct 2012 13:38:49 +0000 (13:38 +0000)]
MFC r212455:
Merge some SCHED_ULE features to SCHED_4BSD:
- Teach SCHED_4BSD to inform cpu_idle() about high sleep/wakeup rate to
choose optimized handler. In case of x86 it is MONITOR/MWAIT. Also it
will be needed to bypass forthcoming idle tick skipping logic to not
consume resources on events rescheduling when it won't give any benefits.
- Teach SCHED_4BSD to wake up idle CPUs without using IPI. In case of x86,
when MONITOR/MWAIT is active, it require just single memory write. This
doubles performance on some heavily switching test loads.

git-svn-id: svn://svn.freebsd.org/base/stable/8@241251 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r232207, r232454, r234066:
mav [Sat, 6 Oct 2012 12:25:13 +0000 (12:25 +0000)]
MFC r232207, r232454, r234066:
Rework CPU load balancing in SCHED_ULE:
 - In sched_pickcpu() be more careful taking previous CPU on SMT systems.
Do it only if all other logical CPUs of that physical one are idle to avoid
extra resource sharing.
 - In sched_pickcpu() change general logic of CPU selection. First
look for idle CPU, sharing last level cache with previously used one,
skipping SMT CPU groups. If none found, search all CPUs for the least loaded
one, where the thread with its priority can run now. If none found, search
just for the least loaded CPU.
 - Make cpu_search() compare lowest/highest CPU load when comparing CPU
groups with equal load. That allows to differentiate 1+1 and 2+0 loads.
 - Make cpu_search() to prefer specified (previous) CPU or group if load
is equal. This improves cache affinity for more complicated topologies.
 - Randomize CPU selection if above factors are equal. Previous code tend
to prefer CPUs with lower IDs, causing unneeded collisions.
 - Rework periodic balancer in sched_balance_group(). With cpu_search()
more intelligent now, make balansing process flat, removing recursion
over the topology tree. That fixes double swap problem and makes load
distribution more even and predictable.

All together this gives 10-15% performance improvement in many tests on
CPUs with SMT, such as Core i7, for number of threads is less then number
of logical CPUs. In some tests it also gives positive effect to systems
without SMT.

git-svn-id: svn://svn.freebsd.org/base/stable/8@241246 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r241116:
eadler [Fri, 5 Oct 2012 22:42:57 +0000 (22:42 +0000)]
MFC r241116:
Correct the tip about finding all the directories on the system
Add a tip about clearing the screen.
Make things more consistent by removing quotes around 'make search'

Approved by: cperciva (implicit)

git-svn-id: svn://svn.freebsd.org/base/stable/8@241238 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r229822:
dougb [Thu, 4 Oct 2012 22:32:12 +0000 (22:32 +0000)]
MFC r229822:

There is no longer a need to abstract ${rcvar_manpage} as we are not
attempting to maintain compatibility with NetBSD for some years now.

git-svn-id: svn://svn.freebsd.org/base/stable/8@241209 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r240090:
dougb [Thu, 4 Oct 2012 22:23:57 +0000 (22:23 +0000)]
MFC r240090:

Improve file rotation

git-svn-id: svn://svn.freebsd.org/base/stable/8@241206 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r238879:
dougb [Thu, 4 Oct 2012 22:16:38 +0000 (22:16 +0000)]
MFC r238879:

Add a couple of nice quotes from Edward Everett Hale

git-svn-id: svn://svn.freebsd.org/base/stable/8@241203 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC: r240289
rmacklem [Thu, 4 Oct 2012 21:55:37 +0000 (21:55 +0000)]
MFC: r240289
Add a simple printf() based debug facility to the new nfs client.
Use it for a printf() that can be harmlessly generated for mmap()'d
files. It will be used extensively for the NFSv4.1 client.
Debugging printf()s are enabled by setting vfs.nfs.debuglevel to
a non-zero value. The higher the value, the more debugging printf()s.

git-svn-id: svn://svn.freebsd.org/base/stable/8@241201 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r241092:
kib [Thu, 4 Oct 2012 09:02:38 +0000 (09:02 +0000)]
MFC r241092:
Add the UPDATING note about padlock rng support requiring the config change.

git-svn-id: svn://svn.freebsd.org/base/stable/8@241191 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r241115:
eadler [Thu, 4 Oct 2012 01:37:11 +0000 (01:37 +0000)]
MFC r241115:
Indicate (loudly) that ports csup is going away.

While here clarify some other portions.

Approved by: cperciva (implicit)

git-svn-id: svn://svn.freebsd.org/base/stable/8@241175 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r241062:
eadler [Thu, 4 Oct 2012 01:33:48 +0000 (01:33 +0000)]
MFC r241062:
clarify the wording for 'first' and 'last'

Approved by: cperciva (implicit)

git-svn-id: svn://svn.freebsd.org/base/stable/8@241172 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r240645:
zont [Wed, 3 Oct 2012 11:56:18 +0000 (11:56 +0000)]
MFC r240645:
- Add 'dsiz' and 'ssiz' keywords to show data and stack size respectively.

MFC r240649:
- Bump date.

Approved by: kib (mentor)

git-svn-id: svn://svn.freebsd.org/base/stable/8@241159 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r240682
bapt [Tue, 2 Oct 2012 17:05:20 +0000 (17:05 +0000)]
MFC r240682

if a file in plist starts with / then do not prefix it with "prefix" [1]
pkg info -g returns 1 if a file mismatch [2]
flush stdout in pkg info -g [3]
clean up quiet mode (-q | --quiet) output of pkg_version(1) [4]
fix missing error call in uname check added to pkg_version(1) [5]
fix pkg_add(1) fails to install with -C from bad path [6]
only resolve path from pkg_add(1) -p if the given prefix do not start with a '/' [7]

PR: bin/13128 [1]
bin/139015 [2]
bin/113702 [3]
bin/142570 [4]
bin/146857 [5]
bin/157543 [6]
Submitted by: cy [1]
Anton Yuzhaninov <citrin@citrin.ru> [2]
Ighighi <ighighi@gmail.com> [3]
"N.J. Mann" <njm@njm.me.uk> [4]
gcooper [5]
David Naylor <naylor.b.david@gmail.com> [6]
netchild [7]

git-svn-id: svn://svn.freebsd.org/base/stable/8@241136 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC 239779:
jhb [Mon, 1 Oct 2012 19:43:37 +0000 (19:43 +0000)]
MFC 239779:
Shorten the name of the fast SWI taskqueue to "fast taskq" so that
it fits.

git-svn-id: svn://svn.freebsd.org/base/stable/8@241113 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMerge r240683 from head
gavin [Mon, 1 Oct 2012 15:50:18 +0000 (15:50 +0000)]
Merge r240683 from head
  Add entries for two USB devices I have locally.

git-svn-id: svn://svn.freebsd.org/base/stable/8@241105 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMerge the following from head:
gavin [Mon, 1 Oct 2012 15:47:13 +0000 (15:47 +0000)]
Merge the following from head:

  r240694
    Add PCI subclass for NVM Express devices.

  r240699, r240739
    Recognise NVM devices and pretty-print their name.

git-svn-id: svn://svn.freebsd.org/base/stable/8@241102 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r238547:
jh [Mon, 1 Oct 2012 14:55:22 +0000 (14:55 +0000)]
MFC r238547:

Make sure that arraysz is initialized to a value larger than zero.
arraysz could get initialized to zero on ZFS because ZFS reports
directory sizes differently compared to UFS.

PR: bin/169493

git-svn-id: svn://svn.freebsd.org/base/stable/8@241099 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r238546: Remove trailing whitespace.
jh [Mon, 1 Oct 2012 14:52:34 +0000 (14:52 +0000)]
MFC r238546: Remove trailing whitespace.

git-svn-id: svn://svn.freebsd.org/base/stable/8@241098 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r240856:
hselasky [Mon, 1 Oct 2012 06:00:08 +0000 (06:00 +0000)]
MFC r240856:
Correct driver name.

git-svn-id: svn://svn.freebsd.org/base/stable/8@241086 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r233090 and r240891:
hselasky [Mon, 1 Oct 2012 05:57:48 +0000 (05:57 +0000)]
MFC r233090 and r240891:
The UMS module is now loaded by rules in /etc/devd/usb.conf.
Improve moused when used with USB mouse devices.

git-svn-id: svn://svn.freebsd.org/base/stable/8@241085 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r240982:
kevlo [Mon, 1 Oct 2012 03:17:23 +0000 (03:17 +0000)]
MFC r240982:
Initialize the num variable to avoid uninitialized data.
This fixes the bug introduced by r238378.

Reviewed by: pfg

git-svn-id: svn://svn.freebsd.org/base/stable/8@241079 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r241007, r241008:
pfg [Sun, 30 Sep 2012 00:44:53 +0000 (00:44 +0000)]
MFC r241007, r241008:

Complete revert of r239963 (from head).

The attempt to merge changes from the linux libtirpc caused
rpc.lockd to exit after startup under unclear conditions.

Reported by: David Wolfskill

git-svn-id: svn://svn.freebsd.org/base/stable/8@241060 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r239744:
delphij [Fri, 28 Sep 2012 22:26:44 +0000 (22:26 +0000)]
MFC r239744:

Show error messages if nmount() failed.

git-svn-id: svn://svn.freebsd.org/base/stable/8@241040 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r240495:
eadler [Fri, 28 Sep 2012 01:04:09 +0000 (01:04 +0000)]
MFC r240495:
Adding missing return statements during error conditions.

PR: kern/171187
Approved by: cperciva (implicit)

git-svn-id: svn://svn.freebsd.org/base/stable/8@241017 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r240595:
trociny [Thu, 27 Sep 2012 18:52:04 +0000 (18:52 +0000)]
MFC r240595:

In snmp_hostres, device_map table is used for consistent device table
indexing. When a device has gone it is not removed from device_map
table but just its entry_p field is set to NULL.

So when traversing device_map in disk_OS_get_ATA_disks() and
disk_OS_get_MD_disks() check for entry_p being NULL, otherwise the
bsnmpd crash is possible when a removed map entry is dereferenced.

Before the fix, for disk_OS_get_ATA_disks() the crash could be easily
reproduced running:

  atacontrol detach ata1

The crash was not observed in disk_OS_get_MD_disks() because currently
snmp_hostres does no see md(4) disks: to get the device list it uses
devinfo(3), which does not return md devices.

Reported by:  Miroslav Lachman 000.fbsd quip.cz

git-svn-id: svn://svn.freebsd.org/base/stable/8@241004 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r240135:
kib [Thu, 27 Sep 2012 10:56:25 +0000 (10:56 +0000)]
MFC r240135:
Add support for new Intel on-CPU Bull Mountain random number generator.

MFC r240455:
Rename the IVY_RNG option to RDRAND_RNG.

git-svn-id: svn://svn.freebsd.org/base/stable/8@240994 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r229887 (by jkim):
kib [Thu, 27 Sep 2012 10:41:34 +0000 (10:41 +0000)]
MFC r229887 (by jkim):
Enable hardware RNG for VIA Nano processors.

git-svn-id: svn://svn.freebsd.org/base/stable/8@240991 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r240884:
mav [Thu, 27 Sep 2012 08:06:03 +0000 (08:06 +0000)]
MFC r240884:
Fix panic caused by wrong pointer dereference, left after pin sense rewrite
at r230551.

Also while there, make sense polling use reported for each node separately
instead of reporting accumulated total status.

git-svn-id: svn://svn.freebsd.org/base/stable/8@240987 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC 240880:
pfg [Thu, 27 Sep 2012 04:06:20 +0000 (04:06 +0000)]
MFC 240880:

Revert a change from Bull's NFSv4 libtirpc implementation:

libtirpc: be sure to free cl_netid and cl_tp

This change is causing rpc.lockd to exit after startup.

Reported by: David Wolfskill

git-svn-id: svn://svn.freebsd.org/base/stable/8@240980 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoAdd new DEBUG kernel distribution.
dteske [Wed, 26 Sep 2012 20:14:04 +0000 (20:14 +0000)]
Add new DEBUG kernel distribution.

Submitted by: Rick Miller <vmiller at hostileadmin dit com>
Reviewed by: adrian (co-mentor)
Approved by: adrian (co-mentor)

git-svn-id: svn://svn.freebsd.org/base/stable/8@240972 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r226940 (rmh):
mm [Wed, 26 Sep 2012 12:36:22 +0000 (12:36 +0000)]
MFC r226940 (rmh):

Fix a few gratuitous library dependencies. Some of the ZFS utilities
are linked with libraries they don't use:

 - zinject doesn't use libavl
 - ztest doesn't use libz
 - zdb uses neither libavl nor libz
 - zfs uses neither libbsdxml nor libm, nor libsbuf
 - zpool uses neither libbsdxml nor libm, nor libsbuf

In addition, libzfs needs libm because it uses pow(), however it isn't
linked with -lm.  This went unnoticed because all its users had -lm before.

git-svn-id: svn://svn.freebsd.org/base/stable/8@240960 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r236248-r236250:
mm [Wed, 26 Sep 2012 11:12:09 +0000 (11:12 +0000)]
MFC r236248-r236250:

MFC r236248 (pjd):
Remove unused variable.

MFC r236249 (pjd):
Eliminate 'where' argument, we don't use it.

MFC r236250 (pjd):
Tighten up the assertion: because size can't be 0 and even if sm_space is equal
to sm_size, any 'sm_space - size' will be less than sm_size.

git-svn-id: svn://svn.freebsd.org/base/stable/8@240958 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r240701:
tijl [Tue, 25 Sep 2012 13:34:09 +0000 (13:34 +0000)]
MFC r240701:

Fix a panic when trying to play invalid audio tracks.

PR: kern/167340
Reported by: Michael L. Semon <mlsemon35 gmail com>

git-svn-id: svn://svn.freebsd.org/base/stable/8@240920 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r240480:
eadler [Tue, 25 Sep 2012 01:33:22 +0000 (01:33 +0000)]
MFC r240480:
Belatedly add myself

Approved by: cperciva (implicit)

git-svn-id: svn://svn.freebsd.org/base/stable/8@240910 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r240470:
eadler [Tue, 25 Sep 2012 01:31:23 +0000 (01:31 +0000)]
MFC r240470:
Remove scripts and tools which only functioned when src was using CVS

Approved by: cperciva (implicit)

git-svn-id: svn://svn.freebsd.org/base/stable/8@240906 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r240466:
eadler [Tue, 25 Sep 2012 01:28:13 +0000 (01:28 +0000)]
MFC r240466:
Define missing DEBUGOUT# macros. DEBUGOUT[45] are not yet used but are
being defined pre-emptively to avoid future build breakage

PR: kern/168967
Approved by: cperciva (implicit)

git-svn-id: svn://svn.freebsd.org/base/stable/8@240903 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r238601
sbruno [Sun, 23 Sep 2012 20:31:45 +0000 (20:31 +0000)]
MFC r238601

On BIO_ERROR, set bio_resid to stop losing data in the error case.

Submitted by: Mark Johnston <markjdb@gmail.com>

git-svn-id: svn://svn.freebsd.org/base/stable/8@240877 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r238371
sbruno [Sun, 23 Sep 2012 20:24:17 +0000 (20:24 +0000)]
MFC r238371

When an MFI command fails, the driver needs to set bio->bio_resid so that
the upper levels notice.  Otherwise we see commands silently failing leading
to data corruption.  This mirrors dadone()

Submitted by: Andrew Boyer aboyer@averesystems.com

git-svn-id: svn://svn.freebsd.org/base/stable/8@240874 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r238373
sbruno [Sun, 23 Sep 2012 20:16:17 +0000 (20:16 +0000)]
MFC r238373

sys/dev/mfivar.h contains references to MFI_DEBUG, but it never gets turned on
unless the file also includes opt_mfi.h.

Submitted by: Andrew Boyer aboyer@averesystems.com

git-svn-id: svn://svn.freebsd.org/base/stable/8@240871 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r240205:
zeising [Sun, 23 Sep 2012 14:50:01 +0000 (14:50 +0000)]
MFC r240205:

Change the link pointing to more information about the Yarrow algorithm, the
current link points to a irrelevant catchall site.

PR:             docs/171411
Submitted by:   Mark Martinec <Mark.Martinec@ijs.si> (pr), zeising (patch)
Approved by:    joel (mentor)

git-svn-id: svn://svn.freebsd.org/base/stable/8@240859 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r240513: sched_ule: fix inverted condition in reporting of priority
avg [Sat, 22 Sep 2012 21:19:49 +0000 (21:19 +0000)]
MFC r240513: sched_ule: fix inverted condition in reporting of priority
lending via ktr

git-svn-id: svn://svn.freebsd.org/base/stable/8@240840 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r240346,240356: zfs boot: bring zap_leaf_chunk field names in sync
avg [Sat, 22 Sep 2012 21:14:53 +0000 (21:14 +0000)]
MFC r240346,240356: zfs boot: bring zap_leaf_chunk field names in sync
with kernel code

git-svn-id: svn://svn.freebsd.org/base/stable/8@240838 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r239963:
pfg [Sat, 22 Sep 2012 04:22:17 +0000 (04:22 +0000)]
MFC r239963:

Bring some changes from Bull's NFSv4 libtirpc implementation.

____

Fixed infinite loop in svc_run()
____

__rpc_taddr2uaddr_af() assumes the netbuf to always have a
non-zero data. This is a bad assumption and can lead to a
seg-fault. This patch adds a check for zero length and returns
NULL when found.
____

Changed clnt_spcreateerror() to return clearer
and more concise error messages.
____

Converted all uid and gid variables of the type uid_t and gid_t.
____

libtirpc: set r_netid and r_owner in __rpcb_findaddr_timed

These fields in the rpcbind GETADDR call are being passed uninitialized
to CLNT_CALL. In the case of x86_64 at least, this usually leads to a
segfault. On x86, it sometimes causes segfaults and other times causes
garbage to be sent on the wire.

rpcbind generally ignores the r_owner field for calls that come in over
the wire, so it really doesn't matter what we send in that slot. We just
need to send something. The reference implementation from Sun seems to
send a blank string. Have ours follow suit.
____

libtirpc: be sure to free cl_netid and cl_tp

When creating a client with clnt_tli_create, it uses strdup to copy
strings for these fields if nconf is passed in. clnt_dg_destroy frees
these strings already. Make sure clnt_vc_destroy frees them in the same
way.

____

Obtained from: Bull GNU/Linux NFSv4 Project

git-svn-id: svn://svn.freebsd.org/base/stable/8@240800 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r240524: siginfo(3): Document TRAP_DTRACE signal code.
jilles [Fri, 21 Sep 2012 12:40:31 +0000 (12:40 +0000)]
MFC r240524: siginfo(3): Document TRAP_DTRACE signal code.

git-svn-id: svn://svn.freebsd.org/base/stable/8@240779 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agosiginfo(3): Document SI_USER and SI_KERNEL signal codes.
jilles [Fri, 21 Sep 2012 12:38:52 +0000 (12:38 +0000)]
siginfo(3): Document SI_USER and SI_KERNEL signal codes.

Different from stable/9 and head, do not mention pthread_kill(3), which
generates a different code (SI_USER) in stable/8.

git-svn-id: svn://svn.freebsd.org/base/stable/8@240778 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r240383:
mav [Thu, 20 Sep 2012 19:05:24 +0000 (19:05 +0000)]
MFC r240383:
Fix AHCI 1.2 version checks. This should be mostly cosmetic.

git-svn-id: svn://svn.freebsd.org/base/stable/8@240764 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r240530 from HEAD:
issyl0 [Thu, 20 Sep 2012 17:39:07 +0000 (17:39 +0000)]
MFC r240530 from HEAD:
  - Remove a reference to CVS and freefall from a user-facing man page.

PR: docs/171658
Approved by: gabor (mentor)

git-svn-id: svn://svn.freebsd.org/base/stable/8@240759 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r240464:
kib [Thu, 20 Sep 2012 10:28:44 +0000 (10:28 +0000)]
MFC r240464:
The deadfs VOPs for vop_ioctl and vop_bmap call itself recursively,
which is an elaborate way to cause kernel panic. Change the VOPs
implementation to return EBADF for a reclaimed vnode.

git-svn-id: svn://svn.freebsd.org/base/stable/8@240745 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoUpgrade to 9.6-ESV-R7-P3:
dougb [Thu, 20 Sep 2012 04:35:20 +0000 (04:35 +0000)]
Upgrade to 9.6-ESV-R7-P3:

Prevents a crash when queried for a record whose RDATA exceeds
65535 bytes.

Prevents a crash when validating caused by using "Bad cache" data
before it has been initialized.

ISC_QUEUE handling for recursive clients was updated to address
a race condition that could cause a memory leak. This rarely
occurred with UDP clients, but could be a significant problem
for a server handling a steady rate of TCP queries.

A condition has been corrected where improper handling of
zero-length RDATA could cause undesirable behavior, including
termination of the named process.

For more information: https://kb.isc.org/article/AA-00788

git-svn-id: svn://svn.freebsd.org/base/stable/8@240732 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r240079,215837:
delphij [Wed, 19 Sep 2012 23:03:54 +0000 (23:03 +0000)]
MFC r240079,215837:

Update arcmsr(4) to vendor version 1.20.00.25.

Many thanks to Areca for continuing to support FreeBSD.

Submitted by: Ching-Lung Huang <ching2048 areca com tw>

git-svn-id: svn://svn.freebsd.org/base/stable/8@240715 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMF9: r237795
obrien [Wed, 19 Sep 2012 20:11:47 +0000 (20:11 +0000)]
MF9: r237795
     MFC: r236592 r236593 r236594 r236620 r236621 r236622 r236637 r237794:
          filemon(4)

git-svn-id: svn://svn.freebsd.org/base/stable/8@240707 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC: r240391
bapt [Wed, 19 Sep 2012 06:20:25 +0000 (06:20 +0000)]
MFC: r240391

Fix IEC / SI binary prefixes (Ki, Mi, Gi, etc) production by humanize_number(3)

PR: bin/171487
Submitted by: matthew

git-svn-id: svn://svn.freebsd.org/base/stable/8@240688 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC: r236213, r236333, r236336, r240476
bapt [Tue, 18 Sep 2012 20:20:29 +0000 (20:20 +0000)]
MFC: r236213, r236333, r236336, r240476

- Let pkg_add use the ENV variable PACKAGESUFFIX
- Make sure that each va_start has one and only one matching va_end
- Do not change owner, group, or mode when package database directory and
its contents are created with pkg_add(1).  It may happen when the packing
list contains @owner, @group, or @mode.

git-svn-id: svn://svn.freebsd.org/base/stable/8@240674 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r240340: acpi.4: machdep.cpu_idle_hlt no longer exists
avg [Tue, 18 Sep 2012 08:28:08 +0000 (08:28 +0000)]
MFC r240340: acpi.4: machdep.cpu_idle_hlt no longer exists

git-svn-id: svn://svn.freebsd.org/base/stable/8@240636 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r240514:
jimharris [Mon, 17 Sep 2012 16:11:22 +0000 (16:11 +0000)]
MFC r240514:

isci(4): Fix SCSI/ATA translation for SCSI_WRITE_BUFFER w/ mode==0x7
(download microcode with offsets, save, and activate).

SATI translation layer was incorrectly using allocation length instead
of blocks, and was constructing the ATA command incorrectly.

Also change #define to specify that the 512 block size here is
specific for DOWNLOAD_MICROCODE, and does not relate to the device's
logical block size.

git-svn-id: svn://svn.freebsd.org/base/stable/8@240612 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r240003, r240004:
trociny [Mon, 17 Sep 2012 14:54:58 +0000 (14:54 +0000)]
MFC r240003, r240004:

r240003:

In soreceive_generic() when checking if the type of mbuf has changed
check it for MT_CONTROL type too, otherwise the assertion
"m->m_type == MT_DATA" below may be triggered by the following scenario:

- the sender sends some data (MT_DATA) and then a file descriptor
  (MT_CONTROL);
- the receiver calls recv(2) with a MSG_WAITALL asking for data larger
  than the receive buffer (uio_resid > hiwat).

r240004:

In soreceive_generic() remove the optimization for the case when
MSG_WAITALL is set, and it is possible to do the entire receive
operation at once if we block (resid <= hiwat). Actually it might make
the recv(2) with MSG_WAITALL flag get stuck when there is enough space
in the receiver buffer to satisfy the request but not enough to open
the window closed previously due to the buffer being full.

The issue can be reproduced using the following scenario:

On the sender side do 2 send(2) requests:

1) data of size much smaller than SOBUF_SIZE (e.g. SOBUF_SIZE / 10);
2) data of size equal to SOBUF_SIZE.

On the receiver side do 2 recv(2) requests with MSG_WAITALL flag set:

1) recv() data of SOBUF_SIZE / 10 size;
2) recv() data of SOBUF_SIZE size;

We totally fill the receiver buffer with one SOBUF_SIZE/10 size request
and partial SOBUF_SIZE request. When the first request is processed we
get SOBUF_SIZE/10 free space. It is just enough to receive the rest of
bytes for the second request, and soreceive_generic() blocks in the
part that is a subject of this change waiting for the rest. But the
window was closed when the buffer was filled and to avoid silly window
syndrome it opens only when available space is larger than sb_hiwat/4
or maxseg. So it is stuck and pending data is only sent via TCP window
probes.

Discussed with: kib (long ago)

git-svn-id: svn://svn.freebsd.org/base/stable/8@240607 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r240520:
eadler [Mon, 17 Sep 2012 00:47:37 +0000 (00:47 +0000)]
MFC r240520:
s/teh/the/g

Approved by: cperciva (implicit)

git-svn-id: svn://svn.freebsd.org/base/stable/8@240581 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r240518:
eadler [Mon, 17 Sep 2012 00:44:11 +0000 (00:44 +0000)]
MFC r240518:
Correct double "the the"

Approved by: cperciva (implicit)

git-svn-id: svn://svn.freebsd.org/base/stable/8@240578 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r240521:
eadler [Mon, 17 Sep 2012 00:32:35 +0000 (00:32 +0000)]
MFC r240521:

s/ is is / is /g
s/ a a / a /g

Approved by: cperciva (implicit)

git-svn-id: svn://svn.freebsd.org/base/stable/8@240576 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMerge r240118 from head:
gavin [Sun, 16 Sep 2012 18:57:32 +0000 (18:57 +0000)]
Merge r240118 from head:
  Support another uchcom(4) device.

git-svn-id: svn://svn.freebsd.org/base/stable/8@240570 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMerge r240146 from head:
gavin [Sun, 16 Sep 2012 18:26:32 +0000 (18:26 +0000)]
Merge r240146 from head:
  - If the PCIe "SLOT" flag is set, include this in the capability output
  - Fix printing of PCIe interrupt number, the shift was incorrect.

git-svn-id: svn://svn.freebsd.org/base/stable/8@240569 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r239326:
mav [Sun, 16 Sep 2012 12:08:06 +0000 (12:08 +0000)]
MFC r239326:
Fix "speaker" volume control, broken at r230451.

git-svn-id: svn://svn.freebsd.org/base/stable/8@240560 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r240465:
mav [Sun, 16 Sep 2012 09:01:40 +0000 (09:01 +0000)]
MFC r240465:
Add global and per-module sysctls/tunables to enable/disable metadata taste.
That should help to handle some cases when disk has some RAID metadata that
should be ignored, especially during boot.

git-svn-id: svn://svn.freebsd.org/base/stable/8@240556 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r240465:
mav [Sun, 16 Sep 2012 08:58:34 +0000 (08:58 +0000)]
MFC r240465:
Add global and per-module sysctls/tunables to enable/disable metadata taste.
That should help to handle some cases when disk has some RAID metadata that
should be ignored, especially during boot.

pR:

git-svn-id: svn://svn.freebsd.org/base/stable/8@240554 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r240465:
mav [Sun, 16 Sep 2012 08:44:55 +0000 (08:44 +0000)]
MFC r240465:
Add global and per-module sysctls/tunables to enable/disable metadata taste.
That should help to handle some cases when disk has some RAID metadata that
should be ignored, especially during boot.

git-svn-id: svn://svn.freebsd.org/base/stable/8@240553 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r240252,r240253:
eadler [Sun, 16 Sep 2012 00:35:09 +0000 (00:35 +0000)]
MFC r240252,r240253:
Remove documentation and www cvsup files as they are no longer useful
with the switch to subversion.
Specifically document that an incomplete ports tree is not supported.
Remove useless comment about sendmail.

Approved by: cperciva (implicit)

git-svn-id: svn://svn.freebsd.org/base/stable/8@240544 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r240060, r240062:
pfg [Sun, 16 Sep 2012 00:34:04 +0000 (00:34 +0000)]
MFC r240060, r240062:

Rename __rpc_xdr with XDR. This fixes at least one C++ application and
matches what upstream (Solaris) has done on their xdr.h header.

PR: 137443

git-svn-id: svn://svn.freebsd.org/base/stable/8@240543 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r239829:
pluknet [Fri, 14 Sep 2012 15:09:59 +0000 (15:09 +0000)]
MFC r239829:
  Follow r239818 and remove no more relevant vslock() ENOMEM error.

git-svn-id: svn://svn.freebsd.org/base/stable/8@240504 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r240026:
zont [Fri, 14 Sep 2012 14:24:21 +0000 (14:24 +0000)]
MFC r240026:
- Make kern.maxtsiz, kern.dfldsiz, kern.maxdsiz, kern.dflssiz, kern.maxssiz
  and kern.sgrowsiz sysctls writable.

MFC r240068:
- Mark some sysctls with CTLFLAG_TUN flag instead of CTLFLAG_RDTUN.

MFC r240069:
- After r240026 sgrowsiz should be used in a safer maner.

git-svn-id: svn://svn.freebsd.org/base/stable/8@240502 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r239818:
zont [Fri, 14 Sep 2012 13:57:34 +0000 (13:57 +0000)]
MFC r239818:
- Don't take an account of locked memory for current process in vslock(9).

There are two consumers of vslock(9): sysctl code and drm driver.  These
consumers are using locked memory as transient memory, it doesn't belong
to a process's memory.

MFC r239895:
- Remove accounting of locked memory from vsunlock(9) that I missed in r239818.

git-svn-id: svn://svn.freebsd.org/base/stable/8@240500 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC r240328:
eadler [Fri, 14 Sep 2012 00:37:12 +0000 (00:37 +0000)]
MFC r240328:
Follow up to doc r39516:

Update the Vendor Relations Team information to reflect that
incoming email is now handled by core@ and the Foundation.

Approved by: cperciva (implicit)

git-svn-id: svn://svn.freebsd.org/base/stable/8@240478 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

11 years agoMFC of 240457, tzdata2012f
edwin [Thu, 13 Sep 2012 10:25:30 +0000 (10:25 +0000)]
MFC of 240457, tzdata2012f

 - Pacific/Fiji will go into DST from 21 October 2012 till 20 January 2013.
 - Fix offset for Pacific/Tokelau.
 - Gaza and West Bank had DST from 29 March to 28 September 2012.
 - Syria has DST from April till October
 - Morocco had DST from April to September 2012 except for 20 July to 20 August.
 - Cuba changed to DST from 1 April 2012 only.
 - Haiti has DST between 8 March and 1 November in 2012.

  Obtained from:  ftp://ftp.iana.org/tz/releases/

git-svn-id: svn://svn.freebsd.org/base/stable/8@240460 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f