summaryrefslogtreecommitdiffstats
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
* MFC r270406:trasz2014-08-313-10/+70
| | | | | | | | Add "nobrowse" option. Previously automountd(8) always behaved as if it was set, now it's conditional. PR: 192862 Sponsored by: The FreeBSD Foundation
* MFC r270405:trasz2014-08-311-1/+7
| | | | | | | Don't fail on executable maps that return no entries. This turns useless error message into useful one. Sponsored by: The FreeBSD Foundation
* MFC r270276:trasz2014-08-317-7/+21
| | | | | | | Use __FBSDID() properly. Suggested by: pluknet@ Sponsored by: The FreeBSD Foundation
* MFC r270210:trasz2014-08-311-12/+0
| | | | | | Remove useless - and buggy, it resulted in spurious warnings in logs - code. Sponsored by: The FreeBSD Foundation
* MFC r270096:trasz2014-08-3115-0/+3753
| | | | | | | | | | | | | Bring in the new automounter, similar to what's provided in most other UNIX systems, eg. MacOS X and Solaris. It uses Sun-compatible map format, has proper kernel support, and LDAP integration. There are still a few outstanding problems; they will be fixed shortly. Reviewed by: allanjude@, emaste@, kib@, wblock@ (earlier versions) Phabric: D523 Relnotes: yes Sponsored by: The FreeBSD Foundation
* MFC r270279:trasz2014-08-3113-13/+39
| | | | | | Make the iSCSI stack use __FBSDID() properly. Sponsored by: The FreeBSD Foundation
* MFC r265778 (by melifaro):ae2014-08-262-14/+36
| | | | | | | | | Fix ndp(8) -f flag parsing PR: bin/136661 MFC r268827 (by peter): Fix "ndp -d hostname".
* MFH (r269653): Give a brief error messagethompsa2014-08-262-27/+35
|
* MFC r270180:ngie2014-08-241-0/+1
| | | | | | | | Add LIBMD and LIBUTIL to DPADD to fix "make checkdpadd" Approved by: jmmv (mentor) Phabric: D633 PR: 192763
* MFH (r269074): strip patch level from release namedes2014-08-231-0/+1
|
* MFC 269976.se2014-08-212-6/+34
| | | | Add support for NEWCONS to kbdmap and vidfont.
* MFC: r270005rmacklem2014-08-211-5/+6
| | | | | Try to clarify how file systems are exported for NFSv4. This is a content change.
* MFC r267921, r267934, r267949, r267959, r267966, r268202, r268276,grehan2014-08-1924-258/+1462
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | r268427, r268428, r268521, r268638, r268639, r268701, r268777, r268889, r268922, r269008, r269042, r269043, r269080, r269094, r269108, r269109, r269281, r269317, r269700, r269896, r269962, r269989. Catch bhyve up to CURRENT. Lightly tested with FreeBSD i386/amd64, Linux i386/amd64, and OpenBSD/amd64. Still resolving an issue with OpenBSD/i386. Many thanks to jhb@ for all the hard work on the prior MFCs ! r267921 - support the "mov r/m8, imm8" instruction r267934 - document options r267949 - set DMI vers/date to fixed values r267959 - doc: sort cmd flags r267966 - EPT misconf post-mortem info r268202 - use correct flag for event index r268276 - 64-bit virtio capability api r268427 - invalidate guest TLB when cr3 is updated, needed for TSS r268428 - identify vcpu's operating mode r268521 - use correct offset in guest logical-to-linear translation r268638 - chs value r268639 - chs fake values r268701 - instr emul operand/address size override prefix support r268777 - emulation for legacy x86 task switching r268889 - nested exception support r268922 - fix INVARIANTS build r269008 - emulate instructions found in the OpenBSD/i386 5.5 kernel r269042 - fix fault injection r269043 - Reduce VMEXIT_RESTARTs in task_switch.c r269080 - fix issues in PUSH emulation r269094 - simplify return values from the inout handlers r269108 - don't return -1 from the push emulation handler r269109 - avoid permanent sleep in vm_handle_hlt() r269281 - list VT-x features in base kernel dmesg r269317 - Mark AHCI fatal errors as not completed r269700 - Support PCI extended config space in bhyve r269896 - Minor cleanup r269962 - use max guest memory when creating IOMMU domain r269989 - fix interrupt mode names
* MFC r269183, r269191:mav2014-08-184-17/+97
| | | | Add netmasks support to initiator-portal option.
* MFC: r269788rmacklem2014-08-171-1/+19
| | | | | | Document the use of the vfs.nfsd sysctls that control the size of the NFS server's DRC for TCP. This is a content change.
* MFC r267311, r267330, r267811, r267884grehan2014-08-174-21/+10
| | | | | | | | | | | | Turn on interrupt window exiting unconditionally when an ExtINT is being injected into the guest. Add helper functions to populate VM exit information for rendezvous and astpending exits. Provide APIs to directly get 'lowmem' and 'highmem' size directly. Expose the amount of resident and wired memory from the guest's vmspace
* MFC r267216grehan2014-08-171-5/+16
| | | | | | Add ioctl(VM_REINIT) to reinitialize the virtual machine state maintained by vmm.ko. This allows the virtual machine to be restarted without having to destroy it first.
* MFC r266933grehan2014-08-173-2/+51
| | | | | Activate vcpus from bhyve(8) using the ioctl VM_ACTIVATE_CPU instead of doing it implicitly in vmm.ko.
* Merge r266206 from head (by bjk):gavin2014-08-141-98/+101
| | | | | | | | | | | | | | | | | | | | Review pass through jail.8 Replace usage of "prison" with "jail", since that term has mostly dropped out of use. Note once at the beginning that the "prison" term is equivalent, but do not use it otherwise. [1] Some grammar issues. Some mdoc formatting fixes. Consistently use \(em for em dashes, with spaces around it. Avoid contractions. Prefer ssh to telnet. PR: 176832 [1]
* Merge r268728 from head:gavin2014-08-131-1/+2
| | | | | When we fail to extract the pkg binaries (for example, / is read-only), give a more helpful error message.
* Merge r268488 from head:gavin2014-08-131-2/+3
| | | | | | | Reword an awkward option description PR: 191726 Submitted by: yaneurabeya gmail.com
* MFC: Merge in the changes in -current:imp2014-08-112-193/+154
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Support ! operator in "files" files. Improve error detection and reporting Cleanup code to make it easier to maintain. Remove mandatory keyword: it has been used for 17 years. Bump version number (we should have bumped for -I too, but didn't) r261501 | imp | 2014-02-04 17:26:11 -0700 (Tue, 04 Feb 2014) | 5 lines Fix ! by not clearing not at the bottom of the loop. Add a blank line Submitted by: bde (blank line) r261493 | imp | 2014-02-04 11:28:58 -0700 (Tue, 04 Feb 2014) | 5 lines Implement the '!' operator for files* files. It means 'include this only if the specified option is NOT specified.' Bump version because old config won't be able to cope with files* files that have this construct in them. r261446 | imp | 2014-02-03 12:14:36 -0700 (Mon, 03 Feb 2014) | 5 lines Convert the loop by gotos into a for loop to improve readability. I did this only with the inner loop for the token parsing, and not the outer loop which was understandable enough when the extra layers of looping went away... r261445 | imp | 2014-02-03 12:10:33 -0700 (Mon, 03 Feb 2014) | 4 lines Fix a bug introduced in r261437 that failed to honor "optional profiling-routine" to work, since profiling-routine is not really an option or a device, but a special case elsewhere in the code. r261444 | imp | 2014-02-03 11:56:41 -0700 (Mon, 03 Feb 2014) | 2 lines Slight cleanup to the error messaging to compress code vertically... r261442 | imp | 2014-02-03 11:31:51 -0700 (Mon, 03 Feb 2014) | 2 lines Better error messages when EOF is hit in the middle of a phrase. r261438 | imp | 2014-02-03 09:54:53 -0700 (Mon, 03 Feb 2014) | 5 lines Move the check for standard keyword + optional inclusion specifier to its proper location. Otherwise you could have 'file.c standard pci' without an error. This construct isn't in our tree, and has no well defined meaning. r261437 | imp | 2014-02-03 09:47:10 -0700 (Mon, 03 Feb 2014) | 4 lines Don't believe we have a requirement until after we've checked all the known key words. This will make error messages slightly better in weird corner cases, but should otherwise be a nop. r261436 | imp | 2014-02-03 09:46:01 -0700 (Mon, 03 Feb 2014) | 3 lines In the 17 years since r30796, the mandatory keyword has never been used in any files as far as I can tell, and is currently unused. Retire it. r261435 | imp | 2014-02-03 08:10:44 -0700 (Mon, 03 Feb 2014) | 6 lines Slightly deobfuscate read_file() and likely pessimize the runtime performance by epsilon. (Translation: elminate bogus macros that hid 'returns' making it hard to read and moved a block of code inline rather than at the end of the fuction where it was effectively a 'gosub' kind of goto).
* MFC r269522smh2014-08-113-17/+80
| | | | | | | | | | | | Added support for extra ifconfig args to jail ip4.addr & ip6.addr params This allows for CARP interfaces to be used in jails e.g. ip4.addr = "em0|10.10.1.20/32 vhid 1 pass MyPass advskew 100" r269340 will not be MFC'ed as mentioned due to the slim window and the amount of additional commits required to support it. Sponsored by: Multiplay
* MFC: r268866rmacklem2014-08-021-2/+2
| | | | | | r243637 changed the default number of nfsd threads created, but the man page did not reflect this. This is a content change.
* MFC 268931:wblock2014-07-312-10/+10
| | | | | Correct spelling errors in ctld.8. While here, correct similar errors in ctl.conf.5 and fix a couple of contractions.
* MFC r268767:mav2014-07-301-0/+8
| | | | | | | | | | | | | | | | Add support for VMWare dialect of EXTENDED COPY command, aka VAAI Clone. This allows to clone VMs and move them between LUNs inside one storage host without generating extra network traffic to the initiator and back, and without being limited by network bandwidth. LUNs participating in copy operation should have UNIQUE NAA or EUI IDs set. For LUNs without these IDs VMWare will use traditional copy operations. Beware: the above LUN IDs explicitly set to values non-unique from the VM cluster point of view may cause data corruption if wrong LUN is addressed! Sponsored by: iXsystems, Inc.
* MFH (r266114, r266138): upgrade to latest ldns and unbounddes2014-07-291-3/+62
| | | | | | | | | | | MFH (r266139-r266143, r266145, r266149, r266150): fix props MFH (r266179, r266180, r266193, r266238, r266777): misc cleanup MFH (r266863): create and use /var/unbound/conf.d MFH (r268839): import unblock-lan-zones patch from upstream MFH (r268840): fix reverse lookups on private networks MFH (r268883): avoid spamming source tree during build PR: 190739 (for r268883)
* MFC r268457 (by pluknet):mav2014-07-241-2/+2
| | | | Fix typos.
* MFC r268289:mav2014-07-241-1/+1
| | | | Fix minor copy-paste bug in r268284.
* MFC r267612 (by trasz):mav2014-07-241-5/+8
| | | | Get rid of unneccessary argument.
* MFC r267609 (by trasz):mav2014-07-241-9/+21
| | | | Improve code a little; no functional changes.
* MFC r267608 (by trasz):mav2014-07-241-5/+5
| | | | Use proper term in debug messages.
* MFC r266169 (by trasz):mav2014-07-241-4/+0
| | | | Remove unused variable.
* MFC r267613 (by trasz):mav2014-07-242-2/+62
| | | | Implement redirection handling in initiator.
* MFC r265157: kldxref: Clean up error reportingemaste2014-07-231-8/+9
| | | | | | | | | | | | | Omit "too many sections" warnings if the ELF file is not dynamically linked (and is therefore skipped anyway), and otherwise output it only once. An errant core file would previously cause kldxref to output a number of warnings. Also introduce a MAXSEGS #define and replace literal 2 with it, to make comparisons clear. Reviewed by: kib Sponsored by: The FreeBSD Foundation
* MFC 266424,266476,266524,266573,266595,266626,266627,266633,266641,266642,jhb2014-07-225-50/+144
| | | | | | | | 266708,266724,266934,266935,268521: Emulation of the "ins" and "outs" instructions. Various fixes for translating guest linear addresses to guest physical addresses.
* MFC 266125:jhb2014-07-2212-61/+609
| | | | | Implement a PCI interrupt router to route PCI legacy INTx interrupts to the legacy 8259A PICs.
* MFC 264353,264509,264768,264770,264825,264846,264988,265114,265165,265365,jhb2014-07-2113-64/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | 265941,265951,266390,266550,266910: Various bhyve fixes: - Don't save host's return address in 'struct vmxctx'. - Permit non-32-bit accesses to local APIC registers. - Factor out common ioport handler code. - Use calloc() in favor of malloc + memset. - Change the vlapic timer frequency to be in the ballpark of contemporary hardware. - Allow the guest to read the TSC via MSR 0x10. - A VMCS is always inactive when it exits the vmx_run() loop. Remove redundant code and the misleading comment that suggest otherwise. - Ignore writes to microcode update MSR. This MSR is accessed by RHEL7 guest. Add KTR tracepoints to annotate wrmsr and rdmsr VM exits. - Provide an alias for the userboot console and name it 'comconsole'. - Use EV_ADD to create an mevent and EV_ENABLE to enable it. - abort(3) the process in response to a VMEXIT_ABORT. - Don't include the guest memory segments in the bhyve(8) process core dump. - Make the vmx asm code dtrace-fbt-friendly. - Allow vmx_getdesc() and vmx_setdesc() to be called for a vcpu that is in the VCPU_RUNNING state. - Enable VMX in the IA32_FEATURE_CONTROL MSR if it not enabled and the MSR isn't locked.
* MFC 264275:jhb2014-07-211-0/+1
| | | | Explicitly initialize 'vmname' to NULL.
* MFC 263780,264516,265062,265101,265203,265364:jhb2014-07-212-21/+65
| | | | | | | | | | | | Add an ioctl to suspend a virtual machine (VM_SUSPEND). Add logic in the HLT exit handler to detect if the guest has put all vcpus to sleep permanently by executing a HLT with interrupts disabled. When this condition is detected the guest with be suspended with a reason of VM_SUSPEND_HALT and the bhyve(8) process will exit. This logic can be disabled via the tunable 'hw.vmm.halt_detection'.
* MFC 264916,267611:jhb2014-07-213-4/+86
| | | | Provide a very basic stub for the 8042 PS/2 keyboard controller.
* MFC 260847,264055,264867:jhb2014-07-214-1/+194
| | | | | | | - Add a very simple virtio_random(4) driver for FreeBSD guests to harvest entropy from hypervisors. - Add support to bhyve for the virtio RNG entropy-source device to provide entry to bhyve guests.
* MFC 262331,262487,262495,262523:jhb2014-07-201-13/+33
| | | | ZFS boot support for bhyveload.
* MFC: r263650, r263686bapt2014-07-201-2/+2
| | | | Add missing dependency on libm
* MFC r268795:mav2014-07-201-2/+5
| | | | Fix ctld crash on startup if target alias is not set.
* MFC: r263648, r264789, r266636bapt2014-07-192-6/+6
| | | | | | | | This brings: - schema validation - xpath-like interface for ucl objects Adapt pkg(7) to the new libucl API
* MFC 263432,265366,265376:jhb2014-07-194-39/+67
| | | | | | | Fixes for vcpu management in bhyve: - Use 'cpuset_t' to represent the vcpus active in a virtual machine. - Modify the "-p" option to be more flexible when associating a 'vcpu' with a 'hostcpu'.
* MFC 262884,263236,265407:jhb2014-07-192-55/+102
| | | | | | | | Various uart fixes: - Open the uart emulation's backing tty in non-blocking mode. - Support 16-bit register access. - Disable the 'uart_drain()' callback when the emulated receive FIFO is full.
* MFC 259942,262274,263035,263054,263211,263744,264179,264324,264468,264631,jhb2014-07-198-502/+64
| | | | | 264648,264650,264651,266572,267558: Flesh out the AT PIC and 8254 PIT emulations and move them into the kernel.
* MFC 261904,261905,262143,262184,264921,265211,267169,267292,267294:jhb2014-07-198-198/+426
| | | | | | | | | | | Various PCI fixes: - Allow PCI devices to be configured on all valid bus numbers from 0 to 255. - Tweak the handling of PCI capabilities in emulated devices to remove the non-standard zero capability list terminator. - Add a check to validate that memory BARs of passthru devices are 4KB aligned. - Respect and track the enable bit in the PCI configuration address word. - Handle quad-word access to 32-bit register pairs.
OpenPOWER on IntegriCloud