aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Rename the dtrace-* man pages to dtrace_* for consistency with otherMark Johnston2015-07-059-38/+45
| | | | | | | subsection man pages (e.g. geom_*, mac_*, snd_*). Notes: svn path=/head/; revision=285186
* Move the comment describing namei(9) back to namei()'s definition.Mark Johnston2015-07-051-10/+10
| | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=285185
* The bug caught by flock's test 16 was fixed by r268384.Mark Johnston2015-07-051-5/+0
| | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=285184
* Remove a stale descriptive comment for gbincore().Mark Johnston2015-07-051-10/+1
| | | | | | | | | | The splay trees referenced in the comment were converted to path-compressed tries in r250551. MFC after: 3 days Notes: svn path=/head/; revision=285183
* Check suspendability on the mountpoint returned by VOP_GETWRITEMOUNT.Mark Johnston2015-07-056-37/+33
| | | | | | | | | | | | | | This obviates the need for a MNTK_SUSPENDABLE flag, since passthrough filesystems like nullfs and unionfs no longer need to inherit this information from their lower layer(s). This change also restores the pre-r273336 behaviour of using the presence of a susp_clean VFS method to request suspension support. Reviewed by: kib, mjg Differential Revision: https://reviews.freebsd.org/D2937 Notes: svn path=/head/; revision=285182
* Add a local variable initialization needed in the OBJT_DEFAULT case.Mark Johnston2015-07-051-0/+1
| | | | | | | | Reviewed by: kib Differential Revision: https://reviews.freebsd.org/D2992 Notes: svn path=/head/; revision=285180
* Document the locking context for the directly dispatched callouts.Konstantin Belousov2015-07-051-2/+4
| | | | | | | | | | Cross-reference timeout(9). Sponsored by: The FreeBSD Foundation MFC after: 1 week Notes: svn path=/head/; revision=285173
* fd: make 'rights' a manadatory argument to fget* functionsMateusz Guzik2015-07-056-8/+11
| | | | Notes: svn path=/head/; revision=285172
* Add the kernel functions needed to enable threading.Andrew Turner2015-07-051-2/+12
| | | | | | | Sponsored by: ABT Systems Ltd Notes: svn path=/head/; revision=285171
* Update ntp version number. (This is a manual update that was missed.)Cy Schubert2015-07-051-3/+3
| | | | Notes: svn path=/head/; revision=285170
* MFV ntp-4.2.8p3 (r284990).Cy Schubert2015-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 Notes: svn path=/head/; revision=285169
| * Vendor import ntp-4.2.8p3.vendor/ntp/4.2.8p3Cy Schubert2015-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 Notes: svn path=/vendor/ntp/dist/; revision=284990 svn path=/vendor/ntp/4.2.8p3/; revision=284992; tag=vendor/ntp/4.2.8p3
* | Fix GENERIC64 and LINT64 powerpc builds after r285144.Bjoern A. Zeeb2015-07-051-2/+2
| | | | | | | | Notes: svn path=/head/; revision=285168
* | Enable ipsec by default on all armv6 platforms.Ian Lepore2015-07-051-0/+1
| | | | | | | | Notes: svn path=/head/; revision=285161
* | Ensure all the required files get built when you include the IPSEC option.Ian Lepore2015-07-051-9/+9
| | | | | | | | Notes: svn path=/head/; revision=285160
* | Add on the addend when in the R_AARCH64_ABS64 and R_AARCH64_GLOB_DAT cases.Andrew Turner2015-07-051-1/+2
| | | | | | | | | | | | | | | | | | This fixes at least sshd, and some of the boehm-gc tests. Sponsored by: ABT Systems Ltd Notes: svn path=/head/; revision=285159
* | Remove dead codeBaptiste Daroussin2015-07-051-15/+0
| | | | | | | | Notes: svn path=/head/; revision=285158
* | Also validate hours via strptime_l(3)Baptiste Daroussin2015-07-052-51/+46
| | | | | | | | | | | | | | | | Simplify the code, by only using one parser, ensure the dates (hours and dates) are valid Notes: svn path=/head/; revision=285157
* | Validate expiration datesBaptiste Daroussin2015-07-052-36/+55
| | | | | | | | | | | | | | Use strptime_l(3) to validate the dates provided in input Notes: svn path=/head/; revision=285156
* | Make first step toward supporting target and initiator roles same time.Alexander Motin2015-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) Notes: svn path=/head/; revision=285155
* | Remove extra level of target ID indirection (isp_dev_map).Alexander Motin2015-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. Notes: svn path=/head/; revision=285154
* | Summary: Add missing files necessary to build with IPSEC and cryptoGeorge V. Neville-Neil2015-07-041-0/+2
| | | | | | | | Notes: svn path=/head/; revision=285152
* | Fix up tabs vs. spacesGeorge V. Neville-Neil2015-07-045-5/+5
| | | | | | | | Notes: svn path=/head/; revision=285151
* | Add llvm patch corresponding to r285149.Dimitry Andric2015-07-041-0/+88
| | | | | | | | Notes: svn path=/head/; revision=285150
* | Pull in r241142 from upstream llvm trunk (by David Majnemer):Dimitry Andric2015-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 Notes: svn path=/head/; revision=285149
* | Use the correct type for physical addresses.Justin Hibbits2015-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. Notes: svn path=/head/; revision=285148
* | Change comment added in r284540.Alexander Motin2015-07-041-3/+3
| | | | | | | | | | | | | | | | This appeared to be not card's issue, but driver's, though solution is the same so far. Notes: svn path=/head/; revision=285147
* | Drop discovered targets when initiator role is disabled.Alexander Motin2015-07-044-25/+75
| | | | | | | | Notes: svn path=/head/; revision=285146
* | Remove duplicate header string.h.Marcelo Araujo2015-07-041-1/+0
| | | | | | | | Notes: svn path=/head/; revision=285145
* | Add machine check register printingJustin Hibbits2015-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. Notes: svn path=/head/; revision=285144
* | Remove unused variable flags reported by clang. The function zygote_clone()Marcelo 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 Notes: svn path=/head/; revision=285143
* | Enable IPSEC in all GENERIC kernels.George V. Neville-Neil2015-07-046-0/+22
| | | | | | | | | | | | | | | | | | | | Universe and kernel build tests passed 4 July 2015 PR: 128030 Sponsored by: Rubicon Communications (Netgate) Notes: svn path=/head/; revision=285142
* | Remove unused variable to silence clang warning.Marcelo Araujo2015-07-041-4/+1
| | | | | | | | | | | | | | | | Differential Revision: D2683 Reviewed by: rodrigc, bapt Notes: svn path=/head/; revision=285141
* | Add fdclose(3) function.Mariusz Zaborski2015-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 Notes: svn path=/head/; revision=285140
* | Move the nvlist source and private includes from sys/kern to seperateMariusz Zaborski2015-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) Notes: svn path=/head/; revision=285139
* | Install loader.rc with ARM u-boot loader (ubldr).Luiz Otavio O Souza2015-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 Notes: svn path=/head/; revision=285138
* | Fix validation of crypted passwordBaptiste Daroussin2015-07-041-7/+6
| | | | | | | | | | | | | | Small cleanups Notes: svn path=/head/; revision=285137
* | Also validate inputs of pw groupmod -h and groupmod -HBaptiste Daroussin2015-07-041-46/+46
| | | | | | | | Notes: svn path=/head/; revision=285136
* | vfs: use shared vnode locking when looking up ".." in vop_stdvptocnpMateusz Guzik2015-07-041-5/+5
| | | | | | | | | | | | | | Briefly discussed with: kib Notes: svn path=/head/; revision=285135
* | fd: de-k&r-ify functions + some whitespace fixesMateusz Guzik2015-07-041-26/+21
| | | | | | | | | | | | | | No functional changes. Notes: svn path=/head/; revision=285134
* | Validate input of pw usermod -h and pwusermod -HBaptiste Daroussin2015-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 Notes: svn path=/head/; revision=285133
* | sysctl: get rid of sysctl_lock/unlockMateusz Guzik2015-07-041-22/+10
| | | | | | | | | | | | | | Inline their contents into the only consumer. Notes: svn path=/head/; revision=285131
* | Remove non-existent dnvlist functions.Mariusz Zaborski2015-07-041-32/+0
| | | | | | | | | | | | | | Approved by: pjd (mentor) Notes: svn path=/head/; revision=285130
* | Move nvlist documentation to the FreeBSD Kernel Developer's sections.Mariusz Zaborski2015-07-044-67/+128
| | | | | | | | | | | | | | Approved by: pjd (mentor) Notes: svn path=/head/; revision=285129
* | Staticize some stuff in mountd(8); no functional changes.Edward Tomasz Napierala2015-07-041-129/+131
| | | | | | | | | | | | | | | | MFC after: 1 month Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=285128
* | improve dependencies for this module a bit... not great, but atJohn-Mark Gurney2015-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... Notes: svn path=/head/; revision=285127
* | sysctl: remove a debugging printf which crept in with r285125Mateusz Guzik2015-07-041-1/+1
| | | | | | | | Notes: svn path=/head/; revision=285126
* | sysctl: switch sysctllock to a sleepable rmlockMateusz Guzik2015-07-044-100/+110
| | | | | | | | | | | | | | The lock is almost never taken for writing. Notes: svn path=/head/; revision=285125
* | Cache _MPATH and pass it down into the modules build. Some NFS setupsWarner Losh2015-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. Notes: svn path=/head/; revision=285124
* | Quieten the scorpion SoC/WMAC reset path. Stuff the non-error stuffAdrian Chadd2015-07-041-3/+3
| | | | | | | | | | | | | | under HALDEBUG(). Notes: svn path=/head/; revision=285123