Commit Graph

255782 Commits

Author SHA1 Message Date
mrg
fd2d59769f note that COMPAT_X implies all COMPAT_X+N. 2018-01-15 07:20:10 +00:00
msaitoh
a84034cb25 Add MSR_IA32_ARCH_CAPABILITIES definition. 2018-01-15 07:19:00 +00:00
msaitoh
797180d078 - Add Intel cpuid 7 %edx bit 29 IA32_ARCH_CAPABILITIES supported bit.
- Add comment.
2018-01-15 06:08:40 +00:00
maya
ad64aeb5f5 Move spammy debug message to debug2.
Similarly spammy messages exist in this debug level.

Requested by gson in PR bin/52898:
ssh -v prints debug message on every keystroke
2018-01-15 05:04:58 +00:00
knakahara
c79da2be88 improve comments 2018-01-15 04:25:48 +00:00
knakahara
6f6ff3733c Fix legacy Tx descriptors printing when WM_DEBUG is enabled. 2018-01-15 04:09:58 +00:00
knakahara
42796cd760 Fix PR kern/52920. Pointed out by David Binderman, thanks. 2018-01-15 02:39:53 +00:00
christos
651232dac7 sprinkle unconst 2018-01-15 00:46:16 +00:00
christos
19e9df2ac8 remove Documents before import. 2018-01-14 22:51:12 +00:00
christos
2207b661f9 add mount_autofs 2018-01-14 22:46:09 +00:00
christos
5e79a1598d Add mount_autofs 2018-01-14 22:44:04 +00:00
christos
87d09387b3 support getargs, fix flush, fix mutex_destroy 2018-01-14 22:43:18 +00:00
christos
5d4f18293e Add -I 2018-01-14 20:16:04 +00:00
christos
9c0fa57d3a new mdnsresponder 2018-01-14 20:07:02 +00:00
christos
8307bba0ea resolve conflicts 2018-01-14 20:04:55 +00:00
martin
87d689fb73 Sync sparc with sparc64 2018-01-14 19:59:51 +00:00
christos
18d6f1d293 import latest version 2018-01-14 19:40:50 +00:00
christos
a7f8f91557 merge conflicts 2018-01-14 19:37:35 +00:00
christos
1ea71b3ac3 import latest mDNSResponder 2018-01-14 18:43:01 +00:00
maxv
f51eb6f270 Fix awful use of m_defrag, this code just can't work. And don't forget to
return the updated pointer, because otherwise use-after-free.

I couldn't test this change because I don't have the hardware.
2018-01-14 18:23:03 +00:00
maxv
bbc9c10413 Dedup. m_defrag is already a common function, no need to reimplement it
there. Meanwhile this should fix two bugs (that I couldn't investigate
more than that since I don't have this hardware): the mbuf passed to
vge_m_defrag was leaked, and the tags were not copied in the returned
mbuf.
2018-01-14 17:43:55 +00:00
maxv
7392e5ed60 KDASSERT -> KASSERT. This code is fast and useful. 2018-01-14 17:16:58 +00:00
maxv
b0e949ed8f style 2018-01-14 16:59:37 +00:00
maxv
29306dbc58 If cnt == 0, don't kmem_alloc(0). Found by Mootja.
Looking at the code, I also find it suspicious that we read
ifv->ifv_mib->ifvm_p directly without making sure ifv_mib != NULL.
2018-01-14 16:50:37 +00:00
maxv
6b75392d29 typos 2018-01-14 16:43:03 +00:00
maxv
d989a87626 Fix use-after-free. There is a path where the mbuf gets pulled up without
a proper mtod afterwards:

218     ipo = mtod(m, struct ip *);
281     m = m_pullup(m, hlen);
232     ipo->ip_src.s_addr

Found by Mootja.

Meanwhile it seems to me that 'ipo' should be set to NULL if the inner
packet is IPv6, but I'll revisit that later.
2018-01-14 16:36:04 +00:00
maxv
8ab6c3b562 Fix memory leak, found by Mootja. 2018-01-14 16:18:11 +00:00
martin
77225cc41e Force explicit alignment for fpstate in the kernel, to match what our
asm code assumes.
We use a stack variable at least once (in fpu_init).
2018-01-14 11:55:33 +00:00
uwe
eff95422ee Copy-paste a .Dx macro for DragonFly (from .Ox) and add a couple of
FreeBSD versions to make autofs(5) man pages cleanly format with groff.
2018-01-14 03:33:10 +00:00
uwe
252235664d .An -nosplit 2018-01-14 03:17:28 +00:00
uwe
f989de5924 Fix accidental trailing whitespace. 2018-01-14 03:14:46 +00:00
uwe
842435d53f Vertical space before an example in .Dl 2018-01-14 03:09:47 +00:00
christos
2ff51f0c66 Add the NONE/WIRED drivers. 2018-01-14 03:05:06 +00:00
uwe
c74ee2dcc5 .An -nosplit 2018-01-14 02:54:55 +00:00
mrg
faba61de75 note the default path for ucode updates can be found in sysctl. 2018-01-14 00:45:54 +00:00
wiz
7335d92d06 Remove Tn. Fix some mandoc lint warnings. 2018-01-13 23:43:46 +00:00
christos
36038078db prevent assert on unmount. 2018-01-13 22:06:21 +00:00
bouyer
bc90bc10ae Also set ih_realfun/ih_realarg in Xen's intr_establish_xname() as
intr_disestablish() use them.
Should fix the panic at device detach time (esp. at shutdown time).
2018-01-13 20:36:06 +00:00
uwe
61017f5783 Use .Ar to mark up the variable parts of sysctl nodes. 2018-01-13 19:57:35 +00:00
uwe
cb316becc0 Try to improve markup. 2018-01-13 19:50:52 +00:00
uwe
e8f73b2316 Fix semantic markup. 2018-01-13 18:57:48 +00:00
jdolecek
f79b91c0fc fix swapped comments for EFER LME and LMA 2018-01-13 17:55:57 +00:00
uwe
dde1c9cadb Fix semantic markup. 2018-01-13 17:35:33 +00:00
reinoud
bcbdff55f3 Make NetBSD/usermode link again! 2018-01-13 16:20:33 +00:00
reinoud
bf890827c2 Implement dummy process_read_dbreg() and process_write_dbreg() used in x86 2018-01-13 15:15:03 +00:00
bouyer
4a5416ecc9 Needs cpu_init_tss() for application processor too. 2018-01-13 14:48:13 +00:00
uwe
5b547519fa Miscellaneous formatting tweaks. 2018-01-13 14:47:58 +00:00
reinoud
abd507e504 Add dbreg structure prototype needed for x86_64 2018-01-13 14:39:15 +00:00
uwe
806a4be8ea Improve formatting of "Other options" section. Use -compact list to
squash groups of options together.  The price for that is that now
items need explicit .Pp but the result looks more readable.
2018-01-13 14:34:00 +00:00
bouyer
0d0135df3a Xen now needs cpu_init_tss() too. Makes XEN3PAE_DOMU boot again. 2018-01-13 14:12:57 +00:00