aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* New dependenciesSimon J. Gerraty2013-10-1349-0/+1028
| | | | Notes: svn path=/projects/bmake/; revision=256418
* We want an objdirSimon J. Gerraty2013-10-131-1/+0
| | | | Notes: svn path=/projects/bmake/; revision=256417
* Latest version.Simon J. Gerraty2013-10-131-8/+28
| | | | | | | Report better parse errors. Notes: svn path=/projects/bmake/; revision=256416
* Ensure _objroot is correctly formattedSimon J. Gerraty2013-10-131-0/+6
| | | | Notes: svn path=/projects/bmake/; revision=256415
* Ensure that $PROG isn't make .PHONYSimon J. Gerraty2013-10-121-1/+15
| | | | | | | Also add some additional control over staging (for use by bsd.test.mk) Notes: svn path=/projects/bmake/; revision=256411
* Avoid errors when MACHINE is a pseudo machine like "common".Simon J. Gerraty2013-10-121-0/+4
| | | | Notes: svn path=/projects/bmake/; revision=256410
* Add more vars we subst into DIRDEPS eg. BOOT_MACHINE_DIR and KERNEL_NAME.Simon J. Gerraty2013-10-121-5/+21
| | | | | | | Make it easier to add more. Notes: svn path=/projects/bmake/; revision=256409
* Some cleanup and re-org.Simon J. Gerraty2013-10-121-9/+8
| | | | | | | | Also update CFLAGS_LAST.clang to match new compiler version. Add BOOT_MACHINE_DIR (so we can stick to unqualified Makefile.depend) Notes: svn path=/projects/bmake/; revision=256408
* Sync-up with what's being use in Juniper for building ATF in meta mode.Simon J. Gerraty2013-10-122-1/+26
| | | | Notes: svn path=/projects/bmake/; revision=256407
* Some re-org and cleanup.Simon J. Gerraty2013-10-121-13/+42
| | | | | | | | | Make it easier to subst some dirs in dirdeps with variables. Tweak M_dep_qual_fixes esp. for pseudo machines like "host" so that it can DTRT against _machines (in dirdeps.mk). Notes: svn path=/projects/bmake/; revision=256406
* When TARGET_SPEC_VARS is non-trivial, we need to apply the same filteringSimon J. Gerraty2013-10-121-4/+9
| | | | | | | when setting _machines as we do to _build_dirs. Notes: svn path=/projects/bmake/; revision=256405
* In meta mode touch targets like copies so we don't needlessly repeat them.Simon J. Gerraty2013-10-121-1/+10
| | | | Notes: svn path=/projects/bmake/; revision=256404
* Tell cpp to only look where we told itSimon J. Gerraty2013-10-121-1/+1
| | | | Notes: svn path=/projects/bmake/; revision=256403
* Make sure we trigger generation of headersSimon J. Gerraty2013-10-121-0/+4
| | | | Notes: svn path=/projects/bmake/; revision=256402
* Report the number of dirdeps so we can track progress.Simon J. Gerraty2013-10-121-1/+1
| | | | Notes: svn path=/projects/bmake/; revision=256401
* Merge headSimon J. Gerraty2013-09-111135-42372/+97756
|\ | | | | | | Notes: svn path=/projects/bmake/; revision=255477
| * Fix build with gcc.Konstantin Belousov2013-09-111-0/+2
| | | | | | | | | | | | | | | | Build-tested by: gjb Approved by: re (glebius) Notes: svn path=/head/; revision=255475
| * Prior to r254304, we only began scanning the active page queue when theAlan Cox2013-09-111-52/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | amount of free memory was close to the point at which we would begin reclaiming pages. Now, we continuously scan the active page queue, regardless of the amount of free memory. Consequently, we are continuously calling pmap_ts_referenced() on active pages. Prior to this change, pmap_ts_referenced() would always demote superpage mappings in order to obtain finer-grained reference information. This made sense because we were coming under memory pressure and would soon have to begin reclaiming pages. Now, however, with continuous scanning of the active page queue, these demotions are taking a toll on performance. To address this problem, I have replaced the demotion with a heuristic for periodically clearing the reference flag on superpage mappings. Approved by: re (kib) Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=255474
| * Clear correct data structure.Hans Petter Selasky2013-09-111-1/+3
| | | | | | | | | | | | | | | | MFC after: 1 week Approved by: re (hrs) Notes: svn path=/head/; revision=255472
| * Clean up SIOCSIFDSTADDR usage from ifnet drivers. The ioctl itself isGleb Smirnoff2013-09-119-15/+0
| | | | | | | | | | | | | | | | | | | | | | extremely outdated, and I doubt that it was ever used for ifnet drivers. It was used for AF_INET sockets in pre-FreeBSD time. Approved by: re (hrs) Sponsored by: Nginx, Inc. Notes: svn path=/head/; revision=255471
| * Fix a limitation in bhyve that would limit the number of virtual machines toNeel Natu2013-09-113-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the maximum number of VT-d domains (256 on a Sandybridge). We now allocate a VT-d domain for a guest only if the administrator has explicitly configured one or more PCI passthru device(s). If there are no PCI passthru devices configured (the common case) then the number of virtual machines is no longer limited by the maximum number of VT-d domains. Reviewed by: grehan@ Approved by: re@ Notes: svn path=/head/; revision=255469
| * Cleanup elf macrosBaptiste Daroussin2013-09-111-7/+3
| | | | | | | | | | | | | | | | | | | | | | Only define EF_MIPS_ABI when not already supplied Remove old now unused ARM macros Reported by: imp Approved by: re (kib) Notes: svn path=/head/; revision=255468
| * Implement sendfile(2) for the posix shared memory segment file descriptor,Konstantin Belousov2013-09-112-126/+250
| | | | | | | | | | | | | | | | | | | | | | | | | | in addition to the regular files. Requested by: alc Discussed with: emaste Tested by: pho (previous version) Sponsored by: The FreeBSD Foundation Approved by: re (hrs) Notes: svn path=/head/; revision=255467
| * Stick to traditional DEFAULT_SYS_PATH (/usr/share/mk)Simon J. Gerraty2013-09-101-0/+1
| | | | | | | | | | | | | | | | Reviewed by: obrien Approved by: re Notes: svn path=/head/; revision=255463
| * Missed in r255386: libssh is more than just the .so file itself.Dag-Erling Smørgrav2013-09-101-0/+6
| | | | | | | | | | | | | | Approved by: re (blanket) Notes: svn path=/head/; revision=255462
| * Change the default value of VerifyHostKeyDNS to "yes" if compiled withDag-Erling Smørgrav2013-09-103-1/+11
| | | | | | | | | | | | | | | | | | | | | | LDNS. With that setting, OpenSSH will silently accept host keys that match verified SSHFP records. If an SSHFP record exists but could not be verified, OpenSSH will print a message and prompt the user as usual. Approved by: re (blanket) Notes: svn path=/head/; revision=255461
| * Clean up the OpenSSH build. It is now possible to build most componentsDag-Erling Smørgrav2013-09-1013-48/+199
| | | | | | | | | | | | | | | | | | | | | | | | | | as static binaries, if desired. The one exception is sshd, which runs into trouble due to libpam.a's includion of pam_ssh. Make OpenSSH use LDNS if available. This allows it to verify signed SSHFP records. Approved by: re (blanket) Notes: svn path=/head/; revision=255460
| * Remove documentation describing functionality which geom(4) does not,Colin Percival2013-09-101-19/+1
| | | | | | | | | | | | | | | | | | | | | | in fact, provide. Reviewed by: phk MFC after: 3 days Approved by: re (gjb) Notes: svn path=/head/; revision=255459
| * Add support to detect arm vs armv6Baptiste Daroussin2013-09-101-12/+202
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There are two different versions of the ARM ABI depending on the TARGET_ARCH. As these are sligntly different a package built for one may not work on another. We need to detect which one we are on by parsing the .ARM.attributes section. This will only work on the ARM EABI as this section is part of the ABI definition. As armv6 only supports the ARM EABI this is not a problem for the oabi. Older versions of libelf in FreeBSD fail to read the .ARM.attributes section needed. As armv6 is unsupported on these versions we can assume we are running on arm. Submitted by: andrew Approved by: re (delphij) Obtained from: pkgng git Notes: svn path=/head/; revision=255457
| * Clean up the Kerberos build by turning libheimipcc and libheimipcs intoDag-Erling Smørgrav2013-09-108-11/+28
| | | | | | | | | | | | | | | | | | | | | | private shared libraries, instead of hacked-together archives of PIC objects. This makes it possible to build a static libkrb5 that works. Reviewed by: stas Approved by: re (gjb) Notes: svn path=/head/; revision=255455
| * Make this more deterministic by sorting the libraries before processingDag-Erling Smørgrav2013-09-101-1/+2
| | | | | | | | | | | | | | | | | | them and ensuring that we always use the samme collation rules. Approved by: re (gjb) Notes: svn path=/head/; revision=255454
| * add note about gcc and aesni...John-Mark Gurney2013-09-101-0/+5
| | | | | | | | | | | | | | Approved by: re (gjb, kib) Notes: svn path=/head/; revision=255453
| * Back out r255440. /usr/bin/gcc @r255185 (2013-09-03) can build this.David E. O'Brien2013-09-103-3/+3
| | | | | | | | | | | | | | Approved by: re (kib) Notes: svn path=/head/; revision=255452
| * Add a sendfile regression test for transmit length > file size.Ed Maste2013-09-101-32/+64
| | | | | | | | | | | | | | | | | | | | This test identified the issue fixed in FreeBSD-SA-13:11.sendfile. Sponsored by: The FreeBSD Foundation Approved by: re (glebius) Notes: svn path=/head/; revision=255451
| * ipfilter 5.1.2 no longer supports sysctl. Use ipf -V to determine ifCy Schubert2013-09-103-6/+4
| | | | | | | | | | | | | | | | | | | | available (the kernel module is loaded or compiled into the kernel). Approved by: glebius (mentor) Approved by: re (blanket) Notes: svn path=/head/; revision=255450
| * Make a bump for r255426.Gleb Smirnoff2013-09-101-1/+1
| | | | | | | | | | | | | | Approved by: re (gjb) Notes: svn path=/head/; revision=255449
| * Fix the length calculation for the final block of a sendfile(2)Dag-Erling Smørgrav2013-09-105-7/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | transmission which could be tricked into rounding up to the nearest page size, leaking up to a page of kernel memory. [13:11] In IPv6 and NetATM, stop SIOCSIFADDR, SIOCSIFBRDADDR, SIOCSIFDSTADDR and SIOCSIFNETMASK at the socket layer rather than pass them on to the link layer without validation or credential checks. [SA-13:12] Prevent cross-mount hardlinks between different nullfs mounts of the same underlying filesystem. [SA-13:13] Security: CVE-2013-5666 Security: FreeBSD-SA-13:11.sendfile Security: CVE-2013-5691 Security: FreeBSD-SA-13:12.ifioctl Security: CVE-2013-5710 Security: FreeBSD-SA-13:13.nullfs Approved by: re Notes: svn path=/head/; revision=255442
| * Only use a clang'ism if ${CC} is clang.David E. O'Brien2013-09-103-3/+3
| | | | | | | | | | | | | | | | Reviewed by: sjg Approved by: re (kib) Notes: svn path=/head/; revision=255440
| * Call free() on the pointer returned from malloc().Konstantin Belousov2013-09-101-8/+8
| | | | | | | | | | | | | | | | | | | | Reported and tested by: Oliver Pinter <oliver.pntr@gmail.com> Sponsored by: The FreeBSD Foundation MFC after: 3 days Approved by: re (delphij) Notes: svn path=/head/; revision=255439
| * Go way past 11 and bump bhyve's max vCPUs to 16.Peter Grehan2013-09-102-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This should be sufficient for 10.0 and will do until forthcoming work to avoid limitations in this area is complete. Thanks to Bela Lubkin at tidalscale for the headsup on the apic/cpu id/io apic ASL parameters that are actually hex values and broke when written as decimal when 11 vCPUs were configured. Approved by: re@ Notes: svn path=/head/; revision=255438
| * MFV r247844 (illumos-gate 13975:ef6409bc370f)Xin LI2013-09-1011-34/+98
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Illumos ZFS issues: 3582 zfs_delay() should support a variable resolution 3584 DTrace sdt probes for ZFS txg states Provide a compatibility shim for Solaris's cv_timedwait_hires to help aid future porting. Approved by: re (ZFS blanket) Notes: svn path=/head/; revision=255437
| * | Fix the aborting of association with the iterator using an emptyMichael Tuexen2013-09-091-37/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | user initiated error cause (using SCTP_ABORT|SCTP_SENDALL). Approved by: re (delphij) MFC after: 1 week Notes: svn path=/head/; revision=255434
| * | Emit the correct standard library dependency line for C++ programs. InDag-Erling Smørgrav2013-09-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the CLANG_IS_CC case, the default is now libc++. Only use libstdc++ if !CLANG_IS_CC or it was explicitly requested in CXXFLAGS. Submitted by: theraven Approved by: re (gjb) Notes: svn path=/head/; revision=255431
| * | Pass -n (do not emit comments) when saving mtree information for futureXin LI2013-09-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mergemaster(8) runs. MFC after: 3 days Approved by: re (kib) Notes: svn path=/head/; revision=255428
| * | Add a mmap flag (MAP_32BIT) on 64-bit platforms to request that a mapping useJohn Baldwin2013-09-0925-50/+92
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | an address in the first 2GB of the process's address space. This flag should have the same semantics as the same flag on Linux. To facilitate this, add a new parameter to vm_map_find() that specifies an optional maximum virtual address. While here, fix several callers of vm_map_find() to use a VMFS_* constant for the findspace argument instead of TRUE and FALSE. Reviewed by: alc Approved by: re (kib) Notes: svn path=/head/; revision=255426
| * | The correct variable is apparently MACHINE_ARCH, not TARGET_ARCH.Dag-Erling Smørgrav2013-09-091-1/+1
| | | | | | | | | | | | | | | | | | | | | Approved by: re (blanket) Notes: svn path=/head/; revision=255425
| * | Make the primary name of the OF console device /dev/ofwcons, and onlyNathan Whitehorn2013-09-091-7/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | alias it to the contents of the output property if it is defined. This avoids a panic when booting machines (QEMU) where the output-device property is not defined. Since output-device is free-form and potentially conflicts with other entries in /dev, I also am not sure we should be doing the aliasing at all, but this at least makes things work again. Approved by: re (kib) Notes: svn path=/head/; revision=255424
| * | These three files appeared in 6.0p1, which was imported into the vendorDag-Erling Smørgrav2013-09-093-0/+558
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | branch but never merged to head. They were inadvertantly left out when 6.1p1 was merged to head. It didn't make any difference at the time, because they were unused, but one of them is required for DNS-based host key verification. Approved by: re (blanket) Notes: svn path=/head/; revision=255422
| * | | Revert r255420. This seems to break some Powermac systems and will beNathan Whitehorn2013-09-091-13/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | revisited much later. Pointy hat to: me Approved by: re (kib, implicit due to breakage 10 minutes ago) Notes: svn path=/head/; revision=255421
| * | | Attach only on hardware that is actually supported as opposed to hardwareNathan Whitehorn2013-09-092-3/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | that seems like it has some of the problems we might want. Approved by: re (kib) Notes: svn path=/head/; revision=255420