summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* iwn(4) update. Notable changes:rpaulo2009-12-2915-10142/+25132
| | | | | | | | | | | | | | | | | | | | * new firmware * untested support for 1000 and 6000 series * bgscan support * remove unnecessary RXON changes * allow setting of country/regdomain by enforcing channel flags read from the EEPROM * suspend/resume fixes * RF kill switch fixes * LED adjustments * several bus_dma*() related fixes * addressed some LORs * many other bug fixes Submitted by: Bernhard Schmidt <bschmidt at techwires.net> Obtained from: Brandon Gooch <jamesbrandongooch at gmail dot com> (LED related changes), Benjamin Kaduk <kaduk at mit dot edu> (LOR fixes), OpenBSD
* Document _FAST and _PRECISE clocks.kib2009-12-291-10/+40
| | | | | Submitted by: Valentin Nechayev <netch segfault kiev ua> MFC after: 3 days
* Use reallocf() to simplify some logic.jhb2009-12-291-7/+3
| | | | MFC after: 2 weeks
* Document CLOCK_SECOND, add cross-reference from time(3) to clock_gettime(2).kib2009-12-292-3/+7
| | | | | Based on submission by: pluknet gmail com MFC after: 3 days
* - Remove a redundant variable and an unnecessary cast.marius2009-12-291-6/+5
| | | | - Fix whitespace.
* - Prefer i and j over i and n for temporary integer variables.marius2009-12-292-111/+120
| | | | | - Wrap/shorten too long lines. - Remove a redundant variable and an unnecessary cast in schizo(4).
* Fix autonegotiation: tell the MAC where to find the PHY.philip2009-12-291-3/+9
| | | | | | | Fix crashes in the detach path. Submitted by: Kristof Provost <kristof@sigsegv.be> MFC after: 1 month
* Change vlan interfaces to cope more usefully with the parent interface beingjhb2009-12-293-1/+17
| | | | | | | | | | | | | | renamed. Previously the vlan interfaces would lose their configuration as if the parent interface had been physically removed. Now vlan interfaces ignore rename events. - Add a new ifnet flag (IFF_RENAMING) that is set while an ifnet is being renamed. This flag can be checked in ifnet departure/arrival event handlers to treat rename events differently. - Change the ifnet departure event handler in the if_vlan(4) driver to ignore departure events due to a trunk interface being renamed. Reviewed by: brooks, rwatson MFC after: 1 week
* Use clock_gettime(CLOCK_SECOND) instead of gettimeofday(2) forkib2009-12-291-4/+3
| | | | | | | | implementation of time(3). CLOCK_SECOND is much faster. No objections from: phk Submitted by: Valentin Nechayev <netch segfault kiev ua> MFC after: 1 week
* Add missing me6 rules. Now, the IPv6 rules become equivalentume2009-12-291-0/+29
| | | | | | to the IPv4 rules. Reported by: David Horn <dhorn2000__at__gmail.com>
* Make rpc.ruserd work with utmpx/libulog.ed2009-12-293-92/+35
| | | | | | | Because strings are now null-terminated, I've decided to just use an array of utmpx structures, instead of the separated strings. This means we just copy the entire utmpx structure and point to the strings within the structures directly.
* MFV of tzdata2009u, r201187edwin2009-12-291-3/+38
| | | | | | Bangladesh will change its clock back to Standard Time on Dec 31, 2009. MFC after: now
* Add forgotten `void' keyword. This function has no arguments.ed2009-12-291-1/+1
|
* Add missing `void' keyword for function without arguments.ed2009-12-291-1/+1
|
* Add missing `void' for functions without arguments.ed2009-12-291-4/+4
| | | | | While there, rename die_you_gravy_sucking_pig_dog() to something that's less moronic.
* Add missing `void' for function without arguments.ed2009-12-291-1/+1
|
* SLIP is gone; remove its mutex from witness.trasz2009-12-291-6/+0
|
* Add missing `void' for function without arguments.ed2009-12-291-1/+1
|
* Use ANSI C function declarations.ed2009-12-291-11/+5
|
* Use ANSI C function declarations.ed2009-12-292-17/+20
|
* Rationalize the support for cryptographic hashes.kientzle2009-12-292-105/+250
|
* Essentially eliminate problems with false hardlinks in POSIX cpiokientzle2009-12-291-16/+91
| | | | | archives by generating synthetic ino values and mapping values from disk into the new values.
* Clear extraneous error messages.kientzle2009-12-291-0/+2
|
* Zip write support for libarchive.kientzle2009-12-295-0/+671
| | | | | The initial implementation was developed by Anselm Strauss as part of Google Summer of Code 2008, then completed by Joerg Sonnenberger.
* If we're linking against liblzma, allow the decompressor to use up tokientzle2009-12-291-23/+87
| | | | | | | | 1<<30 bytes of memory, which is required for some streams. Also, try to make the taster more discriminating about raw lzma streams. The detection here is still really weak, though; please use xz instead of lzma.
* ar only needs to support ar format.kientzle2009-12-292-2/+2
|
* Minor style fixes plus a fix for an obscure crash on certain malformedkientzle2009-12-291-11/+5
| | | | mtree files.
* Be a little more skeptical of dev/ino matches when reading cpio files.kientzle2009-12-291-35/+35
| | | | This eliminates some false-positives in the hardlink detection logic.
* Style and portability fixes for pax writer. Mostly very routine, except for:kientzle2009-12-291-32/+26
| | | | | * Use ino64 where appropriate * Don't pass atime or nsec to ustar formatter
* Style fixes to tar reader:kientzle2009-12-291-16/+16
| | | | | | | For portability, prefer int64_t to off_t. Improve numeric overflow handling when parsing. Fix some variable types. Eliminate some unused results.
* Various style fixes to the 'newc' cpio writer:kientzle2009-12-291-17/+26
| | | | | | * Warn about truncation of ino * Use a macro to hide the somewhat obscure pad-to-multiple-of-4 calculation * Eliminate some unused variables
* Various fixes when creating objects on disk:kientzle2009-12-291-23/+74
| | | | | | | | | * Write xattrs last instead of first (required on platforms that use system xattrs for security attributes) * Better handling of chdir() failures * Don't bother trying to shorten files via seek()/write() * Fix build on systems that lack link()/symlink()/mknod() * Prefer futimens()/utimensat() when they're present
* Catch decompression failures earlier. In particular, this giveskientzle2009-12-291-0/+8
| | | | immediate feedback if we fail to fork an external decompression program.
* Various style and portability fixes, including:kientzle2009-12-291-12/+35
| | | | | | * Enforce option interface can only be used before the archive is opened * Correctly handle large skips on platforms with 32-bit off_t * Use int64_t instead of off_t
* 64-bit ino support and discourage bad use of this header.kientzle2009-12-291-1/+5
|
* Use VFS_{LOCK,UNLOCK}_GIANT() around the call to vrele().jkoshy2009-12-291-0/+6
| | | | Reviewed by: kib
* we really need htonl() here, see the comment a few lines above in the code.luigi2009-12-291-1/+1
|
* Use ANSI declarations instead of K&R.ed2009-12-281-39/+14
|
* Don't forget to use `void' for sched_balance(). It has no arguments.ed2009-12-281-1/+1
|
* Perform cleanups to rpc.rusersd:ed2009-12-283-198/+204
| | | | | - Perform whitespace fixes. Use tabs instead of 8 spaces. - Make it build at WARNS=6.
* (S)LIST_HEAD_INITIALIZER takes a (S)LIST_HEAD as an argument.antoine2009-12-2831-54/+54
| | | | | | | | | 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) MFC after: 1 month
* Apply OpenSolaris revision 8012 which brings our zpool to version 14,delphij2009-12-287-97/+123
| | | | | | | | | | | making it possible for zpools created on OpenSolaris 2009.06 be used on FreeBSD. PR: kern/141800 Submitted by: mm Reviewed by: pjd, trasz Obtained from: OpenSolaris MFC after: 2 weeks
* The net/if_slvar.h header is long gone.trasz2009-12-281-7/+1
|
* Make the compiler happy after r201125:bz2009-12-281-1/+1
| | | | | - + remove two unnecessary initializations in ip_output; + + remove one unnecessary initializations in ip_output;
* Migrate finger(1) away from <utmp.h>.ed2009-12-288-68/+54
| | | | | | | Unfortunately it also uses lastlog, which means we must resort to local extensions of the utmpx-interface. Because the user name and TTY name are now nul-terminated, there is no need to copy around strings as often.
* Add BIO_DELETE support to ada(4):mav2009-12-284-119/+263
| | | | | | | | | | | | | | | | | | | - For SSDs use TRIM feature of DATA SET MANAGEMENT command, as defined by ACS-2 specification working draft. - For CompactFlash use CFA ERASE command, same as ad(4) does. With this patch, `newfs -E /dev/ada1` was able to restore write speed of my heavily weared OCZ Vertex SSD (firmware 1.4) up to the initial level for the most part of it's capacity. Previous 1.3 firmware, even reportiong TRIM capabilty bit set, was not working, reporting ABORT error for every DSM command. I have no idea whether it is normal, but for some reason it takes 200ms to handle any TRIM command on this drive, that was making delete extremely slow. But TRIM command is able to accept long list of LBAs and the length of that list seems doesn't affect it's execution time. Implemented request clusting algorithm allowed me to rise delete rate up to reasonable numbers, when many parallel DELETE requests running.
* Correct alignment and boundary constraints in blkfront's bus dma tag. Thegibbs2009-12-281-2/+2
| | | | | | | | | blkif interface in Xen requires all I/O to be 512 byte aligned with each segment bounded by a 4k page. Note: This submission only documents the proper contraints for blkif I/O. The alignment code in busdma does not yet handle alignment constraints correctly in all cases.
* Grammar fix.delphij2009-12-281-1/+1
| | | | | Submitted by: Kenyon Ralph <kenyon kenyonralph com> MFC after: 1 week
* Make umount(8) WARNS=6 clean:delphij2009-12-283-35/+35
| | | | | | | | | | | - 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] MFC after: 1 month Sponsored by: iXsystems, Inc
* Add a knob to allow reclaim of the directory vnodes that are source ofkib2009-12-281-2/+10
| | | | | | | | | | the namecache records. The reclamation is not enabled by default because for typical workload it would make namecache unusable, but large nested directory tree easily puts any process that accesses filesystem into 1 second wait for vlru. Reported by: yar (long time ago) MFC after: 3 days
OpenPOWER on IntegriCloud