summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Sync strlen with userland implementation.delphij2012-11-031-13/+98
| | | | MFC after: 1 month
* Fix typobapt2012-11-031-1/+1
|
* If no contents keyword is specified, the default for files issjg2012-11-031-0/+47
| | | | | | the named file. Approved by: marcel (mentor)
* Add a couple of examples.joel2012-11-021-1/+65
| | | | Obtained from: OpenBSD
* Copy code from scsi_read_write() as mfi_build_syspd_cdb() to build SCSIdelphij2012-11-021-26/+82
| | | | | | | | | | | command properly. Without this change, mfi(4) always sends 10 byte READ and WRITE commands, which will cause data corruption when device is larger than 2^32 sectors. PR: kern/173291 Submitted by: Steven Hartland <steven.hartland multiplay.co.uk> Reviewed by: mav MFC after: 2 weeks
* Update nsamples and nbuffers defaults to match reality.jimharris2012-11-021-3/+3
|
* A few minor adjustments after r242424:joel2012-11-021-9/+6
| | | | | | | | - Sort entries in SYNOPSIS. - Start sentence on a new line. - Remove redundant textdump dump description. Submitted by: bde
* - In cancel_mkdir_dotdot don't panic if the inodedep is not available. Ifjeff2012-11-021-1/+1
| | | | | | | | | the previous diradd had already finished it could have been reclaimed already. This would only happen under heavy dependency pressure. Reported by: Andrey Zonov <zont@FreeBSD.org> Discussed with: mckusick MFC after: 1 week
* Merge 242488, better use of strlcpy.alfred2012-11-021-2/+3
| | | | Submitted by: Eric van Gyzen <eric@vangyzen.net>
* Document that you can use -v along with -l.alfred2012-11-022-1/+2
| | | | Noticed by: pjd
* Tweak comment to make more clear why it will fail.attilio2012-11-021-1/+1
| | | | Submitted by: jimharris
* kdump: Also decode fcntl commands containing underscores and digits.jilles2012-11-021-1/+1
| | | | | The commands F_SETLK_REMOTE, F_DUPFD_CLOEXEC and F_DUP2FD_CLOEXEC were not decoded.
* Add more obsolete files.antoine2012-11-021-0/+9
|
* Don't allow for more than one segment for the control space sincemjacob2012-11-021-3/+2
| | | | | | | we're not set up to deal with that. X-MFC: 242479 MFC after: 1 week
* Don't allow for more than one segment for the control space sincemjacob2012-11-021-3/+2
| | | | | | we're not set up to deal with that. MFC after: 1 week
* The r241025 fixed the case when a binary, executed from nullfs mount,kib2012-11-0210-15/+78
| | | | | | | | | | | | | | | | | | | | | | | was still possible to open for write from the lower filesystem. There is a symmetric situation where the binary could already has file descriptors opened for write, but it can be executed from the nullfs overlay. Handle the issue by passing one v_writecount reference to the lower vnode if nullfs vnode has non-zero v_writecount. Note that only one write reference can be donated, since nullfs only keeps one use reference on the lower vnode. Always use the lower vnode v_writecount for the checks. Introduce the VOP_GET_WRITECOUNT to read v_writecount, which is currently always bypassed to the lower vnode, and VOP_ADD_WRITECOUNT to manipulate the v_writecount value, which manages a single bypass reference to the lower vnode. Caling the VOPs instead of directly accessing v_writecount provide the fix described in the previous paragraph. Tested by: pho MFC after: 3 weeks
* - Fix struct and struct fields names.glebius2012-11-021-41/+31
| | | | | | - Remove NGM_ATM_CARRIER_CHANGE, which was removed in r118175. Submitted by: Mamontov Roman <mr.xanto gmail.com>
* Remove separate paragraph on ASCII messages and insteadglebius2012-11-021-49/+27
| | | | | | | provide this information along with messages documentation, like this done in manual pages for other netgraph nodes. Submitted by: Mamontov Roman <mr.xanto gmail.com>
* Fix broken macro checking in the libc++ Makefile, introduced in r241909.dim2012-11-021-1/+1
| | | | | | | This caused -std=c++0x not to be passed to the build by default. Pointy hat to: dim MFC after: 3 days
* MFV pciids-20121024, r242469philip2012-11-021-687/+2141
| | | | | | Update to use the latest version of the PCI IDs Repository. MFC after: 1 week
* o OpenBSD 5.2 added.maxim2012-11-021-0/+2
|
* - If DRM_DEBUG_DEFAULT_ON is defined, then initialize drm_debug_flagi toglebius2012-11-021-2/+3
| | | | | | | | | | | all supported debugging bits. - If DRM_DEBUG_DEFAULT_ON isn't defined, then initialize drm_debug_flag to zero. DRM_DEBUG_DEFAULT_ON is defined when module is build with -DDEBUG_DRM or if kernel config has 'options DEBUG_DRM'. Reviewed by: kib
* Drop this from 500 to 128, to save a little space on memory constrainedadrian2012-11-021-1/+1
| | | | platforms.
* Free the dma map -after- it's checked, not before. Or you'll beadrian2012-11-021-1/+1
| | | | potentially referencing already-freed memory.
* Remove the recently added sysctl variable net.pfil.forward.ae2012-11-0217-59/+38
| | | | | | | | | Instead, add protocol specific mbuf flags M_IP_NEXTHOP and M_IP6_NEXTHOP. Use them to indicate that the mbuf's chain contains the PACKET_TAG_IPFORWARD tag. And do a tag lookup only when this flag is set. Suggested by: andre
* 10 years too late add support for "2.88MB 3.5in Extra High Density"eadler2012-11-021-0/+6
| | | | | | | | | | | | | | floppies. Its unlikely that anyone actually uses these or cares about these anymore, since we support other floppy types and this change doesn't hurt - just add it. PR: conf/40777 Submitted by: Antti Kantee <pooka@cubical.fi> Arrival-Date: Fri Jul 19 08:50:02 PDT 2002 Approved by: cperciva (implicit) MFC after: 1 week
* fopen(3): Mention that the "x" mode option is from C11.jilles2012-11-011-1/+5
| | | | MFC after: 1 week
* Add descriptions for callout_reset_on and callout_schedule_on andjimharris2012-11-011-1/+35
| | | | | | | their curcpu variants. Discussed with: mav, davide MFC after: 1 week
* Correct buffer size printout.hselasky2012-11-011-10/+4
| | | | MFC after: 1 week
* Increase default volume for FastTracker playback channels.hselasky2012-11-011-1/+4
| | | | MFC after: 1 week
* Don't disable PCIe just because the host is not a PCI host; the latter flagjmallett2012-11-011-4/+4
| | | | | only applies to non-PCIe systems. If PCIe is in target mode, it will simply and gracefully fail to attach of its own accord.
* Fix sysctl free bug in last commit, which eventually leads to a panic.hselasky2012-11-011-14/+188
| | | | | | | | | Add software mixer table for FastTrack Ultra. Only set volume controls which are valid at startup for standard USB audio devices, so that settings like treble and bass use the reset defaults. MFC after: 1 week
* The test fails with "exit 1" if /usr/games/fortune doesn't actuallyeadler2012-11-011-1/+1
| | | | | | | | | | | exist. Fix that. PR: conf/71994 Submitted by: Mikael Eklund <rma@ludd.ltu.se> Reviewed by: crees Reviewed by: jilles Approved by: cperciva (implicit) MFC after: 3 days
* Add an option to display the current dump device via dumpon -l.alfred2012-11-012-3/+49
| | | | MFC after: 2 weeks
* Sort textdump options list.joel2012-11-011-6/+6
| | | | Submitted by: bde
* Add whitespace between mandatory and optional kernelalfred2012-11-011-0/+1
| | | | | | config options. Approved by: joel
* Provide a device name in the sysctl tree for programs to query thealfred2012-11-014-6/+16
| | | | | | | | | state of crashdump target devices. This will be used to add a "-l" (ell) flag to dumpon(8) to list the currently configured dumpdev. Reviewed by: phk
* Export all mixer nodes into dev.pcm.X.mixer.Y sysctl nodes, hence thehselasky2012-11-011-32/+264
| | | | | | | | | PCM API doesn't support showing all the knobs. Make sure all the USB audio mixer nodes are freed at detach. Before this patch USB audio would leak some memory at detach. Print out buffer sizes in number of samples at attach. Fix setting of volume controls when the number of channels is greater than two. MFC after: 1 week
* Add missing inclusion guard.hselasky2012-11-011-0/+5
|
* In general, we call pmap_remove_all() before calling vm_page_cache(). So,alc2012-11-012-28/+13
| | | | | | | | | | | | | | | the call to pmap_remove_all() within vm_page_cache() is usually redundant. This change eliminates that call to pmap_remove_all() and introduces a call to pmap_remove_all() before vm_page_cache() in the one place where it didn't already exist. When iterating over a paging queue, if the object containing the current page has a zero reference count, then the page can't have any managed mappings. So, a call to pmap_remove_all() is pointless. Change a panic() call in vm_page_cache() to a KASSERT(). MFC after: 6 weeks
* Enable the new instructions for reading and writing bases for %fs,kib2012-11-012-1/+18
| | | | | | | | | | | | | | | | %gs, when supported. Note that WRFSBASE and WRGSBASE are not very useful on FreeBSD right now, because a return from the kernel mode to userspace reloads the bases specified by the sysarch(2) syscall, most likely. Enable the Supervisor Mode Execution Prevention (SMEP) when supported. Since the loader(8) performs hand-off to the kernel with the page tables which contradict the SMEP, postpone enabling the SMEP on BSP until pmap switched for the proper kernel tables. Debugged with the help from: avg Tested by: avg, Michael Moll <kvedulv@kvedulv.de> MFC after: 1 month
* Provide the reading and display of the Standard Extended Features,kib2012-11-014-0/+30
| | | | | | | | introduced with the IvyBridge CPUs. Provide the definitions for new bits in CR3 and CR4 registers. Tested by: avg, Michael Moll <kvedulv@kvedulv.de> MFC after: 2 weeks
* Fix build for SMP.cognet2012-11-011-1/+1
| | | | Submitted by: Giovanni Trematerra <gianni at freebsd DOT org>
* - Portability changes for ARMgabor2012-11-019-70/+74
| | | | | | - Allow larger sort memory on 64-bit platforms Submitted by: Oleg Moskalenko <oleg.moskalenko@citrix.com>
* fcntl(2): Fix typos in name of constant "F_DUP2FD_CLOEXEC".jilles2012-11-011-2/+2
| | | | MFC after: 1 week
* Nuke whitespace.joel2012-11-011-3/+2
|
* Minor mdoc fix.joel2012-11-011-1/+1
|
* TCP/UDP checksum offloading feature for IP fragmented datagram wasyongari2012-11-011-27/+0
| | | | | | | | | | removed in r99417. bge(4) controllers can do TCP checksum offload for IP fragmented datagrams but unlike ti(4), it lacks UDP checksum offloading for IP fragmented datagrams. The problem was bge(4) blindly requested TCP/UDP checksum for IP fragmented datagrams such that it resulted in corrupted UDP datagrams before r99417. Remove remaining code for TCP checksum offloading for IP fragmented datagrams which should have been removed in r99417.
* Remove TCP/UDP checksum offloading feature for IP fragmentedyongari2012-11-011-11/+5
| | | | | | | | | | | | datagrams. Traditionally upper stack fragmented packets without computing TCP/UDP checksum and these datagrams were passed to driver. But there are chances that other packets slip into the interface queue in SMP world. If this happens firmware running on MIPS 4000 processor in the controller would see mixed packets and it shall send out corrupted packets. While I'm here simplify checksum offloading setup. MFC After: 1 week
* Small textdump enhancements.alfred2012-11-016-7/+72
| | | | | | | | | | | | | | Allow textdumps to be called explicitly from DDB. If "dump" is called in DDB and textdumps are enabled then abort the dump and tell the user to turn off textdumps. Add options TEXTDUMP_PREFERRED to turn textdumps on by default. Add options TEXTDUMP_VERBOSE to be a bit more verbose while textdumping. Reviewed by: rwatson MFC after: 2 weeks
OpenPOWER on IntegriCloud