summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* sh: Simplify find_command() slightly.jilles2014-05-311-7/+5
|
* Grammar cleanup; sort SEE ALSO.brueffer2014-05-311-5/+6
| | | | MFC after: 1 week
* convert to using the _daddr_t types like newfs was...jmg2014-05-311-8/+4
| | | | | | | | | Put the superblock in the correct possition for UFS2... There is a bug in FFS that if we don't put it here (for UFS2), it will forcefully relocate the superblock, and I believe cause data loss.. I have a fix for that, but w/ how many releases are broken, we won't be able to switch to the better _FLOPPY (block 0) for this for a while..
* To allow to run the interpreter itself add a new ELF branding type.dchagin2014-05-314-4/+34
| | | | | | Allow Linux ABI to run ELF interpreter. MFC after: 3 days
* Glibc was switched to the FUTEX_WAIT_BITSET op and CLOCK_REALTIMEdchagin2014-05-311-31/+40
| | | | | | | | | | | | | | | | flag has been added instead of FUTEX_WAIT to replace the FUTEX_WAIT logic which needs to do gettimeofday() calls before the futex syscall to convert the absolute timeout to a relative timeout. Before this the CLOCK_MONOTONIC used by the FUTEX_WAIT_BITSET op. When the FUTEX_CLOCK_REALTIME is specified the timeout is an absolute time, not a relative time. Rework futex_wait to handle this. On the side fix the futex leak in error case and remove useless parentheses. Properly calculate the timeout for the CLOCK_MONOTONIC case. MFC after: 3 days
* Ignore IIC_ENOADDR from iicbus_reset() as it only means we have aloos2014-05-311-0/+6
| | | | | | | | master-only controller. This fixes the iic bus scan with i2c(8) (on supported controllers). Tested with gpioiic(4).
* Add a bounds verification to the SCL and SDA pin values.loos2014-05-311-9/+16
| | | | | | | | | | At attach, print the SCL and SDA pin numbers. Remove a stray blank line. Remove the GPIOBUS locking from gpioiic_reset(), it is already called with this lock held. This fixes a crash when you try to scan the iicbus with i2c(8).
* Add #NO_UNIVERSE to RADXA and RADXA-LITE kernel configsganbold2014-05-312-0/+4
| | | | | | | since there aren't any new devices in those files so unhook them from universe build. Approved by: stas (mentor)
* - Added myself and mentor/mentee relationship to the src committerspkelsey2014-05-312-0/+4
| | | | | | | | graph. - Added my info to the FreeBSD calendar. Approved by: jmallett (mentor)
* MFV 266913+266914:delphij2014-05-311-5/+12
| | | | | | | 3897 zfs filesystem and snapshot limits (fix leak) 4901 zfs filesystem/snapshot limit leaks MFC after: 3 days
* Fix m2 regression test.pfg2014-05-311-0/+1
| | | | | | | | | | | | This is not really a good test as the behaviour for /c is unspecified. For the record, ksh93 returns: $ printf "abc\n\cdef" abc ef$ Discussed with: Garret D'Amore (Illumos)
* If VMX isn't enabled so long as the lock bit isn't set yet in MSRtychon2014-05-301-1/+10
| | | | | | IA32_FEATURE_CONTROL it still can be. Approved by: grehan (co-mentor)
* cxgbe(4): Fix a NULL dereference when the very first call tonp2014-05-301-2/+6
| | | | | | | | get_scatter_segment() in get_fl_payload() fails. While here, fix the code to adjust fl_bufs_used when a failure occurs for any other scatter segment. MFC after: 3 days
* While PAWS is disabled, there are no consumers for the tcp optionsbz2014-05-301-1/+1
| | | | | | argument to tcp_twcheck(); thus mark it __unused. MFC after: 2 weeks
* Rework the notion of CPU used in top. In particular, for subsequentjhb2014-05-301-13/+97
| | | | | | | | | | | | | | | | displays after a pause, use the difference in runtime divided by the length of the pause as the percentage of CPU used instead of the value calculated by the kernel. In addition, when determing if a process or thread is idle or not, treat any process or thread that has used any runtime or performed any context switches during the interval as busy. Note that the percent CPU is calculated as a double and stored in an array to avoid recalculating the value multiple times in the comparison method used to sort processes in the CPU display. Tested by: Jamie Landeg-Jones <jamie@dyslexicfish.net> Reviewed by: emaste (earlier version) MFC after: 1 week
* Remove bogus check for kmem_malloc() failure even though M_WAITOK is set.neel2014-05-301-7/+0
| | | | Requested by: jkim
* Bump FreeBSD_version due to changed header for strcasecmp(3) family.pfg2014-05-301-1/+1
| | | | | | | In r266865, strcasecmp_l() and strncasecmp_l() were moved from <string.h> to <strings.h> for POSIX 2008 compliance. Requested by: linimon
* Update default callchain depth to 16 to match kernelemaste2014-05-301-1/+1
| | | | MFC after: 1 week
* Add missing libexec/bsdconfig subdirectoriesemaste2014-05-301-0/+4
|
* Allocate a zeroed LDT.neel2014-05-301-1/+1
| | | | | | | | | | Failing to do this might result in the LDT appearing to run out of free descriptors because of random junk in the descriptor's 'sd_type' field. http://lists.freebsd.org/pipermail/freebsd-amd64/2014-May/016088.html Reviewed by: kib MFC after: 2 weeks
* Enable a login console on ttyu0 by default if it is a serial console. Thisnwhitehorn2014-05-302-2/+2
| | | | | | | | | | | prevents surprising effects post-installation on serial-only x86 systems (e.g. bhyve) where the kernel messages will appear, rc scripts will run, and then there will be no login prompt and you will be locked out of the system. Thanks to Devin Teske and Peter Grehan for ideas and testing. With this patch, it may also be possible to unify all or most of the machine-specific ttys files.
* Use own memory pool of 128K until further, hence that works the best.hselasky2014-05-302-2/+3
| | | | Sponsored by: DARPA, AFRL
* Add optional support for USB to BERI loader. Fix the linker script sohselasky2014-05-303-4/+27
| | | | | | that the garbage collection feature can be used when linking. Sponsored by: DARPA, AFRL
* It appears the ISP/SAF1761 sometimes is busy when reading the statushselasky2014-05-301-19/+21
| | | | | | | word of the PTD and simply returns a value of zero. Retry a few times before giving up. Sponsored by: DARPA, AFRL
* Use callout_*() rather than timeout()/untimeout().jhb2014-05-301-8/+6
| | | | Reviewed by: imp
* Resolve issue with resolving malloc() and free() functions at linking time.hselasky2014-05-302-10/+13
| | | | Sponsored by: DARPA, AFRL
* Export structure(s) properly.hselasky2014-05-301-0/+4
| | | | Sponsored by: DARPA, AFRL
* Fix delay() function in the BERI loader code.hselasky2014-05-301-5/+17
| | | | | Reviewed by: brooks @ Sponsored by: DARPA, AFRL
* Make driver detach code in USB mass storage test optional.hselasky2014-05-303-1/+6
| | | | Sponsored by: DARPA, AFRL
* Add ISP/SAF1761 bootloader bus interface file.hselasky2014-05-301-0/+146
| | | | Sponsored by: DARPA, AFRL
* USB boot library improvements:hselasky2014-05-304-29/+131
| | | | | | | | | - Make the USB boot library more configurable. - Resolve compile issues when cross building. - Allow use of separate malloc. - Allow use of separate endian macros. Sponsored by: DARPA, AFRL
* Add support for USB mass storage to libusbboot.hselasky2014-05-303-0/+321
| | | | Sponsored by: DARPA, AFRL
* Use g_conf_printf_escaped() to escape symbols, which can breakae2014-05-303-8/+16
| | | | | | an XML tree. MFC after: 1 week
* style(9) requires an empty line when function have no local variables.hselasky2014-05-301-0/+2
| | | | | Suggested by: ae @ Sponsored by: DARPA, AFRL
* Add support for snprintf() to libstand.hselasky2014-05-302-6/+54
| | | | | Reviewed by: brooks @ Sponsored by: DARPA, AFRL
* Whitespace only.glebius2014-05-301-25/+24
|
* Reset HSIC hub during EHCI initialization. This makes devices connectedbr2014-05-302-0/+43
| | | | | | to external USB ports available to the system. Submitted by: Maxim Ignatenko <gelraen.ua@gmail.com>
* Fix off-by-one error that makes 0-th pins of each bank unreachable.br2014-05-301-1/+1
| | | | Submitted by: Maxim Ignatenko <gelraen.ua@gmail.com>
* Add support for basic read, write and read capacity disk operations tohselasky2014-05-302-2/+113
| | | | | | the USB mass storage test utility file. Sponsored by: DARPA, AFRL
* o Make keyboard-related properties to be compatible with vendor standardbr2014-05-304-113/+222
| | | | | | | o Allow setting keymap in FDT, use hardcoded one by default o Represent fallback keymap as a list rather than directly usable M*N array Submitted by: Maxim Ignatenko <gelraen.ua@gmail.com>
* Add common kernel config file for Rockchip RK3188 systems by splittingganbold2014-05-304-95/+213
| | | | | | | | current RADXA config. Radxa Rock (RR) boards have few types such as RR (full version), RR Lite and some variants of RR engineering samples. Add kernel config and FDT file for RR Lite board. Approved by: stas (mentor)
* Cleanup the RADXA kernel config file a bit and enable modules.rpaulo2014-05-301-5/+2
|
* Minor mdoc fixbjk2014-05-301-1/+1
| | | | | Submitted by: hrs Approved by: hrs (mentor, implicit)
* Fix strcasecmp_l() and strncasecmp_l() POSIX 2008 compliance.pfg2014-05-305-5/+55
| | | | | | | | | | | | POSIX.1-2008 specifies that those two functions should be declared by including <strings.h>, not <string.h> (the latter only has strcoll_l() and strxfrm_l()): http://pubs.opengroup.org/onlinepubs/9699919799/functions/strcasecmp.html Obtained from: DragonFlyBSD Reviewed by: theraven MFC after: 2 weeks
* Create /var/unbound/conf.d for additional configuration files.des2014-05-292-2/+13
| | | | | | Ensure that it is used if present. MFH: 3 weeks
* Correct vt(4) border calculations on font switchemaste2014-05-291-12/+17
| | | | | | | | | | | | | | | | If a vt(4) font does not exactly fit the screen dimensions, the console window is offset so that it is centered. A rectangle is drawn at the top, left, right, and bottom of the screen, to erase any leftovers that are outside of the new usable console area. If the x offset or y offset is 0 then the left border or top border respectively is not drawn. The right and bottom borders may be one pixel larger than necessary due to rounding, and are always drawn. Prior to this change a 0 offset would result in a panic when calling vt_drawrect with an x or y coordinate of -1. Sponsored by: The FreeBSD Foundation
* Update size in vt_grow if we don't have to reallocateemaste2014-05-291-0/+3
| | | | | | | | | | vt_grow may be called with a new size that's larger than previous but does not require reallocation - for example, when the number of columns is the same and new number of rows is less than the history size. Prior to this change we would fail to update vb_scr_size, and then hit a KASSERT when trying to write to the newly visible rows. Sponsored by: The FreeBSD Foundation
* Fix unintended KBI change from r264905. Add _fib versions ofasomers2014-05-2910-47/+92
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ifa_ifwithnet() and ifa_ifwithdstaddr() The legacy functions will call the _fib() versions with RT_ALL_FIBS, preserving legacy behavior. sys/net/if_var.h sys/net/if.c Add legacy-compatible functions as described above. Ensure legacy behavior when RT_ALL_FIBS is passed as fibnum. sys/netinet/in_pcb.c sys/netinet/ip_output.c sys/netinet/ip_options.c sys/net/route.c sys/net/rtsock.c sys/netinet6/nd6.c Call with _fib() functions if we must use a specific fib, or the legacy functions otherwise. tests/sys/netinet/fibs_test.sh tests/sys/netinet/udp_dontroute.c Improve the udp_dontroute test. The bug that this test exercises is that ifa_ifwithnet() will return the wrong address, if multiple interfaces have addresses on the same subnet but with different fibs. The previous version of the test only considered one possible failure mode: that ifa_ifwithnet_fib() might fail to find any suitable address at all. The new version also checks whether ifa_ifwithnet_fib() finds the correct address by checking where the ARP request goes. Reported by: bz, hrs Reviewed by: hrs MFC after: 1 week X-MFC-with: 264905 Sponsored by: Spectra Logic
* Change examples to have master skew above 0 to have ability to overwrite thismarck2014-05-291-9/+10
| | | | | | | | | | | from the slave (for example, when master is failing on disk IO and could not be logged into or execute cronjob). Commented out examples changed too to simplify future merging. Idea by: kaa@zvuki.ru Discussed with: glebius MFC after: 1 week
* In uart_bus_grab(), use the ier_mask instead of a custom hack for XScale.cognet2014-05-291-5/+3
| | | | Suggested by: jmg
OpenPOWER on IntegriCloud