Commit Graph

271699 Commits

Author SHA1 Message Date
christos
8dc6c738dd simple import script 2019-11-27 19:00:25 +00:00
christos
bd9bf8b634 merge our changes 2019-11-27 18:58:57 +00:00
uwe
f8fceea814 Undo the .Ss2 quoting hack, the macros can now handle it. 2019-11-27 18:34:56 +00:00
christos
81bb75a321 Use strtoi instead of atoi() to catch bad input (Alexander Kuleshov) 2019-11-27 17:56:08 +00:00
martin
11ec07e83b When creating the TOC file, strip all incoming double quotes, but output
quotes around the third arg of the generated Ti macro invocation.
This fixes the TOC in non-html output. Pointed out by kre.
2019-11-27 15:58:12 +00:00
msaitoh
509697f3cf - Simplify sc->mii_anegticks setting. Same as FreeBSD.
Don't set the default value not in the attach function. Instead, set the
  default value (MII_ANEGTICKS) first in the beginning of the
  mii_phy_add_media(). The function already has the code to change the value to
  MII_ANEGTICKS_GIGE if it's gigabit capable.

- Remove extra pmf_device_register() call. It's done in mii_phy_add_media().
2019-11-27 10:19:20 +00:00
martin
a4dc321947 More cleanup:
- simplify TOC handling and remove arg limit (from uwe)
 - use Lk with explicit anchor text in some places
 - do not allow official release builds when we can not derive the
   proper date from the buildid
2019-11-27 09:29:25 +00:00
rin
cad5caa81a Add support for PT_[GS]ETXMMREGS requests for COMPAT_NETBSD32 on amd64.
For this purpose, PT_[GS]ETXMMREGS are added to amd64/ptrace.h. These
are intended for internal usage for COMPAT_NETBSD32, and therefore not
exposed to userland.

Thanks to kamil, mgorny, and pgoyette for their kind review!

XXX
pullup to netbsd-9
2019-11-27 09:16:58 +00:00
rin
5c7b51812a Rename process_machdep_validxstate() to process_machdep_validfpu(), as
this function will be used to check validity of XMM registers also.
2019-11-27 09:08:14 +00:00
rin
0ba7a22a4d Use bool for "write" in ptrace_machdep_dorequest() for clarity.
No functional changes.
2019-11-27 09:01:59 +00:00
rin
1e413be51e Fix copy-paste in comment. No binary changes. 2019-11-27 08:56:00 +00:00
msaitoh
cb48b5fbd4 Print dmesg correctly. 2019-11-27 08:53:32 +00:00
hkenken
af6f2f7b13 Remove GPIO driver attach defer. 2019-11-27 07:26:08 +00:00
maxv
9684bbd4f4 Add a small API for in-kernel FPU operations.
fpu_kern_enter();
	/* do FPU stuff */
	fpu_kern_leave();
2019-11-27 06:24:33 +00:00
christos
9191368464 new bind (tcp DoS security fix) 2019-11-27 05:50:26 +00:00
christos
1dc39bd675 merge bind 9.14.8 2019-11-27 05:48:39 +00:00
msaitoh
49dc6e359a Regen. 2019-11-27 03:47:05 +00:00
msaitoh
b6fd55ae05 - Add Xeon D-1500 NTB-secondary
- Add Xeon D NS QuickData DMA channel 0-7
2019-11-27 03:45:54 +00:00
tkusumi
392c1668b8 autofs: Use NULLVP for NULL vnode
I originally used NULL for NetBSD autofs, but it got mixed up with
NULLVP when merged with NetBSD.
2019-11-26 16:17:31 +00:00
gson
8b9242afb5 Change 0x%jx -> %#jx as suggested by christos. 2019-11-26 10:34:16 +00:00
jmcneill
7bfa6b737a Fix IFF_ALLMULTI handling. 2019-11-26 10:33:19 +00:00
gson
88b2e353f0 Convert debug printfs to usbhist. 2019-11-26 10:24:17 +00:00
kre
2dbb2da38b PR toolchain/54715
Remove duplicate (incorrect) version of the .Lk macro, so the
earlier (fancier and functional) definition survives.

For now simply comment it out.  Sometime later this one should be
removed - but the two have been present since these macros were
first imported (1999) so leaving this visible (but removed) a
little longer shouldn't hurt.

I (believe) this one is the only duplicate of this form.

With this change the Lk macro in doc2html should work as it is designed
(but does not call other macros, and can only have punctuation following
the URL and (optional) anchor args (2nd arg is the anchor if it isn't
punctuation).

Tested by martin@
2019-11-26 08:38:19 +00:00
nisimura
eba052fcea - use mii(4) layer to control KSZ8841 builtin PHY.
- handle PAUSE flow control properly according to ifconfig(8) mediaopt
  selection.
- some style knits; use aprint(9) and modernise callout(9).
2019-11-26 08:37:05 +00:00
msaitoh
913e68ce41 Fix typo in comment. 2019-11-26 08:21:03 +00:00
msaitoh
f0862187dd KNF. No functional change. 2019-11-26 08:19:51 +00:00
msaitoh
c6801c67d4 Move notes about ipgphy(4), jmphy(4), smscphy(4), micphy(4) and alc(4)
from post 9.0 to pre 9.0.
2019-11-26 07:51:35 +00:00
msaitoh
733012a8b0 Remove notes about ipgphy(4), jmphy(4), smscphy(4), micphy(4) and alc(4)
because those will be included in NetBSD 9.0.
2019-11-26 07:17:42 +00:00
hkenken
59f7698778 Change manufacturer to Micron from Numonyx.
N25Q -> MT25Q
2019-11-26 02:41:58 +00:00
nonaka
ed08737b3d hvn(4): Fix incorrect ident when waiting for NVS command response. 2019-11-26 01:46:31 +00:00
ad
781a39cc41 Remove some unneeded memory barriers and reads of the lock word.
Prodded by Mateusz Guzik.
2019-11-25 20:16:22 +00:00
ad
65e19688a4 port-sparc/54718 (sparc install hangs since recent scheduler changes) 2019-11-25 17:24:59 +00:00
tkusumi
9840bf8aa7 autofs: Add missing description for automountd option -T 2019-11-25 16:57:09 +00:00
pgoyette
96d0fb0df9 Improve heading a bit. While here, use quotes to group some of the
words to avoid the 9-arg limitation of .Ss
2019-11-25 15:40:18 +00:00
riastradh
8cfdd6f56f Use cprng_strong, not cprng_fast, for sysctl kern.arnd. 2019-11-25 15:19:54 +00:00
nonaka
60a4c738d7 hvs(4), hvn(4): Set correct size for bus_dmamap_sync(9). 2019-11-25 08:53:39 +00:00
msaitoh
26698fa111 Modify PHY initialization code. This change fix a bug that SK-9D21 doesn't
detect MII PHY.
 - Add error check to bge_miibus_writereg().
 - Change return value of bge_miibus_readreg() when a read error occurred.
   It also add error message using with aprint_debug_dev(). This error occurs
   on some devices while detecting MII devices.
 - Move the location of BGE_MI_MODE register's initialization to next to
   bge_chipinit().
 - Set BGE_MAC_MODE before calling ifmedia_init() and/or mii_attach().
 - Add retry code for mii_attach() failed. Same as FreeBSD.
2019-11-25 05:35:26 +00:00
msaitoh
c862b7608a - Use *_FLUSH() more. The main purpose is to wait following delay() correctly.
- Add missing DELAY(80) after writing BGE_MI_MODE register.
2019-11-25 05:18:59 +00:00
msaitoh
16a2f9ca37 Fix a bug that SK-9D41 can't detect fiber media. Check the subsystem ID
correctly. This bug was added in if_bge.c rev. 1.161.
2019-11-25 04:52:27 +00:00
hkenken
9aa9031aef Fixed bug.
* typo
2019-11-25 00:54:47 +00:00
uwe
6f79198e17 Quote long .Ss2 title to avoid troff's limitation.
Troff is limited to 9 macro parameters and this title is 10 words, so
we lose the last word here when we pass arguments around.  We have
more titles like that but for now I wanted to commit only one just to
flag the problem.
2019-11-24 23:26:43 +00:00
christos
dcfcf77388 Import bind 9.14.8 (security fix -- limits on concurrent TCP queries)
--- 9.14.8 released ---

5315.	[bug]		Apply the inital RRSIG expiration spread fixed
			to all dynamically created records in the zone
			including NSEC3. Also fix the signature clusters
			when the server has been offline for prolonged
			period of times. [GL #1256]

5314.	[func]		Added a new statistics variable "tcp-highwater"
			that reports the maximum number of simultaneous TCP
			clients BIND has handled while running. [GL #1206]

5313.	[bug]		The default GeoIP2 database location did not match
			the ARM.  'named -V' now reports the default
			location. [GL #1301]

5310.	[bug]		TCP failures were affecting EDNS statistics. [GL #1059]

5308.	[bug]		Don't log DNS_R_UNCHANGED from sync_secure_journal()
			at ERROR level in receive_secure_serial(). [GL #1288]

5307.	[bug]		Fix hang when named-compilezone output is sent to pipe.
			Thanks to Tony Finch. [GL !2481]

5306.	[security]	Set a limit on the number of concurrently served
			pipelined TCP queries. (CVE-2019-6477) [GL #1264]

5305.	[bug]		NSEC Aggressive Cache ("synth-from-dnssec") has been
			disabled by default because it was found to have
			a significant performance impact on the recursive
			service. [GL #1265]

5304.	[bug]		"dnskey-sig-validity 0;" was not being accepted.
			[GL #876]

5302.	[bug]		Fix checking that "dnstap-output" is defined when
			"dnstap" is specified in a view. [GL #1281]

5301.	[bug]		Detect partial prefixes / incomplete IPv4 address in
			acls. [GL #1143]
2019-11-24 19:56:50 +00:00
pgoyette
1d918f8ef9 Add "Oxford comma" 2019-11-24 16:16:21 +00:00
ad
7812221f71 Correction to previous. 2019-11-24 15:53:47 +00:00
ad
b1bd2e8943 Add IPI_AST. 2019-11-24 15:49:12 +00:00
ad
6be4e5bd82 Make ci_want_resched a u_int. 2019-11-24 15:40:24 +00:00
ad
d1e0de1556 Typo. 2019-11-24 15:37:39 +00:00
ad
bacf374405 lwp_start(): don't try to change the target CPU. Fixes potential panic
in setrunnable(). Oops, experimental change that escaped.
2019-11-24 13:23:57 +00:00
ad
7b708f2a89 Put section attribute for turnstile0 in the correct place. For LLVM. 2019-11-24 13:14:23 +00:00
jmcneill
d71e64cd35 Reclaim bootloader FB memory for CMA pool. 2019-11-24 12:21:14 +00:00