aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* ANSIfy almost all applications that use WARNS=6.Ed Schouten2009-12-2923-150/+88
| | | | | | | | | | I was considering committing all these patches one by one, but as discussed with brooks@, there is no need to do this. If we ever need/want to merge these changes back, it is still possible to do this per application. Notes: svn path=/head/; revision=201227
* Add missing `void' keywords.Ed Schouten2009-12-295-5/+5
| | | | Notes: svn path=/head/; revision=201226
* Add missing `void' keyword.Ed Schouten2009-12-291-1/+1
| | | | Notes: svn path=/head/; revision=201225
* Add missing `void' keyword.Ed Schouten2009-12-291-1/+1
| | | | Notes: svn path=/head/; revision=201224
* Update d_mmap() to accept vm_ooffset_t and vm_memattr_t.Robert Noland2009-12-2936-112/+109
| | | | | | | | | | | | | | | | This replaces d_mmap() with the d_mmap2() implementation and also changes the type of offset to vm_ooffset_t. Purge d_mmap2(). All driver modules will need to be rebuilt since D_VERSION is also bumped. Reviewed by: jhb@ MFC after: Not in this lifetime... Notes: svn path=/head/; revision=201223
* Usually these controllers are able to automatically decode command code toAlexander Motin2009-12-292-5/+27
| | | | | | | | | get required command protocol. But they have no idea about new commands, such as DATA SET MANAGEMENT (TRIM). As soon as this info any way provided by CAM, give controller specific instructions. Notes: svn path=/head/; revision=201222
* ANSIfy ldconfig and the aout bits it still uses from rtld-aout.Ed Schouten2009-12-293-41/+17
| | | | | | | (Why is aout support still there?) Notes: svn path=/head/; revision=201217
* Remove a trailing reference to the obsolete vaps_<IF> variable.John Baldwin2009-12-291-1/+1
| | | | | | | | Reviewed by: brooks MFC after: 3 days Notes: svn path=/head/; revision=201216
* Add support for configuring vlan(4) interfaces as child devices similar toJohn Baldwin2009-12-293-4/+97
| | | | | | | | | | | | | | | | | wlan(4) interfaces. vlan(4) interfaces are listed via a new 'vlans_<IF>' variable. If a vlan interface is a number, then that number is treated as the vlan tag for the interface and the interface will be named '<IF>.<tag>'. Otherwise, the vlan tag must be provided via a vlan parameter in a 'create_args_<vlan>' variable. While I'm here, fix a few nits in rc.conf(5) and mention create_args_<IF> in the description of cloned_interfaces. Reviewed by: brooks MFC after: 2 weeks Notes: svn path=/head/; revision=201215
* Remove extra space introduced by the previous commit.Edward Tomasz Napierala2009-12-291-1/+1
| | | | | | | Submitted by: rwatson Notes: svn path=/head/; revision=201214
* Remove examples for pppd and SLIP-related stuff.Edward Tomasz Napierala2009-12-2921-285/+23
| | | | Notes: svn path=/head/; revision=201213
* Delete old firmware.Rui Paulo2009-12-292-0/+0
| | | | Notes: svn path=/head/; revision=201212
* Remove pppd and SLIP-related stuff.Edward Tomasz Napierala2009-12-291-2/+2
| | | | Notes: svn path=/head/; revision=201211
* Remove pppd, it's gone.Edward Tomasz Napierala2009-12-291-2/+1
| | | | Notes: svn path=/head/; revision=201210
* iwn(4) update. Notable changes:Rui Paulo2009-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 Notes: svn path=/head/; revision=201209
* Document _FAST and _PRECISE clocks.Konstantin Belousov2009-12-291-10/+40
| | | | | | | | Submitted by: Valentin Nechayev <netch segfault kiev ua> MFC after: 3 days Notes: svn path=/head/; revision=201204
* Use reallocf() to simplify some logic.John Baldwin2009-12-291-7/+3
| | | | | | | MFC after: 2 weeks Notes: svn path=/head/; revision=201202
* Document CLOCK_SECOND, add cross-reference from time(3) to clock_gettime(2).Konstantin Belousov2009-12-292-3/+7
| | | | | | | | Based on submission by: pluknet gmail com MFC after: 3 days Notes: svn path=/head/; revision=201201
* - Remove a redundant variable and an unnecessary cast.Marius Strobl2009-12-291-6/+5
| | | | | | | - Fix whitespace. Notes: svn path=/head/; revision=201200
* - Prefer i and j over i and n for temporary integer variables.Marius Strobl2009-12-292-111/+120
| | | | | | | | - Wrap/shorten too long lines. - Remove a redundant variable and an unnecessary cast in schizo(4). Notes: svn path=/head/; revision=201199
* Fix autonegotiation: tell the MAC where to find the PHY.Philip Paeps2009-12-291-3/+9
| | | | | | | | | | Fix crashes in the detach path. Submitted by: Kristof Provost <kristof@sigsegv.be> MFC after: 1 month Notes: svn path=/head/; revision=201198
* Change vlan interfaces to cope more usefully with the parent interface beingJohn Baldwin2009-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 Notes: svn path=/head/; revision=201196
* Use clock_gettime(CLOCK_SECOND) instead of gettimeofday(2) forKonstantin Belousov2009-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 Notes: svn path=/head/; revision=201194
* Add missing me6 rules. Now, the IPv6 rules become equivalentHajimu UMEMOTO2009-12-291-0/+29
| | | | | | | | | to the IPv4 rules. Reported by: David Horn <dhorn2000__at__gmail.com> Notes: svn path=/head/; revision=201193
* Make rpc.ruserd work with utmpx/libulog.Ed Schouten2009-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. Notes: svn path=/head/; revision=201192
* MFV of tzdata2009u, r201187Edwin Groothuis2009-12-291-3/+38
|\ | | | | | | | | | | | | | | | | Bangladesh will change its clock back to Standard Time on Dec 31, 2009. MFC after: now Notes: svn path=/head/; revision=201189
| * Vendor import of tzdata2009uvendor/tzdata/tzdata2009uEdwin Groothuis2009-12-291-3/+38
| | | | | | | | | | | | | | | | | | | | Bangladesh will change its clock back to Standard Time on Dec 31, 2009. Obtained from: ftp://elsie.nci.nih.gov/pub/ Notes: svn path=/vendor/tzdata/dist/; revision=201187 svn path=/vendor/tzdata/tzdata2009u/; revision=201188; tag=vendor/tzdata/tzdata2009u
* | Add forgotten `void' keyword. This function has no arguments.Ed Schouten2009-12-291-1/+1
| | | | | | | | Notes: svn path=/head/; revision=201182
* | Add missing `void' keyword for function without arguments.Ed Schouten2009-12-291-1/+1
| | | | | | | | Notes: svn path=/head/; revision=201181
* | Add missing `void' for functions without arguments.Ed Schouten2009-12-291-4/+4
| | | | | | | | | | | | | | | | While there, rename die_you_gravy_sucking_pig_dog() to something that's less moronic. Notes: svn path=/head/; revision=201180
* | Add missing `void' for function without arguments.Ed Schouten2009-12-291-1/+1
| | | | | | | | Notes: svn path=/head/; revision=201179
* | SLIP is gone; remove its mutex from witness.Edward Tomasz Napierala2009-12-291-6/+0
| | | | | | | | Notes: svn path=/head/; revision=201178
* | Add missing `void' for function without arguments.Ed Schouten2009-12-291-1/+1
| | | | | | | | Notes: svn path=/head/; revision=201177
* | Use ANSI C function declarations.Ed Schouten2009-12-291-11/+5
| | | | | | | | Notes: svn path=/head/; revision=201176
* | Use ANSI C function declarations.Ed Schouten2009-12-292-17/+20
| | | | | | | | Notes: svn path=/head/; revision=201175
* | Rationalize the support for cryptographic hashes.Tim Kientzle2009-12-292-105/+250
| | | | | | | | Notes: svn path=/head/; revision=201171
* | Essentially eliminate problems with false hardlinks in POSIX cpioTim Kientzle2009-12-291-16/+91
| | | | | | | | | | | | | | | | archives by generating synthetic ino values and mapping values from disk into the new values. Notes: svn path=/head/; revision=201170
* | Clear extraneous error messages.Tim Kientzle2009-12-291-0/+2
| | | | | | | | Notes: svn path=/head/; revision=201169
* | Zip write support for libarchive.Tim 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. Notes: svn path=/head/; revision=201168
* | If we're linking against liblzma, allow the decompressor to use up toTim Kientzle2009-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. Notes: svn path=/head/; revision=201167
* | ar only needs to support ar format.Tim Kientzle2009-12-292-2/+2
| | | | | | | | Notes: svn path=/head/; revision=201166
* | Minor style fixes plus a fix for an obscure crash on certain malformedTim Kientzle2009-12-291-11/+5
| | | | | | | | | | | | | | mtree files. Notes: svn path=/head/; revision=201165
* | Be a little more skeptical of dev/ino matches when reading cpio files.Tim Kientzle2009-12-291-35/+35
| | | | | | | | | | | | | | This eliminates some false-positives in the hardlink detection logic. Notes: svn path=/head/; revision=201163
* | Style and portability fixes for pax writer. Mostly very routine, except for:Tim Kientzle2009-12-291-32/+26
| | | | | | | | | | | | | | | | * Use ino64 where appropriate * Don't pass atime or nsec to ustar formatter Notes: svn path=/head/; revision=201162
* | Style fixes to tar reader:Tim 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. Notes: svn path=/head/; revision=201161
* | Various style fixes to the 'newc' cpio writer:Tim 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 Notes: svn path=/head/; revision=201160
* | Various fixes when creating objects on disk:Tim 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 Notes: svn path=/head/; revision=201159
* | Catch decompression failures earlier. In particular, this givesTim Kientzle2009-12-291-0/+8
| | | | | | | | | | | | | | immediate feedback if we fail to fork an external decompression program. Notes: svn path=/head/; revision=201157
* | Various style and portability fixes, including:Tim 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 Notes: svn path=/head/; revision=201156
* | 64-bit ino support and discourage bad use of this header.Tim Kientzle2009-12-291-1/+5
| | | | | | | | Notes: svn path=/head/; revision=201155