summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* MFC r264605:bz2014-08-161-0/+49
| | | | | | | | | | | | | Based on xlp_machdep.c and completed the list of options based on boot/mips/beri/loader/metadata.c allow FDT configuration to set command line options. This leads to an interesting quesiton of future interactions with loader. However for configurations without loader this allows bootverbose or boot single user to be set by compiling a new kernel, which is good enough for testing and debugging. Reviewed by: rwatson Sponsored by: DARPA/AFRL
* MFC r266907:bz2014-08-161-1/+1
| | | | | While PAWS is disabled, there are no consumers for the tcp options argument to tcp_twcheck(); thus mark it __unused.
* MFC r266620:bz2014-08-161-4/+0
| | | | | | Remove the prototpye for the static inline function tcp_signature_verify_input(). The function is defined before first use already.
* MFC r266619:bz2014-08-161-2/+1
| | | | | syncache_lookup() is a file local function. Make it static and take it out of the public KPI; seems it was never used elsewhere.
* MFC r266618:bz2014-08-162-2/+2
| | | | | Make tcp_twrespond() file local private; this removes it from the public KPI; it is not used anywhere else and seems it never was.
* MFC r266606:bz2014-08-161-6/+20
| | | | | Only do a ports check if this is a NAT-T SA. Otherwise other lookups providing ports may get unexpected results.
* MFC r266597:bz2014-08-161-2/+0
| | | | | | | | Remove the prototypes for things that are no longer file local but were moved to the header file. Was suppoed to be MFCed with: r266596 Pointy hat to: bz
* MFC r266596:bz2014-08-163-31/+21
| | | | | | | | Move the tcp_fields_to_host() and tcp_fields_to_net() (inline) functions to the tcp_var.h header file in order to avoid further duplication with upcoming commits. Reviewed by: np
* MFC r264539:bz2014-08-161-6/+6
| | | | | | | | | | When switching variables to flags in r243185 a few cases were missed. After r263152 (in head) this leaves unused variables if route(8) is compiled without INET support. Switch the remaining variable accesses to flags and remove now obsolete variables. Reviewed by: glebius
* MFC r261525:bz2014-08-161-0/+11
| | | | | Print the MD5 signature information introduced in r221023 (head) in the TCP statistics output.
* MFC r259886:bz2014-08-161-101/+0
| | | | | | | | Bite the bullet and start removing the first compile time warnings by removing unsued file local functions and then unused callees. A lot more warnings to resolve but someone had to break the ice. X-Comment: I am not the new maintainer; chime in, it's ours.
* MFC r259916:bz2014-08-164-4/+35
| | | | | | | | | | Use feature_present(3) to determine whether to open an INET or an INET6 socket when needed to allow pfctl to work on noinet and noinet6 kernels (and try to provide a fallback using AF_LINK as best effort). Adjust the Makefile to also respect relevant src.conf(5) options for compile time decisions on INET and INET6 support. Reviewed by: glebius (no objections)
* MFC r259885:bz2014-08-161-2/+1
| | | | | As constantly reported during kernel compilation, m_buflen is unsigned so can never be < 0. Remove the expression, which can never be true.
* MFC r259884:bz2014-08-161-4/+3
| | | | | | Correct warnings comparing unsigned variables < 0 constantly reported while building kernels. All instances removed are indeed unsigned so the expressions could not be true.
* MFC r269583:bz2014-08-162-1/+55
| | | | | | | | | | | | | | Provide -o vers= support for mount_nfs. Our mount_nfs does use -o nfsv<2|3|4> or -2 or -3 to specify the version. OSX (these days), Solaris, and Linux use -o vers=<2,3,4>. With the upcoming autofs support we can make a lot of (entrerprisy) setups getting mount options from LDAP just work by providing -o vers= compatibility. Reviewed by: wblock, bjk (man page), rmacklem, emaste Sponsored by: DARPA,AFRL PR: 192379
* MFC r269669:bz2014-08-162-2/+10
| | | | | | | Split up sys_ktimer_getoverrun() into a sys_ and a kern_ variant and export the kern_ version needed by an upcoming linuxolator change. Sponsored by: DARPA,AFRL
* MFC r269909:kib2014-08-162-1/+12
| | | | | | Add a knob LIBPTHREAD_BIGSTACK_MAIN, which instructs libthr to leave the whole RLIMIT_STACK-sized region of the kernel-allocated stack as the stack of main thread.
* MFC r269908:kib2014-08-161-1/+1
| | | | Style.
* MFC r268924:pfg2014-08-161-9/+16
| | | | | | | | | | | Update fflush(3) to return success on a read-only stream. This is done for compliance with SUSv3. The changes cause no secondary effects in the gnulib tests (we pass them). Obtained from: Apple Inc. (Libc 997.90.3 with changes) Reviewed by: bde Phabric: D440
* MFC r269953:pfg2014-08-161-1/+1
| | | | | | | | | | | | | | Use "NO NAME" as the default unnamed label. Microsoft recommends avoiding the use of spaces in the string structures for FAT. Unfortunately they do just that by default in the case of unlabeled filesystems. Follow the default MS behavior to avoid confusion in common tools like file(1). This was actually the default behavior before r203868. Obtained from: NetBSD (CVS rev. 1.39)
* MFC r269901:pfg2014-08-161-7/+7
| | | | | | Minor style tweaks. Obtained from: OpenBSD (CVS rev. 1.7)
* MFC r269695:pfg2014-08-161-1/+1
| | | | | | | Const-ify character string Obtained from: Apple Inc. (Libc 997.90.3) MFC after: 3 days
* MFC r269015:pfg2014-08-161-5/+11
| | | | | | | | | | | | | | | | | fparseln(3): Update from NetBSD sources. -fix a condition so that fparseln() doesn't report spurious empty lines eg after 2 comment lines, or on EOF after a single comment line -no escape character means no escaped characters modify the previous fix so that no pointless realloc()s are done in the case of multiple empty continuation lines, and comment the code to make the logics obvious. fparseln is now part of libc in NetBSD so this changes the previous revision numbering. Obtained from: NetBSD (CVS Rev. 1.6-1.7)
* MFC r267875:pfg2014-08-161-2/+7
| | | | | | | | | | | | 4251 libdtrace leaks open file handles Illumos commit: 93ed8d0d4b068b95d0bb50d57bb854df462a8485 (partial) Reference: https://www.illumos.org/issues/4251 Discussed with: Robert Mustacchi Obtained from: Illumos
* MFC r259088: Vendor import nvi-2.1.2-c80f493b038 a multikey mapping fixemaste2014-08-153-10/+16
| | | | PR: bin/182463
* MFC r269888:gjb2014-08-151-1/+1
| | | | | | Fix a typo in a comment: s/interprete/interpret/ Sponsored by: The FreeBSD Foundation
* MFC of 269674:mckusick2014-08-141-0/+31
| | | | | | | | | | | | | | | | The journal is only prepared to handle full-size block numbers, so we have to adjust freeblk records to reflect the change to a full-size block. For example, suppose we have a block made up of fragments 8-15 and want to free its last two fragments. We are given a request that says: FREEBLK ino=5, blkno=14, lbn=0, frags=2, oldfrags=0 where frags are the number of frags to free and oldfrags are the number of fragments to keep. To block align it, we have to change it to have a valid full-size blkno, so it becomes: FREEBLK ino=5, blkno=8, lbn=0, frags=2, oldfrags=6 Submitted by: Mikihito Takehara Tested by: Mikihito Takehara Reviewed by: Jeff Roberson
* MFC 268531,269079,269204:jhb2014-08-148-193/+253
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix various edge cases with rewinddir(), seekdir(), and telldir(): - In the unionfs case, opendir() and fdopendir() read the directory's full contents and cache it. This cache is not refreshed when rewinddir() is called, so rewinddir() will not notice updates to a directory. Fix this by splitting the code to fetch a directory's contents out of __opendir_common() into a new _filldir() function and call this from rewinddir() when operating on a unionfs directory. - If rewinddir() is called on a directory opened with fdopendir() before any directory entries are fetched, rewinddir() will not adjust the seek location of the backing file descriptor. If the file descriptor passed to fdopendir() had a non-zero offset, the rewinddir() will not rewind to the beginning. Fix this by always seeking back to 0 in rewinddir(). This means the dd_rewind hack can also be removed. - Add missing locking to rewinddir() - POSIX says that passing a location returned by telldir() to seekdir() after an intervening call to rewinddir() is undefined, so reclaim any pending telldir() cookies in the directory when rewinddir() is called. - If telldir() is called immediately after a call to seekdir(), POSIX requires the return value of telldir() to equal the value passed to seekdir(). The current seekdir code with SINGLEUSE enabled breaks this case as each call to telldir() allocates a new cookie. Instead, remove the SINGLEUSE code and change telldir() to look for an existing cookie for the directory's current location rather than always creating a new cookie. PR: 121656
* MFC r257877:markj2014-08-141-3/+1
| | | | | | | | | | | | | Don't try to use the 32-bit drti.o unless the data model is explicitly set to ILP32. Otherwise dtrace -G will attempt to use it on amd64 if it can't determine which data model to use, which happens when -64 is omitted and no object files are provided, e.g. with # dtrace -G -n BEGIN This would result in a linker error, but now works properly. Also remove an unnecessary #ifdef.
* Make the ixgbe tunables now match their sysctl counterparts.smh2014-08-142-9/+14
| | | | | | | | | | | | Previously the tunables and sysctls had different names for example: hw.ixgbe.enable_aim => hw.ix.enable_aim Anyone using ixgbe tunables should ensure they update /boot/loader.conf. This is a direct commit to stable as the changes to sysctls in head already fix this issue in a different way. Sponsored by: Multiplay
* 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]
* MFC r267615:trasz2014-08-141-16/+16
| | | | | | Rename a variable; no functional changes. Sponsored by: The FreeBSD Foundation
* MFC r267614:trasz2014-08-142-9/+155
| | | | | | | Add "iscsictl -M", which allows one to change session parameters without removing it and adding back. Sponsored by: The FreeBSD Foundation
* MFC r269662:roberto2014-08-141-4/+4
| | | | | | | | | | | | | | | | | | | | | 10 has a new flex (2.5.37) and the config.h for unbound has been updated to take this into account. Alas it breaks source upgrade from any version of 9 because flex is not built as a bootstrap-tools (it would be for older versions). That means "libunbound/configlexer.c" is built with the old flex but using config.h for the new one. Build is thus broken going from 9.* to 10. Make flex a bootstrap-tools entry if host is less than 1000033 to take into account the flex update in 10. Tested on both 9.2-RC3 and 9.3 by myself and dim@. Running buildworld in head but as both 10 and 11 has the new flex, it will not matter. Reviewed by: imp Approved by: des, imp MFC after: 1 week Phabric: D554
* Add a header to the entries for the removal of csup example files.gavin2014-08-131-0/+1
| | | | | This is a direct commit to 10, as the equivelent commit to head included other changes that will not be merged to stable branches.
* MFC r268300 r268541 r268544 r268565 r269775 r269838 r269839 r269840rpaulo2014-08-135-69/+32
| | | | | | r269842 r269844 r269899: BSD make support for generating and compiling USDT DTrace probes.
* MFC r269306:ae2014-08-131-0/+6
| | | | | | | Add new rule to source address selection algorithm. It prefers address with better virtual status. Use ifa_preferred() to choose better address. PR: 187341
* Merge r267859 (by bapt), r268998 from head:gavin2014-08-131-0/+3
| | | | | | | | | | | o Mark send-pr info page as an obsolete file o /usr/bin/sendbug and the sendbug(1) man page were part of send-pr and are no longer installed since r267486 (r267734 in stable/10). Add them to ObsoleteFiles.inc1, which should have been done in r267486. PR: 192010 (partial) Submitted by: Vick Khera (partial)
* Merge r268842 from head:gavin2014-08-131-2/+2
| | | | | | | Fix two typos in iscsictl.8 PR: 191581 Submitted by: Jimmy Olgeni
* 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 r268725 from head:gavin2014-08-131-2/+2
| | | | | Since r202933, kthread_suspend_check() takes no arguments. Update the example to match.
* Merge r268637 from head:gavin2014-08-131-1/+2
| | | | | | | | fortune(8): Search fortune files installed by ports/packages as well as those supplied by the base system. PR: 191800 Submitted by: Andy Kosela
* Merge r268488 from head:gavin2014-08-131-2/+3
| | | | | | | Reword an awkward option description PR: 191726 Submitted by: yaneurabeya gmail.com
* Merge r267867 from head:gavin2014-08-137-269/+5
| | | | Remove example cvsup config files.
* MFC r269197:trasz2014-08-131-1/+4
| | | | Fix potential double free that could happen after connection error.
* MFC r269567:hselasky2014-08-137-4/+431
| | | | Add new USB phone descriptor template for USB device side mode.
* MFC r266396 and r267183:hselasky2014-08-132-6/+25
| | | | Build fixes. Add support for fast interrupts.
* MFC r269565:hselasky2014-08-132-4/+4
| | | | Rename driver name a bit to avoid unit number confusion in dmesg.
* MFC r269566:hselasky2014-08-131-6/+13
| | | | Fix for deadlock in USB device side mode.
* MFC r269604:hselasky2014-08-134-85/+127
| | | | | | | | - Implement fast interrupt handler to save CPU usage. - Cleanup some register reads and writes to use existing register access macros. - Ensure code which only applies to the control endpoint is not run for other endpoints in the data transfer path.
OpenPOWER on IntegriCloud