summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* MFC r297535:kib2016-04-112-2/+0
| | | | Remove unused variable.
* MFC 297358gnn2016-04-111-0/+1
| | | | Add ethertype reserved for network testing
* MFC r297557:ache2016-04-111-1/+1
| | | | SJIS encoding don't have single byte characters >= 224
* MFC 297673:mp2016-04-101-2/+2
| | | | | | | Revert r296969 by removing SAVESIGVEC and switching to fork instead. This fixes usage with system libraries which maintain their own signal state. PR: 208132
* MFC r297311:kib2016-04-103-3/+19
| | | | Ensure that TRIMs are finished before unmount destroys ufsmount.
* MFC r297308:kib2016-04-101-2/+4
| | | | Style: wrap long lines.
* MFC r278817: touch: Fix some subtle bugs related to NULL times fallback:jilles2016-04-101-28/+11
| | | | | | | | | | * Do not subvert vfs.timestamp_precision by reading the time and passing that to utimensat(). Instead, pass UTIME_NOW. A fallback to a NULL times pointer is no longer used. * Do not ignore -a/-m if the user has write access but does not own the file. Leave timestamps unchanged using UTIME_OMIT and do not fall back to a NULL times pointer (which would set both timestamps) if that fails.
* MFC r277645: cp,mv,touch: Set timestamps with nanosecond precision.jilles2016-04-103-51/+48
| | | | This uses utimensat().
* MFCR r297519, r297525 (by pfg@):dchagin2016-04-101-3/+4
| | | | Move Linux specific times tests up to guarantee the values are defined.
* MFC r259017: test: Avoid looking up again the type of a known binaryjilles2016-04-091-7/+6
| | | | operator.
* MFC r258799: test: Simplify the code by unifying op_num and op_type.jilles2016-04-091-78/+75
| | | | The global variable t_wp_op is no longer needed.
* MFC r281086: utimensat: Correct Capsicum required capability rights.jilles2016-04-091-2/+4
|
* MFC r287753: setuid(2): Suggest O_CLOEXEC instead of fcntl(F_SETFD).jilles2016-04-091-7/+2
|
* MFC r297360: sh: Fix use-after-free if a trap replaces itself.jilles2016-04-093-1/+15
| | | | The mergeinfo for this commit was accidentally added to the previous commit.
* MFC r278818: sh: Add stsavestr(), like savestr() but allocates usingjilles2016-04-094-12/+16
| | | | stalloc().
* MFC r295385: semget(): Check for [EEXIST] error first.jilles2016-04-092-5/+14
| | | | | | | | | | Although POSIX literally permits failing with [EINVAL] if IPC_CREAT and IPC_EXCL were both passed, the semaphore set already exists and has fewer semaphores than nsems, this does not allow an application to retry safely: if the [EINVAL] is actually because of the semmsl limit, an infinite loop would result. PR: 206927
* MFC r294924asomers2016-04-081-1/+1
| | | | | | | | | syslogd: Enable repeated line compression for lines of any length. Enable repeated line compression for lines of any length, instead of only short lines. AFAICT repeated line compression was limited to short lines as a RAM optimization, which made sense when karels added it in 1988, but no longer. The penalty is a paltry 904B of RAM per file logged.
* MFC 270231asomers2016-04-081-3/+9
| | | | | | | | | Misc fixes suggested by Coverity. sbin/devd/tests/client_test.c * In the event that popen fails, don't dereference its return value. * Fix array overwrite in the stream and seqpacket tests. * Close sockets at the end of successful ATF tests.
* MFC r295384: semget(2): Add missing [EINVAL] conditions.jilles2016-04-081-1/+12
| | | | PR: 206927
* Revert svn 297681 as it has been deprecated by svn 297575.sbruno2016-04-082-16/+0
| | | | Submitted by: Tomoaki AOKI <junchoon@dec.dakura.ne.jp>
* MFC r266615: Increase taskqueue thread priority from idle to PRIBIO.mav2016-04-081-3/+1
| | | | | | Idle priority is not even time-share, so if system is busy in any way, those events may never be executed. Since in some cases system waits for events processed by that thread, that may cause deadlocks.
* MFC r297237sbruno2016-04-072-0/+16
| | | | Add 4k enabled cam quirks for Samsung SM863 Series SSDs
* MFC r297255: Unify ichwd(4) attachment messages in dmesg.mav2016-04-071-8/+6
|
* MFC r286890 (by fabient):mav2016-04-072-170/+335
| | | | Add ichwd TCO version 3 support (Bay Trail / Rangeley...)
* MFC r294520:hselasky2016-04-072-22/+22
| | | | | | | | | | | | LinuxKPI atomic fixes: - Fix implementation of atomic_add_unless(). The atomic_cmpset_int() function returns a boolean and not the previous value of the atomic variable. - The atomic counters should be signed according to Linux. - Some minor cosmetics and styling while at it. Reviewed by: alfred @ Sponsored by: Mellanox Technologies
* MFC r297444:hselasky2016-04-071-2/+2
| | | | | | Fix bugs in currently unused bit searching loop. Sponsored by: Mellanox Technologies
* MFC r296934:hselasky2016-04-071-0/+1
| | | | | | | | Fix crash in krping when run as a client due to NULL pointer access. Initialize pointer in question which is used only when fast registers mode is selected. Sponsored by: Mellanox Technologies
* MFC r296987:hselasky2016-04-071-2/+3
| | | | | | Add missing curly brackets in for loop. Sponsored by: Mellanox Technologies
* MFC r296910:hselasky2016-04-072-2/+3
| | | | | | | | | | Use hardware computed Toeplitz hash for incoming flowids Use the Toeplitz hash value as source for the flowid. This makes the hash value more suitable for so-called hash bucket algorithms which are used in the FreeBSD's TCP/IP stack when RSS is enabled. Sponsored by: Mellanox Technologies
* MFC r296909:hselasky2016-04-072-0/+7
| | | | | | | | | | | | | Fix witness panic in the ipoib_ioctl() function when unloading the ipoib module. The bpfdetach() function is trying to turn off promiscious mode on the network interface it is attached to while holding a mutex. The fix consists of ignoring any further calls to the ipoib_ioctl() function when the network interface is going to be detached. The ipoib_ioctl() function might sleep. Sponsored by: Mellanox Technologies
* MFC r294526:hselasky2016-04-071-0/+1
| | | | | | | Add missing atomic wrapper macro. Reviewed by: alfred @ Sponsored by: Mellanox Technologies
* MFC r296342:hselasky2016-04-071-2/+0
| | | | | | | Allow for overlapping quirk device ranges. Prior to this patch only the first device entry matching the USB vendor, product and revision would be searched for quirks. After this patch all device entries will be searched for quirks.
* MFC r296902:hselasky2016-04-071-17/+11
| | | | | | | | | | | | | | Improve detection of extended QSFP diagnostics. The standards in the QSFP diagnostics area are not clear when the additional measurements are present or not. Use a valid temperature reading as an indicator for the presence of voltage and TX/RX power measurements. Sponsored by: Mellanox Technologies Tested by: Netflix Differential Revision: https://reviews.freebsd.org/D5391 Reviewed by: gallatin
* MFC r295186jhibbits2016-04-072-5/+5
| | | | | | | | | | Align signal stack pointer to 16 bytes. The stack must be aligned to 16 bytes at all times. Clang 3.8 is especially adamant about this, and causes strange behavior and segmentation faults if it is not the case. PR: kern/206810
* MFC r297155davidcs2016-04-062-20/+75
| | | | Modifications to achieve a common source base from FreeBSD7.x thru 10.x
* MFC r297183:ngie2016-04-061-6/+4
| | | | | | | | | | Use a SKIP testplan instead of bailing out if/when the tester isn't root, or the geom class can't be loaded cleanly [*] This makes sure that scenarios that are easy to hit aren't counted as false positives with kyua test PR: 208101
* MFC 290102sbruno2016-04-0510-0/+3056
| | | | | | | | | | | - Include usr.sbin/mpsutil for management of mps(4) and mpr(4) utilities. - Thanks to scottl and bapt for making this happen. Submitted by: bapt scottl Reviewed by: kbowling Relnotes: yes Differential Revision: https://reviews.freebsd.org/D5529
* MFC r297488sbruno2016-04-051-8/+7
| | | | | | | | | Repair an overflow condition where a user could submit a string that was not getting a proper bounds check. PR: 206761 Submitted by: sson Reviewed by: cturt@hardenedbsd.org
* MFC r295147:ume2016-04-051-3/+3
| | | | | | | | | Make dynamic link of libiconv from ports work again. The symbols of libiconv from ports were changed to have prefixed. Since we have iconv in our libc these days, we don't need it on 10.X and later. However, 9.X still need this.
* CAM: Generalize 4k quirk to all Samsung MZ7* SSDsdumbbell2016-04-052-20/+10
| | | | | | | | | | | | This adds Samsung PM851 to the list. It can be found in Lenovo Thinkpad T440 for instance. MFC of: r297370 Reviewed by: Kevin Bowling <kevin.bowling@kev009.com>, Jason Wolfe <j@nitrology.com> Approved by: Kevin Bowling <kevin.bowling@kev009.com>, Jason Wolfe <j@nitrology.com> Differential Revision: https://reviews.freebsd.org/D5753
* MFC r297179: Optimize IPMI watchdog patting.mav2016-04-051-21/+32
| | | | | | | | | | | | | | Set watchdog timer parameters only when they really need to be changed. In other cases just restart the timer with single Reset command instead of two (Set and Reset). From one side this visually reduces amount of CPU time burned in tight loop waiting while some slow BMC configures its watchdog hardware, that seems to be much more complicated task then just resetting the timer. From another side on some BMCs those slow Set commands sometimes tend to timeout, that leads to noisy log messages and even more CPU time burned, so avoiding them can provide even bigger bonuses.
* MFC r297364:wblock2016-04-042-2/+2
| | | | Fix two more unhappy instances of "user land".
* MFC r297330:wblock2016-04-041-11/+9
| | | | | Adjust misleading wording of the -G option and simplify a few surrounding sentences. From a discussion on -ports.
* MFC: r292563marius2016-04-043-7/+7
| | | | | | | | loader.efi: strip trailing whitespace MFC: r293244 (remainder missing in r294275) Introduce and use new EFI_ERROR_CODE macro for EFI errors
* Now that 10.3-RELEASE is out, move stable/10 back to STABLE.marius2016-04-041-1/+1
| | | | Approved by: re (implicit)
* MFC r297421: Plug open count leak on zvol rename.mav2016-04-041-0/+5
|
* MFC r297420: Switch from using make_dev_p() to make_dev_s() to close races.mav2016-04-041-29/+28
|
* MFC r297337: Pass through error code from make_dev_p().mav2016-04-041-3/+4
| | | | ENAMETOOLONG is much more informative in logs then ENXIO.
* MFC r297232: Unify ignoring EEXIST from zvol_create_minor().mav2016-04-041-1/+2
| | | | | | This fixes creation of zvol devices for snapshots during zfs receive, that previously failed with "ZFS WARNING: Unable to create ZVOL" message. This solution is not perfect, but IMHO better then it was before.
* MFC r277504 (by will): Remove commented log messages.mav2016-04-041-2/+0
|
OpenPOWER on IntegriCloud