summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Simplify the ofw_bus_lookup_imap() API slightly: make it allocate maskbufnwhitehorn2013-12-1711-24/+22
| | | | internally instead of requiring the caller to allocate it.
* Remove dead code. Most of this was in an #if 0 block; the rest is notnwhitehorn2013-12-172-377/+0
| | | | used and duplicates functionality in dev/ofw.
* Configure interrupt sense based on device tree information. This extendsnwhitehorn2013-12-172-14/+14
| | | | | the OF interrupt map API to return sense information to the caller and the PowerPC Open Firmware PCI base driver to use it to program the PIC.
* - Assert for not leaking readers rw locks counter on userland return.attilio2013-12-172-0/+6
| | | | | | - Use a correct spin_cnt for KDTRACE_HOOK case in rw read lock. Sponsored by: EMC / Isilon storage division
* Free mbuf in case of error.ae2013-12-171-0/+1
| | | | MFC after: 1 week
* Reword the part about mutual CHAP.trasz2013-12-171-5/+4
| | | | | MFC after: 2 weeks Sponsored by: The FreeBSD Foundation
* Pull in r197399 from upstream clang trunk:dim2013-12-171-0/+1
| | | | | | Add bit_FXSAVE as an alias for bit_FXSR, for gcc compat. MFC after: 3 days
* Nuke symbols.rawpluknet2013-12-171-73/+0
| | | | | | This file seems to be unused since the switch to the ELF binary format. Discussed with: jhb
* milki is a new committer for ports.milki2013-12-171-0/+3
| | | | Approved by: swills (mentor)
* Add OFED and Mellanox items to release notes.rodrigc2013-12-171-0/+9
| | | | Submitted by: Meny Yossefi <menyy mellanox com>
* Add release note items from Chelsio.rodrigc2013-12-171-0/+6
| | | | Submitted by: np
* Remove the invariants stuff I copy/paste'd from the mbuf code whenadrian2013-12-171-7/+1
| | | | | | | | setting up the UMA zone. This should (a) be correct(er) and (b) it should build on non-amd64. Pointed out by: glebius
* fix the build using __builtin_prefetch() instead of redefining prefetch()luigi2013-12-163-8/+5
|
* Use the common Open Firmware PCI interrupt routing code instead of thenwhitehorn2013-12-161-31/+31
| | | | | | duplicate version in dev/fdt. Tested by: zbb
* Add an API to deliver message signalled interrupts to vcpus. This allowsneel2013-12-1615-143/+359
| | | | | | | | callers treat the MSI 'addr' and 'data' fields as opaque and also lets bhyve implement multiple destination modes: physical, flat and clustered. Submitted by: Tycho Nightingale (tycho.nightingale@pluribusnetworks.com) Reviewed by: grehan@
* Auto-enable 4k sector alignment when disk encryption is requested (it isdteske2013-12-161-0/+1
| | | | | | | required in such a case). But don't prevent the user from pointing the gun at his/her foot -- you can disable 4k alignment after enabling geli). MFC after: 3 days
* Fix a long-standing edge-case that would result in a ghosted `zroot' pooldteske2013-12-161-0/+6
| | | | | | | | | | | and subsequent headaches caused by multiple pools with the same name. Specifically, blast away any labels on the designated swap partition. Problem was when you install to a given layout *with* swap and then turn around and re-install the same layout *without* swap (we weren't doing a labelclear for the swap device, so would end up with an "UNAVAIL" status zroot pool that may only exist in the pool cache). MFC after: 3 days
* Add kern.geom.label.disk_ident.enable="0" to loader.conf(5).dteske2013-12-161-0/+3
| | | | | Discussed on: -current, -stable MFC after: 3 days
* De-uglify the geli(8)-setup infobox by adding a newline.dteske2013-12-161-1/+1
| | | | MFC after: 3 days
* fletcher4 is currently the default.dteske2013-12-161-1/+1
| | | | | Discussed on: -current MFC after: 3 days
* Improve default ZFS disk layout (tested):dteske2013-12-161-202/+197
| | | | | | | | | | | | | | | | | + For GPT, always provision zfs# partition after swap [for resizability] + For MBR, always use a boot pool to relialy place root vdevs at EOD NB: Fixes edge-cases where MBR combination failed boot (e.g. swap-less) + Generalize boot pool logic so it can be used for any scheme (namely MBR) + Update existing comments and some whitespace fixes + Change some variable names to make reading/debugging the code easier in zfs_create_boot() (namely prepend zroot_ or bootpool_ to property) + Because zroot vdevs are at EOD, no longer need to calculate partsize (vdev consumes remaining space after allocating swap) + Optimize processing of disks -- no reason to loop over the disks 3-4 separate times when we can logically use a single loop to do everything Discussed on: -stable MFC after: 3 days
* Migrate the sendfile_sync struct to use a UMA zone rather than M_TEMP.adrian2013-12-161-2/+22
| | | | | | | This allows it to be better tracked as well as being able to leverage UMA for more interesting/useful behaviour at a later date. Sponsored by: Netflix, Inc.
* Bug-fixes and debugging improvments:dteske2013-12-161-145/+142
| | | | | | | | | | | | | | | + De-obfuscate debugging to show actual values + Change graid(8) syntax; s/destroy/delete/ [destroy is not invalid syntax] + Log commands that were previously quiet + Added some new comemnts and updated some existing ones + Add missing local for `disk' used in zfs_create_boot() + Use $disks instead of multiply-expanding $* in zfs_create_boot() + Pedantically unset variable holding geli(8) passphrase after use + Pedantically add double-quotes around zpool names and zfs datasets + Fix quotation expansion for zpool_cache entries of loader.conf(5) + Some limited whitespace changes MFC after: 3 days
* Enable llvm's integrated assembler for PowerPC, since it should now bedim2013-12-1611-6/+33
| | | | | | | good enough for typical usage. Requested by: rdivacky MFC after: 1 week
* Accept NULL input as also meaning zero swap.dteske2013-12-161-1/+1
| | | | MFC after: 3 days
* Add myself to the src-committers listbdrewery2013-12-161-0/+3
| | | | Approved by: bapt (mentor)
* As per discussions on -current, re-add /var/mail (removed in r257842) butdteske2013-12-161-0/+1
| | | | | | | this time with atime=on in support of various software that requires it. Discussed on: -current MFC after: 3 days
* Mask error from newaliases(1) when the hostname is not fully qualified.dteske2013-12-161-1/+1
| | | | MFC after: 3 days
* Add a fix for Long-standing problem with VMware. Described in below links:dteske2013-12-161-0/+4
| | | | | | | | | | | | | | | https://communities.vmware.com/thread/107230 https://communities.vmware.com/docs/DOC-11677 Basically, ignore the ``function 62'' and ``function 63'' interpretations of the left/right command key when we're in the lengthiest portion of the installation (initiated by the `auto' module). The net effect is that you can now (once you've started the installer from the media) escape the VM without prematurely terminating the current action due to spurious escape sequence. MFC after: 3 days
* Fix periodic per-CPU timers startup on boot.mav2013-12-161-1/+2
| | | | | Reported by: neel MFC after: 2 weeks
* Start-up script for casperd daemon.pjd2013-12-163-0/+21
| | | | Sponsored by: The FreeBSD Foundation
* Fix regression issue after r259248:hselasky2013-12-161-0/+2
| | | | | | | | Some Intel XHCI controlles timeout processing so-called "TRBs" when the final LINK TRB of a so-called "TD" has the CHAIN-BIT set. MFC after: 1 week Tested by: glebius @
* tzfile.5: catch up to r204333bjk2013-12-161-1/+1
| | | | | | | | | | | | The stdtime sources were moved from lib/libc to contrib/tzcode, and tzfile.h is not an installed header, so the man page refers to its location in the source tree. The documentation could be more clear about the internal nature of the header, but those changes should go through upstream tzcode. PR: docs/176864 Approved by: hrs (mentor)
* Properly drain the TTY when both revoke(2) and close(2) end up closingmarcel2013-12-161-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | the TTY. In such a case, ttydev_close() is called multiple times and each time, t_revokecnt is incremented and cv_broadcast() is called for both the t_outwait and t_inwait condition variables. Let's say revoke(2) comes in first and gets to call tty_drain() from ttydev_leave(). Let's say that the revoke comes from init(8) as the result of running "shutdown -r now". Since shutdown prints various messages to the console before announing that the machine will reboot immediately, let's also say that the output queue is not empty and that tty_drain() has something to do. Let's assume this all happens on a 9600 baud serial console, so it takes a time to drain. The shutdown command will exit(2) and as such will end up closing stdout. Let's say this close will come in second, bump t_revokecnt and call tty_wakeup(). This has tty_wait() return prematurely and the next thing that will happen is that the thread doing revoke(2) will flush the TTY. Since the drain wasn't complete, the flush will effectively drop whatever is left in t_outq. This change takes into account that tty_drain() will return ERESTART due to the fact that t_revokecnt was bumped and in that case simply call tty_drain() again. The thread in question is already performing the close so it can safely finish draining the TTY before destroying the TTY structure. Now all messages from shutdown will be printed on the serial console. Obtained from: Juniper Networks, Inc.
* Include bsd.own.mk for MK_CASPER to work.pjd2013-12-151-0/+2
| | | | Reported by: nwhitehorn
* Regenerate after r259438.pjd2013-12-151-16/+16
|
* Fix syscalls that can be loaded as kernel modules - they were not givenpjd2013-12-151-1/+1
| | | | | | the flag allowing to call them from capability mode sandbox. Noticed by: David Drysdale <drysdale@google.com>
* Regenerate after r259436.pjd2013-12-151-1/+1
|
* Allow for pselect(2) in capability mode.pjd2013-12-151-1/+2
| | | | Noticed by: David Drysdale <drysdale@google.com>
* Forgot to regenerate after r257736.pjd2013-12-151-1/+1
|
* Make use of Casper's system.pwd and system.grp services when the -r optionpjd2013-12-152-3/+114
| | | | | | | | | is given to convert uids and gids to user names and group names even when running in capability mode sandbox. While here log on stderr when we successfully enter the sandbox. Sponsored by: The FreeBSD Foundation
* Add Casper support.pjd2013-12-151-0/+5
| | | | Sponsored by: The FreeBSD Foundation
* Make use of casperd's system.dns service when running without the -n option.pjd2013-12-152-3/+82
| | | | | | Now tcpdump(8) is sandboxed even if DNS resolution is required. Sponsored by: The FreeBSD Foundation
* MFp4 @1189141:pjd2013-12-151-0/+2
| | | | | | Change casperd's zygote process title. MFC after: 1 week
* MFp4 @1189139:pjd2013-12-153-29/+5
| | | | | | | | | | | Get rid of the msg_peek() function, which has a problem. If there was less data in the socket buffer than requested by the caller, the function would busy loop, as select(2) will always return immediately. We can just receive nvlhdr now, because some time ago we splitted receive of data from the receive of descriptors. MFC after: 1 week
* Clear some more places with potentially sensitive data.pjd2013-12-151-0/+2
| | | | MFC after: 1 week
* Clear content of keyfiles loaded by the loader after processing them.pjd2013-12-151-0/+1
| | | | | Pointed out by: rwatson MFC after: 1 week
* Export 'REPOS_DIR' when the selected source medium for packagegjb2013-12-151-0/+3
| | | | | | | | | | | installation is cdrom. This enables bsdconfig(8) to make use of the on-disc pkg(8) repository configuration, which fixes package selection and installation from the dvd installer. MFC after: 3 days M-MFC-With: r259426 X-MFC-Before: -RC3 Sponsored by: The FreeBSD Foundation
* Add a pkg(8) repository configuration file for cdrom-based packagegjb2013-12-152-0/+16
| | | | | | | | | | | installation. As part of the 'pkg-stage' target, copy the configuration file to the 'packages/repos/' directory on the DVD filesystem. MFC after: 3 days X-MFC-Before: -RC3 Sponsored by: The FreeBSD Foundation
* Add an UPDATING entry for the gss_pseudo_random behavior changebjk2013-12-151-0/+11
| | | | Approved by: hrs (mentor, src committer)
OpenPOWER on IntegriCloud