summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* MFV ntp-4.2.8p3 (r284990).cy2015-07-05500-14506/+58562
|\ | | | | | | | | | | | | | | Approved by: roberto, delphij Security: VuXML: 0d0f3050-1f69-11e5-9ba9-d050996490d0 Security: http://bugs.ntp.org/show_bug.cgi?id=2853 Security: https://www.kb.cert.org/vuls/id/668167 Security: http://support.ntp.org/bin/view/Main/SecurityNotice#June_2015_NTP_Security_Vulnerabi
| * Vendor import ntp-4.2.8p3.cy2015-07-01552-24728/+61677
| | | | | | | | | | | | | | | | Approved by: delphij (implicit, using SO hat) Security: VuXML: 0d0f3050-1f69-11e5-9ba9-d050996490d0 Security: http://bugs.ntp.org/show_bug.cgi?id=2853 Security: https://www.kb.cert.org/vuls/id/668167 Security: http://support.ntp.org/bin/view/Main/SecurityNotice#June_2015_NTP_Security_Vulnerabi
* | Fix GENERIC64 and LINT64 powerpc builds after r285144.bz2015-07-051-2/+2
| |
* | Enable ipsec by default on all armv6 platforms.ian2015-07-051-0/+1
| |
* | Ensure all the required files get built when you include the IPSEC option.ian2015-07-051-9/+9
| |
* | Add on the addend when in the R_AARCH64_ABS64 and R_AARCH64_GLOB_DAT cases.andrew2015-07-051-1/+2
| | | | | | | | | | | | This fixes at least sshd, and some of the boehm-gc tests. Sponsored by: ABT Systems Ltd
* | Remove dead codebapt2015-07-051-15/+0
| |
* | Also validate hours via strptime_l(3)bapt2015-07-052-51/+46
| | | | | | | | | | Simplify the code, by only using one parser, ensure the dates (hours and dates) are valid
* | Validate expiration datesbapt2015-07-052-36/+55
| | | | | | | | Use strptime_l(3) to validate the dates provided in input
* | Make first step toward supporting target and initiator roles same time.mav2015-07-052-49/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To avoid conflicts between target and initiator devices in CAM, make CTL use target ID reported by HBA as its initiator_id in XPT_PATH_INQ. That target ID is known to never be used for initiator role, so it won't conflict. For Fibre Channel and FireWire HBAs this specific ID choice is irrelevant since all target IDs there are virtual. Same time for SPI HBAs it seems could be even requirement to use same target ID for both initiator and target roles. While there are some more things to polish in isp(4) driver, first tests of using both roles same time on the same port appeared successfull: # camcontrol devlist -v scbus0 on isp0 bus 0: <FREEBSD CTLDISK 0001> at scbus0 target 1 lun 0 (da20,pass21) <> at scbus0 target 256 lun 0 (ctl0) <> at scbus0 target -1 lun ffffffff (ctl1)
* | Remove extra level of target ID indirection (isp_dev_map).mav2015-07-053-122/+39
| | | | | | | | | | | | | | FreeBSD never had limitation on number of target IDs, and there is no any other requirement to allocate them densely. Since slots of port database already populated just sequentially, there is no much need for another indirection to allocate sequentially too.
* | Summary: Add missing files necessary to build with IPSEC and cryptognn2015-07-041-0/+2
| |
* | Fix up tabs vs. spacesgnn2015-07-045-5/+5
| |
* | Add llvm patch corresponding to r285149.dim2015-07-041-0/+88
| |
* | Pull in r241142 from upstream llvm trunk (by David Majnemer):dim2015-07-042-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [SCCP] Turn loads of null into undef instead of zero initialized values Surprisingly, this is a correctness issue: the mmx type exists for calling convention purposes, LLVM doesn't have a zero representation for them. This partially fixes PR23999. Pull in r241143 from upstream llvm trunk (by David Majnemer): [LoopUnroll] Use undef for phis with no value live We would create a phi node with a zero initialized operand instead of undef in the case where no value was originally available. This was problematic for x86_mmx which has no null value. These fix a "Cannot create a null constant of that type!" error when compiling the graphics/sdl2_gfx port with MMX enabled. Reported by: amdmi3
* | Use the correct type for physical addresses.jhibbits2015-07-045-30/+30
| | | | | | | | | | | | | | On Book-E, physical addresses are actually 36-bits, not 32-bits. This is currently worked around by ignoring the top bits. However, in some cases, the boot loader configures CCSR to something above the 32-bit mark. This is stage 1 in updating the pmap to handle 36-bit physaddr.
* | Change comment added in r284540.mav2015-07-041-3/+3
| | | | | | | | | | This appeared to be not card's issue, but driver's, though solution is the same so far.
* | Drop discovered targets when initiator role is disabled.mav2015-07-044-25/+75
| |
* | Remove duplicate header string.h.araujo2015-07-041-1/+0
| |
* | Add machine check register printingjhibbits2015-07-042-0/+20
| | | | | | | | | | | | | | This will print out the Memory Subsystem Status Register on MPC745x (G4+ class), and the Machine Check Status Register on Book-E class CPUs, to aid in debugging machine checks. Other relevant registers, for other CPUs, can be added in the future.
* | Remove unused variable flags reported by clang. The function zygote_clone()araujo2015-07-043-6/+4
| | | | | | | | | | | | | | | | always receive the flags with value 0 and this flags is never checked on zygote_main(). Differential Revision: D2689 Reviewed by: rodrigc, oshogbo
* | Enable IPSEC in all GENERIC kernels.gnn2015-07-046-0/+22
| | | | | | | | | | | | | | Universe and kernel build tests passed 4 July 2015 PR: 128030 Sponsored by: Rubicon Communications (Netgate)
* | Remove unused variable to silence clang warning.araujo2015-07-041-4/+1
| | | | | | | | | | Differential Revision: D2683 Reviewed by: rodrigc, bapt
* | Add fdclose(3) function.oshogbo2015-07-044-27/+135
| | | | | | | | | | | | | | | | | | | | 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
* | Move the nvlist source and private includes from sys/kern to seperateoshogbo2015-07-048-19/+20
| | | | | | | | | | | | | | | | | | directory sys/contrib/libnv. The goal of this operation is to NOT install header files which shouldn't be used outside the nvlist library. Approved by: pjd (mentor)
* | Install loader.rc with ARM u-boot loader (ubldr).loos2015-07-041-3/+2
| | | | | | | | | | | | | | | | loader.rc is the responsible to read and process loader.conf variables. This fix the issue of loader.conf being silently ignored. MFC after: 3 days
* | Fix validation of crypted passwordbapt2015-07-041-7/+6
| | | | | | | | Small cleanups
* | Also validate inputs of pw groupmod -h and groupmod -Hbapt2015-07-041-46/+46
| |
* | vfs: use shared vnode locking when looking up ".." in vop_stdvptocnpmjg2015-07-041-5/+5
| | | | | | | | Briefly discussed with: kib
* | fd: de-k&r-ify functions + some whitespace fixesmjg2015-07-041-26/+21
| | | | | | | | No functional changes.
* | Validate input of pw usermod -h and pwusermod -Hbapt2015-07-044-60/+132
| | | | | | | | | | | | | | Push the code that set the password into a separate function to improve readability Add regression tests about pw usermod -h and pw usermod -H
* | sysctl: get rid of sysctl_lock/unlockmjg2015-07-041-22/+10
| | | | | | | | Inline their contents into the only consumer.
* | Remove non-existent dnvlist functions.oshogbo2015-07-041-32/+0
| | | | | | | | Approved by: pjd (mentor)
* | Move nvlist documentation to the FreeBSD Kernel Developer's sections.oshogbo2015-07-044-67/+128
| | | | | | | | Approved by: pjd (mentor)
* | Staticize some stuff in mountd(8); no functional changes.trasz2015-07-041-129/+131
| | | | | | | | | | MFC after: 1 month Sponsored by: The FreeBSD Foundation
* | improve dependencies for this module a bit... not great, but atjmg2015-07-041-0/+3
| | | | | | | | | | least gives some basics... I would add them to DPSRC, but due to the intrinsics headers, they can't be added...
* | sysctl: remove a debugging printf which crept in with r285125mjg2015-07-041-1/+1
| |
* | sysctl: switch sysctllock to a sleepable rmlockmjg2015-07-044-100/+110
| | | | | | | | The lock is almost never taken for writing.
* | Cache _MPATH and pass it down into the modules build. Some NFS setupsimp2015-07-042-0/+9
| | | | | | | | | | | | make the find it does extremely expensive, so compute it only once. Also make sure the 'traditional' module building method works at the expense of a bit of duplicated code.
* | Quieten the scorpion SoC/WMAC reset path. Stuff the non-error stuffadrian2015-07-041-3/+3
| | | | | | | | under HALDEBUG().
* | Call the WMAC DDR flush before handling an interrupt for theadrian2015-07-041-1/+9
| | | | | | | | | | | | | | | | Atheros AHB (internally) connected MAC. TODO: * verify the interrupt was for us before doing the DDR flush.
* | Reshuffle all of the DDR flush operations into a single switch/mux,adrian2015-07-0413-115/+152
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and start teaching subsystems about it. The Atheros MIPS platforms don't guarantee any kind of FIFO consistency with interrupts in hardware. So software needs to do a flush when it receives an interrupt and before it calls the interrupt handler. There are new ones for the QCA934x and QCA955x, so do a few things: * Get rid of the individual ones (for ethernet and IP2); * Create a mux and enum listing all the variations on DDR flushes; * replace the uses of IP2 with the relevant one (which will typically be "PCI" here); * call the USB DDR flush before calling the real USB interrupt handlers; * call the ethernet one upon receiving an interrupt that's for us, rather than never calling it during operation. Tested: * QCA9558 (TP-Link archer c7 v2) * AR9331 (Carambola 2) TODO: * PCI, USB, ethernet, etc need to do a double-check to see if the interrupt was truely for them before doing the DDR. For now I prefer "correct" over "fast".
* | Wake up the hardware before doing anything in sysctl.adrian2015-07-041-48/+231
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This stops the panics that occur on MIPS platforms when doing say, 'sysctl dev.ath.0' whilst the MAC is asleep. The MIPS platform is rather unforgiving in getting power-save register access wrong and you will get all kinds of odd failures if you don't have things woken up at the right times. Tested: * QCA9558 (TP-Link Archer C7 v2) * AR9331 (Carambola 2) .. with no VAPs configured and ath0 down (thus the MAC is definitely asleep.) PR: kern/201117
* | Add support for TEST_METADATAjmmv2015-07-041-5/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow Makefiles to define generic metadata settings that apply to all test programs defined by a Makefile. The generic TEST_METADATA variable extends the per-test program settings already supported via TEST_METADATA.<program>. This feature will be useful to easily apply some settings to all programs in a directory. In particular, Kyua 0.12 will support parallel execution of test programs and a bunch of them will need to be tagged as is_exclusive to indicate that they cannot be run in parallel with anything else due to their side-effects. It will be reasonable to set this setting on whole directories. MFC after: 1 week
* | Add missing shebangjmmv2015-07-041-0/+1
| | | | | | | | | | | | | | | | | | | | | | 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 after: 1 week
* | Make cleanup routines idempotentjmmv2015-07-041-7/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | cleanup routines can be executed at any point during the execution of the body, including even before the body has done any real work. In those cases, cleanup routines should be careful to not raise spurious errors so as to not "override" the actual result of the test case. This is just general good coding style but is not a problem in practice for these specific tests. (The way I discovered the issue, though, was due to a regression I introduced in Kyua itself while refactoring some internals.) MFC after: 1 week
* | Revert r285018, r285019, r285076, r285078, r285082.gjb2015-07-041-8/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | The true cause of the missing UFS/MSDOSFS labels has been identified, and only affects stable/10 at the moment. An request for commit to stable/10 will be pending RE approval after this commit. MFC after: 1 day X-MFC-Note: never X-MFC-Never: r285018, r285019, r285076, r285078, r285082 Sponsored by: The FreeBSD Foundation
* | If a "principal" argument isn't provided for a Kerberized NFS mount,rmacklem2015-07-031-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | the kernel would generate a bogus one with a ":/<path>" suffix. This would only occur for the case where there was no explicit "principal" argument and the getaddrinfo() call in mount_nfs.c failed to a return a cannonical name for the server. This patch fixes this unusual case. PR: 201073 Submitted by: masato@itc.naist.jp MFC after: 2 weeks
* | Update the date on the manual page.gnn2015-07-031-1/+1
| | | | | | | | Noticed by: bz
* | New AES modes for IPSec, user space components.gnn2015-07-035-1/+16
| | | | | | | | | | | | | | | | | | | | | | | | Update setkey and libipsec to understand aes-gcm-16 as an encryption method. A partial commit of the work in review D2936. Submitted by: eri Reviewed by: jmg MFC after: 2 weeks Sponsored by: Rubicon Communications (Netgate)
OpenPOWER on IntegriCloud