summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Check l2cap socket initialisation and define L2CAP_SOCKET_CHECKEDtakawata2015-04-0769-10/+84
| | | | This will fix build.
* Fix missing AUTHOR section for jot(1), rs(1), and lam(1)allanjude2015-04-073-3/+9
| | | | | | | | | PR: 196786 Differential Revision: https://reviews.freebsd.org/D2115 Submitted by: John A. Kunze (Author) Approved by: wblock (mentor) MFC after: 1 week Sponsored by: ScaleEngine Inc.
* Add a missing comma.brueffer2015-04-071-1/+1
| | | | Submitted by: danfe
* Get the fdt uart driver working on arm64, there is no machine/fdt.h, andandrew2015-04-072-1/+13
| | | | | | the default shift should be 2 for the SoCs we support. Sponsored by: The FreeBSD Foundation
* Make use of allocation attributes in system headers.pfg2015-04-071-4/+6
| | | | | | | | | Start using 'alloc_size' attribute in the allocator functions. This is useful as it helps the compiler generate warnings on suspicious code and can also enable some small optimizations. This is based on r281130, which brought similar enhnacements to the standard libc headers.
* The code says "or", not "either or". So fix the documentation.tuexen2015-04-071-2/+2
| | | | MFC after: 1 week
* We will have fueword on arm64, mark as such in machine/param.h.andrew2015-04-071-4/+0
| | | | Sponsored by: The FreeBSD Foundation
* Fix uart_fdt_get_clock. It should have beed using the cell variable passedandrew2015-04-071-9/+6
| | | | in, not value on the stack.
* Remove hard limits on number of accepting NFS connections.mav2015-04-073-5/+5
| | | | | | | Limits of 5 connections set long ago creates problems for SPEC benchmark. Make the NFS follow system-wide maximum. MFC after: 1 week
* Initial Bluetooth LE support.takawata2015-04-0723-172/+1503
| | | | | | | | | Note that sockaddr_l2cap structure is changed , check socket address to initialize new structure member and define L2CAP_SOCKET_CHECKED before including ng_btsocket.h Differential Revision: https://reviews.freebsd.org/D2021 Reviewed by:emax
* Add the start of libc and libstand for arm64. Not all of the machineandrew2015-04-0726-4/+1028
| | | | | | | | dependent functions have been implemented, but this is enough for world. Differential Revision: https://reviews.freebsd.org/D2132 Reviewed by: emaste Sponsored by: The FreeBSD Foundation
* add the define to properly guard this header..jmg2015-04-071-0/+1
| | | | Sponsored by: Netflix, Inc.
* In ipfilter(4) there is the ipftest(1) program, that compiles half of theglebius2015-04-071-11/+23
| | | | | | | | | | | | ipfilter code as userland application. To reduce kernel structure knowledge include if_var.h only if a file is compiled with _KERNEL defined. In !_KERNEL case, provide our own definition of struct ifnet, that will satisfy ipftest(1). This was already done earlier to struct ifaddr in r279029. Protect the definition with _NET_IF_VAR_H_, since kernel part of ipfilter may include if_var.h and ip_compat.h. Sponsored by: Netflix Sponsored by: Nginx, Inc.
* Like it was already done for 'netstat -i', drop the kvm(3) supportglebius2015-04-072-394/+14
| | | | | | | | | | | | | | in 'netstat -r'. The netstat/route.c was the last abuser of struct ifnet and struct rtentry in the tree. With this change if_var.h can become kernel only include, _WANT_RTENTRY can go away and projects/ifnet and projects/routing can go forward. Differential Revision: https://reviews.freebsd.org/D2242 Reviewed by: melifaro, gnn Sponsored by: Nginx, Inc. Sponsored by: Netflix
* - Simplify vm_pageout_scan() by introducing a new vm_pageout_clean()jeff2015-04-071-120/+123
| | | | | | | | | | | function that does the locking and validation associated with cleaning a page. This moves 150 lines of code into its own function. - Rename vm_pageout_clean() to vm_pageout_cluster() to define what it really does; clustering nearby pages for pageout optimization. Reviewd by: alc, kib, kmacy Tested by: pho (earlier version) Sponsored by: EMC / Isilon
* Add Lenovo ThinkPad OneLink GigaLAN.kevlo2015-04-072-0/+2
| | | | | PR: 199184 Submitted by: Robin Karlsson
* Remove custom getdelim(3) and fix a small memory leak.pfg2015-04-073-72/+28
| | | | | | | Originally from Andre Smagin. Obtained from: OpenBSD MFC after: 1 week
* sort(1): Cleanups and a small memory leak.pfg2015-04-071-16/+9
| | | | | | | | | | | | Remove useless check for leading blanks in the month name. The code didn't adjust len after stripping blanks so even if a month *did* start with a blank we'd end up copying garbage at the end. Also convert a malloc + memcpy to strdup and fix a memory leak in the wide char version if mbstowcs() fails. Originally from Andre Smagin. Obtained from: OpenBSD (CVS rev. 1.2, 1.3) MFC after: 1 week
* Eliminate literal escape sequences from *.rcdteske2015-04-062-16/+19
| | | | | | | Suggested by: alfred MFC after: 3 days X-MFC-to: stable/10 X-MFC-with: r280976, r281179
* Partially revert r280976: Back to previous mode-endings based on feedbackdteske2015-04-061-16/+16
| | | | | | | Reported by: lattera MFC after: 3 days X-MFC-to: stable/10 X-MFC-with: r280976
* Partially revert r280975: Back to previous mode-endings based on feedbackdteske2015-04-062-7/+7
| | | | | | | Reported by: lattera MFC after: 3 days X-MFC-to: stable/10 X-MFC-with: r280975
* Partially revert r280974: Back to previous mode-endings based on feedbackdteske2015-04-062-2/+2
| | | | | | | MFC after: 3 days X-MFC-to: stable/10 X-MFC-with: r290974 Reported by: lattera
* Partially revert r280925: Back to previous mode-endings based on feedbackdteske2015-04-061-1/+1
| | | | | | MFC after: 3 days X-MFC-with: r280925 Reported by: lattera
* lockf(1): add a reference to lockf(3).markj2015-04-061-0/+1
| | | | | Submitted by: Conrad Meyer MFC after: 1 week
* o Make net.inet6.ip6.mif6table return special API structure, that doesn'tglebius2015-04-065-70/+62
| | | | | | | | | | | | | | | | contain kernel pointers, and instead has interface index. Bump __FreeBSD_version for that change. o Now, netstat/mroute6.c no longer needs to kvm_read(3) struct ifnet, and no longer needs to include if_var.h Note that this change is far from being a complete move of IPv6 multicast routing to a proper API. Other structures are still dumped into their sysctls as is, requiring userland application to #define _KERNEL when including ip6_mroute.h and then call kvm_read(3) to gather all bits and pieces. But fixing this is out of scope of the opaque ifnet project. Sponsored by: Nginx, Inc. Sponsored by: Netflix
* Tidy up battery status information. Remove a trailing white space.jkim2015-04-061-10/+24
| | | | PR: 193671
* vfork() first appeared in 3BSD which pre-dates 2.9BSD. Verified via thejhb2015-04-061-2/+2
| | | | | | | copy of 3BSD on disc 1 of "The CSRG Archives". PR: 198612 MFC after: 1 week
* Make global variabled only used in this file static.andrew2015-04-061-2/+2
|
* Unbreak ZFS+GELI install option.dteske2015-04-061-1/+1
| | | | | | | | | Reported by: delphij Submitted by: delphij Pointy hat to: dteske (me) MFC after: 3 days X-MFC-to: stable/10 stable/9 X-MFC-with: r281160
* Typo fix in commentjpaetzel2015-04-061-1/+1
| | | | MFC after: 3 days
* Remove duplicate codekp2015-04-061-15/+2
| | | | | | | | | We'll just fall into the same local delivery block under the 'if (m->m_flags & M_FASTFWD_OURS)'. Suggested by: ae Differential Revision: https://reviews.freebsd.org/D2225 Approved by: gnn (mentor)
* pf: Skip firewall for refragmented ip6 packetskp2015-04-061-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | In cases where we scrub (fragment reassemble) on both input and output we risk ending up in infinite loops when forwarding packets. Fragmented packets come in and get collected until we can defragment. At that point the defragmented packet is handed back to the ip stack (at the pfil point in ip6_input(). Normal processing continues. Eventually we figure out that the packet has to be forwarded and we end up at the pfil hook in ip6_forward(). After doing the inspection on the defragmented packet we see that the packet has been defragmented and because we're forwarding we have to refragment it. In pf_refragment6() we split the packet up again and then ip6_forward() the individual fragments. Those fragments hit the pfil hook on the way out, so they're collected until we can reconstruct the full packet, at which point we're right back where we left off and things continue until we run out of stack. Break that loop by marking the fragments generated by pf_refragment6() as M_SKIP_FIREWALL. There's no point in processing those packets in the firewall anyway. We've already filtered on the full packet. Differential Revision: https://reviews.freebsd.org/D2197 Reviewed by: glebius, gnn Approved by: gnn (mentor)
* Make ctld to not exit on ECONNABORTED on accept().mav2015-04-061-1/+4
| | | | | | | That is not really an error for the main process. MFC after: 1 week Sponsored by: iXsystems, Inc.
* Properly calculate "UMA Zones" per cpu cache size. Avoid allocatingdchagin2015-04-061-1/+1
| | | | | | | | an extra struct uma_cache since the struct uma_zone already has one. PR: 199169 Submitted by: luke.tw gmail com MFC after: 1 week
* Fix permissions on ZFS root encryption key (644 -> 600).dteske2015-04-061-0/+3
| | | | | | | MFC after: 3 days X-MFC-to: stable/10 stable/9 Security: CVE-2015-1415 Reported by: Pierre Kim
* Move the message complaining about failed system resource allocationsjhb2015-04-061-1/+1
| | | | | | | | | | under bootverbose. Every example I've seen to date has been due to an ACPI system resource device reserving a range that overlaps with system memory (which ram0 attempts to reserve) or a local or I/O APIC (which apic0 attempts to reserve). These are always harmless but look scary to users. MFC after: 1 week
* Fix the index for FAULTBUF_R13, missed during merge/cleanup.jhibbits2015-04-061-1/+1
|
* Split out the _acq and _rel functions. These were the same, but there isandrew2015-04-061-43/+199
| | | | | | | | | | | no need for them to be this strong, we only need to provide one or the other. While here replace atomic_load_acq_* and atomic_store_rel_* with a single instruction version, and fix the definition of atomic_clear_* to point to the correct functions. Sponsored by: The FreeBSD Foundation
* Add support to the efi boot1 and loader for 32-bit ARM. This will be usedandrew2015-04-0615-12/+741
| | | | | | | by the future qemu virt support. Differential Revision: https://reviews.freebsd.org/D2238 Reviewed by: emaste
* Add sleepable lock to protect at least against two parallel SIOCSVHs.glebius2015-04-061-3/+5
| | | | Sponsored by: Nginx, Inc.
* Update reported elftoolchain version to 3179emaste2015-04-061-1/+1
| | | | Missed in r280932
* bthidd: Remove unused macros from hid.c.rakuco2015-04-061-6/+0
| | | | | | | | | ASIZE() was never used, and min() stopped being used in r207812. Differential Revision: https://reviews.freebsd.org/D2230 Reviewed by: emax Approved by: emax MFC after: 1 week
* Enhance the support for Group 1 Extended opcodes:tychon2015-04-061-38/+84
| | | | | | | | * Implemement the 0x81 and 0x83 CMP instructions. * Implemement the 0x83 AND instruction. * Implemement the 0x81 OR instruction. Reviewed by: neel
* Stop including if_var.h from userland.glebius2015-04-0649-80/+0
| | | | Sponsored by: Nginx, Inc.
* Convert printfs in m_ext allocator to KASSERTs.glebius2015-04-061-5/+6
| | | | | Discussed with: rwatson Sponsored by: Nginx, Inc.
* Respect DESTDIR when creating the directory structure when NO_ROOT is set.andrew2015-04-061-1/+1
| | | | | Reviewed by: bapt MFC after: 1 Week
* SMBIOS support for EFI.rpaulo2015-04-066-14/+67
| | | | MFC after: 1 week
* ichsmb: add a device id for the Wildcat Point-LP.rpaulo2015-04-061-1/+5
| | | | MFC after: 1 week
* Make strlcpy/strlcat slightly easier to read.pfg2015-04-062-43/+42
| | | | | | Bring small upstream updates. Obtained from: OpenBSD
* sort: style knits / cleanups.pfg2015-04-062-2/+2
| | | | | | Minor cleanups that got accidentally reverted. Obtained from: OpenBSD
OpenPOWER on IntegriCloud