Commit Graph

150566 Commits

Author SHA1 Message Date
Andriy Gapon
d5f8ba9274 MFC r203062: acpi_hpet: correctly get number of timers in a timer block 2010-02-10 09:46:31 +00:00
Marko Zec
7526c9dfc7 MFC r203483:
Instead of spamming the console on each curvnet recursion event, print
  out each such call graph only once, along with a stack backtrace.  This
  should make kernels built with VNET_DEBUG reasonably usable again in
  busy / production environments.

  Introduce a new DDB command "show vnetrcrs" which dumps the whole log
  of distinctive curvnet recursion events.  This might be useful when
  recursion reports get burried / lost too deep in the message buffer.
  In the later case stack backtraces are not available.

  Reviewed by:  bz
2010-02-10 08:50:06 +00:00
Xin LI
0985bbeaab MFC r202060:
Add a new option, -q howmany, which when used in conjuction with -w,
exits netstat after _howmany_ outputs.

Requested by:	thomasa
Reviewed by:	freebsd-net (bms, old version in early 2007)
2010-02-10 00:34:13 +00:00
Ed Maste
207a2ae06c MFC r198593:
Rename aac_fast_intr to aac_filter to reflect its current use.  Eliminate
  the fallback of using the filter as an interrupt handler, as it is no
  longer needed.

  Discussed with:       scottl, jhb
2010-02-09 22:05:30 +00:00
Qing Li
613e96b8c6 MFC r203401
Some of the existing ppp and vpn related scripts create and set
the IP addresses of the tunnel end points to the same value. In
these cases the loopback route is not installed for the local
end.
2010-02-09 19:27:54 +00:00
Bruce M Simpson
1bb0287cb9 MFC Revision: 203574
Add sane-port (Scanner Access Now Easy) as port 6566.

Obtained from:  http://www.iana.org/assignments/port-numbers
2010-02-09 18:43:50 +00:00
Ed Maste
3268298eef MFC r203077:
Add missing return, in a rare case where we can't allocate memory in
  deallocate.

Submitted by: Ryan Stone (rysto32 at gmail dot com)
Approved by:  jasone
2010-02-09 13:07:32 +00:00
Ruslan Ermilov
256aec2de4 MFC: r198231: Properly re-create "-s size" argument to newfs(8). 2010-02-09 12:20:48 +00:00
Jaakko Heinonen
5e4fd6c798 MFC r200781:
Cast time_t values to intmax_t and use %jd with printf.
2010-02-08 15:55:01 +00:00
Jaakko Heinonen
46e7e3ebbc MFC r200780:
Remove non-working special case for pipe(2) from amd64-fbsd32.c and
i386-fbsd.c. Add pipe(2) to syscall table to decode it's pointer
argument properly and re-add special handling for pipe(2) return value
to print_syscall_ret().

PR:		bin/120870
2010-02-08 15:53:28 +00:00
Jaakko Heinonen
3ede63a7e3 MFC r200752:
Avoid sharing the file descriptor of the output file with traced
processes by setting the FD_CLOEXEC flag for the output file.

PR:		bin/140493
2010-02-08 15:50:51 +00:00
Jaakko Heinonen
33e6da3c3a MFC r200751:
Add fork(2), getegid(2), geteuid(2), getgid(2), getpid(2), getpgid(2),
getpgrp(2), getppid(2), getsid(2) and getuid(2) to syscall table to
decode their arguments correctly.
2010-02-08 15:48:18 +00:00
Attilio Rao
95e1c1fa00 MC r202889, r202940:
- Fix a race in sched_switch() of sched_4bsd.
  Block the td_lock when acquiring explicitly sched_lock in order to prevent
  races with other td_lock contenders.
- Merge the ULE's internal function thread_block_switch() into the global
  thread_lock_block() and make the former semantic as the default for
  thread_lock_block().
- Split out an invariant in order to have better checks.
2010-02-08 14:08:52 +00:00
David Xu
d430c009c7 MFC r203414:
After busied the lock, re-read state word before checking waiters flag,
otherwise, the waiters bit may not be set and a wakeup is lost.
2010-02-08 03:11:55 +00:00
Gavin Atkinson
7c2545fb17 Merge r202115 from head:
Our standard "xterm" termcap entry supports colour, so this tip is redundant.
  As it happens, "xterm-color" has just been an alias for "xterm" since
  src/share/termcap/termcap.src 1.131 in September 2002.

PR:		docs/132959
2010-02-07 21:04:26 +00:00
Doug Barton
5719469a12 MFC 202961:
Upgrade to BIND 9.6.1-P3.

This version address the following vulnerabilities:

BIND 9 Cache Update from Additional Section
https://www.isc.org/advisories/CVE-2009-4022v6
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-4022
A nameserver with DNSSEC validation enabled may incorrectly add
unauthenticated records to its cache that are received during the
resolution of a recursive client query

BIND 9 DNSSEC validation code could cause bogus NXDOMAIN responses
https://www.isc.org/advisories/CVE-2010-0097
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2010-0097
There was an error in the DNSSEC NSEC/NSEC3 validation code that could
cause bogus NXDOMAIN responses (that is, NXDOMAIN responses for records
proven by NSEC or NSEC3 to exist) to be cached as if they had validated
correctly

These issues only affect systems with DNSSEC validation enabled.
2010-02-07 20:28:24 +00:00
Doug Barton
ac8e3748c2 MFC 202960:
Copyright-only changes to generated files as part of the 9.6.1-P3 update
2010-02-07 20:26:45 +00:00
Marius Strobl
73769927ae MFC: r202900
Merge r203608 from amd64/i386:

In syscall(), reread syscall number and arguments after ptracestop(),
if debugger modified anything in the process environment.
2010-02-07 11:59:55 +00:00
Konstantin Belousov
c329abd0d3 MFC r202882:
For i386, amd64 and ia32 on amd64 MD syscall(), reread syscall number
and arguments after ptracestop(), if debugger modified anything in the
process environment.
2010-02-07 11:37:38 +00:00
Konstantin Belousov
02d65815cb MFC r202529:
vunref() the vnode in vm object deallocation code for OBJT_VNODE
appropriate number of times to prevent possible vnode reference leak.
2010-02-07 10:51:17 +00:00
Konstantin Belousov
e9560b4089 MFC r202528:
Add vunref(9).
2010-02-07 10:44:44 +00:00
Julian Elischer
2ae7ec29fd MFC of 197952 and 198075
Virtualize the pfil hooks so that different jails may chose different
    packet filters. ALso allows ipfw to be enabled on on ejail and disabled
    on another. In 8.0 it's a global setting.
and
    Unbreak the VIMAGE build with IPSEC, broken with r197952 by
    virtualizing the pfil hooks.
    For consistency add the V_ to virtualize the pfil hooks in here as well.
2010-02-07 09:00:22 +00:00
Ruslan Ermilov
2227955399 MFC: r203486: Shortening a passphrase caused wrong authentication key
to be used.
2010-02-07 06:22:28 +00:00
Hajimu UMEMOTO
9ed7f3a23a MFC r202916: Make strsignal(3) thread-safe. 2010-02-07 04:27:18 +00:00
Marius Strobl
901c651d7b MFC: r203185
Implement handling of the third argument of cpu_switch().

PR:		143215
2010-02-06 17:33:39 +00:00
Hajimu UMEMOTO
1cddf840fb MFC r203200; Allow use of -6 option to "server" and "peer" in ntp.conf. 2010-02-06 15:32:42 +00:00
Andriy Gapon
bb07fbe3c1 MFC r203160: add static qualifier to definition of a static function 2010-02-06 12:17:20 +00:00
Andriy Gapon
e21bbd1743 MFC r197104,197105,197106,197107,197688,198237,199337,199338,200553,200554,
202771,202773: bring acpica version to 20100121

MFC details:
r197104 | jkim | 2009-09-12 01:48:53 +0300 (Sat, 12 Sep 2009) | 4 lines
MFV:    r196804
Import ACPICA 20090903

r197105 | jkim | 2009-09-12 01:49:34 +0300 (Sat, 12 Sep 2009) | 2 lines
Catch up with ACPICA 20090903.

r197106 | jkim | 2009-09-12 01:50:15 +0300 (Sat, 12 Sep 2009) | 2 lines
Catch up with ACPICA 20090903.

r197107 | jkim | 2009-09-12 01:56:08 +0300 (Sat, 12 Sep 2009) | 2 lines
Canonify include paths for newly added files.

r197688 | jkim | 2009-10-01 23:56:15 +0300 (Thu, 01 Oct 2009) | 4 lines
Compile ACPI debugger and disassembler for kernel modules
unconditionally.
These files will generate almost empty object files without
ACPI_DEBUG/DDB
options.  As a result, size of acpi.ko will increase slightly.

r198237 | jkim | 2009-10-19 19:12:58 +0300 (Mon, 19 Oct 2009) | 2 lines
Merge ACPICA 20091013.

r199337 | jkim | 2009-11-16 23:47:12 +0200 (Mon, 16 Nov 2009) | 2 lines
Merge ACPICA 20091112.

r199338 | jkim | 2009-11-16 23:53:56 +0200 (Mon, 16 Nov 2009) | 2 lines
Add a forgotten module Makefile change from the previous commit.

r200553 | jkim | 2009-12-15 00:24:04 +0200 (Tue, 15 Dec 2009) | 2 lines
Merge ACPICA 20091214.

r200554 | jkim | 2009-12-15 00:28:32 +0200 (Tue, 15 Dec 2009) | 3 lines
Remove _FDE quirk handling as these quirks are automatically repaired
by ACPICA layer since ACPICA 20091214.

r202771 | jkim | 2010-01-21 23:14:28 +0200 (Thu, 21 Jan 2010) | 2 lines
Merge ACPICA 20100121.

r202773 | jkim | 2010-01-21 23:31:39 +0200 (Thu, 21 Jan 2010) | 2 lines
Fix a new header inclusion.

Discussed with:		jkim, jhb
No objections from:	acpi@
2010-02-06 12:03:25 +00:00
Jaakko Heinonen
37a33496e2 MFC r200632:
The input line length limit mentioned on the manual page was removed by
r176119.
2010-02-06 11:42:23 +00:00
Jaakko Heinonen
f8d5cb4579 MFC r200441:
The input line length limit mentioned on the manual page was removed by
r179374.
2010-02-06 11:39:33 +00:00
Alexander Motin
f8451095fa MFC r203043, r203058:
Do not place fake interrupt register on chip.
Now we have better place for it.
2010-02-05 12:17:14 +00:00
Alexander Motin
3ca74a280b MFC r203034:
Restore SATA speed reporting, broken by ATA_CAM changes.
2010-02-05 12:09:43 +00:00
Alexander Motin
dc65878eb6 MFC r203033:
Clear ch->devices, if hard-reset failed.
This makes hot-plug work better.
2010-02-05 12:07:53 +00:00
Alexander Motin
981b11104a MFC r201566, r201567:
Move wakeup() out of mutex to reduce contention.
2010-02-05 11:56:12 +00:00
Alexander Motin
9185a70204 MFC r201545:
Slightly optimize XOR calculation.
2010-02-05 11:53:41 +00:00
Alexander Motin
9ab219c83f MFC r201264:
Call wakeup() only for the first request on the queue.
2010-02-05 11:52:28 +00:00
Gavin Atkinson
dd00dfec80 Fix mergeinfo from r197799 2010-02-05 08:56:10 +00:00
Gavin Atkinson
75cf52103d Merge r202161 from head:
Spell "Hz" correctly wherever it is user-visible.

PR:		bin/142566
Submitted by:	N.J. Mann   njm njm.me.uk
2010-02-05 08:52:51 +00:00
Alexander Motin
3a5d679ee5 MFC r202694:
- Add -v argument to `camcontrol identify` command. It makes camcontrol
print full identify data block.
- Improve identify result view a bit and add TRIM support.
2010-02-05 08:48:44 +00:00
Alexander Motin
9eb48f44f2 MFC r202789, r202796:
- Improve tracer, to handle more cases of input-to-output monitoring
loopback.
- Use "igain" mixer control for input-to-output monitoring loopback.
- Allow AD1981HD codecs to use playback mixer. Now driver should be able to
really use it.
- Fix bug in shared muters operation.
2010-02-05 08:36:33 +00:00
Alexander Motin
24f890094e MFC r202736:
Print playback channels paths in order of their sequence numbers, not nids.
2010-02-05 08:32:07 +00:00
Joerg Wunsch
0ad7cd49e7 MFC r203359: active xrefs to gpib(3) now that it's actually there. 2010-02-04 19:49:41 +00:00
Joerg Wunsch
a387b53227 MFC r203356: add a manpage for gpib(3). 2010-02-04 19:49:07 +00:00
Joerg Wunsch
5998ac2fc6 MFC r203357: teach groff about libgpib. 2010-02-04 19:47:26 +00:00
Christian Brueffer
d9ef258b32 MFC: r202659
We don't support isdn devices anymore (since May 2008).
2010-02-04 17:35:11 +00:00
Rick Macklem
e3feb3a780 MFC: r202774
Fix a typo in a comment introduced by r202767.
2010-02-04 17:31:34 +00:00
Rick Macklem
4c8732b699 MFC: r202772
Document the negnametimeo option for mount_nfs as implemented
by r202767. This is a content change.
2010-02-04 17:13:38 +00:00
Hajimu UMEMOTO
653c9e47e5 MFC r203342: ManageSieve has been added as port 4190:
http://www.iana.org/assignments/port-numbers
2010-02-04 16:59:36 +00:00
Rick Macklem
89ae8d8476 MFC: r202767
Add a timeout for the negative name cache entries in the NFS client.
This avoids a bogus negative name cache entry from persisting forever
when another client creates an entry with the same name within the
same NFS server time of day clock tick. The mount option negnametimeo
can be used to override the default timeout interval on a
per-mount-point basis. Setting negnametimeo to 0 disables negative
name caching for the mount point.
I also fixed one obvious typo where args.timeo should be
args.maxgrouplist.

Submitted by:	jhb (earlier version)
Reviewed by:	jhb
2010-02-04 16:57:01 +00:00
Xin LI
db265fb4a8 MFC r202668+r200806:
Don't consider non-existence of a PID file an error, we should be able
to proceed anyway as this most likely mean that the process has been
terminated. [1]

Add a new option, -P, which reverts newsyslog(8) to the old behavior,
which stops to proceed further, as it is possible that processes which
fails to create PID file get screwed by rotation. [2]

PR:		bin/140397
Submitted by:	Dan Lukes [1]
Requested by:	stas [2]
2010-02-03 18:42:14 +00:00