Commit Graph

250938 Commits

Author SHA1 Message Date
christos 0ba9702d8a Bump a little to handle clang images. 2017-05-19 15:16:12 +00:00
christos f02f7d5170 mention the man page instead of the command. 2017-05-19 14:42:00 +00:00
christos 527067c8b5 Provide a helpful message to the user trying to run an birary that needs page
0 access.
2017-05-19 14:38:46 +00:00
abhinav bf8003ac8f Remove reference to suser(9), its man page was removed quite long back. 2017-05-19 14:35:01 +00:00
abhinav 15429f1d8b Remove reference to pathname(9), its man page was removed 10 years ago. 2017-05-19 14:28:59 +00:00
abhinav 3a86665514 Correct the xref: return_address(9) is only available for i386. 2017-05-19 14:18:41 +00:00
nonaka 5c7478bf3c iwm(4): match Wireless 8265 device. 2017-05-19 14:18:10 +00:00
abhinav 9a0ac57213 Correct xrefs.
Ok christos
2017-05-19 13:49:25 +00:00
pgoyette b0581e7af6 The DEVSW_MODULE_INIT stuff is for possible future use; remove it for now. 2017-05-19 11:45:40 +00:00
pgoyette f8d2691e80 Identify TNF as the copyright holder. 2017-05-19 11:12:50 +00:00
wiz a62af011ac Cleanups and standardization. 2017-05-19 10:38:21 +00:00
nat ad6103da83 Fix locking around calls to [p/r]int with a patch from skrll@. 2017-05-19 09:58:28 +00:00
ozaki-r 11f21739e7 Allow CARP to call the link_state_change handler immediately
If the handler is delayed because of the indirection call via softint,
some operations are executed in reverse and may cause unexpected
behaviors. For example, due to the issue a GARP packet wasn't sent on
a transition from the BACKUP state to the MASTER state; this happened
because IN_IFF_DETACHED flag wasn't cleared on arpannounce, which
had been cleared in the link_state_change handler.

This fixes an issue reported by sborrill@ on tech-net:
  http://mail-index.netbsd.org/tech-net/2017/03/14/msg006283.html
2017-05-19 08:53:51 +00:00
skrll 9dd1f145af Trailing whitespace 2017-05-19 07:40:58 +00:00
skrll fd0c2c15e6 Move arch/mips/mips/bus_dma.c to correct location 2017-05-19 07:30:24 +00:00
ozaki-r 9b4025812f Remove unnecessary MALLOC_DEFINE(M_SECA) 2017-05-19 06:32:31 +00:00
ozaki-r fc8b563faf Use IPSECLOG instead of ipseclog 2017-05-19 06:24:03 +00:00
ozaki-r 74521c2a37 Use kmem_intr_free in key_freesaval which can be called in softint 2017-05-19 04:39:25 +00:00
ozaki-r 290dc4927e Introduce IPSECLOG and replace ipseclog and DPRINTF with it 2017-05-19 04:34:09 +00:00
nat 7406300ce8 Release sc_intr_lock between successive calls to audio[p/r]int to allow
mixing to occur.
2017-05-19 04:20:45 +00:00
nat fe44dbd550 Fix locking botch. Ensure that sc_lock is still held when exiting
trigger_[input/output].
2017-05-19 04:16:06 +00:00
pgoyette 4adbd9f3bf Missed this during the localcount(9) import:
Add localcount(9) man-page - fix the build
2017-05-19 03:33:31 +00:00
ozaki-r 0871e3e188 Enable debug logging of kernels such as ARP and ND if $DEUBG=true 2017-05-19 02:56:58 +00:00
pgoyette cb99404632 Fix a comment - in localcount_fini(), we don't care whether it was the
caller or some other code that drained the localcount;  all we care is
that it has been drained.
2017-05-19 02:20:24 +00:00
pgoyette c63cd80f9a Minor improvements in wording. 2017-05-19 01:54:50 +00:00
pgoyette a372bceac2 Introduce new localcount(9) reference-count primitives. 2017-05-19 00:01:33 +00:00
jakllsch de002c399b Re-enable RTKQ_IM_HW. Timeout issues appear to be fixed since
src/sys/dev/ic/rtl8169.c r1.151
2017-05-18 18:33:48 +00:00
abhinav b34e0a62c9 Fix typo in the man page reference 2017-05-18 16:41:12 +00:00
christos 88e3ab4869 PR/52242: Utkarsh Anand: Minimal fix for fallout from moving to the common
mips bus_space code.
2017-05-18 16:37:06 +00:00
christos 414c97bd66 Fix debug (make it compile) 2017-05-18 16:34:56 +00:00
abhinav ae7adf81e7 Correct the man page reference 2017-05-18 16:33:57 +00:00
kre 5f9a3bbe89 DEBUG mode only change - mostly to output when option to show shell
internal sub-process nesting is enabled, and very deep nesting levels exist.

NFC for anyone else.
2017-05-18 15:42:37 +00:00
ozaki-r 43af182f5e Don't check the existence of SA entries eagerly
They can be expired at that point if their lifetime is very short.
This may fix unexpected failures of tests running on anita.
2017-05-18 14:43:42 +00:00
kre 1f81ff1448 Allow abbreviations of option names for the "fdflags -s" command.
While documenting that, cleanup markup of the fdflags section of the
man page.
2017-05-18 13:56:58 +00:00
kre d98a8b3c74 Command line, and "set" command options processing cleanup.
sh +c "command string"	no longer works (it must be -c)
sh +o   and   sh -o	no longer work (if you could call what they did
			before working.)  nb: this is without an option name.
-ooo Opt1 Opt2 Opt3	no longer works (set & cmd line), this should be
			-o Opt1 -o Opt2 -o Opt3   (same with +ooo of course).
-oOpt			is now supported - option value (name of option in
			this case) immediately following -o (or +o).
			(as with other commands that use std opt parsing)
			Both set comamnd and command line.

In addition, the output from "set +o" has shrunk dramatically, by borrowing
a trick from ksh93 (but implemented in a more traditional syntax).
"set +o" is required to produce a command (or commands) which when executed
later, will return all options to the state they were in when "set +o"
was done.  Previously that was done by generating a set command, with
every option listed (set -o opt +o other-opt ...) to set them all back
to their current setings.   Now we have a new "magic option" ("default")
which sets all options to their default values, so now set +o output
need only be "set -o default -o changed-opt ..." (only the options that
have been changed from their default values need be explicitly mentioned.)
The definition of "default value" for this is the value the shell set the
option to, after startup, after processing the command line (with any
flags, or -o option type settings), but before beginning processing any
user input (incuding startup files, like $ENV etc).

Anyone can execute "set -o default" of course, but only from a "set"
command (it makes no sense at all as a -o option to sh).   This also
causes "set +o" to be slightly more useful as a general command, as
ignoring the "set -o default" part of the result, it lists just those
options that have been altered after sh startup.  There is no +o default.
There isn't an option called "default" at all...

This causes some of the commented out text from sh.1 to become uncommented.
2017-05-18 13:53:18 +00:00
kre 352391ffc1 DEBUG mode only change - correctly track internal shell sub-shell nesting
levels for debug output.  This change accidentally omitted earlier (only
effect is incorrect nesting levels shown in trace output when the option
to show them is enabled.)   NFC for any normal shell build.
2017-05-18 13:34:17 +00:00
kre 727fae80dd Added comma and plus to the "don't need quoting" set. This affects
output from "sh -x" only (tracing execution), not quoting + is better,
as it makes tracing commands with + and - options, or numbers, more
consistent.

Also one minor white space change (excess indentation removed).
2017-05-18 13:31:10 +00:00
kre 1b495756c7 NFC: added a minor comment (and enev then, in DEBUG code only) 2017-05-18 13:28:00 +00:00
skrll b24d4bac28 Don't use index cache operations unnecessarily. 2017-05-18 13:20:37 +00:00
martin 4fcb013cbf Add (currently failing) test cases for profiled programs. 2017-05-18 10:29:47 +00:00
msaitoh 5783872703 - Count "Total Packets Missed" by evcnt(9)
- Call evcnt_attach_dynamic()/detach() for stats->mngpdc
  (Management Packets Dropped).
- Make stats->rnbc (Receive No Buffers) evcnt(9). Only 82598 has this register.
- Set RQSMR, TQSM (or TQSMR on 82598) to count qprc, qptc, qbrc, qbtc and qprdc
  in each queue counter. Without this change, all queue's counts are counted in
  queue 0's. Even if with this change, only MPC[0] is counted and other MPCs
  are not counted.
2017-05-18 08:27:19 +00:00
msaitoh 1c6a4127ff Fix a bug that number of input packet counted twice. This bug was added
since sys/net/if.c rev.1.368.
http://mail-index.netbsd.org/source-changes/2016/12/15/msg079882.html
2017-05-18 08:25:37 +00:00
ozaki-r 28c6f0e797 Test CARP handover on setups without having IPs on carpdev (shmif)
Note that tests for IPv6 don't pass yet; nd6 needs to handle CARP
correctly like arp does.
2017-05-18 06:34:48 +00:00
ozaki-r 9c1d2498f1 Reduce duplicated codes (DRY) 2017-05-18 06:33:49 +00:00
ozaki-r a9d79d7f68 Lookup caches from a CARP interface if the packet is routed to the interface
This fixes CARP setups without carpdev (physical interface) having any IPs.
2017-05-18 06:33:11 +00:00
christos 4fdd4095d8 more snprintb bits 2017-05-18 02:21:05 +00:00
nonaka decfd26536 Fixed m is not freed if m_defrag() fails. 2017-05-18 01:32:46 +00:00
christos 48e7bec4b3 snprintb(3) for UVM_FLAGS. 2017-05-17 22:43:12 +00:00
sevan ec28d4a50d Fix building GCC 5 with clang 4.0
Obtained from FreeBSD ports r432958
https://svnweb.freebsd.org/ports?view=revision&revision=432958
"doesn't compile with recent versions of libc++, because it attempts to redefine abort():
/usr/include/c++/v1/functional:1398:2: error: no member named 'fancy_abort' in namespace 'std::__1'; did you mean simply 'fancy_abort'?
        _VSTD::abort();
        ^~~~~~~
/usr/include/c++/v1/__config:383:15: note: expanded from macro '_VSTD'
#define _VSTD std::_LIBCPP_NAMESPACE"
2017-05-17 22:06:10 +00:00
jdolecek 3ff587bd49 more precise m_freem() on error paths, and update m after the m_defrag() call 2017-05-17 20:13:02 +00:00