summaryrefslogtreecommitdiffstats
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
* Check l2cap socket initialisation and define L2CAP_SOCKET_CHECKEDtakawata2015-04-0758-7/+70
| | | | This will fix build.
* Remove hard limits on number of accepting NFS connections.mav2015-04-071-2/+2
| | | | | | | Limits of 5 connections set long ago creates problems for SPEC benchmark. Make the NFS follow system-wide maximum. MFC after: 1 week
* Tidy up battery status information. Remove a trailing white space.jkim2015-04-061-10/+24
| | | | PR: 193671
* 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
* 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.
* 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
* 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
* Stop including if_var.h from userland.glebius2015-04-0623-36/+0
| | | | Sponsored by: Nginx, Inc.
* bthidd: Consider usage ranges when dealing with array inputs.rakuco2015-04-051-1/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | So far, we were always using HID_USAGE() to determine the Usage ID of a certain HID report input item. This does not work as intended if a field is an array and the allowed usages are specified with a usage range, as HID_USAGE() will return 0. We need to use the field value as an index in the usage range list in this case instead. This makes the volume keys in a Microsoft Bluetooth Mobile Keyboard 5000 be properly recognized. The relevant part of the HID report looks like this: 0xA1, 0x01, // Collection (Application) 0x85, 0x07, // Report ID (7) 0x05, 0x0C, // Usage Page (Consumer) 0x19, 0x00, // Usage Minimum (Unassigned) 0x2A, 0xFF, 0x03, // Usage Maximum (0x03FF) 0x95, 0x01, // Report Count (1) 0x75, 0x10, // Report Size (16) 0x15, 0x00, // Logical Minimum (0) 0x27, 0xFF, 0x03, 0x00, 0x00, // Logical Maximum (1023) 0x81, 0x00, // Input (Data,Array,Abs,No Wrap,Linear,Preferred // State,No Null Position) When a key such as "volume down" is pressed, the following data is transferred through Interrupt In: 0x07 0xEA 0x00 Differential Revision: https://reviews.freebsd.org/D2229 Reviewed by: emax Approved by: emax MFC after: 1 week
* Fix thinko/copypaste error.jpaetzel2015-04-041-1/+1
| | | | | | | | | When checking the length of the mutual secret password the variable for the secret password was used by mistake. This resulted in ctld never warning about the length of the mutual secret being wrong even if it was. MFC after: 3 days Sponsored by: iXsystems
* Allow fetching pkg(8) even if servers/proxies are not passing Content-lengthbapt2015-04-031-13/+6
|
* arp(8): add support for printing and deleting entries of typemarkj2015-04-021-0/+4
| | | | | | | | | | IFT_INFINIBAND, used in IPoIB. PR: 151594 Submitted by: Anthony Cornehl <accornehl@gmail.com> Reviewed by: hselasky MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
* Prior to aborting due to an instruction emulation error, it is alwaystychon2015-04-011-7/+12
| | | | | | interesting to see what the guest's %rip and instruction bytes are. Reviewed by: grehan
* Whoops! "arc commit --revision" != "arc diff --update"dteske2015-04-011-3/+0
|
* Add "GELI Passphrase:" prompt to boot loader.dteske2015-04-011-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: Add "GELI Passphrase:" prompt to boot loader. A new loader.conf(5) option of geom_eli_passphrase_prompt="YES" will now allow you to enter your geli(8) root-mount credentials prior to invoking the kernel. See check-password.4th(8) for details. Differential Revision: https://reviews.freebsd.org/D2105 Reviewed by: (your name[s] here) MFC after: 3 days X-MFC-to: stable/10 Relnotes: yes Test Plan: Drop a head copy of check-password.4th into /boot and then apply the patch (only the patch to /boot/check-password.4th is required; no other changes are required but you do have to have a HEAD copy of check-password.4th to apply the patch). NB: The rest of your /boot files can be up to 2 years old but no older. NB: The test won't work unless your kernel has the following change https://svnweb.freebsd.org/base?view=revision&revision=273489 Now, put into /boot/loader.conf: geom_eli_passphrase_prompt="YES" and reboot. You should be prompted for a GELI passphrase before the menu (if enabled), just after loading loader.conf(5). NB: It doesn't matter if you're using GELI or not. However if you are using GELI and a sufficiently new enough release (has SVN r273489) and you entered the proper passphrase to mount your GELI encrypted root device(s), you should notice that the boot process did not stop (you went from loader all the way to login). Reviewers: cperciva, allanjude, scottl, kmoore Subscribers: jkh, imp Differential Revision: https://reviews.freebsd.org/D2105
* Fix typo in a comment.dteske2015-03-311-1/+1
| | | | | MFC after: 3 days X-MFC-to: stable/10 stable/9
* MFV ntp 4.2.8p1 (r258945, r275970, r276091, r276092, r276093, r278284)cy2015-03-3032-1587/+5227
| | | | | | Thanks to roberto for providing pointers to wedge this into HEAD. Approved by: roberto
* pmcstat.8: fix -a flag description; improve -m flag to matchvangyzen2015-03-282-3/+9
| | | | | | | | | | | The -a flag reads a file saved by -O, not -o. The -m flag requires the -R flag. Copy that paragraph from -a. Reviewed by: adrian Approved by: kib (mentor) MFC after: 1 week Sponsored by: Dell Inc
* crunchide: arm64 supportemaste2015-03-271-1/+2
| | | | | Submitted by: andrew@ Sponsored by: The FreeBSD Foundation
* Move legacy interrupt allocation for virtio devices to common code.grehan2015-03-273-4/+5
| | | | | | | | | | | | | | There are a number of assumptions about legacy interrupts always being available in virtio so don't allow back-ends to make the decision to support them. This fixes the issue seen with virtio-rnd on OpenBSD. MSI-x vectors were not being used, and the virtio-rnd backend wasn't allocating a legacy interrupt resulting in a bhyve assert and guest exit. Reported by: Julian Hsiao, madoka at nyanisore dot net Reviewed by: neel MFC after: 1 week
* Rough first mdoc, spelling and grammar cleanup pass.brueffer2015-03-261-27/+39
|
* Opps its section 8 not 1 silly.rrs2015-03-261-1/+1
| | | | | MFC after: 3 days Sponsored by: Netflix
* Update the manual page to be a bit more sane. It stillrrs2015-03-264-66/+137
| | | | | | | | may need some work, but at least now it will read properly. (gnn you are still on the hook to help out with this like you committed). Sponsored by: Netflix.
* Fix typo in jail(8) man pageallanjude2015-03-221-1/+1
| | | | | | | | PR: 198790 Differential Revision: https://reviews.freebsd.org/D2111 Submitted by: Jimmy Olgeni Approved by: wblock (mentor) Sponsored by: ScaleEngine Inc.
* Update copyright(s)dteske2015-03-211-2/+2
| | | | | MFC after: 3 days X-MFC-to: stable/10
* Whitespace cleanup(s).dteske2015-03-211-43/+49
| | | | | MFC after: 3 days X-MFC-to: stable/10
* Add missing variable initialization.mav2015-03-201-1/+1
| | | | | | Reported by: Coverity CID: 1288938 MFC after: 3 days
* Add comment explaining existing powerd behavior on SMP systems.mav2015-03-201-0/+6
| | | | MFC after: 1 week
* Remove a non-required unsafe condition added in the previous commitallanjude2015-03-181-4/+0
| | | | | | Reviewed by: bapt Approved by: dteske Sponsored by: ScaleEngine Inc.
* Fix the handbook install option in bsdinstallallanjude2015-03-181-1/+8
| | | | | | | | | | | | | bsdconfig's f_package_add doesn't seem to support using the pkg repo from /etc/pkg/FreeBSD.conf, it also tries to run the commands on the installer image, not in the destination chroot Instead, manually bootstrap pkg in the chroot, and then install the requested packages (in the chroot) Doesn't use pkg -c, because pkg is not installed on the installer image PR: 196250 Differential Revision: https://reviews.freebsd.org/D2026 Approved by: bapt Sponsored by: ScaleEngine Inc.
* Report that we may have write cache, and that we do support FLUSH.mav2015-03-161-0/+2
| | | | | | FreeBSD guest driver does not use that legacy flag, but Linux seems does. MFC after: 2 weeks
* Increase S/G list size of 32 to 33 entries.mav2015-03-162-8/+6
| | | | | | | 32 entries are not enough for the worst case of misaligned 128KB request, that made FreeBSD to chunk large quests in odd pieces. MFC after: 2 weeks
* Pre-allocate one extra request per processing thread.mav2015-03-151-1/+1
| | | | | | | Processing threads call callbacks before freeing requests. As result, new requests may arrive before old ones are freed. MFC after: 2 weeks
* According to Linux and QEMU, s/n equal to buffer is not zero-terminated.mav2015-03-151-1/+3
| | | | | | This makes same s/n reported for both virtio and AHCI drivers. MFC after: 2 weeks
* Close potential race on blockif_close().mav2015-03-151-0/+2
| | | | | Reported by: vangyzen MFC after: 2 weeks
* Fix networking problem after r280026.mav2015-03-153-2/+17
| | | | | | | | I've missed that network driver sometimes returns taken request back to available queue without processing. Add new helper function for that case. Reported by: flo MFC after: 2 weeks
* Give AHCI disk serial based on backing file path same as for virtio block.mav2015-03-151-4/+16
| | | | | | | It is still not good that they may intersect on different hosts, but that is better then intersecting on the same host. MFC after: 2 weeks
* Rewrite virtio block device driver to work asynchronously and use the blockmav2015-03-152-78/+76
| | | | | | | | | | | | | | | I/O interface. Asynchronous operation, based on r280026 change, allows to not block virtual CPU during I/O processing, that on slow/busy storage can take seconds. Use of recently improved block I/O interface allows to process multiple requests same time, that improves random I/O performance on wide storages. Benchmarks of virtual disk, backed by ZVOL on RAID10 pool of 4 HDDs, show ~3.5 times random read performance improvements, while no degradation on linear I/O. Guest CPU usage during test dropped from 100% to almost zero. MFC after: 2 weeks
* Modify virtqueue helpers added in r253440 to allow queuing.mav2015-03-155-39/+24
| | | | | | | Original virtqueue design allows queued and out-of-order processing, but helpers added in r253440 suppose only direct blocking in-order one. It could be fine for network, etc., but it is a huge limitation for storage devices.
* Block delete capability for read-only devices.mav2015-03-152-2/+5
| | | | | Submitted by: neel MFC after: 2 weeks
* Give block I/O interface multiple (8) execution threads.mav2015-03-141-53/+76
| | | | | | | | | | | | On parallel random I/O this allows better utilize wide storage pools. To not confuse prefetcher on linear I/O, consecutive requests are executed sequentially, following the same logic as was earlier implemented in CTL. Benchmarks of virtual AHCI disk, backed by ZVOL on RAID10 pool of 4 HDDs, show ~3.5 times random read performance improvements, while no degradation on linear I/O. MFC after: 2 weeks
* Add checksums to identify data and NCQ command error log.mav2015-03-141-0/+16
| | | | MFC after: 2 weeks
* Slightly polish virtual AHCI CD reporting.mav2015-03-141-23/+67
| | | | MFC after: 2 weeks
* Fix NOP and IDLE commands for virtual AHCI disks.mav2015-03-141-2/+5
| | | | MFC after: 2 weeks
* Add support for NCQ variant of DSM TRIM for virtual AHCI disks.mav2015-03-141-4/+24
| | | | | | | The code is not really tested yet due to lack of initiator support. Requested by: imp MFC after: 2 weeks
* Improve NCQ errors reporting for virtual AHCI disks.mav2015-03-141-11/+53
| | | | | | While this implementation is still not perfect, previous was just broken. MFC after: 2 weeks
* Remove incorrect SERR register setting.mav2015-03-131-2/+0
| | | | | | At this point we have nothing to report through that register. MFC after: 2 weeks
* Change prdbc value reporting.mav2015-03-131-7/+6
| | | | MFC after: 2 weeks
* Polish AHCI disk identify data and fix speed negotiation.mav2015-03-132-17/+49
| | | | MFC after: 2 weeks
* Add support for PIO variants of READ/WRITE commands for AHCI disks.mav2015-03-131-4/+16
| | | | | | AHCI API hides all PIO specifics, so this functionality is almost free. MFC after: 2 weeks
OpenPOWER on IntegriCloud