summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Make it possible to override the number of retries for the CD media.imp2009-01-081-1/+8
| | | | | | | | | | | | | | | When trying to read scratched or damaged CDs and DVDs, the default mechanism is sub-optimal. Programs like ddrescue do much better if you turn off retries entirely, since their algorithms are designed scan big areas fast, then winnow the areas down. Turning off retries speeds these programs up by as much as 20x, since the drive is able to 'stream past' many small errors... The sysctl/tunable kern.cam.cd.retry_count controls this. That defaults to '4' (for a total of 5 attempts). Setting to 0 turns off all retry attempts. Reviewed by: scottl@
* correct fixed rate handling; the rixmap was changed a while backsam2009-01-071-16/+11
| | | | to be indexed by the ieee rate code
* Make the whole initiator mode part of mpt(4) endian-clean,marius2009-01-075-37/+223
| | | | | | | | | | | | | | | | | | | specifically SPI controllers now also work in big-endian machines and some conversions relevant for FC and SAS controllers as well as support for ILP32 machines which all were omitted in previous attempts are now also implemented. The IOCTL-interface is intentionally left (and where needed actually changed) to be completely little-endian as otherwise we would have to add conversion code for every possible configuration page to mpt(4), which didn't seem the right thing to do, neither did converting only half of the user- interface to the native byte order. This change was tested on amd64 (SAS+SPI), i386 (SAS) and sparc64 (SAS+SPI). Due to lack of the necessary hardware the target mode code is still left to be made endian-clean. Reviewed by: scottl MFC after: 1 month
* Check the return values of contigmalloc(9) as well as bus_dma(9)marius2009-01-072-11/+24
| | | | | | | | | | | | | | functions and stop attaching of dcons(4) and dcons_crom(4) if they indicate failure. This fixes a panic seen on sparc64 machines with no free physical memory in the requested 32-bit region but still doesn't make dcons(4)/dcons_crom(4) these work. I think the latter can be fixed by simply specifying ~0UL as the upper limit for contigmalloc(9) and letting the bounce pages and the IOMMU respectively handle limitations of the DMA engine. I didn't want to change that without the consensus of simokawa@ though, who unfortunately didn't reply so far. MFC after: 1 week
* Add some new oss_sysinfo structure fields from OSSv4.mav2009-01-072-1/+7
|
* Prevent cross-site forgery attacks on lukemftpd(8) due to splittingsimon2009-01-0712-24/+52
| | | | | | | | | | | | | | long commands into multiple requests. [09:01] Fix incorrect OpenSSL checks for malformed signatures due to invalid check of return value from EVP_VerifyFinal(), DSA_verify, and DSA_do_verify. [09:02] Security: FreeBSD-SA-09:01.lukemftpd Security: FreeBSD-SA-09:02.openssl Obtained from: NetBSD [SA-09:01] Obtained from: OpenSSL Project [SA-09:02] Approved by: so (simon)
* - Update manpage now that cvs mode is supported.lulf2009-01-071-2/+0
|
* only mark an infrastructure node to require an associd for xmit; fixes adhocsam2009-01-071-1/+4
| | | | mode sta's that join an existing ibss
* Update date.mav2009-01-071-1/+1
|
* Add some more supported controller and codec models.mav2009-01-071-11/+28
| | | | Add one more proposition to check correct PCM audio device usage.
* Using KMODOWN/KMODGRP rather than hard coding root/wheel forbz2009-01-071-5/+5
| | | | | | | | | installing the kernel allows one, like with modules, to override the default user/group and install as non-su to a temporary directory to test, create images or seed a tftp dir. Reviewed by: Andrzej Tobola <ato@iem.pw.edu.pl> MFC after: 4 weeks
* Hook up sdhci man page to the build.mav2009-01-071-0/+1
|
* - Remove snd_au88x0 which seems never got compiled into kernel nor as a kernelrafan2009-01-075-921/+0
| | | | | | | | | module. These files cause manual interaction when building ports/audio/aureal-kmod which provides a usable i386-only driver (it requires linking against some linux object files distributed by vendor which bankrupted back in 2000). MFC after: 1 week
* - use .Ex macro in EXIT STATUS sectiondanger2009-01-071-3/+1
|
* - rename the RETURN VALUES section to EXIT STATUSdanger2009-01-071-1/+1
| | | | | | | - not bumping a date as this is not a real content change Approved by: ru MFC after: 3 days
* - rename the RETURN VALUES section to EXIT STATUS [1]danger2009-01-071-4/+2
| | | | | | | | - convert to .Ex macro - not bumping a date as this is not a real content change Approved by: ru [1] MFC after: 3 days
* - rename the RETURN VALUES section to EXIT STATUSdanger2009-01-071-1/+1
| | | | | | | - not bumping a date as this is not a real content change Approved by: ru MFC after: 3 days
* - rename the RETURN VALUES section to EXIT STATUSdanger2009-01-071-1/+1
| | | | | | | - not bumping a date as this is not a real content change Approved by: ru MFC after: 3 days
* - rename the RETURN VALUES section to EXIT STATUSdanger2009-01-071-1/+1
| | | | | | | - not bumping a date as this is not a real content change Approved by: ru MFC after: 3 days
* - rename the RETURN VALUES section to EXIT STATUS [1]danger2009-01-071-4/+2
| | | | | | | | - convert to .Ex macro - not bumping a date as this is not a real content change Approved by: ru MFC after: 3 days
* - rename the RETURN VALUES section to EXIT STATUSdanger2009-01-071-1/+1
| | | | | | | - not bumping a date as this is not a real content change Approved by: ru MFC after: 3 days
* Put the devfs ruleset next to devfs enable, add a comment aboutbz2009-01-061-2/+3
| | | | | | | | | | the suggested ruleset[1]. While here use an IP from the 'test-net' prefix for docs. PR: kern/130102 ([1] different problem in the end) Reviewed by: simon MFC after: 2 weeks
* Minor markup fix for the r186836 update.simon2009-01-061-1/+2
|
* Strengthen some of the language concerning attacks on MD5, in light of thecperciva2009-01-061-8/+16
| | | | | | | | recent demonstration of a forged SSL certificate. Add text pointing out that SHA-1 is at least theoretically broken. Add a recommendation that new applications use SHA-256. MFC after: 1 month
* - Backout latest changes (follow symlinks: r186496, r186518).flz2009-01-062-61/+24
| | | | - Bump PKG_INSTALL_VER to 20090106.
* Document the special loopback address behaviour of jails.bz2009-01-061-1/+7
| | | | | | | PR: kern/103464 Submitted by: brueffer (correct markup) Reviewed by: brueffer MFC after: 2 weeks
* Change the way I2C bus attachment works to allow firmware-assisted busnwhitehorn2009-01-067-8/+10
| | | | | | | | | subclasses as are available with PCI. Changes I2C device drivers without real probe logic to return BUS_PROBE_NOWILDWARD to avoid interference with firmware bus enumeration, and reduces the probe priority of the iicbus base driver to allow subclass attachment at higher priority. Discussed on: freebsd-arch
* Note that r186713 also contained a change to VarAdd where we propagate theobrien2009-01-061-2/+1
| | | | | newly created 'Var' back to the caller. Also, back out an accidentally commented WIP comment.
* Add a reference to the "env" kernel config option in the GENERIC file,luigi2009-01-061-0/+6
| | | | | | | as this is very useful e.g. in diskless configurations and barely documented anywhere else. MFC after: 3 days
* Add small hint that snd_ich is the AC'97 controller driver.mav2009-01-061-1/+1
|
* various cleanups including:luigi2009-01-061-82/+77
| | | | | | | | | + check a possible buffer overflow when creating a temp file, submitted by Christoph Mallon + remove stale struct definitions + clarify the use of dflag and remove useless checks MFC after: 3 days
* fix a couple of innocuous compiler warningsluigi2009-01-062-3/+4
| | | | MFC after: 3 days
* Do a lockless read of the audit pipe list before grabbing the audit piperwatson2009-01-061-0/+4
| | | | | | | | | lock in order to avoid the lock acquire hit if the pipe list is very likely empty. Obtained from: TrustedBSD Project MFC after: 3 weeks Sponsored by: Apple, Inc.
* correct description of how a string is stored, fix a fewluigi2009-01-061-5/+10
| | | | | | | | | typos and reference the kernel file which processes this info. All in all, the content of this file should be moved to kldxref.c or to the kld(4) manpage. MFC after: 3 days
* - Don't enforce an upper-bound to the number of sectors or heads,marius2009-01-061-7/+15
| | | | | | | | | | | | | | | | | | | | | allowing the full 16-bit width of the corresponding fields in the VTOC8 label to be used. The removed limits basically only held true for providers labeled using the synthetic geometry provided by cam_calc_geometry(9) but neither SCSI disks labeled with Solaris nor sufficiently large ATA disks. - Given that providers (originally) labeled with Solaris typically use the native geometry as reported by the target while FreeBSD typically uses a synthetic one put the message complaining about mismatching geometries between what the label indicates and what GEOM thinks the provider has, which we generally can't help, under bootverbose in order to not unnecessarily scare users. - For informational purposes add the non-matching values to the message complaining about them, similar to what r186501 did for g_part_bsd_read() except also indicating the origin of the values. - Make it clear that the messages emitted by this code refer to the VTOC8 support rather than to another existing scheme or to VTOC32.
* In AUDIT_SYSCALL_EXIT(), invoke audit_syscall_exit() only if an auditrwatson2009-01-061-3/+3
| | | | | | | | | | record is active on the current thread--historically we may always have wanted to enter the audit code if auditing was enabled, but now we just commit the audit record so don't need to enter if there isn't one. Obtained from: TrustedBSD Project Sponsored by: Apple, Inc.
* Addresses Roberts comments on comments. Also addsrrs2009-01-062-18/+12
| | | | | | | the KASSERT and checks suggested. Reviewed by: The udp tunneling was discussed on net@ under the thread entitled "Heads up -- Thinking about UDP and tunneling"
* - forgot to bump a datedanger2009-01-061-1/+1
|
* catch up wtih r175955 by ume:danger2009-01-061-53/+2
| | | | - the support of AI_ALL and AI_V4MAPPED has been completely removed.
* Adds flags for SCTP checksum offload. Preprrs2009-01-061-0/+2
| | | | | for support for new Intel NIC's that have this feature.
* Add the ability of an alternate transport protocolrrs2009-01-063-10/+133
| | | | | | to easily tunnel over udp by providing a hook function that will be called instead of appending to the socket buffer.
* Cross-reference snd_ich and snd_hda man pages.mav2009-01-062-4/+11
| | | | | Some hardware require different drivers depending on implementation, that may confuse users.
* Further cleanup protosw.h:bz2009-01-061-21/+5
| | | | | | | | | | | | - Remove unused typedefs to avoid confusion and ease in merging ip6protosw with protosw. - Correct a few comments. - Remove most of a comment about usrreq. [1] - Use tabs instead of spaces for consistency. Submitted by: rwatson [1] Reviewed by: rwatson MFC after: 3 weeks
* Add workaround for Parallels 4.0. Without it, ehci and uhci driverstrasz2009-01-062-0/+14
| | | | | | | | would fail to attach due to unsupported USB revision. It should have no effect when running on a real hardware. Reviewed by: imp Approved by: rwatson (mentor)
* Don't enforce an upper-bound to the number of sectors or headsmarcel2009-01-061-4/+2
| | | | | that that the provider has. The limits we imposed were PC BIOS specific and not always applicable.
* remove the ath_rate module dependency; it's all bundledsam2009-01-061-1/+0
|
* Add a new quirk type so that the MacIO driver will assign memory resourcesnwhitehorn2009-01-061-2/+8
| | | | | | | | belonging to a devices children, in analogy to the way we handle interrupts for SCC serial devices. This is required to counteract overly deep nesting on onboard audio devices. Submitted by: Marco Trillo
* remove module glue, it's not used any moresam2009-01-063-81/+0
|
* put a prefix on dhcp options to avoid clobbering, even by mistake,luigi2009-01-051-1/+1
| | | | | | existing environment variables. MFC after: 2 weeks
* Import yet some more small fixes to libteken sources:ed2009-01-053-0/+25
| | | | | | | | | | | - Implement NP (ASCII 12, Form Feed). When used with cons25, it should clear the screen and place the cursor at the top of the screen. When used with xterm, it should just simulate a newline. - When we want to use xterm emulation, make teken_demo set TERM to xterm. Spotted by: Paul B. Mahol <onemda@gmail.com>
OpenPOWER on IntegriCloud