summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* MFC r289379:bdrewery2015-12-042-32/+0
| | | | Remove directories disconnected since r169718.
* MFC r289375:bdrewery2015-12-041-2/+2
| | | | Fix wrong use of .for; the iteration variable is not used in the loop.
* MFC r289374:bdrewery2015-12-041-1/+0
| | | | Remove excess .else
* MFC r289360,r289361,r289378,r289430,r289605,r289676:bdrewery2015-12-044-53/+54
| | | | | | | | | | | | | | | | | | | r289360: Add temporary workaround for .MAKE being applied to _worldtmp, since r251750. r289361: Consider top-level targets to be .PHONY as bmake won't build them otherwise if a file with the same name is found in the directory. r289378: Mark sub-make targets as .MAKE and .PHONY to handle -n and always-build properly. r289430: Remove .MAKE from targets that do more than just run sub-makes, such as calling rm or mtree. r289605: Add missing .PHONY for parallel subdir target. r289676: Add some missing '+', .MAKE, and .PHONY modifiers.
* MFC r284105,r284106,r284163:bdrewery2015-12-044-71/+98
| | | | | | | | | | | | r284105: Cleanup some indentation issues. r284106: Implement '-s' to copy as symlink, similar to the current -l link(2) handling. r284163: Cleanup some style(9) issues. Relnotes: yes
* MFC r291001:bdrewery2015-12-041-0/+3
| | | | | | ipfw: Fix dynamic IPv6 rules showing junk for non-specified address masks. Relnotes: yes
* MFH (r287917, r287918, r289063): upgrade to latest Unbounddes2015-12-04124-621/+2966
| | | | | | | | MFH (r283301, r289592, r291582): rc script improvements MFH (r287880): respect manually configured forwarders when using DHCP MFH (r289321): deconfuse man page PR: 184047 203580 204931
* MFC r290913,r291181:ngie2015-12-042-0/+24
| | | | | | | | | | | | | | | | | | | r290913: Port contrib/netbsd-tests/kernel/t_mqueue.c to FreeBSD - Add missing headers - Ensure mqueuefs is loaded - Make sure the mqueuefs path is absolute and relative to / - Cast the result of mq_open returning -1 to (mqd_t) to mute a compiler warning Sponsored by: EMC / Isilon Storage Division r291181: Integrate contrib/netbsd-tests/kernel/t_mqueue into the FreeBSD test suite as tests/sys/kern/mqueue_test
* MFC r291180:ngie2015-12-041-2/+3
| | | | | | | | | | Fix up convert.c generation - Use a temporary file for convert.c to reduce likelihood of an interrupted build resulting in bad code being written to convert.c - Truncate the file instead of appending to it to ensure that the file being touched will not result in duplicate declarations/definitions from kern_acct.c if/when kern_acct.c changes.
* MFC r291359,r291362:ngie2015-12-041-1/+4
| | | | | | | | | | | | | r291359: Skip over lines that start with # (comments) r291362: r291359 was incorrect. Skip over tokens that start with `#' as fgetln can return more than one '\n' delimited line in a buffer Handle empty lines too, just in case
* MFC r291363:ngie2015-12-049-583/+582
| | | | Clean up trailing whitespace
* MFC r291358:ngie2015-12-042-2/+2
| | | | | Remove cnftp.bjpu.edu.cn (it no longer resolves) Add localhost to resolv/mach for parity with nss/mach
* MFC r291379:kib2015-12-041-5/+11
| | | | | Move the comment about resident pages preventing vnode from leaving active list, into the header comment for vdrop().
* MFC r284527,r284528,r284608,r285219,r291166,r291167:ngie2015-12-041-6/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | r284527 (by imp): Update style.9 to reflect consensus on developer's mailing list allowing redundant braces. Differential Revision: https://reviews.freebsd.org/D2842 r284528 (by imp): Bump date. Submitted by: Xin Li r284608 (by imp): Back out contested change until dispute is resolved. This proved to be more contentious than I expected. r285219 (by imp): The results of the vote are in. This reflects that vote. Single line statements inside of braces is recognized as an acceptable style. http://reviews.freebsd.org/V3 As always, this isn't license for wholesale change, etc. r291166: Recommend cc -Wall instead of gcc -Wall r291167: Bump .Dd
* Merge OpenSSL 1.0.1q.jkim2015-12-03491-2736/+2518
|
* Fix bad MFC (r291173)rodrigc2015-12-031-1/+1
| | | | | | Replace SRCTOP with the relevant path via .CURDIR Reviewed by: bdrewery
* MFC r291024:royger2015-12-032-20/+4
| | | | | | xen: fix dropping bitmap IPIs during resume Sponsored by: Citrix Systems R&D
* MFC: r291035rmacklem2015-12-022-1/+6
| | | | | | | | | | | | The problem report was for a crash that happened when smbfs was trying to do a mount. Given the backtrace, it appears that the crash occurred when smb_vc_create() failed and then called smb_vc_put() with vcp->vc_iod == NULL. smb_vc_put() subsequently called smb_vc_disconnect() with vcp->vc_iod == NULL, causing the crash. This patch adds a check for vcp->vc_iod != NULL in smb_vc_disconnect() to avoid the crash. It also fixes the case in smb_vc_create() where kproc_create() fails so that it destroys the mutexes and sets vcp->vc_iod == NULL before free()'ing the iod structure.
* MFC r291301:fabient2015-12-021-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | The r241129 description was wrong that the scenario is possible only for read locks on pcbs. The same race can happen with write lock semantics as well. The race scenario: - Two threads (1 and 2) locate pcb with writer semantics (INPLOOKUP_WLOCKPCB) and do in_pcbref() on it. - 1 and 2 both drop the inp hash lock. - Another thread (3) grabs the inp hash lock. Then it runs in_pcbfree(), which wlocks the pcb. They must happen faster than 1 or 2 come INP_WLOCK()! - 1 and 2 congest in INP_WLOCK(). - 3 does in_pcbremlists(), drops hash lock, and runs in_pcbrele_wlocked(), which doesn't free the pcb due to two references on it. Then it unlocks the pcb. - 1 (or 2) gets wlock on the pcb, runs in_pcbrele_wlocked(), which doesn't report inp as freed, due to 2 (or 1) still helding extra reference on it. The thread tries to do smth with a disconnected pcb and crashes. Submitted by: emeric.poupon@stormshield.eu Reviewed by: glebius@ Sponsored by: Stormshield Tested by: Cassiano Peixoto, Stormshield
* Revert MFC of r291023:royger2015-12-021-3/+0
| | | | | Due to the delta between HEAD and stable/10 event channel code, this fix is not needed on stable/10 and was also causing build issues. Revert it.
* MFC r291023:royger2015-12-021-0/+3
| | | | | | xen/intr: properly dispose event channels on resume Sponsored by: Citrix Systems R&D
* MFC r291022:royger2015-12-021-3/+12
| | | | | | x86/intr: allow mutex recursion in intr_remove_handler Sponsored by: Citrix Systems R&D
* MFC r269902,r270101:ngie2015-12-0121-86/+126
| | | | | | | | | | | | | | | | | | | | | | | | | | | r269902: Convert bin/sh/tests to ATF The new code uses a "test discovery mechanism" to determine what tests are available for execution The test shell can be specified via: kyua test -v test_suites.FreeBSD.bin.sh.test_shell=/path/to/test/sh Sponsored by: EMC / Isilon Storage Division Approved by: jmmv (mentor) Reviewed by: jilles (maintainer) r270101 (by jilles): sh: Don't hardcode relative paths in the tests stderr files. These paths have had to be adjusted to changes in the testsuite runner several times, so modify the tests to remove the need for such adjustment. A cp in functional_test.sh is now unneeded, but this matters little in performance.
* MFC r285118:ngie2015-12-011-0/+1
| | | | | | | | | | | | | r285118 (by jmmv): Add missing shebang Plain test programs are not preprocessed by the build system (as opposed to ATF test cases, which automatically gain a shebang pointing at atf-sh), so we must take care of providing the shebang ourselves. I'm not sure why this was not causing problems with Kyua 0.11, but the upcoming 0.12 release chokes on this particular issue.
* MFC r285140:ngie2015-12-014-27/+135
| | | | | | | | | | | | | | r285140 (by oshogbo): Add fdclose(3) function. This function is equivalent to fclose(3) function except that it does not close the underlying file descriptor. fdclose(3) is step forward to make FILE structure private. Reviewed by: wblock, jilles, jhb, pjd Approved by: pjd (mentor) Differential Revision: https://reviews.freebsd.org/D2697
* MFC r278932:ngie2015-12-013-7/+1
| | | | | | | | | | | r278932 (by pfg): libc: clean some set-but-not-used errors. These were found by gcc 5.0 on Dragonfly BSD, however I made no attempt to silence the false positives. Obtained from: DragonFly (cf515c3a6f3a8964ad592e524442bc628f8ed63b)
* MFC r269326:ngie2015-12-011-0/+1
| | | | | | r269326 (by n_hibma): Fix the example: free the memory that was allocated by getline().
* MFC: r290970rmacklem2015-12-011-1/+3
| | | | | | | | | | mnt_stat.f_iosize (which is used to set bo_bsize) must be set to the largest size of buffer cache block or the mapping of the buffer is bogus. When a mount with rsize=4096,wsize=4096 was done, f_iosize would be set to 4096. This resulted in corrupted directory data, since the buffer cache block size for directories is NFS_DIRBLKSIZ (8192). This patch fixes the code so that it always sets f_iosize to at least NFS_DIRBLKSIZ.
* MFC r291004:smh2015-12-011-5/+22
| | | | | | Fix early kernel dump via dumpdev env Sponsored by: Multiplay
* MFC r288153:smh2015-12-011-1/+8
| | | | | | Use kenv 'dumpdev' in the same way as etc/rc.d/dumpon Sponsored by: Multiplay
* MFC r291143: Update Qlogic 23XX firmware from 3.03.26 to 3.03.28mav2015-11-302-14368/+15112
|
* MFC r291132: Update firmware for QLogic 22xx from 2.02.06 to 2.02.08.mav2015-11-301-4720/+5180
|
* MFC r289755: Remove residual verbosity.mav2015-11-301-29/+10
| | | | firmware_register() already reports errors.
* MFC r291365, r291369: One more round of port scanner rewrite.mav2015-11-306-266/+181
| | | | | | | - Make scan aborted by event restart immediately and infinitely. - Improve handling of some loop events from firmware. - Remove loop down timer, adding its functionality to scanner thread. - Some more unification and simplification.
* MFC r291265: Rename ASYNC_LIP_F8 to ASYNC_LIP_NOS_OLS_RECV.mav2015-11-303-3/+3
| | | | New name better repsents its meaning for modern chips.
* MFC r291221: Remove "disable" hint, which duplicates system-wide "disabled".mav2015-11-304-36/+0
|
* MFC r291209: Fix target mode support for Qlogic 2200 FC adapters.mav2015-11-306-30/+30
| | | | | Now target mode works for all supported FC adapters except ancient 2100, which is not tested.
* MFC r291188: Rip off target mode support for parallel SCSI QLogic adapters.mav2015-11-3018-8907/+161
| | | | | | | Hacks to enable target mode there complicated code, while didn't really work. And for outdated hardware fixing it is not really interesting. Initiator mode tested with Qlogic 1080 adapter is still working fine.
* MFC r290138, r290139: Some updates to isp(4) manual page.mav2015-11-301-29/+27
|
* MFC r275374: Document ISP 2532 support and hint.isp.0.vports tunable.mav2015-11-301-1/+5
|
* MFC r291163:mav2015-11-301-3/+18
| | | | | | | | Explicitly call SEND CHANGE REQUEST for pre-24xx chips in target mode. While later firmware always registers for RSCN requests, older one does it only in initiator mode. But in target mode there RSCN can be the only way to detect gone intiator.
* MFC r291162: Generate fake ISPASYNC_CHANGE_PDB on fake login on pre-24xx.mav2015-11-301-1/+7
| | | | This makes port scanner fix absent port ID for added initiator.
* MFC r291161: Gracefully stop firmware before resetting chip when changing role.mav2015-11-301-2/+25
|
* MFC r291160: Add some more asynchronous event status codes.mav2015-11-302-23/+45
|
* MFC r291159: Add more mailbox command codes.mav2015-11-302-47/+74
|
* MFC r291147: Increase maximal value of vports tunable to 254.mav2015-11-301-1/+1
| | | | | I am not sure this value is really viable yet, but that is what chips officially support in NPIV mode (in loop mode maximum is 125).
* MFC r291144: Fix target mode with fabric for pre-24xx chips.mav2015-11-304-19/+70
| | | | | | | For those chips we are not receiving login events, adding initiators based on ATIO requests. But there is no port ID in that structure, so in fabric mode we have to explicitly fetch it from firmware to be able to do normal scan after that.
* MFC r291099: Some cosmetics for ancient cards.mav2015-11-301-3/+7
|
* MFC r291092: Optimize SNS_GID_FT request scratch memory usage.mav2015-11-301-13/+14
| | | | Now with present 4K of scratch we can fetch up to 508 ports (16 more).
* MFC r291080: Another round of port scanner rewrite.mav2015-11-306-632/+292
| | | | | | This change simplifies and unifies port adding/updating for loop and fabric scanners. It also fixes problems with scanning restarts due to concurrent port databases changes. It also fixes many cosmetic issues.
OpenPOWER on IntegriCloud