summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Updated dependenciessjg2013-10-13166-918/+1360
|
* New dependenciessjg2013-10-1349-0/+1028
|
* We want an objdirsjg2013-10-131-1/+0
|
* Latest version.sjg2013-10-131-8/+28
| | | | Report better parse errors.
* Ensure _objroot is correctly formattedsjg2013-10-131-0/+6
|
* Ensure that $PROG isn't make .PHONYsjg2013-10-121-1/+15
| | | | Also add some additional control over staging (for use by bsd.test.mk)
* Avoid errors when MACHINE is a pseudo machine like "common".sjg2013-10-121-0/+4
|
* Add more vars we subst into DIRDEPS eg. BOOT_MACHINE_DIR and KERNEL_NAME.sjg2013-10-121-5/+21
| | | | Make it easier to add more.
* Some cleanup and re-org.sjg2013-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)
* Sync-up with what's being use in Juniper for building ATF in meta mode.sjg2013-10-122-1/+26
|
* Some re-org and cleanup.sjg2013-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).
* When TARGET_SPEC_VARS is non-trivial, we need to apply the same filteringsjg2013-10-121-4/+9
| | | | when setting _machines as we do to _build_dirs.
* In meta mode touch targets like copies so we don't needlessly repeat them.sjg2013-10-121-1/+10
|
* Tell cpp to only look where we told itsjg2013-10-121-1/+1
|
* Make sure we trigger generation of headerssjg2013-10-121-0/+4
|
* Report the number of dirdeps so we can track progress.sjg2013-10-121-1/+1
|
* Merge headsjg2013-09-111135-42372/+97756
|\
| * Fix build with gcc.kib2013-09-111-0/+2
| | | | | | | | | | Build-tested by: gjb Approved by: re (glebius)
| * Prior to r254304, we only began scanning the active page queue when thealc2013-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
| * Clear correct data structure.hselasky2013-09-111-1/+3
| | | | | | | | | | MFC after: 1 week Approved by: re (hrs)
| * Clean up SIOCSIFDSTADDR usage from ifnet drivers. The ioctl itself isglebius2013-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.
| * Fix a limitation in bhyve that would limit the number of virtual machines toneel2013-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@
| * Cleanup elf macrosbapt2013-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)
| * Implement sendfile(2) for the posix shared memory segment file descriptor,kib2013-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)
| * Stick to traditional DEFAULT_SYS_PATH (/usr/share/mk)sjg2013-09-101-0/+1
| | | | | | | | | | Reviewed by: obrien Approved by: re
| * Missed in r255386: libssh is more than just the .so file itself.des2013-09-101-0/+6
| | | | | | | | Approved by: re (blanket)
| * Change the default value of VerifyHostKeyDNS to "yes" if compiled withdes2013-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)
| * Clean up the OpenSSH build. It is now possible to build most componentsdes2013-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)
| * Remove documentation describing functionality which geom(4) does not,cperciva2013-09-101-19/+1
| | | | | | | | | | | | | | | | in fact, provide. Reviewed by: phk MFC after: 3 days Approved by: re (gjb)
| * Add support to detect arm vs armv6bapt2013-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
| * Clean up the Kerberos build by turning libheimipcc and libheimipcs intodes2013-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)
| * Make this more deterministic by sorting the libraries before processingdes2013-09-101-1/+2
| | | | | | | | | | | | them and ensuring that we always use the samme collation rules. Approved by: re (gjb)
| * add note about gcc and aesni...jmg2013-09-101-0/+5
| | | | | | | | Approved by: re (gjb, kib)
| * Back out r255440. /usr/bin/gcc @r255185 (2013-09-03) can build this.obrien2013-09-103-3/+3
| | | | | | | | Approved by: re (kib)
| * Add a sendfile regression test for transmit length > file size.emaste2013-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)
| * ipfilter 5.1.2 no longer supports sysctl. Use ipf -V to determine ifcy2013-09-103-6/+4
| | | | | | | | | | | | | | available (the kernel module is loaded or compiled into the kernel). Approved by: glebius (mentor) Approved by: re (blanket)
| * Make a bump for r255426.glebius2013-09-101-1/+1
| | | | | | | | Approved by: re (gjb)
| * Fix the length calculation for the final block of a sendfile(2)des2013-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
| * Only use a clang'ism if ${CC} is clang.obrien2013-09-103-3/+3
| | | | | | | | | | Reviewed by: sjg Approved by: re (kib)
| * Call free() on the pointer returned from malloc().kib2013-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)
| * Go way past 11 and bump bhyve's max vCPUs to 16.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@
| * MFV r247844 (illumos-gate 13975:ef6409bc370f)delphij2013-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)
| * Fix the aborting of association with the iterator using an emptytuexen2013-09-091-37/+35
| | | | | | | | | | | | | | user initiated error cause (using SCTP_ABORT|SCTP_SENDALL). Approved by: re (delphij) MFC after: 1 week
| * Emit the correct standard library dependency line for C++ programs. Indes2013-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)
| * Pass -n (do not emit comments) when saving mtree information for futuredelphij2013-09-091-1/+1
| | | | | | | | | | | | | | mergemaster(8) runs. MFC after: 3 days Approved by: re (kib)
| * Add a mmap flag (MAP_32BIT) on 64-bit platforms to request that a mapping usejhb2013-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)
| * The correct variable is apparently MACHINE_ARCH, not TARGET_ARCH.des2013-09-091-1/+1
| | | | | | | | Approved by: re (blanket)
| * Make the primary name of the OF console device /dev/ofwcons, and onlynwhitehorn2013-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)
| * These three files appeared in 6.0p1, which was imported into the vendordes2013-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)
| | * Apply upstream revision 1.151 (fix relative symlinks)des2013-08-131-1/+2
| | |
OpenPOWER on IntegriCloud