aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Pay attention to MK_ELFTOOLCHAIN_TOOLS so we build the desired tools.Simon J. Gerraty2015-06-153-6/+62
| | | | Notes: svn path=/head/; revision=284424
* Fix some exceptional cases where the sign of the result is unspecifiedTijl Coosemans2015-06-152-34/+32
| | | | | | | | | | but must still satisfy ccosh(conj(z)) == conj(ccosh(z)) and ccosh(-z) == ccosh(z). In collaboration with: bde Notes: svn path=/head/; revision=284423
* Change -Wl,-r back to -r so gcc doesn't pass --relax to the linker on someTijl Coosemans2015-06-151-1/+1
| | | | | | | | | architectures. PR: 200881 Notes: svn path=/head/; revision=284422
* Revert r284417 it is not necessary anymoreBaptiste Daroussin2015-06-1536-35/+37
| | | | Notes: svn path=/head/; revision=284421
* do not include src.opts.mk from hereSimon J. Gerraty2015-06-151-2/+0
| | | | Notes: svn path=/head/; revision=284420
* Don't use ${.OBJDIR}/ to qualify target that isn't specified that waySimon J. Gerraty2015-06-151-1/+1
| | | | Notes: svn path=/head/; revision=284419
* Enforce overwritting SHLIBDIRBaptiste Daroussin2015-06-1535-35/+35
| | | | | | | | | | | | Since METAMODE has been added, sys.mk loads bsd.mkopt.mk which ends load loading bsd.own.mk which then defines SHLIBDIR before all the Makefile.inc everywhere. This makes /lib being populated again. Reported by: many Notes: svn path=/head/; revision=284417
* ttm_vm_page_alloc: use vm_page_alloc for pages without dma32 restrictionAndriy Gapon2015-06-151-45/+64
| | | | | | | | | | | | | | | This change re-organizes code a little bit to extract common pieces of ttm_alloc_new_pages() and ttm_get_pages() into dedicated functions. Also, for requests without address restrictions regular vm_page_alloc() is used. Lastly, when vm_page_alloc_contig() fails we call VM_WAIT before calling vm_pageout_grow_cache() to ensure that there is enough free pages at all. Reviewed by: kib MFC after: 15 days Notes: svn path=/head/; revision=284416
* Fix circular dependency between libzfs and libzfs_coreBaptiste Daroussin2015-06-152-2/+2
| | | | | | | | libzfs_core is the wrapper around kernel ioctls, the ioctl compat code belongs to it Notes: svn path=/head/; revision=284409
* Ensure TESTSDIR is defined before bsd.test.mk is .include'dEnji Cooper2015-06-151-0/+4
| | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=284408
* Add ioctl.c, linux_syscalls.c, linux32_syscalls.c to beforedepend target.Craig Rodrigues2015-06-151-0/+6
| | | | | | | These files need to be generated before mkdep is run. Notes: svn path=/head/; revision=284407
* Use cpp -I$includedirCraig Rodrigues2015-06-151-1/+1
| | | | | | | | | "cpp -I$1" was expanding to "cpp -Iprint" which was not the proper directory of header files. Notes: svn path=/head/; revision=284406
* Remove ALLOW_DEPRECATED_ATF_TOOLS/ATFFILE support from atf.test.mkEnji Cooper2015-06-152-83/+7
| | | | | | | | | The legacy atf tools were removed in atf 0.20 MFC after: 2 weeks Notes: svn path=/head/; revision=284405
* Add a quick (?) note for users who may be having sendmail interoperability ↵Gregory Neil Shapiro2015-06-151-0/+24
| | | | | | | | | | issues due to the recent (FreeBSD-SA-15:10.openssl) OpenSSL change to reject 512 bit DH parameters. Affects 11-CURRENT and 10-STABLE. Notes: svn path=/head/; revision=284403
* MFV of 284395,tzdata2015eEdwin Groothuis2015-06-154-38/+68
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update to tzdata2015e: Changes affecting future time stamps Morocco will suspend DST from 2015-06-14 03:00 through 2015-07-19 02:00, not 06-13 and 07-18 as we had guessed. (Thanks to Milamber.) Assume Cayman Islands will observe DST starting next year, using US rules. Although it isn't guaranteed, it is the most likely. Notes: svn path=/head/; revision=284397
| * Vendor import of tzdata2015e:vendor/tzdata/tzdata2015eEdwin Groothuis2015-06-155-44/+73
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update to tzdata2015e: Changes affecting future time stamps Morocco will suspend DST from 2015-06-14 03:00 through 2015-07-19 02:00, not 06-13 and 07-18 as we had guessed. (Thanks to Milamber.) Assume Cayman Islands will observe DST starting next year, using US rules. Although it isn't guaranteed, it is the most likely. Obtained from: ftp://ftp.iana.org/tz/releases/ Notes: svn path=/vendor/tzdata/dist/; revision=284395 svn path=/vendor/tzdata/tzdata2015e/; revision=284396; tag=vendor/tzdata/tzdata2015e
* | If MK_META_MODE is unset, assume a value of no.Craig Rodrigues2015-06-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | This is needed to build HEAD on FreeBSD 10.1, which has bmake, but does not have /usr/share/mk/src.opts.mk Reviewed by: sjg Reported by: jenkins Notes: svn path=/head/; revision=284394
* | Correctly detect the case where the last address is removed.Michael Tuexen2015-06-141-9/+16
| | | | | | | | | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=284393
* | Change the documentation to reflect where the -V option should be usedBaptiste Daroussin2015-06-141-2/+2
| | | | | | | | | | | | | | Suggested by: kientzle Notes: svn path=/head/; revision=284392
* | Invalid pages do not need neither update of the activation count norKonstantin Belousov2015-06-141-15/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | they coould be dirty. Move the handling if the invalid pages in the inactive scan earlier. Remove some code duplication in the scan by introducing the 'drop_page' label, which centralizes the object and the page unlock. Suggested and reviewed by: alc Sponsored by: The FreeBSD Foundation MFC after: 2 weeks Notes: svn path=/head/; revision=284387
* | Fix name of a constant.Michael Tuexen2015-06-141-2/+2
| | | | | | | | | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=284386
* | Fix typo in comment.Konstantin Belousov2015-06-141-2/+2
| | | | | | | | | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=284385
* | Stop the heartbeat timer when removing a net.Michael Tuexen2015-06-141-0/+1
| | | | | | | | | | | | | | | | | | | | | | Thanks to the reporter of https://code.google.com/p/sctp-refimpl/issues/detail?id=14 for reporting the issue. MFC after: 3 days Notes: svn path=/head/; revision=284384
* | Latest clang uses openat(2).Simon J. Gerraty2015-06-141-0/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | If the pathname is absolute or dirfd is AT_FDCWD we can handle it exactly like open(2). Otherwise we output an A record to indicate that the path of an open directory needs to be used (earlier in the trace). Differential Revision: D2810 Reviewed by: jhb MFC after: a bit Notes: svn path=/head/; revision=284383
* | Tell the compiler that -dc and -r are linker flags.Tijl Coosemans2015-06-141-1/+1
| | | | | | | | | | | | | | Reviewed by: adrian Notes: svn path=/head/; revision=284382
* | fd: reduce excessive zeroing on fd closeMateusz Guzik2015-06-141-5/+3
| | | | | | | | | | | | | | | | fde_file as NULL is already an indicator of an unused fd. All other fields are populated when fp is installed. Notes: svn path=/head/; revision=284381
* | fd: move out actual fp installation to _finstallMateusz Guzik2015-06-143-22/+31
| | | | | | | | | | | | | | Use it in fd passing functions as the first step towards fd code cleanup. Notes: svn path=/head/; revision=284380
* | nit: Rename racct_alloc_resource to racct_adjust_resource.Jeremie Le Hen2015-06-141-12/+12
| | | | | | | | | | | | | | | | | | This is more accurate as the amount can be negative. MFC after: 2 weeks Notes: svn path=/head/; revision=284378
* | NetBSD commit log:Jeremie Le Hen2015-06-141-8/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use a constant array for the MIB. Newer LLVM decided that mib[] warranted stack protections, with the obvious crash after the setup was done. As a positive side effect, code size shrinks a bit. I'm not sure why this hasn't bitten us yes, but it is certainly possible and there are no real drawbacks to this change anyway. Submitted by: pfg Obtained from: NetBSD MFC after: 1 week Notes: svn path=/head/; revision=284377
* | As the next step in eliminating PG_CACHE pages, free rather than cacheAlan Cox2015-06-141-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | pages in vm_pageout_scan(). The reactivation rate of cache pages created by vm_pageout_scan() is extremely low; typically no more than 0.5% to 2.25% of the pages are ever reactivated. At the same time, caching pages is more expensive than freeing them. For example, in a test with PostgreSQL, this change reduced the amount of time spent in the inactive queue scan by 1/6. Differential Revision: https://reviews.freebsd.org/D2805 Reviewed by: kib Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=284376
* | NO_WARNS when building for hostSimon J. Gerraty2015-06-142-0/+6
| | | | | | | | Notes: svn path=/head/; revision=284374
* | Avoid circular dependency with nmSimon J. Gerraty2015-06-141-0/+3
| | | | | | | | Notes: svn path=/head/; revision=284373
* | Need to provide -I for meta modeSimon J. Gerraty2015-06-141-0/+6
| | | | | | | | Notes: svn path=/head/; revision=284372
* | Needs libxoSimon J. Gerraty2015-06-141-0/+1
| | | | | | | | Notes: svn path=/head/; revision=284371
* | Create proper targets for linux*syscalls.cSimon J. Gerraty2015-06-141-8/+8
| | | | | | | | Notes: svn path=/head/; revision=284370
* | We cannot build makewhatis and mandocSimon J. Gerraty2015-06-141-2/+10
| | | | | | | | Notes: svn path=/head/; revision=284369
* | Avoid trailing white-spaceSimon J. Gerraty2015-06-141-1/+1
| | | | | | | | Notes: svn path=/head/; revision=284368
* | Watch out for bin/cat in host stage treeSimon J. Gerraty2015-06-141-0/+1
| | | | | | | | Notes: svn path=/head/; revision=284367
* | Avoid anoying warningSimon J. Gerraty2015-06-141-1/+1
| | | | | | | | Notes: svn path=/head/; revision=284366
* | Fix typo - this upsets llvm/gcc-4.9, but not gcc-4.2 for some reason.Adrian Chadd2015-06-141-1/+1
| | | | | | | | Notes: svn path=/head/; revision=284363
* | Fix incorrect library path.Adrian Chadd2015-06-131-1/+1
| | | | | | | | Notes: svn path=/head/; revision=284359
* | Fix previous commit (r284357)Enji Cooper2015-06-131-1/+1
| | | | | | | | | | | | | | | | | | | | I forgot to convert the && to a || Pointyhat to: ngie X-MFC with: r283678, r284336, r284357 Notes: svn path=/head/; revision=284358
* | Fix inverted check by skipping over the model-specific checks if the makerEnji Cooper2015-06-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | or product is NULL, not if they are both not NULL Reported by: araujo, kib X-MFC with: r283678, r284336 Pointyhat to: allanjude Notes: svn path=/head/; revision=284357
* | Fix up crunchgen binary generation to work with external cross-buildAdrian Chadd2015-06-131-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tools. * Allow STRIP to be overridden by the environment * Use CC to tie things together, not LD Tested: * i386, mips32 Submitted by: kan Notes: svn path=/head/; revision=284356
* | When using -L the code skips a socket if the local or foreignMichael Tuexen2015-06-131-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | address is loopback. So it is shown if both are not loopback. The man page says that it is shown if the local or foreign address is not loopback. Change the man page to reflect the code. MFC after: 3 days Notes: svn path=/head/; revision=284355
* | Add support for SCTP.Michael Tuexen2015-06-131-2/+241
| | | | | | | | | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=284354
* | Allow more than one local or remote address per socket. This is needed toMichael Tuexen2015-06-131-54/+103
| | | | | | | | | | | | | | | | | | | | support SCTP (and MPTCP in the future). No functional change for existing protocols. MFC after: 3 days Notes: svn path=/head/; revision=284353
* | Allow more than one socket entry for a file descriptor. This is neededMichael Tuexen2015-06-131-23/+22
| | | | | | | | | | | | | | | | | | | | for supporting 1-to-many style SCTP sockets. For other sochets, there is no functional change. MFC after: 3 days Notes: svn path=/head/; revision=284352
* | Simplify printaddr(). No functional change.Michael Tuexen2015-06-131-7/+7
| | | | | | | | | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=284351
* | removed extra keywordSimon J. Gerraty2015-06-131-1/+0
| | | | | | | | Notes: svn path=/head/; revision=284350