summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Rename the tests to something more meaningful. I spent way too longmarcel2014-09-221-5/+2
| | | | | | | | | | | | trying to get the test name right, failed, gave up and used a sequence number instead. When I realized it wasn't because of the number of underscores in the name that I really started to think. I didn't have braces around the variable names ... Thus: test_1 is now called apm_1x1_512_qcow, which gives you all you need to run mkimg by hand. Dumb-ass: marcel
* Check for NULL before de-refencing; in particular sel is assigned to NULL,cy2014-09-221-2/+2
| | | | | | | in the default case, and then couple of lines down we do sel-> Approved by: glebius (mentor) Obtained from: NetBSD CVS repo (r1.5)
* Don't update the baseline file when the result of the test is identicalmarcel2014-09-221-5/+30
| | | | | | | | | | | | | | to the baseline. Since we don't run gzip with the -n option, the output of gzip varies for identical result files if and when they are created at different time. Ouch... Rather than add -n and commit a 600K+ diff for the changes to all the .uu files, it's less of a churn to uudecode and gunzip the baseline file and compare that to the new result file to determine if the baseline file needs to be updated. This way, "atf-sh mkimg.sh rebase" can be run as many times as people like and a subsequent "svn status" will not show unnecessary diffs.
* #552 destination port not zero after parsing nat rulecy2014-09-221-9/+13
| | | | | Approved by: glebius (mentor) Obtained from: netbsd CVS repo (r1.4), ipfilter CVS repo (r1.38)
* 3561691 gethost never returns an ipv6 addresscy2014-09-221-7/+9
| | | | | Approved by: glebius (mentor) Obtained from: ipfilter CVS repo (r1.34), netbsd CVS repo (r1.4)
* Add a new fo_fill_kinfo fileops method to add type-specific information tojhb2014-09-2216-632/+498
| | | | | | | | | | | | | | struct kinfo_file. - Move the various fill_*_info() methods out of kern_descrip.c and into the various file type implementations. - Rework the support for kinfo_ofile to generate a suitable kinfo_file object for each file and then convert that to a kinfo_ofile structure rather than keeping a second, different set of code that directly manipulates type-specific file information. - Remove the shm_path() and ksem_info() layering violations. Differential Revision: https://reviews.freebsd.org/D775 Reviewed by: kib, glebius (earlier version)
* Improvements to asmc(4):rpaulo2014-09-222-19/+226
| | | | | | | | | | | | | 1. changed the code so that 2**16 keys are supported 2. changed the number of possible fans in a system from 2 to 6 3. added write support for some fan sysctls 4. added a new sysctl which shows the ID of the fan 5. added four more apple models with their temperature keys 6. changed the maxnumber of temperature keys from 36 to 80 7. replaced several fixed buf sizes to sizeof buf Obtained from: Denis Ahrens denis at h3q.com MFC after: 4 weeks
* #551 ipf.conf address structure not properly zero filledcy2014-09-221-11/+21
| | | | | Approved by: glebius (mentor) Obtained from: ipfilter CVS repo (r1.37), netbsd CVS repo (r1.3)
* #536 ipnat can try to print rule as dstlist incorrectlycy2014-09-221-2/+4
| | | | | Approved by: glebius (mentor) Obtained from: ipfilter CVS repo (r1.14), netbsd CVS repo (r1.3)
* #553 gethost needs to zero entire IP address structurecy2014-09-221-0/+1
| | | | | Approved by: glebius (mentor) Obtained from: ipfilter CVS repo (r1.11)
* ipv6 address for test.hosts.dots in wrong byte order.cy2014-09-221-4/+4
| | | | | Approved by: glebius (mentor) Obtained from: ipfilter CVS repo (r1.11), netbsd CVS repo (r1.5)
* Don't echo '# $FreeBSD$' as the first line into the .uu file. Keywordmarcel2014-09-221-1/+2
| | | | | substitution applies to this file, including the echo command. Avoid the match (and substitution) by breaking the string up into 3 parts.
* Update the unit tests to include the QCOW (version 1) format.marcel2014-09-2229-1/+1579
| | | | This is a good safety net for when V2 is added.
* Add support for QCOW version 1. Version 2 is partially implemented.marcel2014-09-222-0/+315
| | | | | | | | | | | | | | | | | | | And because of that, it's entirely disabled for now. Both versions are similar enough that a single header definition works for both of them. The only "diverting" side-effect is that the union of the two is larger than the official V1 header. What this means for our V1 support is that we can't put the L1 table adjacent to the V1 header (i.e. at offset 0x30 in the file), unless we revert to hackery and klugery. Let's not. Instead, we align the L1 table at the cluster boundary. This is in line with the V2 layout and perfectly ok for V1 anyway (ok -- as far as I've seen so far). Due to the alignment, our V1 image seems to be 1 cluster larger than the V1 image created by qemu-img (on average). Compression of the clusters is not supported at this time. MFC after: 2 months
* Convert from timeout(9) to callout(9).jhb2014-09-223-22/+42
|
* Add missing mlinks for section 9.trasz2014-09-221-13/+164
| | | | | MFC after: 2 weeks Sponsored by: The FreeBSD Foundation
* Pretend that we support BYTCHK=1 in WRITE AND VERIFY command.mav2014-09-221-3/+3
| | | | | Technically that is not true, but since we don't implement VERIFY there at all, doing only WRITE part, this is a minor sin.
* The new naming scheme for keymap files for use with vt(4) introduced ase2014-09-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | collision for "no" as a country code with "NO" meaning "do not load any keymap" (which also has been the default value in etc/defaults/rc.conf for a long time). The result of this collision is, that "kbdcontrol -l no" will load the Norwegian keymap, while "keymap=no" in rc.conf was interpreted as the lower case spelling of "NO" meaning "no keyboard" (and "no.kbd" was not loaded). Fix this by matching only the upper-case spelling "NO" in rc.d/syscons when deciding whether to load a keymap file. This will lead to "no.kbd" being loaded, if the until now valid (but non-default) spelling "no" was used in an individual rc.conf file to mean "no keyboard". But all alternatives I could think of introduce a larger violation of POLA ... Reported by: Gyrd Thane Lange (gyrd-se at thanelange.no) MFC after: 3 days
* Fix read overrun handling, broken by using wrong variable.mav2014-09-221-3/+3
| | | | MFC after: 3 days
* Deny ANCHOR flag set without UNMAP flag set in WRITE SAME commands.mav2014-09-221-2/+3
|
* Some XHCI hardware requires dropping the endpoint context beforehselasky2014-09-221-1/+8
| | | | | | | adding it again. MFC after: 3 days Submitted by: Kohji Okuno <okuno.kohji@jp.panasonic.com>
* Don't try to continue aborted commands if status was not set.mav2014-09-221-3/+4
|
* Register /usr/tests/lib/libproc to fix build.jmmv2014-09-221-0/+2
| | | | Missed in r271937, reviewed in D710.
* Fix UNMAP stuck if the last block descriptor in the list is empty.mav2014-09-221-1/+15
| | | | MFC after: 3 days
* Improve transmit sending offload, TSO, algorithm in general.hselasky2014-09-2216-43/+264
| | | | | | | | | | | | | | | | | The current TSO limitation feature only takes the total number of bytes in an mbuf chain into account and does not limit by the number of mbufs in a chain. Some kinds of hardware is limited by two factors. One is the fragment length and the second is the fragment count. Both of these limits need to be taken into account when doing TSO. Else some kinds of hardware might have to drop completely valid mbuf chains because they cannot loaded into the given hardware's DMA engine. The new way of doing TSO limitation has been made backwards compatible as input from other FreeBSD developers and will use defaults for values not set. Reviewed by: adrian, rmacklem Sponsored by: Mellanox Technologies MFC after: 1 week
* Simplify legacy reservation handling. Drop it on I_T nexus loss.mav2014-09-222-27/+19
|
* svn revisions r269964 and r269963 seemed to have impaired small memorysbruno2014-09-221-0/+2
| | | | | | | | | | | | | footprint systems(32M/64M) and didn't leave enough free memory to load modules when it was setting up page tables that for sizes that are never used on these smallish boards. Set kmem_zmax to PAGE_SIZE on these smaller systems (< 128M) to keep this from happening. Verified on mips32 h/w. PR: 193465 Submitted by: delphij Reviewed by: adrian
* Don't report unsupported FUA_NV bit set in READ/WRITE commands as error.mav2014-09-221-6/+6
| | | | While this bit is obsolete in SBC-3, SBC-2 allowed to silently ignore it.
* Report proper errors codes for unsupported SERVICE ACTION values.mav2014-09-221-12/+22
|
* Polish INQUIRY command fields validation.mav2014-09-221-31/+9
|
* Ignore a test program which doesn't compile at the moment. It will bemarkj2014-09-211-1/+2
| | | | addresed properly when integrating the DTrace tests with Kyua.
* Add some ATF tests for libproc.markj2014-09-2110-201/+423
| | | | | Differential Revision: D710 Reviewed by: jmmv, ngie, rpaulo
* sh(1): Clarify that assignments before commands do not affect expansions.jilles2014-09-211-2/+3
| | | | | PR: 193759 MFC after: 1 week
* Output boot code warning when zpool upgrade -a is used to add features.smh2014-09-211-3/+8
| | | | | | | | In the case where new features where enabled by a zpool upgrade -a the boot code warning wasn't output. Submitted by: Jan Kokemueller MFC after: 3 days
* Add a few missing llvm/clang patches, update the other ones to be abledim2014-09-217-61/+261
| | | | | | | to apply with the same patch options onto a fresh upstream llvm/clang 3.4.1 checkout, and use approximately the same header tempate for them. MFC after: 3 days
* Allow SUBPAGE CODE field in MODE SENSE commands.mav2014-09-211-2/+2
|
* Turns out -1 is a perfectly valid error number, ERESTART. Remove uselesstrasz2014-09-211-11/+1
| | | | | | code written under assumption that it wasn't. Sponsored by: The FreeBSD Foundation
* Mention read_ahead tunables/sysctls.mav2014-09-211-3/+5
| | | | MFC after: 1 month
* Update and clarify comments. Remove the useless counter for impossible, butkib2014-09-212-12/+13
| | | | | | | seen in wild situation (on buggy hypervisors). In collaboration with: bde MFC after: 1 week
* Fix build.hrs2014-09-211-0/+2
|
* Fix a typo.hrs2014-09-211-1/+1
|
* Add a change missing in r271916.hrs2014-09-211-2/+2
|
* Fix a bug which could make routed(8) daemon exit by sending a special RIPhrs2014-09-215-7/+35
| | | | | | query from a remote machine, and disable accepting it by default. This requests a routed(8) daemon to dump routing information base for debugging purpose. An -i flag to enable it has been added.
* - Virtualize interface cloner for gre(4). This fixes a panic when destroyinghrs2014-09-213-40/+50
| | | | | | a vnet jail which has a gre(4) interface. - Make net.link.gre.max_nesting vnet-local.
* Virtualize interface cloner for gif(4). This fixes a panic when destroyinghrs2014-09-211-23/+37
| | | | a vnet jail which has a gif(4) interface.
* Make net.add_addr_allfibs vnet-local.hrs2014-09-212-6/+8
|
* Hide LRO code under #ifdef INET/INET6 to allow NOIP kernel to compile.bz2014-09-211-1/+12
| | | | | | | While the code comments indicate that LRO is currently only supported for IPv4/TCP, we'll still compile it in for IPv6. MFC after: 3 days
* Add unit tests for mkimg(1):marcel2014-09-20116-0/+3759
|
* Fix a problem that reply packets are not received when -i T option is sethrs2014-09-202-232/+166
| | | | | | | | | | | | and (T < RTT). - Use select(2) for timeout instead of interval timer. Remove poll(2) support. - Use sigaction(2) instead of signal(3). - Exit in SIGINT handler when two signals are received and doing reverse DNS lookup as ping(8) does. - Remove redundant variables used for getaddrinfo(3). PR: 151023
* Revert changes in r269180. It could cause -c N option to enter anhrs2014-09-201-8/+2
| | | | | | infinite loop if no reply packet is received. PR: 151023
OpenPOWER on IntegriCloud