aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
* Reimplement queue freeze on error, added in r282429:Alexander Motin2015-05-061-3/+9
| | | | | | | | | | It is not required to use CLO to recover from task file error, it should be enough to do only stop/start, that does not clear the PxTFD.STS.ERR. MFC after: 13 days Notes: svn path=/head/; revision=282524
* Add a sanity check to the swap size in zfsboot of bsdinstallAllan Jude2015-05-051-4/+22
| | | | | | | | | | | | | | Loop until the user enters a valid size (>100mb or 0) Differential Revision: https://reviews.freebsd.org/D2299 Reported By: Shawn Webb Reviewed by: roberto Approved by: brd MFC after: 2 weeks Sponsored by: ScaleEngine Inc. Notes: svn path=/head/; revision=282443
* Implement in-order execution of non-NCQ commands.Alexander Motin2015-05-041-6/+15
| | | | | | | | | | | Using status updates in r282364, block queue on BSY, DRQ or ERR bits set. This can be a performance penalization for non-NCQ commands, but it is required for proper error recovery and standard compliance. MFC after: 2 weeks Notes: svn path=/head/; revision=282429
* Restore CPU dependent compile time conditionals.Cy Schubert2015-05-041-1/+21
| | | | | | | MFC after: 1 month (with r281143 and r282408) Notes: svn path=/head/; revision=282415
* MFV ntp 4.2.8p2 (r281348)Cy Schubert2015-05-042-4/+4
| | | | | | | | | | | Reviewed by: delphij (suggested MFC) Approved by: roberto Security: CVE-2015-1798, CVE-2015-1799 Security: VuXML ebd84c96-dd7e-11e4-854e-3c970e169bc2 MFC after: 1 month Notes: svn path=/head/; revision=282408
* Implement basic PxTFD.STS.BSY reporting.Alexander Motin2015-05-031-13/+38
| | | | | | | MFC after: 2 weeks Notes: svn path=/head/; revision=282364
* Remove #ifdef IFT_FOO.Gleb Smirnoff2015-05-021-4/+0
| | | | | | | Submitted by: Guy Yur <guyyur gmail.com> Notes: svn path=/head/; revision=282354
* Approved, oprócz użycie RESTORE_ERRNO() do ustawiania errno.Mariusz Zaborski2015-05-021-1/+1
| | | | | | | | | | | | | | | | | | | | Change the nvlist_recv() function to take additional argument that specifies flags expected on the received nvlist. Receiving a nvlist with different set of flags than the ones we expect might lead to undefined behaviour, which might be potentially dangerous. Update consumers of this and related functions and update the tests. Approved by: pjd (mentor) Update man page for nvlist_unpack, nvlist_recv, nvlist_xfer, cap_recv_nvlist and cap_xfer_nvlist. Reviewed by: AllanJude Approved by: pjd (mentor) Notes: svn path=/head/; revision=282346
* Initialize PxCMD on reset and make its read-only bits such.Alexander Motin2015-05-021-2/+16
| | | | | | | MFC after: 2 weeks Notes: svn path=/head/; revision=282345
* Handle ATA_SEND_FPDMA_QUEUED as NCQ in ahci_port_stop().Alexander Motin2015-05-021-1/+2
| | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=282344
* Advertise an additional memory BAR in the "dummy" device emulation.Neel Natu2015-05-021-15/+23
| | | | | | | | | | This is useful for testing the MOVS emulation when both the source and destination addresses are in the MMIO space. MFC after: 1 week Notes: svn path=/head/; revision=282335
* crunchide: Restore local EM_AARCH64 constant for bootstrappingEd Maste2015-04-301-0/+3
| | | | | | | | | | | Most of the EM_* constants are available in all supported host branches, but EM_AARCH64 was added relatively recently. Add it back to fix building HEAD on 10.x. Noticed by: adrian, jmallett Notes: svn path=/head/; revision=282291
* Remove oldnfs remnants from nfsd(8).Edward Tomasz Napierala2015-04-302-120/+60
| | | | | | | | Reviewed by: rmacklem@ Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=282272
* Remove oldnfs leftovers from mountd(8).Edward Tomasz Napierala2015-04-292-34/+11
| | | | | | | | Reviewed by: rmacklem@ Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=282214
* Standardise chmod, chflags, chown and chgrp recursive symlink processingSteven Hartland2015-04-293-62/+70
| | | | | | | | | | | | | | chmod, chflags, chgrp, chmod and chown now affect symlinks in -R mode as defined in symlink(7); previously symlinks were silently ignored. Differential Revision: https://reviews.freebsd.org/D2316 Reviewed by: jilles MFC after: 1 month Relnotes: yes Sponsored by: Multiplay Notes: svn path=/head/; revision=282208
* Implement the century byte in the RTC. Some guests require this field to beNeel Natu2015-04-281-1/+1
| | | | | | | | | | properly set. Reported by: Leon Dang (ldang@nahannisys.com) MFC after: 2 weeks Notes: svn path=/head/; revision=282206
* crunchide: add basic string table sanity checksEd Maste2015-04-281-6/+13
| | | | | | | | | Reported by: Coverity Scan CID: 978805, 980919 Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=282144
* - remove -l option from ntpdate manpage, as it is no longer an optionJason Helfman2015-04-271-3/+1
| | | | | | | | | | Differential Revision: https://reviews.freebsd.org/D2358 Submitted by: gnn@ Approved by: wblock (mentor) MFC after: after 1 week Notes: svn path=/head/; revision=282097
* Make setproctitle(3) work in Capsicum capability mode. This makesEdward Tomasz Napierala2015-04-271-3/+0
| | | | | | | | | | | | | | ctld(8) child processes to indicate initiator address and name in their titles, similar to what iscsid(8) child processes do. PR: 181352 Differential Revision: https://reviews.freebsd.org/D2363 Reviewed by: rwatson@, mjg@ MFC after: 1 month Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=282086
* ath3kfw, bcmfw, bthidcontrol, bthidd all require usb(4); build themEnji Cooper2015-04-271-4/+9
| | | | | | | | | conditionally if MK_USB != no MFC after: 1 week Notes: svn path=/head/; revision=282054
* Expand SMBUS API to add smbus_trans() function.Michael Gmelin2015-04-251-10/+13
| | | | | | | | | Differential Revision: https://reviews.freebsd.org/D1955 Reviewed by: adrian, jhb, wblock Approved by: adrian, jhb Notes: svn path=/head/; revision=281985
* Don't allow guest to modify readonly bits in the PCI config 'status' register.Neel Natu2015-04-241-38/+49
| | | | | | | | Reported by: Leon Dang (ldang@nahannisys.com) MFC after: 2 weeks Notes: svn path=/head/; revision=281946
* Fix minor mdoc issues.Joel Dahl2015-04-242-4/+3
| | | | Notes: svn path=/head/; revision=281931
* Reassign copyright statements on several files from AdvancedJohn Baldwin2015-04-2315-15/+15
| | | | | | | | | | Computing Technologies LLC to Hudson River Trading LLC. Approved by: Hudson River Trading LLC (who owns ACT LLC) MFC after: 1 week Notes: svn path=/head/; revision=281887
* Add hint about "volmode=dev" to ctl.conf(5).Edward Tomasz Napierala2015-04-211-3/+9
| | | | | | | | | | Differential Revision: https://reviews.freebsd.org/D2328 Reviewed by: allanjude@, bcr@ MFC after: 1 month Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=281820
* Fix wpa/hostapd build without OpenSSL.Rui Paulo2015-04-211-2/+3
| | | | Notes: svn path=/head/; revision=281807
* Merge wpa_supplicant/hostapd 2.4.Rui Paulo2015-04-213-16/+19
| | | | | | | | | | Major changes are: SAE, Suite B, RFC 7268, EAP-PKE, ACS, and tons of bug fixes. Relnotes: yes Notes: svn path=/head/; revision=281806
* Don't set bits that should be zero for SATA devices.Alexander Motin2015-04-201-1/+0
| | | | | | | | | Old value made Linux think that it is PATA device with SATA bridge. MFC after: 2 weeks Notes: svn path=/head/; revision=281782
* crunchide: Remove local EM_* ELF definitions provided by system ELF headersEd Maste2015-04-201-24/+0
| | | | | | | Suggested by: imp (in review D2314) Notes: svn path=/head/; revision=281781
* Update usage statement to align with post-r279624 functionality.Devin Teske2015-04-201-1/+1
| | | | | | | | MFC after: 3 days X-MFC-to: stable/10 stable/9 Notes: svn path=/head/; revision=281780
* vidcontrol: skip invalid video modes returned by vt(4)Ed Maste2015-04-201-0/+4
| | | | | | | | | | | | vt(4) has a stub CONS_MODEINFO ioctl that does not provide any data but returns success. This needs to be fixed in the kernel, but address it in vidcontrol(1) as well in case it's run on an older kernel. Reviewed by: bde Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=281779
* Report link as up if tap device is not specified (black hole).Alexander Motin2015-04-201-1/+1
| | | | | | | MFC after: 2 weeks Notes: svn path=/head/; revision=281767
* Report link as up only if we managed to open tap device.Alexander Motin2015-04-201-2/+2
| | | | | | | | | It would be cool to report tap device status, but it has no such API. MFC after: 2 weeks Notes: svn path=/head/; revision=281766
* Disable RX/TX queues notifications when not needed.Alexander Motin2015-04-201-0/+4
| | | | | | | | | | This reduces CPU load and doubles iperf throughput, reaching 2-3Gbit/s. MFC after: 2 weeks Sponsored by: iXsystems, Inc. Notes: svn path=/head/; revision=281764
* identd: restore memcpyEitan Adler2015-04-191-0/+2
| | | | | | | | | I should not be committing at 2:30am.... Reported by: pluknet Notes: svn path=/head/; revision=281736
* identd: also zero se_rpc_highversEitan Adler2015-04-191-3/+2
| | | | | | | Reported by: pluknet Notes: svn path=/head/; revision=281735
* identd: remove redundant zeroingEitan Adler2015-04-191-2/+1
| | | | | | | | | | se_rpc_lowvers was set to 0 twice, so remove one of them I can not find any other variable which they may have been a typo of. Reported by: gcc5.1 Notes: svn path=/head/; revision=281734
* tzsetup: remove set but unused variableEitan Adler2015-04-191-2/+2
| | | | | | | | | - leave a comment explaining which variable it used to be Reported by: gcc5.1 Notes: svn path=/head/; revision=281733
* config: remove set but unchecked variableEitan Adler2015-04-191-2/+2
| | | | | | | reported by: gcc5.1 Notes: svn path=/head/; revision=281731
* Workaround bhyve virtual disks operation on top of GEOM providers.Alexander Motin2015-04-184-18/+100
| | | | | | | | | | | | GEOM does not support scatter/gather lists in its I/Os. Such requests are cut in pieces by physio(), that may be problematic, if those pieces are not multiple of provider's sector size. If such case is detected, move the data through temporary sequential buffer. MFC after: 2 weeks Notes: svn path=/head/; revision=281700
* No need to delete export from filesystems which are not exported.Simon J. Gerraty2015-04-181-0/+6
| | | | Notes: svn path=/head/; revision=281699
* To ensure j formatting string valid, cast uint64_t values to uintmax_t.Takanori Watanabe2015-04-181-2/+3
| | | | Notes: svn path=/head/; revision=281697
* Remove some oldnfs remnants.Edward Tomasz Napierala2015-04-181-4/+3
| | | | | | | | | Differential Revision: https://reviews.freebsd.org/D2287 Reviewed by: rmacklem@ Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=281691
* Change printf formatting to unbroke i386 arch.Takanori Watanabe2015-04-181-2/+2
| | | | | | | Submitted by:david@catwhisker.org Notes: svn path=/head/; revision=281690
* Fix Typo.Takanori Watanabe2015-04-181-1/+1
| | | | Notes: svn path=/head/; revision=281688
* Fix misspelling.Marcelo Araujo2015-04-181-1/+1
| | | | Notes: svn path=/head/; revision=281685
* Improve code style(9), no functional changes.Marcelo Araujo2015-04-182-92/+95
| | | | | | | | Differential Revision: D2320 Reviewed by: takawata Notes: svn path=/head/; revision=281684
* Add LE related HCI control command to hccontrol(1).Takanori Watanabe2015-04-185-1/+443
| | | | Notes: svn path=/head/; revision=281680
* crunchide: always include both 32- and 64-bit ELF supportEd Maste2015-04-182-13/+6
| | | | | | | | | | | This avoids the need to build a target-specific crunchide for cross- uilds. Differential Revision: https://reviews.freebsd.org/D2314 Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=281674
* Make virtual AHCI more careful with I/O lengths.Alexander Motin2015-04-171-92/+84
| | | | | | | MFC after: 2 weeks Notes: svn path=/head/; revision=281666