summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* MFC r287927:delphij2015-10-011-2/+2
| | | | | | | Use strlcpy() instead of strncpy() because subsequent mkstemps expects the string be nul-terminated. Reviewed by: neel
* MFC r288278:markj2015-09-301-1/+4
| | | | Document the interface for applying advice up to the end of a file.
* MFC r288276:markj2015-09-301-2/+2
| | | | Fix argument ordering in vn_printf().
* MFC r287806:markj2015-09-301-3/+6
| | | | | Preserve the device queue status before retrying a sense request in chdone().
* MFC 269727:jhb2015-09-302-11/+26
| | | | | | | | | | | | | | | | | | | | | Update vmstat usage for last-argument count/wait parameters Correct the usage in both the manpage and in usage() to indicate that the wait interval and repetition count may be given either with the respective -w/-c arguments, or as the final positional arguments. [0] The corresponding code to implement the positional arguments has been conditional on the (always-enabled) BACKWARD_COMPATIBILITY macro since the original 4.4-lite import. It's no longer reasonable to remove the functionality, so remove the macro and conditional instead. Note that multiple disks may be given on the command line. While here, sort arguments and apply minor mdoc fixes. PR: 184755 [0]
* MFC r288154:bdrewery2015-09-291-1/+1
| | | | Similar to r266147, don't define PROG in the test subdirs.
* MFC r288091:bdrewery2015-09-291-9/+5
| | | | vfs_mountroot_shuffle() never returns non-zero.
* MFC r287979:bdrewery2015-09-291-4/+0
| | | | Remove redundant beforeinstall.
* MFC r287935:bdrewery2015-09-291-7/+9
| | | | Optimize makeman slightly by removing uneeded cat and extra test -s.
* Document SA-15:24.gjb2015-09-291-0/+7
| | | | Sponsored by: The FreeBSD Foundation
* MFC 283613,287374:jhb2015-09-292-30/+21
| | | | | | | | | Use the cpuset API more consistently: - Fetch the root set from cpuset_getaffinity() instead of assuming all CPUs from 0 to hw.ncpu are the root set. - Use CPU_SETSIZE and CPU_FFS. - The original notion of halted CPUs the manpage and code refers to is gone. Use the term "available" instead.
* The Sun RPC framework uses a netbuf structure to represent thedelphij2015-09-291-5/+19
| | | | | | | | | | | | | | | | | | | transport specific form of a universal transport address. The structure is expected to be opaque to consumers. In the current implementation, the structure contains a pointer to a buffer that holds the actual address. In rpcbind(8), netbuf structures are copied directly, which would result in two netbuf structures that reference to one shared address buffer. When one of the two netbuf structures is freed, access to the other netbuf structure would result in an undefined result that may crash the rpcbind(8) daemon. Fix this by making a copy of the buffer that is going to be freed instead of doing a shallow copy. Security: FreeBSD-SA-15:24.rpcbind Security: CVE-2015-7236
* MFC r288092:bdrewery2015-09-291-2/+0
| | | | | Avoid adding duplicates into OBJS. bsd.lib.mk already handles adding entries to OBJS based on SRCS.
* MFC r287978:bdrewery2015-09-291-1/+1
| | | | Fix LIBRARIES_ONLY
* MFC r288111: Allow AHCI driver attach to all known chips reporting RAID class.mav2015-09-291-1/+4
| | | | Reported by: Michael BlackHeart <amdmiek@gmail.com>
* MFC r287819: Make CAM log errors that make it wait.mav2015-09-292-3/+6
| | | | | Waiting can take minutes, and it would be good for user to know what is going on.
* MFC r287770: MFV r277429:delphij2015-09-282-7/+17
| | | | | | | | | | | | | | | Document -S option when zfs inherit fails on quota and in manual pages. Illumos ZFS issues: 5410 Document -S option to zfs inherit https://illumos.org/issues/5410 5412 Mention -S option when zfs inherit fails on quota https://illumos.org/issues/5412 illumos/illumos-gate@5ff8cfa92ec8ea0f8593ad21aa2a04829b0ef5ea
* MFC r287289: Attach pass driver to LUNs is OFFLINE state.mav2015-09-287-11/+18
| | | | | Previously such LUNs were silently ignored. But while they indeed unable to process most of SCSI commands, some, like RTPG, they still can.
* MFC r266588alc2015-09-271-1/+1
| | | | | | There is no reason to perform the pmap_remove() on the kernel pmap while the kmem object lock is held. Do the pmap_remove() before acquiring the kmem object lock.
* MFC r283795alc2015-09-271-0/+1
| | | | Document vm_page_alloc_contig()'s support for the VM_ALLOC_NODUMP option.
* MFC r288025alc2015-09-271-6/+11
| | | | | | | | | | | | | Correct a non-fatal error in vm_pageout_worker(). vm_pageout_worker() should not assume that vm_pages_needed will remain set while it sleeps. Other threads can clear vm_pages_needed by performing a sufficient number of vm_page_free() calls, e.g., process termination. The effect of this error was that vm_pageout_worker() would free and/or launder pages when, in fact, there was no shortage of free pages. Rewrite a nearby comment to describe all of the possible cases and not just the most common case. The problem being that the comment made the most common case seem like the only case.
* MFC r285282alc2015-09-272-15/+20
| | | | | | | | | | | | | | | The intention of r254304 was to scan the active queue continuously. However, I've observed the active queue scan stopping when there are frequent free page shortages and the inactive queue is steadily refilled by other mechanisms, such as the sequential access heuristic in vm_fault() or madvise(2). To remedy this problem, record the time of the last active queue scan, and always scan a number of pages proportional to the time since the last scan, regardless of whether that last scan was a timeout-triggered ("pass == 0") or free-page-shortage-triggered ("pass > 0") scan. Also, on a timeout-triggered scan, allow a full scan of the active queue when the system is short of inactive pages.
* MFC r286513, r286784alc2015-09-271-53/+76
| | | | | | | | | | | | | | | Revise the text about the atomicity of the defined operations across multiple processors. In particular, clearly state that the operations are always atomic when they are applied to the default memory type that is used by the kernel (and applications). Stop describing an acquire operation as a read barrier and a release operation as a write barrier. That description has never been correct, and it has caused confusion. Also, explicitly say that a thread doesn't see its own accesses being reordered. The reordering of a thread's accesses is only (potentially) visible to another thread.
* MFC r285428alc2015-09-271-4/+4
| | | | Correct the description of MADV_DONTNEED.
* MFC r288001:kib2015-09-272-17/+17
| | | | Use tabs for indend.
* MFC r287121alc2015-09-271-6/+10
| | | | Testing whether a page is dirty does not require the page lock.
* MFC r288000:kib2015-09-2711-96/+127
| | | | Add support for weak symbols to the kernel linkers.
* MFC r284654alc2015-09-271-3/+5
| | | | Avoid pmap_is_modified() on pages that can't be mapped.
* MFC r287747: Add ID for Intel Panther Point KT Controllermav2015-09-271-0/+1
| | | | | | Found on ASUS P8Q77-M motherboard. Submitted by: Dmitry Luhtionov <dmitryluhtionov@gmail.com>
* MFC r287944alc2015-09-271-1/+2
| | | | Eliminate (many) unnecessary calls to pmap_remove_all().
* MFC r288044:kib2015-09-271-2/+9
| | | | | Ensure that when a blockable open of fifo returns success, a valid file descriptor opened for complimentary access exists as well.
* MFC r287674, r287675. Fix ipfilter bug 3600459 NAT bucket count wrong.cy2015-09-261-1/+2
| | | | Obtained from: ipfilter cvs repo r1.48.2.25
* MFC: r288116jkim2015-09-251-5/+3
| | | | Remove unsupported S5 (power off) state.
* MFC: r267248, r267260, r267261, r267320jkim2015-09-251-1/+5
| | | | Document 'k' option for acpiconf(8).
* MFC 288208jpaetzel2015-09-251-1/+1
| | | | | | Fix typo. Sponsored by: iXsystems
* MFC r287650:delphij2015-09-251-4/+4
| | | | | | Use strlcpy() in favor of strncpy() as it's defined to have a nul character at the end of string buffer, and the code context do expects this to behave correctly (e.g. strchr).
* MFC r286010: ar: enable deterministic mode by defaultemaste2015-09-252-7/+23
| | | | | | | | | | | | | Ar cannot handle UIDs with more than 6 digits, and storing the mtime, uid, gid and mode provides little to negative value anyhow for ar's uses. Turn on deterministic (-D) mode by default; it can be disabled by the user with -U. Also MFC follow-on fixes in r286024 and r287324. PR: 196929 Relnotes: Yes Sponsored by: The FreeBSD Foundation
* MFC r274349: Add /usr/lib/debug directory to hier(7)emaste2015-09-241-1/+3
| | | | | | The canonical standalone debug directory established by the GNU toolchain is /usr/lib/debug, and we use it when WITH_DEBUG_FILES is set. Mention it in the file system hierarchy page.
* MFC r279248: Unconditionally install debug directory hierarchyemaste2015-09-241-8/+3
| | | | | | | | | This avoids various failure modes (e.g., when building and installing a single binary with debug data on a system that otherwise does not have it enabled). It is also consistent with the way other directory hierarchies are handled (e.g. share/man).
* MFC r276636: add NT_PPC_VMX note type definitionemaste2015-09-241-0/+1
|
* MFC r279698: Update the ELFOSABI_* constants.emaste2015-09-241-0/+2
| | | | | | Two new operating systems have been added in the meantime. ELFOSABI_FENIXOS that uses value 16 (published in the latest draft) and ELFOSABI_CLOUDABI that uses value 17 (to be published in the next draft).
* MFC r280858: Fill out arm64 dynamic relocation #definesemaste2015-09-241-0/+4
|
* MFC r281308: Add R_AARCH64_NONE, the null relocation.emaste2015-09-241-0/+1
|
* MFC r275903: Add AArch64 64-bit relocation values.emaste2015-09-241-0/+12
|
* MFC r283929: Correct grdc(1) 12-hour display between 12:00 and 13:00emaste2015-09-241-5/+5
| | | | | | | PM starts at 12:00, not 13:00. PR: 194291, 200133 Submitted by: Nick Price
* MFC r256692: Fix .debug_line prologue header length calculation for 64-bit DWARFemaste2015-09-241-10/+8
| | | | | | | | The header_length field is the number of bytes following the field to the first byte of the line number program. The hard-coded constants previously here (4 + 2 + 4) were correct only for 32-bit DWARF. Sponsored by: DARPA, AFRL
* MFC r256643: makesyscalls.sh: Error on failure to open specified config fileemaste2015-09-241-1/+1
|
* MFC r284551: Import libcxxrt master e64e93f.emaste2015-09-241-64/+438
| | | | | | | | This includes a number of demangler fixes obtained from upstream ELF Tool Chain. PR: 200913 Sponsored by: The FreeBSD Foundation
* MFC r287340: vtfontcvt: fix buffer overflow for non-default size .hex fontsemaste2015-09-241-9/+35
| | | | | | And r287336 which introduced xmalloc. Sponsored by: The FreeBSD Foundation
* MFC r282916: Add ELF machine EM_IAMCU, 32-bit Intel MCUemaste2015-09-242-0/+2
| | | | It is e_machine 6, which was previously reserved for 486.
OpenPOWER on IntegriCloud