aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add new USB ID.Hans Petter Selasky2015-05-052-0/+2
| | | | | | | | PR: 199843 MFC after: 1 week Notes: svn path=/head/; revision=282505
* Start to reduce the diff between the Atmel kernel configs.Andrew Turner2015-05-053-80/+89
| | | | Notes: svn path=/head/; revision=282504
* The VIRT kernel config targets armv6.Andrew Turner2015-05-051-33/+1
| | | | Notes: svn path=/head/; revision=282503
* Move the first batch of common armv6 options to std.armv6.Andrew Turner2015-05-0517-491/+33
| | | | Notes: svn path=/head/; revision=282502
* Remove buildenv_setup(), and set EMBEDDEDPORTS to theGlen Barber2015-05-051-16/+1
| | | | | | | | | | sysutils/u-boot-rpi2 port, since these cases are already handled by arm/release.sh. Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=282501
* Add initial support for building RPI2 images.Glen Barber2015-05-053-0/+83
| | | | | | | | | | | | | | | | | | In release.sh, allow overriding buildenv_setup() before the handoff to arm/release.sh. Copy arm/RPI-B.conf -> arm/RPI2.conf, set UBOOT_PORT and the correct KERNEL, and add the buildenv_setup() override to install the sysutils/u-boot-rpi2 port/package. Copy tools/arm/crochet-RPI-B.conf -> tools/arm/crochet-RPI2.conf, and set the correct entries for the RaspberryPi2 board. Thanks to: loos@ Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=282500
* Create std.arm and std.armv6 config files and include the right one fromIan Lepore2015-05-0549-6/+60
| | | | | | | | | | | | | | | | each of the existing kernel configs. This gives a place to put config that applies to the entire arch. Add the ARM_NEW_PMAP option to std.armv6. This is working well in early testing and it's time for wide exposure, but it's still nice to be able to fall back to the old implementation for testing when a problem comes along. Eventually the option and the old implementation will go away. The opportunity now exists to move a whole lot of boilerplate from all the arm kernel config files into std.arm*, but that's a commit for another day. Notes: svn path=/head/; revision=282499
* Document r281617, wc(1) race when receiving SIGINFO fixed.Glen Barber2015-05-051-0/+5
| | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=282496
* Fix a FDP style nit. Wrap the lines as a result.Glen Barber2015-05-051-3/+3
| | | | | | | | Found with: textproc/igor Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=282495
* Document r281802, support added for building FreeBSD/aarch64 virtualGlen Barber2015-05-051-0/+5
| | | | | | | | | machine and memory stick images. Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=282494
* Update the svn revision marker.Glen Barber2015-05-051-1/+1
| | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=282493
* Document r282434, openresolv updated to version 3.7.0.Glen Barber2015-05-051-0/+4
| | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=282492
* Document r282274, xen(4) PV domU kernel support removed.Glen Barber2015-05-051-0/+3
| | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=282491
* Document r282213, kern.racct.enable tunable and RACCT_DISABLEDGlen Barber2015-05-051-0/+7
| | | | | | | | | kernel configuration option. Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=282490
* Document r282212, several improvements/updates to the HyperV drivers.Glen Barber2015-05-052-0/+22
| | | | | | | | | Add Microsoft OSTC to sponsors.ent. Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=282489
* Document r282208, chmod(1), chflags(1), chgrp(1), and chown(8) nowGlen Barber2015-05-052-0/+7
| | | | | | | | | | | affect symbolic links when '-R' is used. Add Multiplay to sponsors.ent. Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=282488
* Fix a typo.Glen Barber2015-05-051-1/+1
| | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=282487
* Tweak seekdir, telldir and readdir so that when htere are deletes going on,Julian Elischer2015-05-055-1/+65
| | | | | | | | | | | | | | as seek to teh last location saved will still work. This is needed for Samba to be able to correctly handle delete requests from windows. This does not completely fix seekdir when deletes are present but fixes the worst of the problems. The real solution must involve some changes to the API for eh VFS and getdirentries(2). Obtained from: Panzura inc MFC after: 1 week Notes: svn path=/head/; revision=282485
* Add DEV_ACPI to opt_acpi.h to be used to detect when ACPI is enabled inAndrew Turner2015-05-051-0/+1
| | | | | | | the kernel. Notes: svn path=/head/; revision=282484
* Update the comment on what CPUs this driver supports.Andrew Turner2015-05-051-1/+1
| | | | Notes: svn path=/head/; revision=282483
* cp: Remove fts sorting.Jilles Tjoelker2015-05-051-28/+1
| | | | | | | | | | | | | | | | | | | | | | | | | In an attempt to improve performance, cp reordered directories first (although the comment says directories last). This is not effective with new UFS layout policies. The sorting reorders multiple arguments passed to cp, which may be undesirable. Additionally, the comparison function does not induce a total order. Per POSIX, this causes undefined behaviour in qsort(). NetBSD removed the sorting in 2009. On filesystems that return directory entries in hash/btree order, sorting by d_fileno before statting improves performance on large directories. However, this can only be implemented in fts(3). PR: 53475 Reviewed by: bde (in 2004) MFC after: 1 week Notes: svn path=/head/; revision=282482
* Add "The Design and Implementation of the FreeBSD OS, 2nd Ed.".Sergey A. Osokin2015-05-051-0/+4
| | | | Notes: svn path=/head/; revision=282481
* Move the point we attach the ofw driver on arm64 to nexus.c. This willAndrew Turner2015-05-052-0/+15
| | | | | | | allow us to have a single place to decide to use ofw or acpi. Notes: svn path=/head/; revision=282480
* Document DragonFly releases 4.0.2 - 4.0.5 and OpenBSD 5.7.Sergey A. Osokin2015-05-051-1/+13
| | | | | | | Fix typo for NetBSD 6.1.5. Notes: svn path=/head/; revision=282478
* Add FDT to the list of known GUIDs.Andrew Turner2015-05-051-0/+3
| | | | Notes: svn path=/head/; revision=282477
* zfs: do not hold an extra reference on a root vnode while a filesystem is ↵Andriy Gapon2015-05-052-9/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mounted At present zfs_domount() acquires a reference on the filesystem's root vnode and that reference is kept until zfs_umount. The latter calls vflush(rootrefs = 1) to dispose of the extra reference. There is no explanation of why that reference is kept - what problem it solves or what behavior it improves. Also, that logic is FreeBSD specific. There is one real problem with that reference, though. zfs recv -F may receive a full, non-incremental stream to a mounted filesystem. In that case the received root object is likely to have a different z_gen attribute value. Because of that, zfs_rezget will leave the previous root znode and vnode disassociated from the actual object (z_sa_hdl == NULL). Thus, future calls to VFS_ROOT() -> zfs_root() will produce a new vnode-znode pair, while the old one will be kept alive by the outstanding reference. So, the outstanding reference will not actually be for the new root vnode (or, more precisely, vnodes - because a root vnode may be recycled and a newer one can be created). As a result, when vflush(rootrefs = 1) s called there will be two problems: - a leaked reference on the old root vnode preventing a graceful unmount - insufficient references on the actual root vnode leading to a crash upon access to the vnode after it is destroyed by vgone() + vdrop() The second issue will actually override the first one. Differential Revision: https://reviews.freebsd.org/D2353 Reviewed by: delphij, kib, smh MFC after: 17 days Notes: svn path=/head/; revision=282475
* Disable the use of floating-point and vector registers in the loader. TheyAndrew Turner2015-05-053-0/+8
| | | | | | | need the vfp unit to be enabled which may not be the case. Notes: svn path=/head/; revision=282474
* dmu_recv_end_check: don't leak hold if dsl_destroy_snapshot_check_impl failsAndriy Gapon2015-05-051-2/+6
| | | | | | | | | | | | | | | The leak may happen if !drc_newfs && drc_force and there is an error iterating through snapshots or any of snapshot checks fails. See https://www.illumos.org/issues/5870 See https://reviews.csiden.org/r/206/ Reviewed by: mahrens (as mahrens@delphix.com) MFC after: 15 days Sponsored by: ClusterHQ Notes: svn path=/head/; revision=282473
* Fix major copy/paste and other style errors.Sergey Kandaurov2015-05-051-5/+10
| | | | Notes: svn path=/head/; revision=282472
* Copy new attribute types when linking. bfd will copy attributes as needed,Andrew Turner2015-05-051-0/+3
| | | | | | | | | | | | | however it will fail to output them if the type is not set correctly. This can happen when it finds an attribute it hasn't seen before, for example when building shared objects it will use the attributes from crti.o, hwever this file has no attributes set. Differential Revision: https://reviews.freebsd.org/D2413 Reviewed by: imp Notes: svn path=/head/; revision=282471
* When cross-building ${LIBSTAND} may be set to the host copy. Point to theAndrew Turner2015-05-051-0/+6
| | | | | | | | | | version built with the toolchain. Differential Revision: https://reviews.freebsd.org/D2312 Submitted by: jhb Notes: svn path=/head/; revision=282470
* Add support for Sierra MC7354 cardRenato Botelho2015-05-052-0/+2
| | | | | | | | | | | Author: Jeremy Porter <jporter@netgate.com> Differential Revision: https://reviews.freebsd.org/D2444 Reviewed by: gnn, hselasky MFC after: 1 week Sponsored by: Netgate Notes: svn path=/head/; revision=282469
* Enlarge the buffer for storing macros as some macros can be longer than 5Baptiste Daroussin2015-05-051-1/+1
| | | | Notes: svn path=/head/; revision=282468
* Update the list of known roff commands (adding the mdoc package)Baptiste Daroussin2015-05-051-35/+54
| | | | | | | Obtained from: NetBSD Notes: svn path=/head/; revision=282467
* Properly assign open and close brackets and checks memoryBaptiste Daroussin2015-05-051-2/+12
| | | | | | | Obtained from: NetBSD Notes: svn path=/head/; revision=282466
* Add apple-boot, apple-hfs and apple-ufs aliases to MBR scheme.Andrey V. Elsukov2015-05-053-3/+12
| | | | | | | | | | Sort DOSPTYP_* entries in diskmbr.h by value. Document these scheme-specific types in gpart(8). MFC after: 1 week Notes: svn path=/head/; revision=282465
* Ensure we read existing values of the stk tableBaptiste Daroussin2015-05-051-2/+4
| | | | | | | Obtained from: NetBSD Notes: svn path=/head/; revision=282464
* Use stdup(3) and check its return instead from homebrew version using strcpy(3)Baptiste Daroussin2015-05-051-1/+2
| | | | | | | | | and malloc(3) Obtained from: NetBSD Notes: svn path=/head/; revision=282463
* cosmetic fixesBaptiste Daroussin2015-05-051-2/+2
| | | | | | | Obtained from: NetBSD Notes: svn path=/head/; revision=282462
* Apply seom style(9) fixes from NetBSDBaptiste Daroussin2015-05-052-31/+29
| | | | | | | Obtained from: NetBSD Notes: svn path=/head/; revision=282461
* Prevent useless use of strdup(3)Baptiste Daroussin2015-05-051-2/+4
| | | | | | | Obtained from: NetBSD Notes: svn path=/head/; revision=282460
* Replace homebrewed NIL by NULLBaptiste Daroussin2015-05-052-72/+69
| | | | Notes: svn path=/head/; revision=282459
* Use stdbool instead of homebrewed booleanBaptiste Daroussin2015-05-053-69/+64
| | | | Notes: svn path=/head/; revision=282457
* Another function to ansifyBaptiste Daroussin2015-05-051-2/+2
| | | | Notes: svn path=/head/; revision=282455
* Remove unused variablesBaptiste Daroussin2015-05-051-2/+0
| | | | Notes: svn path=/head/; revision=282454
* Explicitly use O_RDONLY instead of 0Baptiste Daroussin2015-05-051-1/+1
| | | | Notes: svn path=/head/; revision=282453
* Use strlcpy(3) instead of strcpy(3)Baptiste Daroussin2015-05-051-2/+2
| | | | Notes: svn path=/head/; revision=282452
* upper the warning level to 3Baptiste Daroussin2015-05-051-1/+1
| | | | Notes: svn path=/head/; revision=282451
* Another bit of ansificationBaptiste Daroussin2015-05-051-3/+1
| | | | Notes: svn path=/head/; revision=282450
* Ansify to allow to work on it laterBaptiste Daroussin2015-05-053-39/+35
| | | | Notes: svn path=/head/; revision=282449