summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* o Reduce chances for integer overflow.maxim2012-02-251-2/+2
| | | | | | | o More verbose sysctl description added. MFC after: 2 weeks Sponsored by: Nginx, Inc.
* Bump __FreeBSD_version due to libarchive update.mm2012-02-251-1/+1
|
* Update libarchive to 3.0.3mm2012-02-25470-13523/+125568
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | Some of new features: - New readers: RAR, LHA/LZH, CAB reader, 7-Zip - New writers: ISO9660, XAR - Improvements to many formats, especially including ISO9660 and Zip - Stackable write filters to write, e.g., tar.gz.uu in a single pass - Exploit seekable input; new "seekable" Zip reader can exploit the Zip Central Directory when it's available; the old "streamable" Zip reader is still fully supported for cases where seeking is not possible. Full release notes available at: https://github.com/libarchive/libarchive/wiki/ReleaseNotes
| * Update vendor libarchive dist to new "release" branch (post 3.0.3)mm2012-02-08509-14939/+133197
| | | | | | | | | | | | | | Git branch: release Git commit: 9af87742342aa4f37a22ec12c4cc1c82e00ffa2f Obtained from: https://github.com/libarchive/libarchive.git
| * Update to vendor revision 4183mm2012-01-291-0/+13
| | | | | | | | Obtained from: http://libarchive.googlecode.com/svn/release/2.8
* | When detaching an unix domain socket, uipc_detach() checkstrociny2012-02-253-0/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | unp->unp_vnode pointer to detect if there is a vnode associated with (binded to) this socket and does necessary cleanup if there is. The issue is that after forced unmount this check may be too late as the unp_vnode is reclaimed and the reference is stale. To fix this provide a helper function that is called on a socket vnode reclamation to do necessary cleanup. Pointed by: kib Reviewed by: kib MFC after: 2 weeks
* | If an interrupt is received with no vap attached, just fail LINK events.adrian2012-02-251-0/+5
| | | | | | | | | | This fixes a NULL pointer dereference which occurs if the vap list is empty but someone brings up the wi0 interface.
* | When using uidstart in /etc/adduser.conf, get the nextdeischen2012-02-251-0/+1
| | | | | | | | | | | | | | | | available user id and show it in the "Uid [xxx]" prompt. PR: 163863 Submitted by: Moritz Wilhelmy (mw at wzff dot de) MFC after: 2 weeks
* | Use correct Config registers for RTL8139 family. Unlike RTL8168 andyongari2012-02-253-40/+80
| | | | | | | | | | | | | | | | | | | | | | | | | | RTL810x family , RTL8139 has different register map for Config registers. While here, follow the lead of re(4) in WOL configuration. - Disable WOL_UCAST and WOL_MCAST capabilities by default. - Config5 register write does not need to unlock EEPROM access on RTL8139 family but unlocking EEPROM access does not affect its operation and make it consistent with re(4). Reported by: Matt Renzelmann mjr <> cs dot wisc dot edu
* | In revision 231989, we pass a 16-bit clock ID into kernel, howeverdavidxu2012-02-256-137/+226
| | | | | | | | | | | | | | | | | | | | | | | | according to POSIX document, the clock ID may be dynamically allocated, it unlikely will be in 64K forever. To make it future compatible, we pack all timeout information into a new structure called _umtx_time, and use fourth argument as a size indication, a zero means it is old code using timespec as timeout value, but the new structure also includes flags and a clock ID, so the size argument is different than before, and it is non-zero. With this change, it is possible that a thread can sleep on any supported clock, though current kernel code does not have such a POSIX clock driver system.
* | Do not write to the user address directly, use suword().kib2012-02-251-4/+4
| | | | | | | | | | Reported by: Bengt Ahlgren <bengta sics se> MFC after: 1 week
* | Fix a long-standing bug for AcpiOsGetTimer(). time_t is 32-bit on i386 andjkim2012-02-241-3/+3
| | | | | | | | | | | | it needs proper casting before multiplication. MFC after: 3 days
* | Fix style in previous commit.jhb2012-02-241-3/+3
| | | | | | | | Submitted by: bde
* | In selectroute() add a missing fibnum argument to an in6_rtalloc()bz2012-02-243-11/+10
| | | | | | | | | | | | | | | | | | | | | | | | call in an #if 0 section. In in6_selecthlim() optimize a case where in6p cannot be NULL due to an earlier check. More consistently use u_int instead of int for fibnum function arguments. Sponsored by: Cisco Systems, Inc. MFC after: 3 days
* | Fix mdoc style nits. Start new sentences on new lines.jkim2012-02-241-5/+6
| | | | | | | | Reported by: brueffer
* | Only look for a usable MAC address for the bridge ID from ports within ourthompsa2012-02-241-20/+30
| | | | | | | | | | | | | | | | | | bridge, this allows us to have more than one independent bridge in the same STP domain. PR: kern/164369 Submitted by: Nikos Vassiliadis (earlier version) MFC after: 2 weeks
* | Adjust the nfs_skip_wcc_data_onerr setting so that it does not blockjhb2012-02-241-5/+7
| | | | | | | | | | | | | | post-op attributes for ENOENT errors now that the name caching logic depends on working post-op attributes. MFC after: 2 weeks
* | Update scripts to work around two sh(1) bugs found in stable/8:bz2012-02-244-252/+263
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1) _x=$((_x + 1)) does not work while x=$((x + 1)) does. 2) Parameter Expansion, esp. "${x%%bar}" does not work if quoted. Correct typos and improve some details forwarding.sh already had in initiator, esp. related to ipfw accepting if the default is deny. Add an extra stat call to the "delay" function in addition to the touch which together is still a lot faster than sleep 1 but seems to help a lot more to mitigate the unrelated kernel race seen. Sponsored by: Cisco Systems, Inc.
* | xargs: If a utility exits with 255 or a signal, write an error message.jilles2012-02-241-4/+7
| | | | | | | | | | | | | | | | If a utility called by xargs exits with status 255 or because of a signal, POSIX requires writing an error message. PR: 165155 Submitted by: Matthew Story matthewstory gmail com
* | Add underscore symbol to the end of definition stringsosa2012-02-243-9/+9
| | | | | | | | | | | | | | to keep all calendar files are consistency. Approved by: edwin MFC after: 1 week
* | Restore the return statement erronously removed in the r232048.kib2012-02-241-0/+1
| | | | | | | | | | | | Submitted by: cognet Pointy hat to: kib (reuse the one I already got today) MFC after: 13 days
* | Place the if() at the right location, to activate the v_writecountkib2012-02-241-4/+4
| | | | | | | | | | | | | | | | | | accounting for shared writeable mappings for all filesystems, not only for the bypass layers. Submitted by: alc Pointy hat to: kib MFC after: 20 days
* | Exit with proper status when wake() fails.jh2012-02-241-5/+8
| | | | | | | | | | | | PR: bin/153527 Submitted by: Douglas Steinwand MFC after: 2 weeks
* | style(9).jh2012-02-241-4/+4
| | | | | | | | MFC after: 2 weeks
* | Remove an unused structure and unnecessary castkevlo2012-02-242-3/+1
| |
* | Check if the user has necessary permissions on the devicekevlo2012-02-241-6/+25
| |
* | Hold IF_LOCK when manipulating the interface flags.adrian2012-02-241-1/+6
| | | | | | | | | | | | It doesn't _really_ help all that much, I'll commit something to sys/net/if.c at some point explaining why, but the lock should be held when checking/manipulating/branching because of said lock.
* | Although it's documented that the vap newstate call can drop theadrian2012-02-241-0/+6
| | | | | | | | | | | | | | | | comlock, I'd like to find and analyse these cases to see if they really are valid. So, throw in a lock here and wait for the (hopefully!) inevitable complaints.
* | Add a radiotap vendor header definition.adrian2012-02-241-0/+6
| |
* | Forced commit to denote that the commit message of r231621 should have read:marius2012-02-240-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - As it turns out, MSI-X is broken for at least LSI SAS1068E when passed through by VMware so blacklist their PCI-PCI bridge for MSI/MSI-X here. Note that besides currently there not being a quirk type that disables MSI-X only and there's no evidence that MSI doesn't work with the VMware pass-through, it's really questionable whether MSI generally works in that setup as VMware only mention three know working devices [1, p. 4]. Also not that this quirk entry currently doesn't affect the devices emulated by VMware in any way as these don't claim support MSI/MSI-X to begin with. [2] While at it, make the PCI quirk table const and static. - Remove some duplicated empty lines. - Use DEVMETHOD_END. PR: 163812, http://forums.freebsd.org/showthread.php?t=27899 [2] Reviewed by: jhb MFC after: 3 days [1]: http://www.vmware.com/pdf/vsp_4_vmdirectpath_host.pdf
* | - Add support for Family 12h, 14h and 15h processors.jkim2012-02-242-123/+191
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - Remove all attempts to guess physical temperature using DiodeOffset. There are too many reports that it varies wildly depending on motherboard. Instead, if it is known to scale well and its offset is known from other temperature sensors on board, the user may set "dev.amdtemp.0.sensor_offset" tunable to compensate the difference. Document the caveats in amdtemp(4). - Add a quirk for Socket AM2 Revision G processors. These processors are known to have a different offset according to Linux k8temp driver. - Warn about Family 10h Erratum 319. These processors have broken sensors. - Report temperature in more logical orders under dev.amdtemp node. For example, "dev.amdtemp.0.sensor0.core0" is now "dev.amdtemp.0.core0.sensor0". - Replace K8, K10 and K11 with official processor names in amdtemp(4).
* | Break the last part to its own sentence rather than a run-on.thompsa2012-02-231-3/+4
| | | | | | | | Suggested by: dougb
* | Add a sysctl/tunable default value for the use_flowid sysctl in r232008.thompsa2012-02-232-3/+10
| |
* | Use a better way to silence unneeded internal declaration warnings indim2012-02-231-1/+1
| | | | | | | | | | | | | | | | several sys/cam/ctl files. Suggested by: ed Reviewed by: ken MFC after: 1 week
* | Revert r231978, so I can apply a more proper fix to silence unneededdim2012-02-232-11/+5
| | | | | | | | | | | | internal declaration warnings in several sys/cam/ctl files. MFC after: 1 week
* | Pretty-print the advice constants passed to posix_fadvise(2).jhb2012-02-232-0/+10
| | | | | | | | MFC after: 2 weeks
* | Account the writeable shared mappings backed by file in the vnodekib2012-02-236-15/+204
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | v_writecount. Keep the amount of the virtual address space used by the mappings in the new vm_object un_pager.vnp.writemappings counter. The vnode v_writecount is incremented when writemappings gets non-zero value, and decremented when writemappings is returned to zero. Writeable shared vnode-backed mappings are accounted for in vm_mmap(), and vm_map_insert() is instructed to set MAP_ENTRY_VN_WRITECNT flag on the created map entry. During deferred map entry deallocation, vm_map_process_deferred() checks for MAP_ENTRY_VN_WRITECOUNT and decrements writemappings for the vm object. Now, the writeable mount cannot be demoted to read-only while writeable shared mappings of the vnodes from the mount point exist. Also, execve(2) fails for such files with ETXTBUSY, as it should be. Noted by: tegge Reviewed by: tegge (long time ago, early version), alc Tested by: pho MFC after: 3 weeks
* | Indicate this function decrements the timer as well as testing for expiry.thompsa2012-02-231-11/+11
| |
* | If the VBE implementation does not support save/restore function, defer tojkim2012-02-231-8/+5
| | | | | | | | VGA methods. Unconditionally reset the VESA adapter before restoring state.
* | Update my copyright date.jkim2012-02-231-1/+1
| |
* | Import illumos changeset 13608 [1]:mm2012-02-232-6/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | add support for "-t <datatype>" argument to zfs get References: https://www.illumos.org/issues/1936 Update zfs(8) manpage in respect of [1]. Fix typo in zfs(8) manpage. Obtained from: illumos (issue #1936) MFC after: 1 week
* | Probe supported states for save/restore function. Some VBE implementationjkim2012-02-231-11/+11
| | | | | | | | refuses to save/restore states if an unsupported bit is set.
* | Fix a typo introduced in r231843.jkim2012-02-231-1/+1
| |
* | Add isci(4) to the hardware notes.brueffer2012-02-232-0/+3
| | | | | | | | MFC after: 3 days
* | To improve control over the use of mount(8) inside a jail(8), introducemm2012-02-235-35/+79
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a new jail parameter node with the following parameters: allow.mount.devfs: allow mounting the devfs filesystem inside a jail allow.mount.nullfs: allow mounting the nullfs filesystem inside a jail Both parameters are disabled by default (equals the behavior before devfs and nullfs in jails). Administrators have to explicitly allow mounting devfs and nullfs for each jail. The value "-1" of the devfs_ruleset parameter is removed in favor of the new allow setting. Reviewed by: jamie Suggested by: pjd MFC after: 2 weeks
* | Rename DESCRIPTION section to HARDWARE, so this manpage can be used forbrueffer2012-02-231-1/+1
| | | | | | | | | | | | automatic hardware notes generation. MFC after: 3 days
* | merge pipe and fifo implementationskmacy2012-02-234-450/+225
| | | | | | | | | | | | | | | | Also reviewed by: jhb, jilles (initial revision) Tested by: pho, jilles Submitted by: gianni Reviewed by: bde
* | When using flowtable llentrys can outlive the interface with which they're ↵kmacy2012-02-233-34/+31
| | | | | | | | | | | | | | | | | | | | | | associated at which the lle_tbl pointer points to freed memory and the llt_free pointer is no longer valid. Move the free pointer in to the llentry itself and update the initalization sites. MFC after: 2 weeks
* | Add pt_BR.ISO8859-1 and pt_BR.UTF-8 directories to install.osa2012-02-231-1/+2
| | | | | | | | | | | | | | It was forgotten in r219937 commit. Approved by: edwin MFC after: 1 week
* | Catch up with r195837 (2.5 years ago) which renamed net_add_domain() to ↵brueffer2012-02-234-8/+10
| | | | | | | | | | | | | | | | domain_add(). PR: 165424 Submitted by: Lachlan Kang MFC after: 1 week
OpenPOWER on IntegriCloud