]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/log
FreeBSD/stable/8.git
14 years agoMFC r202694:
mav [Fri, 5 Feb 2010 08:48:44 +0000 (08:48 +0000)]
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.

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

14 years agoMFC r202789, r202796:
mav [Fri, 5 Feb 2010 08:36:33 +0000 (08:36 +0000)]
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.

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

14 years agoMFC r202736:
mav [Fri, 5 Feb 2010 08:32:07 +0000 (08:32 +0000)]
MFC r202736:
Print playback channels paths in order of their sequence numbers, not nids.

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

14 years agoMFC r203359: active xrefs to gpib(3) now that it's actually there.
joerg [Thu, 4 Feb 2010 19:49:41 +0000 (19:49 +0000)]
MFC r203359: active xrefs to gpib(3) now that it's actually there.

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

14 years agoMFC r203356: add a manpage for gpib(3).
joerg [Thu, 4 Feb 2010 19:49:07 +0000 (19:49 +0000)]
MFC r203356: add a manpage for gpib(3).

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

14 years agoMFC r203357: teach groff about libgpib.
joerg [Thu, 4 Feb 2010 19:47:26 +0000 (19:47 +0000)]
MFC r203357: teach groff about libgpib.

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

14 years agoMFC: r202659
brueffer [Thu, 4 Feb 2010 17:35:11 +0000 (17:35 +0000)]
MFC: r202659

We don't support isdn devices anymore (since May 2008).

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

14 years agoMFC: r202774
rmacklem [Thu, 4 Feb 2010 17:31:34 +0000 (17:31 +0000)]
MFC: r202774
Fix a typo in a comment introduced by r202767.

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

14 years agoMFC: r202772
rmacklem [Thu, 4 Feb 2010 17:13:38 +0000 (17:13 +0000)]
MFC: r202772
Document the negnametimeo option for mount_nfs as implemented
by r202767. This is a content change.

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

14 years agoMFC r203342: ManageSieve has been added as port 4190:
ume [Thu, 4 Feb 2010 16:59:36 +0000 (16:59 +0000)]
MFC r203342: ManageSieve has been added as port 4190:
http://www.iana.org/assignments/port-numbers

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

14 years agoMFC: r202767
rmacklem [Thu, 4 Feb 2010 16:57:01 +0000 (16:57 +0000)]
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

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

14 years agoMFC r202668+r200806:
delphij [Wed, 3 Feb 2010 18:42:14 +0000 (18:42 +0000)]
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]

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

14 years agoMerge r201401 from head:
gavin [Tue, 2 Feb 2010 19:51:30 +0000 (19:51 +0000)]
Merge r201401 from head:

  Remove dead code.  This section of code is only run in the
  (sblock.fs_magic == FS_UFS1_MAGIC) case, so the check within the
  loop is redundant.

PR: bin/115174 (partly)
Submitted by: Nate Eldredge  nge cs.hmc.edu
Reviewed by: mjacob
Approved by: ed (mentor, implicit)

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

14 years agoMerge r203027 from head:
gavin [Tue, 2 Feb 2010 19:44:52 +0000 (19:44 +0000)]
Merge r203027 from head:

  Correct the HISTORY section of these man pages to show when the function,
  not the "manual page example" was introduced.

Approved by: ed (mentor, implicit)

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

14 years agoMerge r203025,r203026 from head:
gavin [Tue, 2 Feb 2010 19:37:26 +0000 (19:37 +0000)]
Merge r203025,r203026 from head:

  Correct the HISTORY section of these man pages to show when the function,
  not the "manual page example" was introduced.

Approved by: ed (mentor, implicit)

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

14 years agoMFC 203032:
jhb [Tue, 2 Feb 2010 18:50:02 +0000 (18:50 +0000)]
MFC 203032:
Don't pop up the menu to select a documentation language for non-interactive
installs.  Default to not installing any documentation in that case.

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

14 years agoMove some mergeinfo up to release/.
jhb [Tue, 2 Feb 2010 18:48:09 +0000 (18:48 +0000)]
Move some mergeinfo up to release/.

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

14 years agoMFC 203031:
jhb [Tue, 2 Feb 2010 18:43:08 +0000 (18:43 +0000)]
MFC 203031:
Remove slattach from the install mfsroot since it doesn't exist anymore
to quiet a warning from crunchgen.

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

14 years agoMFC r202640:
delphij [Tue, 2 Feb 2010 00:32:15 +0000 (00:32 +0000)]
MFC r202640:

Update to 4.6.

Note: the -V option from OpenBSD is implemented using setfib(2) on FreeBSD.

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

14 years agoMFC r203082:
yongari [Mon, 1 Feb 2010 23:57:42 +0000 (23:57 +0000)]
MFC r203082:
  Add initial support for RTL8103E PCIe fastethernet.

  PR: kern/142974

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

14 years agoMFC 203070:
jhb [Mon, 1 Feb 2010 22:01:48 +0000 (22:01 +0000)]
MFC 203070:
Initialize the ifnet before calling mii_phy_probe() as some phy drivers
(e.g. e1000phy(4)) expect if_dname to be valid when they are probed.

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

14 years agoMFC r202573:
jh [Mon, 1 Feb 2010 16:02:14 +0000 (16:02 +0000)]
MFC r202573:

Print sizes up to INT64_MAX in md_prthumanval().

PR: bin/125365
Approved by: trasz (mentor)

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

14 years agoMFC r203175:
kib [Mon, 1 Feb 2010 10:45:23 +0000 (10:45 +0000)]
MFC r203175:
The MAP_ENTRY_NEEDS_COPY flag belongs to protoeflags, cow variable
uses different namespace.

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

14 years agoReduce diff against OpenSolaris - move Giant acquire/release to
delphij [Mon, 1 Feb 2010 09:29:32 +0000 (09:29 +0000)]
Reduce diff against OpenSolaris - move Giant acquire/release to
zfs_znode.c.  As a side effect this also eliminates two potential
Giant leaks.

Approved by:  pjd

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

14 years agoNote sendmail 8.14.4 upgrade.
gshapiro [Sun, 31 Jan 2010 19:57:28 +0000 (19:57 +0000)]
Note sendmail 8.14.4 upgrade.

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

14 years agoMerge r202931 from head:
gavin [Sun, 31 Jan 2010 19:41:58 +0000 (19:41 +0000)]
Merge r202931 from head:

  Add support for four more nfsmb controllers, shipping on at least the
  ASUS Atom ION boards.

PR: kern/142571
Submitted by: oliver
Approved by: ed (mentor, implicit)

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

14 years agoMFC: Minor changes to force commit these files so new freebsd*.cf files are
gshapiro [Sun, 31 Jan 2010 19:04:52 +0000 (19:04 +0000)]
MFC: Minor changes to force commit these files so new freebsd*.cf files are
     built to use the new sendmail-8.14.4/cf tree.

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

14 years agoMFC: Update FreeBSD information
gshapiro [Sun, 31 Jan 2010 19:00:39 +0000 (19:00 +0000)]
MFC: Update FreeBSD information

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

14 years agoMFC: Merge sendmail 8.14.4
gshapiro [Sun, 31 Jan 2010 18:59:03 +0000 (18:59 +0000)]
MFC: Merge sendmail 8.14.4

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

14 years agoBump __FreeBSD_version for sigpause(3) addition.
kib [Sun, 31 Jan 2010 18:41:00 +0000 (18:41 +0000)]
Bump __FreeBSD_version for sigpause(3) addition.

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

14 years agoMFC r199827:
kib [Sun, 31 Jan 2010 18:38:03 +0000 (18:38 +0000)]
MFC r199827:
Implement sighold, sigignore, sigpause, sigrelse, sigset functions.

MFC r200881 (by cognet):
Don't name parameters.

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

14 years agoMFC r202881:
kib [Sun, 31 Jan 2010 18:25:57 +0000 (18:25 +0000)]
MFC r202881:
Staticise sigqueue manipulation functions used only in kern_sig.c.

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

14 years agoMFC: r202903
marius [Sun, 31 Jan 2010 17:43:22 +0000 (17:43 +0000)]
MFC: r202903

On LP64 struct ifid is 64-bit aligned while struct fid is 32-bit aligned
so on architectures with strict alignment requirements we can't just simply
cast the latter to the former but need to copy it bytewise instead.

PR: 143010

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

14 years agoMFC: r203094
marius [Sun, 31 Jan 2010 17:17:24 +0000 (17:17 +0000)]
MFC: r203094

- Zero the MSI/MSI-X queue argument, otherwise mtx_init(9) can panic
  indicating an already initialized lock.
- Check for an empty MSI/MSI-X queue entry before asserting that we have
  received a MSI/MSI-X message in order to not panic in case of stray MSI/
  MSI-X queue interrupts which may happen in case of using an interrupt
  handler rather than a filter.

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

14 years agoMFC r202944:
jh [Sun, 31 Jan 2010 15:07:38 +0000 (15:07 +0000)]
MFC r202944:

Print full path in the error message. It's possible that fts(3)
provides an empty fts_name and reporting the full path is more
appropriate especially with the -R option.

PR: bin/107515
Approved by: trasz (mentor)

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

14 years agoMFC r202935:
syrinx [Sun, 31 Jan 2010 11:30:28 +0000 (11:30 +0000)]
MFC r202935:
While flushing the multicast filter of an interface, do not zero the relevant
ifmultiaddr structures' reference to the parent interface, unless the parent
interface is really detaching. While here, program only link layer multicast
filters to a wlan's hardware parent interface.

PR: kern/142391, kern/142392
Reviewed by: sam, rpaulo, bms

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

14 years agoMFC r201048:
trasz [Sun, 31 Jan 2010 02:25:15 +0000 (02:25 +0000)]
MFC r201048:

Make tests for ACL preservation by mv(1) and cp(1) more complete
and easier to follow.

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

14 years agoMFC r197436:
trasz [Sun, 31 Jan 2010 02:23:53 +0000 (02:23 +0000)]
MFC r197436:

Add cross-filesystem regression tests for ACLs.

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

14 years agoMFC r197434:
trasz [Sun, 31 Jan 2010 02:22:31 +0000 (02:22 +0000)]
MFC r197434:

Add ACL fuzzer.  It's not used by the regression tests right now,
but I'd prefert to have it here, so it won't get lost.

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

14 years agoMFC r196938:
trasz [Sun, 31 Jan 2010 02:20:01 +0000 (02:20 +0000)]
MFC r196938:

Add regression tests for NFSv4 ACLs and update POSIX.1e tests to the changed
error messages.

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

14 years agoMFC r196736:
trasz [Sun, 31 Jan 2010 02:18:28 +0000 (02:18 +0000)]
MFC r196736:

Adapt to the fact that ls(1) correctly prints '+' for symlinks with ACLs now.

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

14 years agoMFC r196710:
trasz [Sun, 31 Jan 2010 02:17:01 +0000 (02:17 +0000)]
MFC r196710:

Add regression test for ACLs on device files - mostly to make
sure we don't crash on attempt to set ACL on them.

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

14 years agoMFC r196949:
trasz [Sun, 31 Jan 2010 02:11:14 +0000 (02:11 +0000)]
MFC r196949:

Enable NFSv4 ACL support in ZFS.

MFC r197435:

In VOP_SETACL(9) and VOP_GETACL(9), specifying wrong ACL type should result
in EINVAL, not EOPNOTSUPP.

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

14 years agoMFC r201018:
trasz [Sat, 30 Jan 2010 15:53:32 +0000 (15:53 +0000)]
MFC r201018:

Fix breakage introduced in last commit.

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

14 years agoMFC r201016:
trasz [Sat, 30 Jan 2010 15:50:01 +0000 (15:50 +0000)]
MFC r201016:

Improve ACL branding mismatch detection and reporting in some rare cases,
such as "setfacl -m ''".

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

14 years agoRegenerate.
antoine [Sat, 30 Jan 2010 15:42:06 +0000 (15:42 +0000)]
Regenerate.

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

14 years agoMFC r202440 to stable/8:
antoine [Sat, 30 Jan 2010 15:40:00 +0000 (15:40 +0000)]
MFC r202440 to stable/8:
  Unbreak world WITHOUT_NETGRAPH.

  PR: 137487
  Submitted by: bf (previous version)
  No objections: net@

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

14 years agoMFC r202448 to stable/8:
antoine [Sat, 30 Jan 2010 15:28:14 +0000 (15:28 +0000)]
MFC r202448 to stable/8:
  Do not build netgraph kernel modules if WITHOUT_NETGRAPH is set in src.conf
  Submitted by: bf

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

14 years agoMFC r196936:
trasz [Sat, 30 Jan 2010 14:58:25 +0000 (14:58 +0000)]
MFC r196936:

Add NFSv4 support to setfacl(1).

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

14 years agoMFC r196841:
trasz [Sat, 30 Jan 2010 14:56:13 +0000 (14:56 +0000)]
MFC r196841:

Add NFSv4 ACL support to mv(1).

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

14 years agoMFC r196839:
trasz [Sat, 30 Jan 2010 14:54:12 +0000 (14:54 +0000)]
MFC r196839:

Add NFSv4 ACL support to find(1).

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

14 years agoMFC r196827:
trasz [Sat, 30 Jan 2010 14:51:24 +0000 (14:51 +0000)]
MFC r196827:

Add NFSv4 ACL support to getfacl(1).

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

14 years agoMFC r196754:
trasz [Sat, 30 Jan 2010 14:49:17 +0000 (14:49 +0000)]
MFC r196754:

Add NFSv4 ACL support to cp(1) and fix a few memory leaks.

Note that this changes error reporting behaviour somewhat - before,
no error was reported if ACL couldn't be copied because the target
filesystem doesn't support ACLs.  Now, it will be reported - of course,
only if there actually is an ACL to copy.

Reviewed by: rwatson

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

14 years agoMFC r196753:
trasz [Sat, 30 Jan 2010 14:47:23 +0000 (14:47 +0000)]
MFC r196753:

- Don't include both <sys/types.h> and <sys/param.h>

- Keep variables sorted

- Fix logic error with -f and -v options - don't print
  the usual -v output if there was an error, whether or not
  we were passed -f

- Don't call free(3) just before exit(2)

- Whitespace fixes

Submitted by: bde

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

14 years agoMFC r196712:
trasz [Sat, 30 Jan 2010 14:44:32 +0000 (14:44 +0000)]
MFC r196712:

Add NFSv4 ACL support to ls(1).

MFC r196773:

Fix regression introduced in r196712 - the 'name' string needs
to be rewritten for each file we want to check ACL on.  Without
this change, ls(1) would check only the ACL on the first file
to list.

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

14 years agoMFC r196711:
trasz [Sat, 30 Jan 2010 14:40:42 +0000 (14:40 +0000)]
MFC r196711:

Make the code more readable and fix chmod(1) on symlinks with
NFSv4 enabled.

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

14 years agoMFC r201145 to stable/8:
antoine [Sat, 30 Jan 2010 12:11:21 +0000 (12:11 +0000)]
MFC r201145 to stable/8:
  (S)LIST_HEAD_INITIALIZER takes a (S)LIST_HEAD as an argument.
  Fix some wrong usages.
  Note: this does not affect generated binaries as this argument is not used.

  PR: 137213
  Submitted by: Eygene Ryabinkin (initial version)

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

14 years agoMFC r202894
alc [Sat, 30 Jan 2010 06:23:28 +0000 (06:23 +0000)]
MFC r202894
  Handle a race between pmap_kextract() and pmap_promote_pde().

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

14 years agoMFC r202880:
kib [Fri, 29 Jan 2010 20:42:03 +0000 (20:42 +0000)]
MFC r202880:
Do not check for existence of symlink source for the link action.

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

14 years agoMFC r202692:
kib [Fri, 29 Jan 2010 20:02:28 +0000 (20:02 +0000)]
MFC r202692:
Remove the signal from sigqueue before notifying the debugger for traced
process, fixing the race between resuming from stopped state and other
thread noting the old signal on the queue and acting.

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

14 years agoMFC r202986:
rpaulo [Fri, 29 Jan 2010 18:19:43 +0000 (18:19 +0000)]
MFC r202986:
  o add more notification strings in iwn_intr_str()
  o sync with OpenBSD code

  Submitted by: Bernhard Schmidt <bschmidt at techwires.net>
  MFC after: 3 days

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

14 years agoMFC r202967:
rpaulo [Fri, 29 Jan 2010 18:18:18 +0000 (18:18 +0000)]
MFC r202967:
   Call ieee80211_radiotap_rx, not ieee80211_radiotap_tx on sta_input()

   PR: 143163
   Submitted by:Alexander Egorenkov <egorenar at gmail.com>

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

14 years agoMFC of 203066, 203067
edwin [Fri, 29 Jan 2010 11:30:40 +0000 (11:30 +0000)]
MFC of 203066, 203067

Git has been added as port 9418:
http://www.iana.org/assignments/port-numbers

The Erlang Port Mapper Daemon (from ports/lang/erlang) has been
assigned official port number 4369 by IANA.

PR: conf/143259 conf/113265
Submitted by: Denny Lin <dennylin93@cnmc32.hs.ntnu.edu.tw> Jimmy Olgeni <olgeni@freebsd.org>

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

14 years agoMFC r203125: fix typo in .Xr.
joerg [Fri, 29 Jan 2010 10:38:54 +0000 (10:38 +0000)]
MFC r203125: fix typo in .Xr.

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

14 years agoMFC r202324: In 'make delete-old', use 'exec' to redirect an fd persistently
jilles [Thu, 28 Jan 2010 22:15:29 +0000 (22:15 +0000)]
MFC r202324: In 'make delete-old', use 'exec' to redirect an fd persistently

That is, write 'exec 3<&0' instead of '3<&0'. Due to an sh(1) bug fixed in
head in r199953, the latter also persisted, provided that fd 3 was not open
before.  With newer sh or fd 3 open, it would not delete orphaned catpages.

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

14 years agoMFC: r202317
brueffer [Thu, 28 Jan 2010 17:07:14 +0000 (17:07 +0000)]
MFC: r202317

Add manpages for ipwfw(4) and iwifw(4), based on iwnfw(4).

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

14 years agoMFC r196797:
gnn [Thu, 28 Jan 2010 16:48:44 +0000 (16:48 +0000)]
MFC r196797:

Add ARP statistics to the kernel and netstat.

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

14 years ago- Record merge of r197788, r203040, r203045, r203048.
avilla [Thu, 28 Jan 2010 15:09:11 +0000 (15:09 +0000)]
- Record merge of r197788, r203040, r203045, r203048.

Noticed by: gavin
Approved by: tabthorpe (mentor)

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

14 years agoMFC r200135:
delphij [Thu, 28 Jan 2010 02:33:20 +0000 (02:33 +0000)]
MFC r200135:

Make umount(8) WARNS=6 clean:
 - Cast delimiter width to integer [1]
 - Solve name conflicts against system header
 - Constify parameters to avoid qualifier conflict

PR: bin/140017 [1]
Submitted by: Ulrich Spörlein <uqs spoerlein net> [1]
Sponsored by: iXsystems, Inc

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

14 years ago- MFC r197788, r203040, r203045, r203048
avilla [Wed, 27 Jan 2010 18:12:22 +0000 (18:12 +0000)]
- MFC r197788, r203040, r203045, r203048

Approved by: tabthorpe (mentor)

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

14 years agoFixup mergeinfo.
jhb [Wed, 27 Jan 2010 17:03:40 +0000 (17:03 +0000)]
Fixup mergeinfo.

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

14 years agoMerge r200318 from head: add myself to calendar.freebsd.
gavin [Wed, 27 Jan 2010 15:36:19 +0000 (15:36 +0000)]
Merge r200318 from head:  add myself to calendar.freebsd.

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

14 years agoMerge r202943: Add man pages for the gpib(4), pcii(4), and tnt4882(4)
joerg [Wed, 27 Jan 2010 10:42:34 +0000 (10:42 +0000)]
Merge r202943: Add man pages for the gpib(4), pcii(4), and tnt4882(4)
drivers.

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

14 years agoMerge of r202870,202898:
joerg [Wed, 27 Jan 2010 10:32:02 +0000 (10:32 +0000)]
Merge of r202870,202898:

Overhaul of the pcii driver:

. Properly allocate all IO space resources.  These cards scatter their
  IO addresses over a range of 0x1600 bytes, and they require an
  additional address for "special interrupt handling".

. Implement the "special interrupt handling" per the GPIB-PCIIA
  Technical Reference Manual; this was apparently not declared for the
  clone card this driver has been originally implemented for, but it
  turned out to be needed for both, an original NI brand PCII/PCIIA
  card as well as the Axiom AX5488 clone.

. Add some diagnostic messages for various resource allocation etc.
  failures during probe.

. Add some comments about the structure of the IO address space that
  is used by these cards.

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

14 years agoMFC r202915:
bz [Wed, 27 Jan 2010 09:45:07 +0000 (09:45 +0000)]
MFC r202915:
  Correct a typo.

  Submitted by: kensmith

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

14 years agoRemove bogus mergeinfo I accidentally added (attempted merge from
dougb [Tue, 26 Jan 2010 18:31:42 +0000 (18:31 +0000)]
Remove bogus mergeinfo I accidentally added (attempted merge from
a bogus head).

Reminded by: gavin

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

14 years agoMFC r202817:
dougb [Tue, 26 Jan 2010 18:24:13 +0000 (18:24 +0000)]
MFC r202817:

Make -U once again honor -D after my change to consolidate setting
of MTREEDB with DESTDIR.

PR: bin/143089
Submitted by: Anton Yuzhaninov <citrin@citrin.ru>

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

14 years agoinsta-mfh r203028 (doc update)
des [Tue, 26 Jan 2010 15:07:47 +0000 (15:07 +0000)]
insta-mfh r203028 (doc update)

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

14 years agoMFH (r202613, r202623): HTTP digest authentication support.
des [Tue, 26 Jan 2010 14:15:12 +0000 (14:15 +0000)]
MFH (r202613, r202623): HTTP digest authentication support.

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

14 years agoMFC of tzdata2010b, r203019
edwin [Tue, 26 Jan 2010 11:15:03 +0000 (11:15 +0000)]
MFC of tzdata2010b, r203019

Mexico's House of Representatives has approved a proposal for
northern Mexico's border cities to share the same daylight saving
schedule as the United States.

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

14 years agoMFC r202884:
kib [Tue, 26 Jan 2010 09:20:33 +0000 (09:20 +0000)]
MFC r202884:
Document pthread_timedjoin_np.
Note implementation-defined EOPNOTSUPP error [1].

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

14 years agoMFC SVN rev 198492
emax [Tue, 26 Jan 2010 00:38:56 +0000 (00:38 +0000)]
MFC SVN rev 198492

Fix typo in bluetooth.3
Do not use reserved C++ keyword "new"

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

14 years agoMFC r201895:
zec [Mon, 25 Jan 2010 14:17:13 +0000 (14:17 +0000)]
MFC r201895:
  Reduce recursions on curvnet and thus spamming the console with warning
  messages for kernels built with options VIMAGE and VNET_DEBUG enabled.

  Reviewed by:  bz

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

14 years agoMFC r201879:
attilio [Mon, 25 Jan 2010 12:05:51 +0000 (12:05 +0000)]
MFC r201879:
Introduce the new kernel thread called "deadlock resolver".
It is used in order to seek within the threads state and heuristically
understand if there is any deadlock happening.

In order to implement it, the sq_type in sleepqueues is mandatory and not
only compiled along with INVARIANTS option. Additively, a new sleepqueue
function, sleepq_type() is added, returning the type of the sleepqueue
linked to a wchan.
Three new sysctls are added in order to configure the thread:
debug.deadlkres.slptime_threshold
debug.deadlkres.blktime_threshold
debug.deadlkres.sleepfreq

rappresenting the thresholds for sleep and block time that will lead to
a deadlock matching (when exceeded), while the sleepfreq rappresents the
number of seconds between 2 consecutive thread runnings.
In order to enable the deadlock resolver thread recompile your kernel
with the option DEADLKRES.

Sponsored by: Sandvine Incorporated

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

14 years agoMFC r201790:
attilio [Mon, 25 Jan 2010 11:56:53 +0000 (11:56 +0000)]
MFC r201790:
- Set td_slptick to 0 when moving threads out of sleepqueues.
- Move td_slptick from u_int to int in order to follow 'ticks' signedness
  and wrap up accordingly.

Sponsored by: Sandvine Incorporated

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

14 years agoMFC 202449:
tuexen [Sun, 24 Jan 2010 22:17:08 +0000 (22:17 +0000)]
MFC 202449:

Get rid of support of an old version of the SCTP-AUTH draft.
Get rid of unused MD5 code.

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

14 years agoMerge r202000 from head:
gavin [Sun, 24 Jan 2010 22:01:04 +0000 (22:01 +0000)]
Merge r202000 from head:

  Don't panic on attach if we can't allocate ifp

Approved by: ed (mentor, implicit)

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

14 years agoFix mergeinfo after r202464, which was merged to etc/rc.d rather than etc
gavin [Sun, 24 Jan 2010 21:17:06 +0000 (21:17 +0000)]
Fix mergeinfo after r202464, which was merged to etc/rc.d rather than etc

Approved by: ed (mentor, implicit)

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

14 years agoMFC r197752:
das [Sun, 24 Jan 2010 20:15:59 +0000 (20:15 +0000)]
MFC r197752:

  Better glibc compatibility for getline/getdelim:

  - Tolerate applications that pass a NULL pointer for the buffer and
    claim that the capacity of the buffer is nonzero.

  - If an application passes in a non-NULL buffer pointer and claims the
    buffer has zero capacity, we should free (well, realloc) it
    anyway. It could have been obtained from malloc(0), so failing to
    free it would be a small memory leak.

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

14 years agoRecord rev. 198277 MFC.
fjoe [Sun, 24 Jan 2010 17:00:21 +0000 (17:00 +0000)]
Record rev. 198277 MFC.

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

14 years agoRecord rev. 201924 MFC.
fjoe [Sun, 24 Jan 2010 16:58:20 +0000 (16:58 +0000)]
Record rev. 201924 MFC.

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

14 years agoMFC r202500:
ed [Sun, 24 Jan 2010 14:30:57 +0000 (14:30 +0000)]
MFC r202500:

  Fix a regression that was introduced in r191882.

  I changed login_tty() to only work when the application is not a session
  leader yet. This works fine for applications in the base system, but it
  turns out various applications call this function after daemonizing,
  which means they already use their own session.

  If setsid() fails, just call tcsetsid() on the current session.
  tcsetsid() will already perform proper security checks.

Reported by: Oliver Lehmann

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

14 years agoBump __FreeBSD_version for scandir(3) and alphasort(3) interface changes.
kib [Sun, 24 Jan 2010 12:37:30 +0000 (12:37 +0000)]
Bump __FreeBSD_version for scandir(3) and alphasort(3) interface changes.

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

14 years agoMerge scandir(3) interface update to stable/8.
kib [Sun, 24 Jan 2010 12:35:36 +0000 (12:35 +0000)]
Merge scandir(3) interface update to stable/8.

MFC r201512:
Modernize scandir(3) and alphasort(3) interfaces according to the IEEE
Std 1003.1-2008.

MFC r201602:
Move scandir(3) and alphasort(3) into XSI namespace.

MFC r201604:
Use thunks to adapt alphasort-like interface to the comparision function
required by qsort() and qsort_r().

MFC r202556 (by ache):
Use strcoll() in opendir() and alphasort(). Remove some comments.

MFC r202572 (by ache):
Revert to using strcmp() for opendir().

MFC r202677 (by ache):
Style.

MFC r202679 (by ache):
Style: rename internal function to opendir_compar().

MFC r202691 (by ache):
For alphasort(3) add reference to strcoll(3).

MFC r202693 (by ache):
Style: reword comment.

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

14 years agoMFC r202469:
bz [Sun, 24 Jan 2010 12:22:38 +0000 (12:22 +0000)]
MFC r202469:
  Garbage collect references to the no longer implemented tcp_fasttimo().

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

14 years agoMFC: Send link state change control messages to "orphans" hook as well.
fjoe [Sun, 24 Jan 2010 08:59:33 +0000 (08:59 +0000)]
MFC: Send link state change control messages to "orphans" hook as well.

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

14 years agoMFC r202468:
bz [Sat, 23 Jan 2010 16:40:35 +0000 (16:40 +0000)]
MFC r202468:

  Add ip4.saddrsel/ip4.nosaddrsel (and equivalent for ip6) to control
  whether to use source address selection (default) or the primary
  jail address for unbound outgoing connections.

  This is intended to be used by people upgrading from single-IP
  jails to multi-IP jails but not having to change firewall rules,
  application ACLs, ... but to force their connections (unless
  otherwise changed) to the primry jail IP they had been used for
  years, as well as for people prefering to implement similar policies.

  Note that for IPv6, if configured incorrectly, this might lead to
  scope violations, which single-IPv6 jails could as well, as by the
  design of jails. [1]

  Reviewed by: jamie, hrs (ipv6 part)
  Pointed out by: hrs [1]

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

14 years agoMFC r200764
rnoland [Sat, 23 Jan 2010 16:29:04 +0000 (16:29 +0000)]
MFC r200764

Fix a handful of issues with via agp support.

  * Read the pci capability register to identify AGP 3 support
  * Add missing smaller aperture sizes for AGP3 chips.
  * Fix the aperture size calculation on AGP2 chips.
    All sizes between 32M and 256M reported as 256M.
  * Add \n to error string.

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

14 years agoMFC: r202162
brueffer [Sat, 23 Jan 2010 14:12:40 +0000 (14:12 +0000)]
MFC: r202162

Various fixes.

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

14 years agoMFC r202863
np [Sat, 23 Jan 2010 08:37:04 +0000 (08:37 +0000)]
MFC r202863

Don't forget to release the adapter lock for a no-op.

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