summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | Extend the timestamp to be a timeval, rather than ticks.adrian2013-02-112-2/+8
| | | | | | | | This makes it easier to see TX and RX buffer latencies.
* | Provide verbose help for fdt commands on platforms that use it.kientzle2013-02-114-3/+96
| |
* | Capability rights for process management via process descriptors do existpjd2013-02-111-3/+2
| | | | | | | | | | | | already, so uncomment them. Sponsored by: The FreeBSD Foundation
* | Add CAP_MKNOD right.pjd2013-02-101-0/+1
| | | | | | | | Sponsored by: The FreeBSD Foundation
* | fts: Use O_DIRECTORY when opening name that might be changed by attacker.jilles2013-02-101-1/+2
| | | | | | | | | | | | | | | | There are uncommon cases where fts_safe_changedir() may be called with a non-NULL name that is not "..". Do not block or worse if an attacker put (a (symlink to) a fifo or device where a directory used to be. MFC after: 1 week
* | Remove the ia64-specific code fragment, which effect is more cleanlykib2013-02-101-10/+0
| | | | | | | | | | | | | | done by the call to trans_prot() function a line before. Discussed with: Oliver Pinter <oliver.pntr@gmail.com> MFC after: 1 week
* | Make sure that received packets for removed addresses are handledtuexen2013-02-101-180/+192
| | | | | | | | | | | | consistently. While there, make variable names consistent. MFC after: 3 days
* | ext2fs: Use prototype declarations for function definitionspfg2013-02-108-304/+65
| | | | | | | | | | Submitted by: Christoph Mallon MFC after: 2 weeks
* | Use the entire 64 bits of 'bar.pbi_length' when printing the bar size.neel2013-02-101-1/+1
| | | | | | | | This allows bar sizes greater than or equal to 4GB to be displayed correctly.
* | MFV r246388:mm2013-02-103-17/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Import vendor bugfixes Illumos ZFS issues: 3422 zpool create/syseventd race yield non-importable pool 3425 first write to a new zvol can fail with EFBIG References: https://www.illumos.org/issues/3422 https://www.illumos.org/issues/3425 MFC after: 2 weeks
* | Add bootcamp support to the loader.ae2013-02-102-3/+8
| | | | | | | | | | Tested by: dchagin MFC after: 1 week
* | Improve code style. No functional change.tuexen2013-02-101-7/+7
| | | | | | | | MFC after: 3 days
* | find: Run when cwd cannot be opened, except with -execdir or -delete.jilles2013-02-102-2/+16
| | | | | | | | | | | | | | | | | | | | | | fts(3) can run (albeit more slowly and imposing the {PATH_MAX} limit) when the current directory cannot be opened. Therefore, do not make a failure to open the current directory (for returning to it later in -exec) fatal. If -execdir or -delete are used, the expectation is that fts(3) will use chdir to avoid race conditions (except for -execdir with -L). Do not break this expectation any more than it already is by still failing if the current directory cannot be opened.
* | Don't try to suppress the inclusion of the build date in named's versioncperciva2013-02-101-1/+1
| | | | | | | | | | | | string by undefining __DATE__, since (unlike gcc) clang doesn't allow us to do that. Instead, define NO_VERSION_DATE, which was helpfully added to the named source code for exactly this purpose.
* | Backport vendor changes in zfs(8) manual page (MFV r246389)mm2013-02-101-122/+129
| | | | | | | | | | | | | | | | | | | | Illumos ZFS issues: 3380 zfs man page: documentation for zfs allow is confusing References: https://www.illumos.org/issues/3380 MFC after: 2 weeks
* | Fix minor memory leak.pjd2013-02-101-0/+1
| |
* | Assert that if we are not dealing with keyfile we are dealing with passfile.pjd2013-02-101-0/+2
| |
* | Use arc4random_buf(3) instead of reimplementing it.pjd2013-02-101-21/+5
| |
* | Correct spelling of "daemon". No .Dd bump.gavin2013-02-101-1/+1
| | | | | | | | | | Noticed by: Nathan Rich <Nathan.Rich dynastysystems com> MFC after: 3 days
* | find: In -execdir ... {} +, only pass one file per invocation.jilles2013-02-101-1/+7
| | | | | | | | | | | | | | This is inefficient but ensures that -execdir ... {} + does not mix files from different directories in one invocation; the command could not access some files. Files from the same directory should really be handled in one invocation but this is somewhat more complicated.
* | sigqueue(2): Fix typo (EEPERM -> EPERM).jilles2013-02-101-1/+1
| | | | | | | | MFC after: 3 days
* | - Move scratch data from the USB bus structure to the USB device structurehselasky2013-02-1011-229/+269
| | | | | | | | | | | | | | | | | | | | so that simultaneous access cannot happen. Protect scratch area using the enumeration lock. Also reduce stack usage in usbd_transfer_setup() by moving some big stack members to the scratch area. This saves around 200 bytes of stack. - Fix a whitespace. MFC after: 1 week
* | Fix correct use of USB header files.hselasky2013-02-101-2/+2
| |
* | - Streamline detach logic in wlan drivers, so thathselasky2013-02-1013-87/+237
| | | | | | | | | | | | | | | | | | | | | | freed memory cannot be used during detach. - Remove all panic() calls from the urtw driver because panic() is not appropriate here. - Remove redundant checks for device detached in device detach callbacks. - Use DEVMETHOD_END to mark end of device methods. MFC after: 2 weeks
* | Fix several unsafe pointer dereferences in the buffered_write()kib2013-02-101-3/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | function, implementing the sysctl vfs.ffs.set_bufoutput (not used in the tree yet). - The current directory vnode dereference is unsafe since fd_cdir could be changed and unreferenced, lock the filedesc around and vref the fd_cdir. - The VTOI() conversion of the fd_cdir is unsafe without first checking that the vnode is indeed from an FFS mount, otherwise the code dereferences a random memory. - The cdir could be reclaimed from under us, lock it around the checks. - The type of the fp vnode might be not a disk, or it might have changed while the thread was in flight, check the type. Reviewed and tested by: mckusick MFC after: 2 weeks
* | Remove a racy checks on resident and cached pages forattilio2013-02-101-12/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tmpfs_mapped{read, write}() functions: - tmpfs_mapped{read, write}() are only called within VOP_{READ, WRITE}(), which check before-hand to work only on valid VREG vnodes. Also the vnode is locked for the duration of the work, making vnode reclaiming impossible, during the operation. Hence, vobj can never be NULL. - Currently check on resident pages and cached pages without vm object lock held is racy and can do even more harm than good, as a page could be transitioning between these 2 pools and then be skipped entirely. Skip the checks as lookups on empty splay trees are very cheap. Discussed with: alc Tested by: flo MFC after: 2 weeks
* | Add nmtree to ITOOLS if it is installed on the host instead of keying offbrooks2013-02-091-2/+4
| | | | | | | | | | | | | | the BOOTSTRAPPING variable. The previous test was wrong because BOOTSTRAPPING is 0 in most cases. Tested by: db
* | Fix breakage introduced in r246318.kientzle2013-02-091-1/+2
| |
* | Add dtc to the build.kientzle2013-02-091-0/+1
| |
* | Cleanup the handling of address scopes. Announce in the INIT/INIT-ACKtuexen2013-02-0910-320/+228
| | | | | | | | | | | | | | only the supported address types. While there, do some whitespace cleanups. MFC after: 1 week
* | Reference something which exists instead of the non-existent runsockseadler2013-02-091-5/+5
| | | | | | | | | | | | | | | | program. PR: docs/173664 Submitted by: wkoszek Approved by: bcr (mentor)
* | Fix logic inversion.eadler2013-02-091-1/+1
| | | | | | | | | | | | PR: docs/174966 Submitted by: Christian Ullrich <chris+freebsd@chrullrich.net> Approved by: bcr (mentor)
* | Fix some NLS catalogs broken after r245888.antoine2013-02-091-1/+1
| |
* | Add more obsolete files.antoine2013-02-091-0/+4
| |
* | Fix a bug where HEARTBEATs were still sent in SHUTDOWN_SENT ortuexen2013-02-096-54/+57
| | | | | | | | | | | | | | SHUTDOWN_ACK_SENT state. While there, make the corresponding code consistent. MFC after: 1 week
* | mdoc: Remove EOL whitespace.joel2013-02-092-4/+4
| |
* | MFV r245512:delphij2013-02-0919-5/+1621
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Illumos zfs issue #3035 [1] LZ4 compression support in ZFS. LZ4 is a new high-speed BSD-licensed compression algorithm created by Yann Collet that delivers very high compression and decompression performance compared to lzjb (>50% faster on compression, >80% faster on decompression and around 3x faster on compression of incompressible data), while giving better compression ratio [1]. This version of LZ4 corresponds to upstream's [2] revision 85. Please note that for obvious reasons this is not backward read compatible. This means once a pool have LZ4 compressed data, these data can no longer be read by older ZFS implementations. Local changes: - On-stack hash table disabled and using kernel slab allocator instead, at this time. This requires larger kernel thread stack for zio workers. This may change in the future should we adjusted the zio workers' thread stack size. - likely and unlikely will be undefined if they are already defined, this is required for i386 XEN build. - Removed De Bruijn sequence based __builtin_ctz family of builtins in favor of the latter. Both GCC and clang supports these builtins. - Changed the way the LZ4 code detects endianness. - Manual pages modifications to mention the feature based on Illumos counterpart. - Boot loader changes to make it support LZ4 decompression. [1] https://www.illumos.org/issues/3035 [2] http://code.google.com/p/lz4/source/list Obtained from: Illumos (13921:9d721847e469) Tested on: FreeBSD/amd64 MFC after: 1 month
| * | Update vendor/illumos/dist and vendor-sys/illumos/distdelphij2013-01-1611-2/+1339
| | | | | | | | | | | | | | | to illumos-gate 13921:9d721847e469 (illumos zfs issue #3035 LZ4 compression support in ZFS and GRUB)
| * | Update and vendor-sys/illumos/dist to illumos-gatedelphij2013-01-161-2/+71
| | | | | | | | | | | | | | | 13910:f3454e0a097c (illumos zfs issue #3447: improve the comment in txg.c)
| * | Update vendor/illumos/dist and vendor-sys/illumos/distmm2012-11-222-1/+9
| | | | | | | | | | | | | | | to illumos-gate 13889:a67716f16746 (illumos zfs issue #3254)
| * | Update vendor-sys/illumos/dist to illumos-gate 13888:7204b3392a58mm2012-11-191-6/+2
| | | | | | | | | | | | (bugix for illumos zfs issue #3236)
| * | Update vendor/illumos/dist and vendor/illumos-sys/distmm2012-11-1412-71/+325
| | | | | | | | | | | | | | | to illumos-gate 13887:196932ec9e6a (illumos zfs issue #3236)
| * | Update vendor/illumos/dist and vendor/illumos-sys/distmm2012-11-142-1/+9
| | | | | | | | | | | | | | | to illumos-gate 13886:e3261d03efbf (illumos zfs issue #3349)
| * | Update vendor-sys/illumos/dist to illumos-gate 13879:4eac7a87eff2mm2012-11-089-23/+75
| | | | | | | | | | | | (illumos ZFS issues #3329, #3330, #3331, #3335)
| * | Update vendor/illumos/dist and vendor/illumos-sys/distmm2012-11-084-21/+75
| | | | | | | | | | | | | | | to illumos-gate 13871:a9c12c2c1647 (zfs changes, illumos issues #3306, #3321)
| * | Update vendor/illumos/dist and vendor-sys/illumos/distmm2012-11-0813-32/+199
| | | | | | | | | | | | | | | | | | | | | to illumos-gate 13869:921a99998bb4 (illumos ZFS issue #3246 ZFS I/O deadman thread) Note: illumos disables deadman logic by default on vmware and sparc
| * | Update vendor-sys/illumos/dist to illumos-gate 13866:040f4b0699eemm2012-11-082-2/+12
| | | | | | | | | | | | (no FreeBSD-relevant changes - illumos issue #3301)
| * | Update vendor/illumos/dist and vendor-sys/illumos/distmm2012-11-083-3/+103
| | | | | | | | | | | | | | | to illumos-gate 13849:3468a95b27cd (illumos ZFS issues #3145, #3212, #3258)
| * | Update vendor/illumos/dist and vendor-sys/illumos/distmm2012-09-264-15/+58
| | | | | | | | | | | | | | | to illumos-gate 13836:37bf491c434c (illumos ZFS issues #2678, #2811, #3139, #3189, #3208)
| * | Update vendor/illumos/dist and vendor/illumos-sys/distmm2012-09-0930-178/+195
| | | | | | | | | | | | | | | to illumos-gate 13805:e3a9ae14a119 (zfs changes, illumos issues #1884, #3006)
OpenPOWER on IntegriCloud